/* S/V Anne survey vessel page (page-anne.php). Brand: navy #0B3244, gold #FFC651. */

/* Full-bleed: Hello Elementor boxes .site-main at 1140px on non-Elementor pages */
body .site-main.anne {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
    /* the site header is transparent and overlays the page; other pages sit it on this strip */
    border-top: 80px solid #062330;
}
.anne {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}
body .site-main.anne p {
    margin: 0 0 14px;
}
.anne h2 {
    color: #0B3244;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px;
}
.anne h3 {
    color: #0B3244;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
}
.anne-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.anne-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Hero — matches the marketplace hero */
.anne-hero {
    background: #0B3244 center center / cover no-repeat;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    padding: 60px 20px 50px;
    position: relative;
}
.anne-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 50, 68, 0.85), rgba(11, 50, 68, 0.25));
}
.anne-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}
.anne-hero h1 {
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}
.anne-eyebrow {
    color: #FFC651;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px;
}
.anne-tagline {
    color: #fff;
    font-size: 22px;
    margin: 10px 0 0;
}
.anne-hero .anne-eyebrow {
    margin-bottom: 8px;
}

/* Key stats strip */
.anne-stats {
    background: #0B3244;
    padding: 24px 0;
}
.anne-stats .anne-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.anne-stat strong {
    display: block;
    color: #FFC651;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}
.anne-stat span {
    color: #fff;
    font-size: 14px;
}

/* Intro */
.anne-intro {
    max-width: 900px;
    padding-top: 60px;
    padding-bottom: 60px;
}
.anne-intro-uses {
    background: #f4f7f9;
    border-left: 4px solid #FFC651;
    margin: 6px 0 24px;
    padding: 24px 30px 14px 46px;
}
.anne-intro-uses li {
    margin-bottom: 10px;
    font-size: 15px;
}
.anne-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.anne-btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
}
.anne-btn--gold,
.anne-btn--gold:hover {
    background: #FFC651;
    color: #0B3244;
}
.anne-btn--navy,
.anne-btn--navy:hover {
    background: #0B3244;
    color: #fff;
}
.anne-btn:hover {
    opacity: 0.9;
}

/* Gallery — fixed-ratio photos, so a caption of a few words never shifts the grid */
.anne-gallery-section {
    background: #f4f7f9;
    padding: 60px 0;
}
.anne-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.anne-photo {
    margin: 0;
    background: #fff;
    box-shadow: 0 6px 20px rgba(11, 50, 68, 0.08);
}
.anne-photo-link {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.anne-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.anne-photo-link:hover img {
    transform: scale(1.04);
}
.anne-photo figcaption {
    padding: 12px 16px;
    font-size: 14px;
    color: #0B3244;
    min-height: 3.2em;
}

/* Specs */
.anne-specs-section {
    padding-top: 60px;
    padding-bottom: 60px;
}
.anne-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 50px;
}
.anne-spec-group table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 15px;
}
.anne-spec-group th,
.anne-spec-group td {
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid #e3e8ec;
    background: none;
    text-align: left;
    vertical-align: top;
}
.anne-spec-group th {
    font-weight: 600;
    color: #0B3244;
    width: 45%;
    padding-right: 16px;
}

/* Attributes + equipment */
.anne-attributes {
    background: #f4f7f9;
    padding: 60px 0;
}
.anne-note {
    font-style: italic;
    font-size: 14px;
}
.anne-equipment {
    padding-left: 20px;
    margin: 0;
}
.anne-equipment li {
    margin-bottom: 6px;
    font-size: 15px;
}

/* Contact band */
.anne-contact {
    background: #0B3244;
    color: #fff;
    padding: 60px 0;
}
.anne-contact h2,
.anne-contact h3 {
    color: #fff;
}
.anne-contact-card {
    background: rgba(255, 255, 255, 0.06);
    border-top: 4px solid #FFC651;
    padding: 30px;
    align-self: start;
}
.anne-contact-card p {
    margin: 0 0 10px;
    font-size: 18px;
}
.anne-contact-card a:not(.anne-btn) {
    color: #FFC651;
    text-decoration: none;
}
.anne-contact-card .anne-btn {
    margin-top: 10px;
    font-size: 14px;
}

/* Lightbox */
.anne-lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: 92vw;
    max-height: 92vh;
    overflow: visible;
}
.anne-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.85);
}
.anne-lightbox img {
    max-width: 92vw;
    max-height: 82vh;
    display: block;
    margin: 0 auto;
}
.anne-lightbox-caption {
    color: #fff;
    text-align: center;
    margin: 12px 0 0;
}
.anne-lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: 0;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
}
.anne-lightbox-close:hover,
.anne-lightbox-close:focus {
    background: none;
    color: #FFC651;
}

@media (max-width: 900px) {
    .anne-two-col,
    .anne-specs {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .anne-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .anne-stats .anne-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .anne-hero h1 {
        font-size: 42px;
    }
}
@media (max-width: 560px) {
    .anne-gallery {
        grid-template-columns: 1fr;
    }
    .anne-hero {
        min-height: 340px;
    }
}
