/* =========================
   SCOUTLINE STORY SINGLE
========================= */

.rp-scstory {
    padding: 0 20px;
}

.rp-scstory__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

/* =========================
   HERO
========================= */

.rp-scstory__hero {
    position: relative;
    overflow: hidden;
    margin-top: 56px;
    margin-bottom: 30px;
    padding: 36px 42px 30px;
    background: linear-gradient(180deg, rgba(52,52,49,0.92) 0%, rgba(37,36,34,0.96) 100%);
    border: 1px solid rgba(185,155,94,0.26);
    border-radius: 26px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.rp-scstory__hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 42px;
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, #b99b5e 0%, rgba(185,155,94,0.18) 100%);
}

.rp-scstory__eyebrow-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.rp-scstory__back {
    color: #d8cfbe;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.rp-scstory__back:hover {
    color: #f3ecdd;
}

.rp-scstory__tag {
    color: #b99b5e;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.rp-scstory__title {
    margin: 0 0 14px;
    max-width: 920px;
    color: #f3efe6;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.08;
}

.rp-scstory__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #a79c8a;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rp-scstory__meta-sep {
    color: rgba(185,155,94,0.65);
}

.rp-scstory__lead {
    margin: 0;
    color: #d3d0c9;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    line-height: 1.85;
}

/* =========================
   FEATURED IMAGE
========================= */

.rp-scstory__featured-image-wrap {
    width: 100%;
}

/* WIDE = editorial / banner / stadium / cover */

/* PORTRAIT = player / scouting photo */
.rp-scstory__featured-image-wrap.is-portrait {
    max-width: 100%;
    padding: 12px;
}

.rp-scstory__featured-image-wrap.is-portrait .rp-scstory__featured-image {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
    border-radius: 18px;
    margin: 0 auto;
}

/* =========================
   CONTENT
========================= */

.rp-scstory__content-wrap {
    margin-bottom: 34px;
}

.rp-scstory__content {
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(52,52,49,0.90) 0%, rgba(37,36,34,0.96) 100%);
    border: 1px solid rgba(185,155,94,0.20);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.14);
    color: #d7d2c8;
    font-family: 'Inter', sans-serif;
}

.rp-scstory__content > *:first-child {
    margin-top: 0 !important;
}

.rp-scstory__content > *:last-child {
    margin-bottom: 0 !important;
}

.rp-scstory__content > p:first-of-type {
    color: #ece6da;
    font-size: 18px;
    line-height: 1.95;
}

.rp-scstory__content h2,
.rp-scstory__content h3,
.rp-scstory__content h4 {
    margin-top: 38px;
    margin-bottom: 16px;
    color: #f0ece4;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    line-height: 1.28;
}

.rp-scstory__content h2 {
    font-size: 31px;
}

.rp-scstory__content h3 {
    font-size: 24px;
}

.rp-scstory__content h4 {
    font-size: 20px;
}

.rp-scstory__content p,
.rp-scstory__content ul,
.rp-scstory__content ol,
.rp-scstory__content blockquote {
    margin: 0 0 22px;
}

.rp-scstory__content strong {
    color: #f0ece4;
}

.rp-scstory__content a {
    color: #cba863;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rp-scstory__content a:hover {
    color: #efd6a0;
}

.rp-scstory__content ul,
.rp-scstory__content ol {
    padding-left: 24px;
}

.rp-scstory__content li {
    margin-bottom: 10px;
}

.rp-scstory__content blockquote {
    padding: 18px 20px;
    background: rgba(185,155,94,0.06);
    border-left: 3px solid rgba(185,155,94,0.5);
    border-radius: 14px;
    color: #ddd7cb;
}

/* =========================
   BOTTOM NAV
========================= */

.rp-scstory__bottom-box {
    margin: 0 auto 80px;
    max-width: 1240px;
    padding: 30px 34px;
    text-align: center;
    background: linear-gradient(180deg, rgba(52,52,49,0.88) 0%, rgba(37,36,34,0.95) 100%);
    border: 1px solid rgba(185,155,94,0.22);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}

.rp-scstory__bottom-tag {
    margin: 0 0 10px;
    color: #b99b5e;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.rp-scstory__bottom-title {
    margin: 0 0 14px;
    color: #f0ece4;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.rp-scstory__bottom-text {
    margin: 0 0 22px;
    color: #ccc7be;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.85;
}

.rp-scstory__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.rp-scstory__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    background: linear-gradient(180deg, #c6a45a 0%, #ae8d4b 100%);
    border: 1px solid rgba(185,155,94,0.55);
    border-radius: 999px;
    color: #f5efe2;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0,0,0,0.16);
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.rp-scstory__button:hover {
    background: linear-gradient(180deg, #b08f4b 0%, #94763e 100%);
    border-color: rgba(185,155,94,0.72);
    color: #fff4dc;
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

.rp-scstory__text-link {
    color: #b99b5e;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.rp-scstory__text-link:hover {
    opacity: 0.9;
}

/* =========================
   RESPONSIVE
========================= */


body.single-scoutline_story {
    background: #252422 !important;
}

.rp-scstory {
    background: transparent;
}

.rp-scstory__container {
    padding-bottom: 10px;
}


.rp-scstory__content {
    max-width: 920px;
    padding: 42px 46px;
    font-size: 17px;
    line-height: 1.95;
}

.rp-scstory__lead {
    max-width: 760px;
}

.rp-scstory__featured-image {
    max-height: 560px;
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}



.rp-scstory__featured-image-wrap {
    max-width: 920px;
    margin: 0 auto 30px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(45,44,41,0.96) 0%, rgba(37,36,34,0.98) 100%);
    border: 1px solid rgba(185,155,94,0.22);
    border-radius: 26px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
    height: 280px;
}

.rp-scstory--portrait .rp-scstory__featured-image-wrap {
    max-width: 100%;
    height: 520px;
}


@media (max-width: 767px) {
    .rp-scstory {
        padding: 0 14px;
    }

    .rp-scstory__hero {
        padding: 32px 24px 28px;
        margin-top: 34px;
    }

    .rp-scstory__hero::before {
        left: 24px;
        width: 100px;
    }

    .rp-scstory__title {
        font-size: 34px;
    }

    .rp-scstory__lead {
        font-size: 16px;
    }

    .rp-scstory__featured-image-wrap {
        height: 280px;
    }

    .rp-scstory--portrait .rp-scstory__featured-image-wrap {
        max-width: 100%;
        height: 520px;
    }

    .rp-scstory__content {
        padding: 28px 22px;
        font-size: 16px;
        line-height: 1.9;
    }

    .rp-scstory__content h2 {
        font-size: 25px;
    }

    .rp-scstory__content h3 {
        font-size: 21px;
    }

    .rp-scstory__bottom-box {
        padding: 26px 22px;
        margin-bottom: 64px;
    }
}

/* =========================
   SCOUTING SINGLE PANEL
========================= */

.rp-scstory--section-scouting .rp-scstory__scouting-panel {
    max-width: 980px;
    margin: 0 auto 34px;
    padding: 28px;
    display: grid;
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    background: linear-gradient(180deg, rgba(45,44,41,0.96) 0%, rgba(37,36,34,0.98) 100%);
    border: 1px solid rgba(185,155,94,0.22);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

.rp-scstory--section-scouting .rp-scstory__scouting-media {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(185,155,94,0.16);
    background: rgba(20,20,20,0.24);
    aspect-ratio: 4 / 3;
}

.rp-scstory--section-scouting .rp-scstory__scouting-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: 35% center;
    filter: saturate(1.08) contrast(1.08) brightness(1.03);
}

.rp-scstory--section-scouting .rp-scstory__scouting-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.rp-scstory--section-scouting .rp-scstory__scouting-kicker {
    margin: 0 0 12px;
    color: #b99b5e;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.rp-scstory--section-scouting .rp-scstory__scouting-text {
    margin: 0;
    max-width: 460px;
    color: #d7d2c8;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.92;
}

.rp-scstory--section-scouting .rp-scstory__content {
    max-width: 980px !important;
    padding: 40px 46px !important;
}

@media (max-width: 767px) {
    .rp-scstory--section-scouting .rp-scstory__scouting-panel {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 18px;
        gap: 18px;
    }

    .rp-scstory--section-scouting .rp-scstory__scouting-text {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.85;
    }

    .rp-scstory--section-scouting .rp-scstory__content {
        max-width: 100% !important;
        padding: 28px 22px !important;
    }
}

/* =========================
   SINGLE STORY FINAL TWEAKS
========================= */

.rp-scstory__featured-image-wrap.is-wide {
    width: min(860px, 100%) !important;
    max-width: 860px !important;
    height: auto !important;
    padding: 12px !important;
}

.rp-scstory__featured-image-wrap.is-wide .rp-scstory__featured-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 18px !important;
}
