/* ============================================================
   THE SOVEREIGNTY REPORT
   Analysis Detail
   ============================================================ */

.analysis-detail-page {
    background: #040c13;
}


/* ------------------------------------------------------------
   Shared shells
   ------------------------------------------------------------ */

.analysis-detail-shell {
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
}

.analysis-detail-featured-shell {
    width: min(1280px, calc(100% - 56px));
    margin: 0 auto;
}

.analysis-detail-content-shell {
    width: min(1120px, calc(100% - 56px));
    margin: 0 auto;
}


/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.analysis-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 190px 0 88px;
    background:
        radial-gradient(
            ellipse at 70% 28%,
            rgba(55, 91, 111, 0.17),
            transparent 55%
        ),
        radial-gradient(
            circle at 15% 0%,
            rgba(190, 159, 95, 0.045),
            transparent 30rem
        ),
        linear-gradient(
            180deg,
            #071723 0%,
            #040c13 100%
        );
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.analysis-detail-hero::after {
    content: "";
    position: absolute;
    width: 50rem;
    height: 50rem;
    top: -26rem;
    right: -12rem;
    border-radius: 50%;
    border: 1px solid rgba(193, 165, 105, 0.045);
    box-shadow:
        0 0 0 7rem rgba(193, 165, 105, 0.012),
        0 0 0 14rem rgba(193, 165, 105, 0.008);
    pointer-events: none;
}

.analysis-detail-back {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 44px;
    color: #bda269;
    text-decoration: none;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.analysis-detail-back span {
    transition: transform 0.18s ease;
}

.analysis-detail-back:hover span {
    transform: translateX(-3px);
}

.analysis-detail-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 70px;
    align-items: end;
}

.analysis-detail-kicker {
    display: inline-block;
    margin-bottom: 20px;
    color: #bca269;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.analysis-detail-title {
    max-width: 980px;
    margin: 0;
    color: #f3efe7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.01;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.analysis-detail-summary {
    max-width: 820px;
    margin: 28px 0 0;
    color: #adb7bd;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.06rem, 2vw, 1.3rem);
    line-height: 1.7;
}

.analysis-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: #78858d;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.analysis-detail-meta > span[aria-hidden="true"] {
    color: #907b51;
}

.analysis-detail-hero-rail {
    padding-left: 28px;
    border-left: 1px solid rgba(192, 166, 111, 0.19);
}

.analysis-detail-hero-stat {
    display: block;
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.analysis-detail-hero-stat:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.analysis-detail-hero-stat-label {
    display: block;
    margin-bottom: 6px;
    color: #7b878e;
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.analysis-detail-hero-stat-value {
    display: block;
    color: #ddd8cf;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.4;
}

.analysis-detail-hero-stat--link .analysis-detail-hero-stat-value {
    color: #c6aa70;
}


/* ------------------------------------------------------------
   Featured image
   ------------------------------------------------------------ */

.analysis-detail-featured-section {
    padding: 0;
    background: #040c13;
}

.analysis-detail-featured {
    margin: 0;
    border: 1px solid rgba(192, 166, 111, 0.18);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    background: #07141e;
}

.analysis-detail-featured img {
    display: block;
    width: 100%;
    height: auto;
}


/* ------------------------------------------------------------
   Article body
   ------------------------------------------------------------ */

.analysis-detail-content {
    position: relative;
    padding: 92px 0 110px;
    background:
        linear-gradient(
            180deg,
            #040c13 0%,
            #03090e 100%
        );
}

.analysis-detail-content-shell {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(190px, 260px);
    gap: 90px;
    align-items: start;
}

.analysis-detail-article {
    min-width: 0;
}

.analysis-detail-rule {
    width: 48px;
    height: 2px;
    margin-bottom: 38px;
    background: #b99a5c;
}

.analysis-detail-body {
    color: #d4d4cf;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    line-height: 1.88;
}

.analysis-detail-body > *:first-child {
    margin-top: 0;
}

.analysis-detail-body p {
    margin: 0 0 1.5em;
}

.analysis-detail-body h2 {
    margin: 2.15em 0 0.72em;
    color: #eee9df;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.analysis-detail-body h3 {
    margin: 1.9em 0 0.7em;
    color: #eee9df;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.24;
}

.analysis-detail-body h4 {
    margin: 1.7em 0 0.65em;
    color: #eee9df;
    font-size: 1.2rem;
    line-height: 1.3;
}

.analysis-detail-body ul,
.analysis-detail-body ol {
    margin: 0 0 1.55em;
    padding-left: 1.45em;
}

.analysis-detail-body li {
    margin-bottom: 0.55em;
}

.analysis-detail-body strong {
    color: #f3eee5;
}

.analysis-detail-body blockquote {
    margin: 2.2em 0;
    padding: 1.05em 1.4em 1.05em 1.55em;
    border-left: 3px solid #b99a5c;
    background: rgba(255, 255, 255, 0.022);
    color: #c9c9c4;
    font-size: 1.08em;
    font-style: italic;
    line-height: 1.72;
}

.analysis-detail-body a {
    color: #c6aa70;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.analysis-detail-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2em 0;
    border-radius: 12px;
}

.analysis-detail-body figure {
    margin: 2.2em 0;
}

.analysis-detail-body figcaption {
    margin-top: 10px;
    color: #7d898f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.77rem;
    line-height: 1.55;
}

.analysis-detail-body hr {
    margin: 3em 0;
    border: 0;
    border-top: 1px solid rgba(190, 160, 95, 0.18);
}

.analysis-detail-body .tsr-article-lead {
    color: #ece8df;
    font-size: 1.25rem;
    line-height: 1.78;
}

.analysis-detail-body .tsr-pull-quote {
    margin: 2.2em 0;
    padding: 0.3em 0 0.3em 1.1em;
    border-left: 3px solid rgba(190, 160, 95, 0.62);
    color: #dec895;
    font-size: 1.42rem;
    line-height: 1.55;
}

.analysis-detail-body .tsr-footnote-marker {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7em;
    font-weight: 800;
    vertical-align: super;
    line-height: 0;
}

.analysis-detail-body .tsr-footnote-marker a {
    color: #c6aa70;
    text-decoration: none;
}


/* ------------------------------------------------------------
   Sources & notes
   ------------------------------------------------------------ */

.analysis-detail-sources {
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid rgba(190, 160, 95, 0.26);
}

.analysis-detail-section-heading {
    margin-bottom: 30px;
}

.analysis-detail-section-heading > span {
    display: block;
    color: #bca269;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.analysis-detail-section-heading h2 {
    margin: 11px 0 0;
    color: #eee8dd;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
}

.analysis-detail-section-heading p {
    max-width: 620px;
    margin: 11px 0 0;
    color: #7d898f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.84rem;
    line-height: 1.65;
}

.analysis-detail-source-list {
    margin: 30px 0 0;
    padding-left: 28px;
}

.analysis-detail-source-item {
    margin-bottom: 28px;
    padding: 0 0 28px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #c8c8c3;
    font-size: 0.92rem;
    line-height: 1.72;
}

.analysis-detail-source-item::marker {
    color: #b99a5c;
    font-weight: 800;
}

.analysis-detail-source-link {
    color: #c6aa70;
    text-decoration: underline;
    text-decoration-color: rgba(198, 170, 112, 0.42);
    text-underline-offset: 3px;
}

.analysis-detail-source-meta {
    margin-top: 9px;
}

.analysis-detail-source-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 8px;
    border: 1px solid rgba(190, 160, 95, 0.24);
    border-radius: 999px;
    color: #917b51;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.analysis-detail-source-note {
    margin: 11px 0 0;
    color: #8e999f;
    font-size: 0.82rem;
    line-height: 1.65;
}


/* ------------------------------------------------------------
   Sidebar
   ------------------------------------------------------------ */

.analysis-detail-sidebar {
    position: sticky;
    top: 112px;
}

.analysis-detail-sidebar-card {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.016)
        );
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.14);
}

.analysis-detail-sidebar-kicker {
    display: block;
    color: #bca269;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.analysis-detail-sidebar-card h2 {
    margin: 9px 0 22px;
    color: #e8e3da;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 400;
}

.analysis-detail-sidebar-list {
    margin: 0;
}

.analysis-detail-sidebar-list > div {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.analysis-detail-sidebar-list dt {
    margin-bottom: 5px;
    color: #7b878e;
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.analysis-detail-sidebar-list dd {
    margin: 0;
    color: #c8c6c0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.92rem;
    line-height: 1.45;
}

.analysis-detail-sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #c6aa70;
    text-decoration: none;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.analysis-detail-sidebar-link--secondary {
    display: flex;
    width: fit-content;
    margin-top: 15px;
    color: #9ca6ac;
}


/* ------------------------------------------------------------
   End article CTA
   ------------------------------------------------------------ */

.analysis-detail-end {
    padding: 68px 0;
    background: #06131d;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.analysis-detail-end-shell {
    width: min(1120px, calc(100% - 56px));
    margin: 0 auto;
    text-align: center;
}

.analysis-detail-end-kicker {
    color: #bca269;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.analysis-detail-end h2 {
    max-width: 700px;
    margin: 14px auto 0;
    color: #eee9df;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    line-height: 1.12;
}

.analysis-detail-end .v2-button {
    margin-top: 30px;
}


/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 980px) {

    .analysis-detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .analysis-detail-hero-rail {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 0;
        border-left: 0;
        border-top: 1px solid rgba(192, 166, 111, 0.17);
    }

    .analysis-detail-hero-stat {
        margin: 0;
        padding: 20px 18px 0 0;
        border-bottom: 0;
    }

    .analysis-detail-content-shell {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .analysis-detail-sidebar {
        position: static;
        max-width: 760px;
    }

}

@media (max-width: 760px) {

    .analysis-detail-shell,
    .analysis-detail-featured-shell,
    .analysis-detail-content-shell,
    .analysis-detail-end-shell {
        width: min(100% - 32px, 1180px);
    }

    .analysis-detail-hero {
        padding-top: 145px;
        padding-bottom: 64px;
    }

    .analysis-detail-title {
        font-size: clamp(2.65rem, 10vw, 4.25rem);
    }

}

@media (max-width: 640px) {

    .analysis-detail-hero {
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .analysis-detail-back {
        margin-bottom: 34px;
    }

    .analysis-detail-summary {
        font-size: 1rem;
    }

    .analysis-detail-hero-rail {
        grid-template-columns: 1fr;
    }

    .analysis-detail-hero-stat {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    }

    .analysis-detail-hero-stat:last-child {
        border-bottom: 0;
    }

    .analysis-detail-featured {
        border-radius: 14px;
    }

    .analysis-detail-content {
        padding-top: 58px;
        padding-bottom: 76px;
    }

    .analysis-detail-body {
        font-size: 1.03rem;
        line-height: 1.82;
    }

    .analysis-detail-source-list {
        padding-left: 22px;
    }

}

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

    .analysis-detail-back span {
        transition: none;
    }

}