/*
|--------------------------------------------------------------------------
| Weekly Cyber Threat Brief
|--------------------------------------------------------------------------
| Matches the layout and typography of the 14 July 2026 static page.
| All primary page styling is scoped to prevent conflicts with main.css
| and cti-common.css.
|--------------------------------------------------------------------------
*/

:root {
    --weekly-ink: #eaf2ff;
    --weekly-muted: #9fb1ca;
    --weekly-subtle: #6f8098;
    --weekly-bg: #050915;
    --weekly-bg-secondary: #07111f;
    --weekly-panel: rgba(13, 24, 42, 0.84);
    --weekly-panel-secondary: rgba(18, 32, 54, 0.9);
    --weekly-line: rgba(255, 255, 255, 0.11);
    --weekly-line-strong: rgba(255, 255, 255, 0.18);
    --weekly-blue: #4aa3ff;
    --weekly-cyan: #6fffe2;
    --weekly-violet: #a78bfa;
    --weekly-red: #ff5663;
    --weekly-orange: #ffb45c;
    --weekly-green: #6ee7a8;
    --weekly-yellow: #f7d774;
    --weekly-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
    --weekly-radius: 24px;
    --weekly-radius-small: 16px;
}

/*
|--------------------------------------------------------------------------
| Anchor offset
|--------------------------------------------------------------------------
*/

html {
    scroll-padding-top: 170px;
}

.weekly-brief-detail section[id],
.weekly-brief-detail article[id],
.weekly-brief-detail h2[id],
.weekly-brief-detail h3[id],
.weekly-brief-detail h4[id] {
    scroll-margin-top: 170px;
}

/*
|--------------------------------------------------------------------------
| Main page
|--------------------------------------------------------------------------
*/

.weekly-brief-detail,
.weekly-brief-detail *,
.weekly-brief-detail *::before,
.weekly-brief-detail *::after,
.cti-nav,
.cti-nav *,
.cti-nav *::before,
.cti-nav *::after {
    box-sizing: border-box;
}

.weekly-brief-detail {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--weekly-ink);
    background:
        radial-gradient(
            circle at top left,
            rgba(74, 163, 255, 0.26),
            transparent 32rem
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(111, 255, 226, 0.13),
            transparent 27rem
        ),
        radial-gradient(
            circle at 40% 0%,
            rgba(167, 139, 250, 0.13),
            transparent 22rem
        ),
        linear-gradient(
            180deg,
            var(--weekly-bg) 0%,
            var(--weekly-bg-secondary) 48%,
            var(--weekly-bg) 100%
        );
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

/*
|--------------------------------------------------------------------------
| General elements
|--------------------------------------------------------------------------
*/

.weekly-brief-detail a {
    color: inherit;
    text-decoration: none;
}

.weekly-brief-detail a:hover {
    color: var(--weekly-cyan);
    text-decoration: none;
}

.weekly-brief-detail img {
    max-width: 100%;
    height: auto;
}

.weekly-brief-detail p,
.weekly-brief-detail li {
    color: var(--weekly-muted);
}

.weekly-brief-detail p {
    margin-top: 0;
    margin-bottom: 14px;
}

.weekly-brief-detail ul,
.weekly-brief-detail ol {
    margin-top: 10px;
    margin-bottom: 18px;
    padding-left: 22px;
}

.weekly-brief-detail ul {
    list-style: disc;
}

.weekly-brief-detail ol {
    list-style: decimal;
}

.weekly-brief-detail li {
    line-height: 1.65;
}

.weekly-brief-detail li + li {
    margin-top: 7px;
}

.weekly-brief-detail strong,
.weekly-brief-detail b {
    color: var(--weekly-ink);
    font-weight: 800;
}

.weekly-brief-detail em {
    color: var(--weekly-muted);
}

.weekly-brief-detail blockquote {
    margin: 18px 0;
    padding: 18px;
    border-left: 3px solid var(--weekly-cyan);
    border-radius: 0 16px 16px 0;
    background: rgba(111, 255, 226, 0.06);
}

.weekly-brief-detail blockquote p {
    margin: 0;
    color: #d7e5f6;
    font-weight: 700;
}

/*
|--------------------------------------------------------------------------
| H1-H6 typography
|--------------------------------------------------------------------------
*/

.weekly-brief-detail h1,
.weekly-brief-detail h2,
.weekly-brief-detail h3,
.weekly-brief-detail h4,
.weekly-brief-detail h5,
.weekly-brief-detail h6 {
    color: var(--weekly-ink);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    font-style: normal;
    text-transform: none;
}

.weekly-brief-detail h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: 35px;
    font-weight: 700;
    line-height: 42px;
    letter-spacing: -0.03em;
}

.weekly-brief-detail h2 {
    margin: 28px 0 14px;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0.1px;
}

.weekly-brief-detail h3 {
    margin: 24px 0 12px;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.weekly-brief-detail h4 {
    margin: 20px 0 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.weekly-brief-detail h5 {
    margin: 18px 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.weekly-brief-detail h6 {
    margin: 16px 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/*
|--------------------------------------------------------------------------
| Weekly page navigation
|--------------------------------------------------------------------------
*/

.cti-nav {
    position: sticky;
    top: 0;
    z-index: 99;
    width: 100%;
    border-bottom: 1px solid var(--weekly-line);
    background: rgba(5, 9, 21, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

.cti-nav .nav-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cti-nav .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--weekly-ink);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.cti-nav .brand:hover {
    color: var(--weekly-ink);
}

.cti-nav .brand-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #06101d;
    background:
        linear-gradient(
            135deg,
            var(--weekly-blue),
            var(--weekly-cyan)
        );
    box-shadow: 0 0 36px rgba(74, 163, 255, 0.42);
    font-weight: 900;
}

.cti-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--weekly-muted);
    font-size: 14px;
    font-weight: 700;
}

.cti-nav .nav-links a {
    color: var(--weekly-muted);
    text-decoration: none;
}

.cti-nav .nav-links a:hover {
    color: var(--weekly-ink);
}

/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.weekly-brief-detail .btn,
.cti-nav .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.weekly-brief-detail .btn:hover,
.cti-nav .btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.weekly-brief-detail .btn-primary,
.cti-nav .btn-primary {
    color: #06101d;
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--weekly-cyan),
            var(--weekly-blue)
        );
    box-shadow: 0 16px 44px rgba(74, 163, 255, 0.28);
}

.weekly-brief-detail .btn-primary:hover,
.cti-nav .btn-primary:hover {
    color: #06101d;
    box-shadow: 0 18px 54px rgba(111, 255, 226, 0.22);
}

.weekly-brief-detail .btn-secondary {
    color: var(--weekly-ink);
    border-color: var(--weekly-line-strong);
    background: rgba(255, 255, 255, 0.055);
}

.weekly-brief-detail .btn-secondary:hover {
    color: var(--weekly-ink);
    border-color: rgba(111, 255, 226, 0.35);
    background: rgba(255, 255, 255, 0.09);
}

/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.weekly-brief-detail .hero {
    position: relative;
    padding: 170px 0 52px;
}

.weekly-brief-detail .hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, 0.95fr);
    gap: 42px;
    align-items: center;
    text-align: left;
}

.weekly-brief-detail .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 8px 12px;
    border: 1px solid rgba(111, 255, 226, 0.24);
    border-radius: 999px;
    color: var(--weekly-cyan);
    background: rgba(111, 255, 226, 0.09);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
    text-align: left;
}

.weekly-brief-detail .pulse {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--weekly-green);
    box-shadow: 0 0 0 7px rgba(110, 231, 168, 0.1);
}

.weekly-brief-detail .hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: 35px;
    font-weight: 700;
    line-height: 42px;
    letter-spacing: -0.03em;
}

.weekly-brief-detail .hero-lede {
    max-width: 700px;
    margin: 0 0 28px;
    color: var(--weekly-muted);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 400;
    line-height: 1.6;
}

.weekly-brief-detail .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 28px 0 26px;
}

/*
|--------------------------------------------------------------------------
| Hero metric panel
|--------------------------------------------------------------------------
*/

.weekly-brief-detail .hero-panel {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--weekly-line-strong);
    border-radius: 30px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.03)
        ),
        rgba(10, 20, 35, 0.82);
    box-shadow: var(--weekly-shadow);
}

.weekly-brief-detail .hero-panel > * {
    position: relative;
    z-index: 1;
}

.weekly-brief-detail .panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.weekly-brief-detail .panel-title {
    margin: 0 0 4px;
    color: var(--weekly-ink);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.weekly-brief-detail .panel-sub {
    margin: 0;
    color: var(--weekly-muted);
    font-size: 14px;
    line-height: 1.5;
}

.weekly-brief-detail .date-badge {
    padding: 8px 10px;
    border: 1px solid var(--weekly-line);
    border-radius: 999px;
    color: var(--weekly-ink);
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
}

.weekly-brief-detail .metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 0;
}

.weekly-brief-detail .metric {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--weekly-line);
    border-radius: 18px;
    background: rgba(5, 9, 21, 0.55);
}

.weekly-brief-detail .metric strong {
    display: block;
    color: var(--weekly-ink);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.weekly-brief-detail .metric span {
    display: block;
    margin-top: 7px;
    color: var(--weekly-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

/*
|--------------------------------------------------------------------------
| Main content layout
|--------------------------------------------------------------------------
*/

.weekly-brief-detail .weekly-content-section {
    padding: 58px 0;
}

.weekly-brief-detail .page-layout {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.weekly-brief-detail .page-layout > [class*="col-"] {
    min-width: 0;
}

.weekly-brief-detail .story-stack {
    width: 100%;
    display: grid;
    gap: 18px;
}

/*
|--------------------------------------------------------------------------
| Main CMS article
|--------------------------------------------------------------------------
*/

.weekly-brief-detail .weekly-doc-content {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.weekly-brief-detail
.weekly-doc-content >
.story-inner {
    padding: 20px;
}

.weekly-brief-detail .weekly-doc-content h2,
.weekly-brief-detail .weekly-doc-content .section-title {
    margin: 8px 0 7px;
    padding: 10px 0;
    color: var(--weekly-ink);
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0.1px;
}

.weekly-brief-detail
.weekly-doc-content h2:first-child,
.weekly-brief-detail
.weekly-doc-content .section-title:first-child {
    margin-top: 0;
}

.weekly-brief-detail .weekly-doc-content h3 {
    margin: 24px 0 12px;
    color: var(--weekly-ink);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.weekly-brief-detail .weekly-doc-content h4 {
    margin: 20px 0 10px;
    color: var(--weekly-cyan);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.weekly-brief-detail .weekly-doc-content h5 {
    margin: 18px 0 8px;
    color: var(--weekly-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.weekly-brief-detail .weekly-doc-content h6 {
    margin: 16px 0 8px;
    color: var(--weekly-muted);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.weekly-brief-detail .weekly-doc-content p {
    margin: 10px 0;
    color: var(--weekly-muted);
}

.weekly-brief-detail
.weekly-doc-content ul,
.weekly-brief-detail
.weekly-doc-content ol {
    margin: 10px 0 18px;
    padding-left: 22px;
}

.weekly-brief-detail
.weekly-doc-content li + li {
    margin-top: 7px;
}

/*
|--------------------------------------------------------------------------
| Story cards
|--------------------------------------------------------------------------
*/

.weekly-brief-detail .story,
.weekly-brief-detail .story-card-auto {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--weekly-line);
    border-radius: 26px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.026)
        ),
        rgba(10, 20, 35, 0.86);
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.18);
}

.weekly-brief-detail .story-card-auto {
    margin-bottom: 18px;
}

.weekly-brief-detail .story-card-auto:last-child {
    margin-bottom: 0;
}

.weekly-brief-detail .story-inner,
.weekly-brief-detail
.story-card-auto >
.story-inner {
    padding: 26px;
}

.weekly-brief-detail .story-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 15px;
    align-items: start;
    margin-bottom: 14px;
}

.weekly-brief-detail .story-num {
    width: 36px;
    height: 36px;
    margin-top: 12px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(74, 163, 255, 0.25);
    border-radius: 12px;
    color: var(--weekly-cyan);
    background: rgba(74, 163, 255, 0.14);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}

.weekly-brief-detail
.story-head h3 {
    min-width: 0;
    margin: 12px 0;
    color: var(--weekly-ink);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.1px;
}

.weekly-brief-detail
.story-card-auto p {
    color: var(--weekly-muted);
}

.weekly-brief-detail
.story-card-auto >
.story-inner >
p:first-of-type {
    margin-top: 0;
}

/*
|--------------------------------------------------------------------------
| Severity tags
|--------------------------------------------------------------------------
*/

.weekly-brief-detail .tag {
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.weekly-brief-detail .tag.critical,
.weekly-brief-detail .critical {
    color: #ffc7cc;
    border: 1px solid rgba(255, 86, 99, 0.26);
    background: rgba(255, 86, 99, 0.14);
}

.weekly-brief-detail .tag.high,
.weekly-brief-detail .high {
    color: #ffe2b9;
    border: 1px solid rgba(255, 180, 92, 0.25);
    background: rgba(255, 180, 92, 0.14);
}

.weekly-brief-detail .tag.medium,
.weekly-brief-detail .medium {
    color: #cdeaff;
    border: 1px solid rgba(74, 163, 255, 0.25);
    background: rgba(74, 163, 255, 0.14);
}

.weekly-brief-detail .tag.emerging,
.weekly-brief-detail .emerging {
    color: #dccfff;
    border: 1px solid rgba(167, 139, 250, 0.25);
    background: rgba(167, 139, 250, 0.15);
}

.weekly-brief-detail .tag.strategic,
.weekly-brief-detail .strategic {
    color: #c9fff3;
    border: 1px solid rgba(111, 255, 226, 0.22);
    background: rgba(111, 255, 226, 0.11);
}

/*
|--------------------------------------------------------------------------
| Content information boxes
|--------------------------------------------------------------------------
*/

.weekly-brief-detail .brief-info-box {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid var(--weekly-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.weekly-brief-detail .brief-info-box h3,
.weekly-brief-detail .brief-info-box h4 {
    margin: 0 0 10px;
    color: var(--weekly-cyan);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.weekly-brief-detail .brief-info-box p:last-child,
.weekly-brief-detail .brief-info-box ul:last-child,
.weekly-brief-detail .brief-info-box ol:last-child {
    margin-bottom: 0;
}

.weekly-brief-detail .brief-info-box.ciso-box {
    border-color: rgba(111, 255, 226, 0.2);
    background: rgba(111, 255, 226, 0.07);
}

.weekly-brief-detail .brief-info-box.ciso-box p,
.weekly-brief-detail .brief-info-box.ciso-box li {
    color: #d7e5f6;
}

.weekly-brief-detail .brief-info-box.action-box {
    border-color: rgba(74, 163, 255, 0.24);
    background: rgba(74, 163, 255, 0.07);
}

.weekly-brief-detail .brief-info-box.market-box {
    border-color: rgba(167, 139, 250, 0.24);
    background: rgba(167, 139, 250, 0.07);
}

/*
|--------------------------------------------------------------------------
| Tables
|--------------------------------------------------------------------------
*/

.weekly-brief-detail .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    margin: 16px 0 24px;
    border: 1px solid var(--weekly-line);
    border-radius: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #999 transparent;
}

.weekly-brief-detail
.table-responsive::-webkit-scrollbar {
    height: 4px;
}

.weekly-brief-detail
.table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.weekly-brief-detail
.table-responsive::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #999;
}

.weekly-brief-detail
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.weekly-brief-detail .weekly-table {
    width: 100%;
    min-width: 650px;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    background: rgba(5, 9, 21, 0.44);
}

.weekly-brief-detail
.weekly-table th,
.weekly-brief-detail
.weekly-table td {
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid var(--weekly-line);
    color: var(--weekly-ink);
    background: transparent;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;
}

.weekly-brief-detail .weekly-table th {
    color: var(--weekly-muted);
    background: rgba(255, 255, 255, 0.045);
    font-size: 16px;
    font-weight: 800;
}

.weekly-brief-detail
.weekly-table tbody tr:last-child td {
    border-bottom: 0;
}

/*
|--------------------------------------------------------------------------
| Sidebar
|--------------------------------------------------------------------------
*/

.weekly-brief-detail .sidebar {
    position: sticky;
    top: 120px;
    z-index: 2;
    width: 100%;
    display: grid;
    gap: 18px;
}

.weekly-brief-detail .sticky-widget {
    width: 100%;
}

.weekly-brief-detail .subscribe-card {
    width: 100%;
    padding: 24px;
    border: 1px solid rgba(74, 163, 255, 0.28);
    border-radius: 28px;
    background:
        radial-gradient(
            circle at top right,
            rgba(111, 255, 226, 0.12),
            transparent 14rem
        ),
        linear-gradient(
            180deg,
            rgba(74, 163, 255, 0.16),
            rgba(18, 32, 54, 0.9)
        );
    box-shadow: var(--weekly-shadow);
}

.weekly-brief-detail .subscribe-card h3 {
    margin: 0 0 8px;
    color: var(--weekly-ink);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.weekly-brief-detail .subscribe-card p {
    margin: 0 0 16px;
    color: var(--weekly-muted);
    font-size: 14px;
    line-height: 1.6;
}

/*
|--------------------------------------------------------------------------
| Subscription form
|--------------------------------------------------------------------------
*/

.weekly-brief-detail .form {
    display: grid;
    gap: 10px;
}

.weekly-brief-detail .form input {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--weekly-line-strong);
    border-radius: 14px;
    outline: none;
    color: var(--weekly-ink);
    background: rgba(5, 9, 21, 0.72);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.weekly-brief-detail .form input::placeholder {
    color: #718199;
}

.weekly-brief-detail .form input:focus {
    border-color: rgba(111, 255, 226, 0.46);
    box-shadow: 0 0 0 4px rgba(111, 255, 226, 0.08);
}

.weekly-brief-detail .form button {
    width: 100%;
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1020px) {
    .weekly-brief-detail .hero-grid {
        grid-template-columns: 1fr;
    }

    .weekly-brief-detail .sidebar {
        position: static;
        top: auto;
        margin-top: 30px;
    }

    .cti-nav .nav-links a:not(.btn) {
        display: none;
    }
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .weekly-brief-detail,
    .weekly-brief-detail main,
    .weekly-brief-detail .weekly-content-section,
    .weekly-brief-detail .page-layout,
    .weekly-brief-detail .story-stack,
    .weekly-brief-detail .cms-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .weekly-brief-detail .container,
    .cti-nav .container {
        width: 100%;
        max-width: 100%;
        padding-right: 14px;
        padding-left: 14px;
    }

    .weekly-brief-detail .row {
        margin-right: 0;
        margin-left: 0;
    }

    .weekly-brief-detail
    .page-layout >
    [class*="col-"] {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: 0 0 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .weekly-brief-detail .hero {
        padding: 220px 0 36px;
    }

    .weekly-brief-detail .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .weekly-brief-detail .hero h1 {
        font-size: 30px;
        line-height: 38px;
        letter-spacing: -0.02em;
    }

    .weekly-brief-detail .hero-lede {
        font-size: 17px;
        line-height: 1.55;
    }

    .weekly-brief-detail .hero-actions {
        align-items: stretch;
    }

    .weekly-brief-detail .hero-actions .btn {
        width: 100%;
    }

    .weekly-brief-detail .panel-top {
        flex-direction: column;
    }

    .weekly-brief-detail .metrics {
        grid-template-columns: 1fr;
    }

    .weekly-brief-detail .hero-panel {
        width: 100%;
        padding: 20px;
    }

    .weekly-brief-detail h2,
    .weekly-brief-detail
    .weekly-doc-content h2,
    .weekly-brief-detail
    .weekly-doc-content .section-title {
        font-size: 27px;
        line-height: 35px;
    }

    .weekly-brief-detail h3,
    .weekly-brief-detail
    .weekly-doc-content h3 {
        font-size: 22px;
        line-height: 1.3;
    }

    .weekly-brief-detail h4,
    .weekly-brief-detail
    .weekly-doc-content h4 {
        font-size: 19px;
        line-height: 1.4;
    }

    .weekly-brief-detail .story,
    .weekly-brief-detail .story-card-auto,
    .weekly-brief-detail .story-inner {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .weekly-brief-detail
    .story-card-auto >
    .story-inner {
        padding: 18px;
    }

    .weekly-brief-detail .story-head {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
    }

    .weekly-brief-detail .story-num {
        margin-top: 5px;
    }

    .weekly-brief-detail
    .story-head h3 {
        min-width: 0;
        margin: 0;
        font-size: 22px;
        line-height: 1.3;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .weekly-brief-detail
    .story-head .tag {
        grid-column: 2;
        justify-self: start;
        margin-top: 8px;
    }

    .weekly-brief-detail h1,
    .weekly-brief-detail h2,
    .weekly-brief-detail h3,
    .weekly-brief-detail h4,
    .weekly-brief-detail h5,
    .weekly-brief-detail h6,
    .weekly-brief-detail p,
    .weekly-brief-detail li,
    .weekly-brief-detail td,
    .weekly-brief-detail th,
    .weekly-brief-detail a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .weekly-brief-detail .table-responsive {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
    }

    .weekly-brief-detail .weekly-table {
        min-width: 620px;
    }

    .weekly-brief-detail .sidebar {
        position: static;
        top: auto;
        margin-top: 30px;
    }

    .weekly-brief-detail .weekly-content-section {
        padding: 42px 0;
    }

    .cti-nav .brand span:last-child {
        display: none;
    }
}

/*
|--------------------------------------------------------------------------
| Small mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 480px) {
    .weekly-brief-detail .hero {
        padding-top: 205px;
    }

    .weekly-brief-detail .hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .weekly-brief-detail .eyebrow {
        align-items: flex-start;
        white-space: normal;
    }

    .weekly-brief-detail .panel-title {
        font-size: 21px;
    }

    .weekly-brief-detail .metric strong {
        font-size: 30px;
    }

    .weekly-brief-detail
    .story-card-auto >
    .story-inner {
        padding: 16px;
    }

    .weekly-brief-detail .brief-info-box {
        padding: 15px;
    }

    .weekly-brief-detail .subscribe-card {
        padding: 20px;
    }
}


 .bottom-cta {
   margin-top: 26px;
   border: 1px solid rgba(111,255,226,.23);
   border-radius: 32px;
   padding: 36px;
   display: grid;
   grid-template-columns: 1fr auto;
   gap: 22px;
   align-items: center;
   background:
   radial-gradient(circle at 10% 0%, rgba(111,255,226,.16), transparent 18rem),
   linear-gradient(135deg, rgba(74,163,255,.18), rgba(167,139,250,.1));
   box-shadow: var(--shadow);
   }
   .bottom-cta h2 {
   font-size: clamp(28px, 3vw, 42px);
   }
   .bottom-cta p {
   color: var(--muted);
   margin: 10px 0 0;
   max-width: 650px;
   }
   .notes {
   color: var(--subtle);
   font-size: 13px;
   line-height: 1.5;
   margin-top: 10px;
   }
   
   .mobile-cta {
   display: none;
   position: fixed;
   left: 14px;
   right: 14px;
   bottom: 14px;
   z-index: 50;
   box-shadow: 0 18px 50px rgba(0,0,0,.45);
   }
   @media (max-width: 1020px) {
   
   .bottom-cta {
   grid-template-columns: 1fr;
   }
   
   }
   
   
   .hero-panel .metric-extra {
    display: none;
}

.hero-panel.metrics-expanded .metric-extra {
    display: block;
}

.metrics-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.metrics-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.metrics-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.metrics-toggle-btn:focus-visible {
    outline: 2px solid #63f5dc;
    outline-offset: 3px;
}

.metrics-toggle-btn .toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.hero-panel.metrics-expanded .metrics-toggle-btn .toggle-icon {
    transform: rotate(45deg);
}



/* =========================================================
   COMPACT THREAT CARDS — ARTICLE 4 ONWARDS
========================================================= */

.story-card-auto.story-card-compact {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.story-card-auto.story-card-compact:hover {
    border-color: rgba(99, 245, 220, 0.35);
}

.story-card-auto.story-card-compact .story-inner {
    padding: 24px;
}

/* Compact heading area */
.story-card-auto.story-card-compact .story-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.story-card-auto.story-card-compact .story-head h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
}

/* First paragraph remains visible as preview */
.story-card-auto.story-card-compact .compact-preview {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: inherit;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Hidden full content */
.story-card-auto.story-card-compact .compact-details {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition:
        grid-template-rows 0.35s ease,
        opacity 0.25s ease,
        visibility 0.35s ease;
}

.story-card-auto.story-card-compact .compact-details-inner {
    min-height: 0;
    overflow: hidden;
}

/* Expanded card */
.story-card-auto.story-card-compact.is-expanded .compact-details {
    grid-template-rows: 1fr;
    margin-top: 20px;
    opacity: 1;
    visibility: visible;
}

.story-card-auto.story-card-compact.is-expanded .compact-preview {
    display: none;
}

/* Toggle button area */
.compact-toggle-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.compact-threat-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid rgba(99, 245, 220, 0.45);
    border-radius: 50px;
    background: rgba(99, 245, 220, 0.08);
    color: #63f5dc;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.compact-threat-toggle:hover {
    border-color: #63f5dc;
    background: rgba(99, 245, 220, 0.15);
}

.compact-threat-toggle:focus-visible {
    outline: 2px solid #63f5dc;
    outline-offset: 3px;
}

.compact-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.story-card-auto.story-card-compact.is-expanded
.compact-toggle-icon {
    transform: rotate(45deg);
}

/* Mobile */
@media (max-width: 767px) {
    .story-card-auto.story-card-compact .story-inner {
        padding: 20px;
    }

    .story-card-auto.story-card-compact .story-head {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
    }

    .story-card-auto.story-card-compact .story-head h3 {
        font-size: 19px;
        line-height: 1.4;
    }

    .story-card-auto.story-card-compact .story-head .tag {
        grid-column: 2;
        justify-self: start;
    }

    .compact-toggle-wrap {
        justify-content: stretch;
    }

    .compact-threat-toggle {
        width: 100%;
    }
}

/* =========================================================
   INTELLIGENCE WATCHLIST COLLAPSIBLE CONTENT
========================================================= */

/* =========================================================
   ALL CONTENT AFTER STORY CARDS — COLLAPSIBLE
========================================================= */

.weekly-brief-detail .post-stories-wrap {
    width: 100%;
    min-width: 0;
}

.weekly-brief-detail .post-stories-preview {
    width: 100%;
}

.weekly-brief-detail .post-stories-collapsible {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition:
        grid-template-rows 0.45s ease,
        opacity 0.3s ease,
        visibility 0.45s ease;
}

.weekly-brief-detail .post-stories-collapsible-inner {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.weekly-brief-detail
.post-stories-wrap.is-expanded
.post-stories-collapsible {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
}

/* Toggle button */
.weekly-brief-detail .post-stories-toggle-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 26px 0 34px;
}

.weekly-brief-detail .post-stories-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid rgba(99, 245, 220, 0.5);
    border-radius: 999px;
    outline: none;
    color: #63f5dc;
    background: rgba(99, 245, 220, 0.08);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.weekly-brief-detail .post-stories-toggle:hover {
    border-color: #63f5dc;
    color: #63f5dc;
    background: rgba(99, 245, 220, 0.15);
    transform: translateY(-1px);
}

.weekly-brief-detail .post-stories-toggle:focus-visible {
    outline: 2px solid #63f5dc;
    outline-offset: 3px;
}

.weekly-brief-detail .post-stories-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s ease;
}

.weekly-brief-detail
.post-stories-wrap.is-expanded
.post-stories-toggle-icon {
    transform: rotate(45deg);
}

@media (max-width: 767px) {
    .weekly-brief-detail .post-stories-toggle {
        width: 100%;
    }

    .weekly-brief-detail .post-stories-toggle-wrap {
        margin: 22px 0 30px;
    }
}



/* Two-step functionality only */
#newsletterStep1,
#newsletterStep2 {
    width: 100%;
}

#newsletterStep1 {
    display: grid;
    gap: 10px;
}

#newsletterStep2 {
    display: grid;
    gap: 10px;
}

#newsletterStep2[hidden] {
    display: none;
}

.newsletter-step-actions {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px;
}

.newsletter-step-actions .btn {
    width: 100%;
    min-width: 0;
}

@media (max-width: 480px) {
    .newsletter-step-actions {
        grid-template-columns: 1fr;
    }
}

/* Two-step form button alignment */
.weekly-brief-detail .newsletter-step-actions {
    display: block;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
}

.weekly-brief-detail .newsletter-step-actions .btn {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.weekly-brief-detail
.newsletter-step-actions
#newsletterBackBtn {
    grid-column: 1;
}

.weekly-brief-detail
.newsletter-step-actions
#newsletterSubmitBtn {
    grid-column: 2;
}

@media (max-width: 480px) {
    .weekly-brief-detail .newsletter-step-actions {
        grid-template-columns: 1fr 1fr;
    }
}

button#newsletterBackBtn {
    margin-bottom: 8px;
}


.hero.weekly-hero{min-height:auto;}

.weekly-cta .container{max-width:1845px;}
