/* =========================================================
   LITTER PAGES – Mioty
   ========================================================= */

.litter-page {
    background: #fff;
}

.page-heading {
    padding: 92px 0 56px;
    text-align: center;
    background: linear-gradient(180deg, #fbfaf8 0%, #ffffff 100%);
}

.page-kicker,
.facebook-kicker {
    display: block;
    margin-bottom: 13px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
}

.page-heading h1,
.gallery-heading h2 {
    margin: 0;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -1.2px;
}

.page-heading h1 {
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1;
}

.page-intro {
    margin: 20px 0 0;
    color: #718294;
    font-size: 16px;
}

.title-line {
    width: 54px;
    height: 2px;
    margin: 24px auto 0;
    background: var(--gold);
}

.litter-intro {
    padding-top: 42px;
}

.litter-meta-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 54px;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto 58px;
    padding: 34px 38px;
    border: 1px solid #e7e5e0;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20, 43, 65, 0.06);
}

.litter-meta {
    display: grid;
    gap: 22px;
}

.meta-item {
    position: relative;
    padding-left: 22px;
}

.meta-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 3px;
    height: 34px;
    background: var(--gold);
}

.meta-label {
    display: block;
    margin-bottom: 5px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.meta-item strong {
    display: block;
    color: var(--navy);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
}

.pedigree-card {
    text-align: center;
}

.pedigree-label {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.pedigree-card a {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f4f2ed;
}

.pedigree-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .35s ease;
}

.pedigree-card a:hover img {
    transform: scale(1.035);
}

.zoom-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 7px 10px;
    background: rgba(22, 48, 73, .88);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.litter-story {
    max-width: 930px;
    margin: 0 auto 50px;
}

.story-label {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    color: var(--navy);
    font-size: 22px;
    font-weight: 700;
}

.story-label::after {
    content: "";
    width: 72px;
    height: 2px;
    background: var(--gold);
}

.litter-story p {
    margin: 0 0 20px;
    color: #435d74;
    font-size: 16px;
    line-height: 1.85;
}

.litter-story strong {
    color: var(--navy);
}

.facebook-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 930px;
    margin: 0 auto 72px;
    padding: 30px 34px;
    background: #f5f3ef;
    border-left: 3px solid var(--gold);
}

.facebook-kicker {
    margin-bottom: 7px;
}

.facebook-box h2 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 23px;
}

.facebook-box p {
    margin: 0;
    color: #64788a;
    line-height: 1.6;
}

.facebook-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex: 0 0 auto;
    min-width: 235px;
    padding: 14px 17px;
    border: 1px solid #d8d3c8;
    background: #fff;
    color: var(--navy);
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(20, 43, 65, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.facebook-button:hover {
    transform: translateY(-2px);
    background: #faf9f6;
    box-shadow: 0 9px 22px rgba(20, 43, 65, 0.10);
}

.facebook-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    flex: 0 0 34px;
    background: var(--navy);
    color: #fff;
}

.facebook-icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.facebook-button small,
.facebook-button strong {
    display: block;
}

.facebook-button small {
    margin-bottom: 2px;
    color: #8a96a0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.1px;
    line-height: 1.2;
    text-transform: uppercase;
}

.facebook-button strong {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.facebook-arrow {
    margin-left: auto;
    color: var(--gold);
    font-size: 21px;
    transition: transform .25s ease;
}

.facebook-button:hover .facebook-arrow {
    transform: translateX(3px);
}

.litter-gallery {
    padding-top: 55px;
    padding-bottom: 95px;
    background: #faf9f7;
}

.gallery-heading {
    max-width: 930px;
    margin: 0 auto 34px;
}

.gallery-heading h2 {
    font-size: clamp(32px, 4vw, 46px);
}

.gallery-heading .title-line {
    margin: 17px 0 0;
}

.litter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 1100px;
    margin: 0 auto;
}

.litter-photo {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #e9e7e2;
    cursor: zoom-in;
}

.litter-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.litter-photo::after {
    content: "＋";
    position: absolute;
    right: 13px;
    bottom: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.7);
    background: rgba(22,48,73,.75);
    color: #fff;
    font-size: 19px;
    opacity: 0;
    transition: opacity .25s ease;
}

.litter-photo:hover img {
    transform: scale(1.045);
}

.litter-photo:hover::after {
    opacity: 1;
}


/* =========================
   LIGHTBOX
   ========================= */

body.lightbox-open {
    overflow: hidden;
}

.custom-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 80px;
    background: rgba(10, 22, 34, .94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.custom-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.custom-lightbox > img {
    max-width: min(92vw, 1400px);
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 2;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close {
    top: 18px;
    right: 24px;
    font-size: 42px;
    font-weight: 300;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 70px;
    font-size: 58px;
    font-weight: 200;
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--gold);
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
    .page-heading {
        padding: 65px 0 42px;
    }

    .litter-meta-card {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 28px 24px;
    }

    .pedigree-card {
        max-width: 360px;
        margin: 0 auto;
    }

    .litter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .facebook-box {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 55px;
    }

    .facebook-button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .litter-intro {
        padding-top: 25px;
    }

    .litter-story p {
        font-size: 15px;
        line-height: 1.75;
    }

    .story-label {
        font-size: 20px;
    }

    .litter-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .custom-lightbox {
        padding: 45px 12px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 38px;
        font-size: 45px;
    }
}
