/* =========================================================
   ENSKOOL
   PREMIUM PROFESSIONAL BLOG / NEWS DETAIL
   VERSION 2.0
========================================================= */


/* =========================================================
   ROOT
========================================================= */

.news-detail-page {
    --black: #111111;
    --dark: #181818;
    --text: #292929;
    --muted: #747474;
    --light-muted: #9a9a9a;
    --line: #e8e8e8;
    --soft: #f7f7f5;
    --white: #ffffff;
    --accent: #642e86;
    --accent-dark: #642e86;
    --container: 1240px;
    --article-width: 760px;
    min-height: 100vh;
    background: var(--white);
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* =========================================================
   RESET INSIDE NEWS PAGE
========================================================= */

.news-detail-page *,
.news-detail-page *::before,
.news-detail-page *::after {
    box-sizing: border-box;
}

.news-detail-page img {
    max-width: 100%;
}

.news-detail-page a {
    -webkit-tap-highlight-color: transparent;
}

.news-detail-page button {
    font: inherit;
}


/* =========================================================
   READING PROGRESS
========================================================= */

.reading-progress {
    position: fixed;

    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    background: var(--accent);

    z-index: 99999;

    transition: width 0.08s linear;
}


/* =========================================================
   HERO
========================================================= */

.article-hero {
    position: relative;

    padding:
        150px
        24px
        78px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #ffffff 72%,
            #fafafa 100%
        );

    border-bottom: 1px solid #eeeeee;
}


.article-hero-inner {
    width: min(
        100%,
        980px
    );

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.article-back {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    margin-bottom: 48px;

    color: #777777;

    font-size: 13px;
    font-weight: 650;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.article-back:hover {
    color: var(--black);

    transform: translateX(-3px);
}


.article-back-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid #dddddd;
    border-radius: 50%;

    background: #ffffff;

    font-size: 16px;

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.article-back:hover .article-back-icon {
    background: #f8f8f8;
    border-color: #bbbbbb;
}


/* =========================================================
   CATEGORY
========================================================= */

.article-category {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-bottom: 22px;

    color: var(--accent-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.category-line {
    display: block;

    width: 28px;
    height: 1px;

    background: var(--accent);
}


/* =========================================================
   TITLE
========================================================= */

.article-title {
    max-width: 1000px;

    margin: 0 auto;

    color: #111111;

    font-family:
        Georgia,
        "Times New Roman",
        Times,
        serif;

    font-size:
        clamp(
            42px,
            6vw,
            76px
        );

    line-height: 1.04;

    letter-spacing: -0.045em;

    font-weight: 700;

    text-wrap: balance;
}


/* =========================================================
   LEAD
========================================================= */

.article-lead {
    max-width: 760px;

    margin:
        28px
        auto
        0;

    color: #686868;

    font-size:
        clamp(
            16px,
            2vw,
            20px
        );

    line-height: 1.75;

    font-weight: 400;

    text-wrap: balance;
}


/* =========================================================
   META
========================================================= */

.article-meta {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 13px;

    margin-top: 28px;

    color: #777777;

    font-size: 12px;

    font-weight: 650;

    letter-spacing: 0.02em;
}


.article-meta-item {
    display: inline-flex;

    align-items: center;

    gap: 7px;
}


.article-meta-item i {
    color: var(--accent);

    font-size: 16px;
}


.meta-dot {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #c7c7c7;
}


/* =========================================================
   COVER IMAGE
========================================================= */

.article-cover-section {
    padding:
        0
        24px;
}


.article-cover-wrap {
    position: relative;

    width: min(
        1180px,
        100%
    );

    margin: 0 auto;

    overflow: hidden;

    border-radius: 0 0 28px 28px;

    background: #eeeeee;
}


.article-cover {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 8.6;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.8s
        cubic-bezier(.2,.7,.2,1);
}


.article-cover-wrap:hover .article-cover {
    transform: scale(1.012);
}


/* =========================================================
   ARTICLE BODY SECTION
========================================================= */

.article-body-section {
    padding:
        95px
        24px
        110px;
}


.article-layout {
    position: relative;

    width: min(
        100%,
        1040px
    );

    margin: 0 auto;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.article-content {
    width: min(
        100%,
        var(--article-width)
    );

    margin: 0 auto;
}


/* =========================================================
   ARTICLE INTRO / DROP CAP
========================================================= */

.article-intro {
    margin:
        0
        0
        36px;

    color: #242424;

    font-family:
        Georgia,
        "Times New Roman",
        Times,
        serif;

    font-size: 22px;

    line-height: 1.72;

    font-weight: 600;
}


.article-rich-text {
    color: #363636;

    font-family:
        Georgia,
        "Times New Roman",
        Times,
        serif;

    font-size: 18px;

    line-height: 1.95;
}


.article-rich-text p {
    margin:
        0
        0
        28px;
}


.article-rich-text p:first-child::first-letter {
    float: left;

    margin:
        7px
        11px
        0
        0;

    color: #111111;

    font-family:
        Georgia,
        "Times New Roman",
        Times,
        serif;

    font-size: 72px;

    line-height: 0.75;

    font-weight: 700;
}


/* =========================================================
   HEADINGS
========================================================= */

.article-rich-text h2 {
    margin:
        58px
        0
        22px;

    color: #151515;

    font-family:
        Inter,
        ui-sans-serif,
        sans-serif;

    font-size: 31px;

    line-height: 1.25;

    letter-spacing: -0.025em;

    font-weight: 750;
}


.article-rich-text h3 {
    margin:
        45px
        0
        18px;

    color: #181818;

    font-family:
        Inter,
        ui-sans-serif,
        sans-serif;

    font-size: 23px;

    line-height: 1.3;

    font-weight: 750;
}


/* =========================================================
   BOLD / ITALIC
========================================================= */

.article-rich-text strong {
    color: #171717;

    font-weight: 750;
}


.article-rich-text em {
    color: #4d4d4d;
}


/* =========================================================
   LINKS
========================================================= */

.article-rich-text a {
    color: var(--accent-dark);

    text-decoration:
        underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 4px;

    transition:
        color 0.2s ease;
}


.article-rich-text a:hover {
    color: #111111;
}


/* =========================================================
   LISTS
========================================================= */

.article-rich-text ul,
.article-rich-text ol {
    margin:
        30px
        0;

    padding-left: 30px;
}


.article-rich-text li {
    margin-bottom: 12px;

    padding-left: 5px;
}


/* =========================================================
   BLOCKQUOTE
========================================================= */

.article-rich-text blockquote {
    position: relative;

    margin:
        48px
        0;

    padding:
        28px
        34px;

    border-left:
        3px solid
        var(--accent);

    background:
        #faf8f2;

    color: #363636;

    font-size: 22px;

    line-height: 1.65;

    font-weight: 600;

    font-style: italic;
}


.article-rich-text blockquote::before {
    content: "“";

    position: absolute;

    top: 8px;
    left: 14px;

    color: #e4b25b;

    font-family:
        Georgia,
        serif;

    font-size: 50px;

    line-height: 1;
}


/* =========================================================
   ARTICLE IMAGES
========================================================= */

.article-rich-text img {
    display: block;

    width: 100%;

    margin:
        42px
        0;

    border-radius: 16px;

    box-shadow:
        0
        15px
        40px
        rgba(
            0,
            0,
            0,
            0.08
        );
}


/* =========================================================
   SHARE RAIL
========================================================= */

.article-share {
    position: absolute;

    left: -95px;

    top: 5px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 11px;
}


.share-label {
    margin-bottom: 6px;

    color: #a0a0a0;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.15em;

    writing-mode:
        vertical-rl;
}


.share-button {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    padding: 0;

    border:
        1px solid
        #e1e1e1;

    border-radius: 50%;

    background: #ffffff;

    color: #666666;

    cursor: pointer;

    font-size: 16px;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.share-button:hover {
    transform: translateY(-3px);

    color: #111111;

    border-color: #bcbcbc;

    background: #fafafa;
}


.share-button.copied {
    color: #ffffff;

    background: var(--accent);

    border-color: var(--accent);
}


/* =========================================================
   ORIGINAL SOURCE
========================================================= */

.article-source {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-top: 65px;

    padding:
        25px
        26px;

    border:
        1px solid
        #e4e4e4;

    border-radius: 18px;

    background: #fafafa;
}


.source-left {
    display: flex;

    align-items: center;

    gap: 16px;

    min-width: 0;
}


.source-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: grid;

    place-items: center;

    border-radius: 13px;

    background: #fff3db;

    color: var(--accent-dark);

    font-size: 21px;
}


.source-info {
    min-width: 0;
}


.source-kicker {
    display: block;

    margin-bottom: 4px;

    color: var(--accent-dark);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.15em;
}


.source-info strong {
    display: block;

    color: #202020;

    font-family:
        Inter,
        sans-serif;

    font-size: 14px;
}


.source-info p {
    margin:
        4px
        0
        0;

    color: #858585;

    font-family:
        Inter,
        sans-serif;

    font-size: 12px;

    line-height: 1.5;
}


.source-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding:
        0
        17px;

    flex-shrink: 0;

    border-radius: 10px;

    background: #151515;

    color: #ffffff;

    text-decoration: none;

    font-family:
        Inter,
        sans-serif;

    font-size: 12px;

    font-weight: 750;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.source-button:hover {
    background: var(--accent);

    color: #111111;

    transform: translateY(-2px);
}


/* =========================================================
   ARTICLE FOOTER
========================================================= */

.article-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 35px;

    padding-top: 25px;

    border-top:
        1px solid
        var(--line);
}


.article-tag {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #777777;

    font-family:
        Inter,
        sans-serif;

    font-size: 11px;

    font-weight: 700;
}


.article-tag i {
    color: var(--accent);
}


.footer-share {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #555555;

    cursor: pointer;

    font-family:
        Inter,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    transition:
        color 0.2s ease;
}


.footer-share:hover {
    color: var(--accent-dark);
}


/* =========================================================
   RELATED SECTION
========================================================= */

.related-section {
    padding:
        100px
        24px
        120px;

    border-top:
        1px solid
        #eeeeee;

    background:
        #fafafa;
}


.related-container {
    width: min(
        100%,
        var(--container)
    );

    margin: 0 auto;
}


/* =========================================================
   RELATED HEADER
========================================================= */

.related-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 40px;
}


.related-eyebrow {
    display: block;

    margin-bottom: 10px;

    color: var(--accent-dark);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.related-header h2 {
    margin: 0;

    color: #171717;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            32px,
            4vw,
            48px
        );

    line-height: 1.1;

    letter-spacing: -0.035em;

    font-weight: 700;
}


.related-header h2 span {
    color: var(--accent-dark);
}


.all-news-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding-bottom: 5px;

    border-bottom:
        1px solid
        #cccccc;

    color: #333333;

    text-decoration: none;

    font-size: 12px;

    font-weight: 750;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}


.all-news-link:hover {
    color: var(--accent-dark);

    border-color: var(--accent);
}


.all-news-link i {
    font-size: 15px;

    transition:
        transform 0.2s ease;
}


.all-news-link:hover i {
    transform: translateX(4px);
}


/* =========================================================
   RELATED GRID
========================================================= */

.related-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 24px;
}


/* =========================================================
   RELATED CARD
========================================================= */

.related-card {
    position: relative;

    display: block;

    overflow: hidden;

    border:
        1px solid
        #e5e5e5;

    border-radius: 18px;

    background: #ffffff;

    color: inherit;

    text-decoration: none;

    box-shadow:
        0
        8px
        30px
        rgba(
            0,
            0,
            0,
            0.035
        );

    transition:
        transform 0.4s
        cubic-bezier(.2,.7,.2,1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
}


.related-card:hover {
    transform: translateY(-7px);

    border-color: #d7d7d7;

    box-shadow:
        0
        25px
        55px
        rgba(
            0,
            0,
            0,
            0.09
        );
}


/* =========================================================
   RELATED IMAGE
========================================================= */

.related-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #eeeeee;
}


.related-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.65s
        cubic-bezier(.2,.7,.2,1);
}


.related-card:hover .related-image img {
    transform: scale(1.06);
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.related-placeholder {
    width: 100%;
    height: 100%;

    display: grid;

    place-items: center;

    background: #f1f1ef;

    color: #b2b2b2;

    font-size: 35px;
}


/* =========================================================
   RELATED ARROW
========================================================= */

.related-arrow {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 39px;
    height: 39px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.94
        );

    color: #151515;

    font-size: 17px;

    opacity: 0;

    transform:
        translateY(7px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.related-card:hover .related-arrow {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   RELATED CONTENT
========================================================= */

.related-content {
    padding:
        22px
        22px
        24px;
}


.related-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 11px;

    color: #999999;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


.related-meta > span:first-child {
    color: var(--accent-dark);
}


.related-meta-dot {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #c7c7c7;
}


.related-content h3 {
    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    overflow: hidden;

    margin:
        0
        0
        11px;

    color: #191919;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;

    line-height: 1.28;

    letter-spacing: -0.02em;

    font-weight: 700;
}


.related-content p {
    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 3;

    overflow: hidden;

    margin:
        0
        0
        19px;

    color: #777777;

    font-size: 13px;

    line-height: 1.7;
}


.related-read {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #222222;

    font-size: 11px;

    font-weight: 800;

    transition:
        color 0.2s ease;
}


.related-read i {
    font-size: 15px;

    transition:
        transform 0.25s ease;
}


.related-card:hover .related-read {
    color: var(--accent-dark);
}


.related-card:hover .related-read i {
    transform:
        translateX(4px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .article-share {
        position: static;

        flex-direction: row;

        justify-content: center;

        margin:
            0
            0
            35px;
    }


    .share-label {
        writing-mode: horizontal-tb;

        margin:
            0
            8px
            0
            0;
    }


    .article-content {
        width: min(
            100%,
            780px
        );
    }

}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 900px) {

    .article-hero {
        padding:
            125px
            22px
            65px;
    }


    .article-back {
        margin-bottom: 38px;
    }


    .article-cover-section {
        padding:
            0
            18px;
    }


    .article-cover-wrap {
        border-radius:
            0
            0
            22px
            22px;
    }


    .article-body-section {
        padding:
            75px
            22px
            90px;
    }


    .related-section {
        padding:
            80px
            22px
            95px;
    }


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

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .article-hero {
        padding:
            105px
            17px
            48px;
    }


    .article-back {
        margin-bottom: 32px;

        font-size: 11px;
    }


    .article-back-icon {
        width: 31px;
        height: 31px;

        font-size: 14px;
    }


    .article-category {
        margin-bottom: 17px;

        font-size: 9px;

        letter-spacing: 0.15em;
    }


    .category-line {
        width: 20px;
    }


    .article-title {
        font-size: 38px;

        line-height: 1.08;

        letter-spacing: -0.035em;
    }


    .article-lead {
        margin-top: 20px;

        font-size: 15px;

        line-height: 1.7;
    }


    .article-meta {
        margin-top: 21px;

        font-size: 10px;

        gap: 9px;
    }


    .article-cover-section {
        padding: 0;
    }


    .article-cover-wrap {
        border-radius: 0;
    }


    .article-cover {
        aspect-ratio:
            4 /
            3;
    }


    .article-body-section {
        padding:
            53px
            17px
            70px;
    }


    .article-share {
        margin-bottom: 32px;
    }


    .share-button {
        width: 37px;
        height: 37px;

        font-size: 15px;
    }


    .share-label {
        font-size: 8px;
    }


    .article-intro {
        margin-bottom: 28px;

        font-size: 19px;

        line-height: 1.7;
    }


    .article-rich-text {
        font-size: 16px;

        line-height: 1.88;
    }


    .article-rich-text p {
        margin-bottom: 24px;
    }


    .article-rich-text p:first-child::first-letter {
        font-size: 60px;
    }


    .article-rich-text h2 {
        margin-top: 43px;

        font-size: 26px;
    }


    .article-rich-text h3 {
        margin-top: 35px;

        font-size: 21px;
    }


    .article-rich-text blockquote {
        margin:
            35px
            0;

        padding:
            22px
            22px
            22px
            27px;

        font-size: 18px;
    }


    .article-source {
        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        margin-top: 45px;

        padding: 20px;
    }


    .source-left {
        align-items: flex-start;
    }


    .source-button {
        width: 100%;
    }


    .article-footer {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .related-section {
        padding:
            65px
            17px
            75px;
    }


    .related-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

        margin-bottom: 30px;
    }


    .related-header h2 {
        font-size: 34px;
    }


    .related-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .related-card {
        border-radius: 16px;
    }


    .related-content {
        padding:
            20px
            19px
            22px;
    }


    .related-content h3 {
        font-size: 21px;
    }


    .related-arrow {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .article-title {
        font-size: 33px;
    }


    .article-lead {
        font-size: 14px;
    }


    .article-rich-text {
        font-size: 15.5px;

        line-height: 1.85;
    }


    .article-intro {
        font-size: 18px;
    }


    .share-button {
        width: 35px;
        height: 35px;
    }


    .related-header h2 {
        font-size: 31px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .news-detail-page *,
    .news-detail-page *::before,
    .news-detail-page *::after {
        scroll-behavior: auto !important;

        transition:
            none !important;

        animation:
            none !important;
    }

}


/* =========================================================
   PREMIUM NEWS COVER IMAGE
   FIXED RESPONSIVE HEIGHT
========================================================= */

.article-cover-section {
    width: 100%;
    padding: 0 24px;
}

.article-cover-wrap {
    position: relative;

    width: min(1180px, 100%);

    height: 560px;

    margin: 0 auto;

    overflow: hidden;

    border-radius: 0 0 28px 28px;

    background: #eeeeee;
}

.article-cover {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    transform: scale(1.001);

    transition:
        transform 0.8s cubic-bezier(.2,.7,.2,1);
}


/* Very subtle premium zoom */

.article-cover-wrap:hover .article-cover {
    transform: scale(1.015);
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1200px) {

    .article-cover-wrap {
        height: 500px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .article-cover-section {
        padding: 0 18px;
    }

    .article-cover-wrap {
        height: 430px;

        border-radius:
            0
            0
            22px
            22px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .article-cover-section {
        padding: 0;
    }

    .article-cover-wrap {
        width: 100%;

        height: 300px;

        border-radius: 0;
    }

    .article-cover {
        object-position: center center;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .article-cover-wrap {
        height: 260px;
    }

}