/* ============================================================
   RM NEWS — PREMIUM RESPONSIVE DESIGN
   MIR RABBY | mirrabbyhumanrights.com
   ============================================================ */


/* ============================================================
   01. ROOT VARIABLES
   ============================================================ */

:root {

    --primary: #0f766e;
    --primary-dark: #115e59;
    --primary-light: #14b8a6;

    --accent: #d4a72c;
    --accent-light: #f4d477;

    --white: #ffffff;
    --black: #0b1120;

    --text: #172033;
    --text-soft: #667085;
    --text-muted: #98a2b3;

    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-soft: #f9fafb;

    --border: rgba(15, 23, 42, 0.09);
    --border-strong: rgba(15, 23, 42, 0.15);

    --shadow-sm:
        0 4px 16px rgba(15, 23, 42, 0.06);

    --shadow-md:
        0 14px 35px rgba(15, 23, 42, 0.10);

    --shadow-lg:
        0 25px 70px rgba(15, 23, 42, 0.14);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;

    --header-height: 76px;

    --container:
        min(1180px, calc(100% - 40px));

    --transition:
        280ms cubic-bezier(.22,.61,.36,1);

    --font-bangla:
        "Noto Sans Bengali",
        "Hind Siliguri",
        "SolaimanLipi",
        Arial,
        sans-serif;

    --font-system:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ============================================================
   02. DARK THEME
   ============================================================ */

html[data-theme="dark"] {

    --text: #f2f4f7;
    --text-soft: #b8c0cc;
    --text-muted: #8993a4;

    --bg: #080d17;
    --surface: #101827;
    --surface-soft: #0c1422;

    --border: rgba(255,255,255,.09);
    --border-strong: rgba(255,255,255,.16);

    --shadow-sm:
        0 4px 18px rgba(0,0,0,.25);

    --shadow-md:
        0 18px 45px rgba(0,0,0,.30);

    --shadow-lg:
        0 30px 80px rgba(0,0,0,.40);
}


/* ============================================================
   03. RESET
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(20,184,166,.035),
            transparent 28%
        ),
        var(--bg);

    color: var(--text);

    font-family: var(--font-bangla);

    line-height: 1.7;

    overflow-x: hidden;

    transition:
        background-color var(--transition),
        color var(--transition);
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

::selection {
    background: var(--primary);
    color: #fff;
}


/* ============================================================
   04. CONTAINER
   ============================================================ */

.container {
    width: var(--container);
    margin-inline: auto;
}


/* ============================================================
   05. PAGE LOADER
   ============================================================ */

.page-loader {
    position: fixed;
    inset: 0;

    display: grid;
    place-items: center;

    background: var(--bg);

    z-index: 99999;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 400ms ease,
        visibility 400ms ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ring {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    border: 3px solid rgba(15,118,110,.14);
    border-top-color: var(--primary);

    animation:
        loaderRotate .8s linear infinite;
}

@keyframes loaderRotate {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   06. HEADER
   ============================================================ */

.header {
    position: sticky;
    top: 0;
    left: 0;

    width: 100%;

    height: var(--header-height);

    background:
        color-mix(in srgb, var(--surface) 91%, transparent);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    z-index: 5000;

    transition:
        box-shadow var(--transition),
        background var(--transition);
}

.header.scrolled {
    box-shadow:
        0 10px 35px rgba(15,23,42,.08);
}

.header-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}


/* ============================================================
   07. LOGO
   ============================================================ */

.logo {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 11px;

    font-family: var(--font-system);

    white-space: nowrap;
}

.logo-image-wrap {
    position: relative;

    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            var(--primary),
            var(--primary-dark)
        );

    box-shadow:
        0 7px 18px rgba(15,118,110,.20);
}

.logo-image {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.logo-fallback-text {
    display: none;

    color: white;

    font-size: 14px;
    font-weight: 800;
}

.logo-fallback .logo-fallback-text {
    display: block;
}

.logo-text {
    color: var(--text);

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

    letter-spacing: .04em;
}


/* ============================================================
   08. NAVIGATION
   ============================================================ */

.nav-menu {
    flex: 1;

    display: flex;
    justify-content: center;
}

.nav-menu ul {
    margin: 0;
    padding: 0;

    list-style: none;

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

    gap: 3px;
}

.nav-menu a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    padding: 7px 10px;

    color: var(--text-soft);

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

    border-radius: 9px;

    transition:
        color var(--transition),
        background var(--transition);
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 2px;

    width: 0;
    height: 2px;

    border-radius: 99px;

    background: var(--primary);

    transform: translateX(-50%);

    transition: width var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
    background: rgba(15,118,110,.055);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 22px;
}

.nav-menu a.active {
    color: var(--primary);
    font-weight: 800;
}


/* ============================================================
   09. HEADER ACTIONS
   ============================================================ */

.header-actions {
    display: flex;
    align-items: center;

    gap: 9px;
}

.theme-toggle,
.hamburger {
    border: 0;

    cursor: pointer;

    background: transparent;

    color: var(--text);

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.theme-toggle {
    width: 41px;
    height: 41px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: var(--surface);

    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    color: var(--primary);

    transform: translateY(-2px);

    border-color: rgba(15,118,110,.22);
}

.theme-icon {
    font-family: Arial, sans-serif;

    font-size: 22px;

    line-height: 1;

    transition:
        transform 350ms ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(18deg);
}


/* ============================================================
   10. HAMBURGER
   ============================================================ */

.hamburger {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    border-radius: 12px;

    border: 1px solid var(--border);

    background: var(--surface);

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;
}

.hamburger span {
    display: block;

    width: 21px;
    height: 2px;

    border-radius: 99px;

    background: currentColor;

    transition:
        transform 280ms ease,
        opacity 280ms ease;
}

.hamburger.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* ============================================================
   11. MENU OVERLAY
   ============================================================ */

.menu-overlay {
    position: fixed;
    inset: 0;

    background: rgba(2,6,23,.52);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    opacity: 0;
    visibility: hidden;

    z-index: 4500;

    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ============================================================
   12. HERO
   ============================================================ */

.rm-hero {
    position: relative;

    min-height: 365px;

    display: flex;
    align-items: center;

    overflow: hidden;

    isolation: isolate;

    border-bottom: 1px solid var(--border);

    background:
        linear-gradient(
            135deg,
            rgba(15,118,110,.08),
            transparent 55%
        ),
        var(--surface);
}

.rm-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(15,118,110,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(15,118,110,.025) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );

    z-index: -2;
}

.rm-hero::after {
    content: "";

    position: absolute;

    width: 440px;
    height: 440px;

    right: -170px;
    top: -200px;

    border-radius: 50%;

    border: 1px solid rgba(15,118,110,.10);

    box-shadow:
        0 0 0 50px rgba(15,118,110,.018),
        0 0 0 100px rgba(15,118,110,.012);

    z-index: -1;
}

.hero-decoration {
    position: absolute;

    width: 160px;
    height: 160px;

    border-radius: 50%;

    border: 1px solid rgba(212,167,44,.18);

    pointer-events: none;
}

.hero-decoration-one {
    left: -95px;
    bottom: -75px;
}

.hero-decoration-two {
    right: 12%;
    bottom: -135px;

    width: 220px;
    height: 220px;
}

.rm-hero-content {
    max-width: 800px;

    padding: 70px 0 72px;
}

.section-kicker {
    display: flex;
    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-bottom: 18px;

    color: var(--primary);

    font-family: var(--font-system);

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

    letter-spacing: .20em;
}

.kicker-line {
    width: 34px;
    height: 1px;

    background: var(--primary);

    opacity: .55;
}

.rm-hero h1 {
    margin: 0;

    text-align: center;

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

    line-height: 1.1;

    font-weight: 900;

    letter-spacing: -.035em;

    color: var(--text);
}

.rm-hero h1 span {
    color: var(--primary);
}

.rm-hero-content > p {
    max-width: 650px;

    margin: 20px auto 0;

    text-align: center;

    color: var(--text-soft);

    font-size:
        clamp(15px, 2vw, 18px);

    line-height: 1.9;
}

.hero-divider {
    margin: 27px auto 0;

    display: flex;
    align-items: center;

    justify-content: center;

    gap: 12px;
}

.hero-divider span {
    width: 55px;
    height: 1px;

    background: var(--border-strong);
}

.hero-divider i {
    color: var(--accent);

    font-size: 15px;

    font-style: normal;
}


/* ============================================================
   13. REPORT SECTION
   ============================================================ */

.reports-section {
    padding:
        clamp(65px, 8vw, 105px)
        0
        85px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 35px;

    margin-bottom: 42px;
}

.small-label {
    display: block;

    margin-bottom: 8px;

    color: var(--primary);

    font-family: var(--font-system);

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

    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;

    color: var(--text);

    font-size:
        clamp(28px, 4vw, 43px);

    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -.025em;
}

.section-heading h2 strong {
    color: var(--primary);
}

.section-heading > p {
    max-width: 350px;

    margin: 0;

    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.85;
}


/* ============================================================
   14. REPORT GRID
   ============================================================ */

.reports-grid {
    display: grid;

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

    gap: 28px;
}


/* ============================================================
   15. REPORT CARD
   ============================================================ */

.report-card {
    position: relative;

    overflow: hidden;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform 400ms cubic-bezier(.22,.61,.36,1),
        box-shadow 400ms ease,
        border-color 400ms ease;
}

.report-card:hover {
    transform: translateY(-9px);

    box-shadow: var(--shadow-lg);

    border-color:
        rgba(15,118,110,.18);
}


/* ============================================================
   16. REPORT IMAGE
   ============================================================ */

.report-image-link {
    display: block;
}

.report-image {
    position: relative;

    width: 100%;

    /*
        Passport-style portrait ratio:
        Width : Height = 35 : 45
        = 7 : 9
    */

    aspect-ratio: 35 / 45;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #edf2f3,
            #dfe8e8
        );
}

html[data-theme="dark"] .report-image {
    background:
        linear-gradient(
            145deg,
            #172330,
            #0d1722
        );
}

.report-image img {
    width: 100%;
    height: 100%;

    /*
        Any passport-size portrait image will
        automatically fit this area.
    */

    object-fit: cover;

    object-position: center center;

    transform: scale(1.001);

    transition:
        transform 650ms cubic-bezier(.22,.61,.36,1);
}

.report-card:hover .report-image img {
    transform: scale(1.045);
}


/* ============================================================
   17. IMAGE OVERLAY
   ============================================================ */

.image-overlay {
    position: absolute;
    inset: 0;

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

    background:
        linear-gradient(
            to top,
            rgba(4,20,25,.45),
            transparent 48%
        );

    opacity: 0;

    transition:
        opacity 350ms ease;
}

.report-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.92);

    color: var(--primary);

    font-family: Arial, sans-serif;

    font-size: 21px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.18);

    transform: translateY(12px) scale(.85);

    transition:
        transform 350ms cubic-bezier(.22,.61,.36,1);
}

.report-card:hover .image-overlay-icon {
    transform:
        translateY(0)
        scale(1);
}


/* ============================================================
   18. REPORT NUMBER
   ============================================================ */

.report-number {
    position: absolute;

    left: 17px;
    top: 17px;

    min-width: 39px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 9px;

    border-radius: 8px;

    background:
        rgba(255,255,255,.90);

    color: #182230;

    font-family: var(--font-system);

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

    letter-spacing: .06em;

    box-shadow:
        0 5px 18px rgba(0,0,0,.10);
}


/* ============================================================
   19. REPORT CONTENT
   ============================================================ */

.report-content {
    padding:
        24px
        24px
        23px;
}

.report-meta {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 8px;

    color: var(--primary);

    font-family: var(--font-system);

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

    letter-spacing: .12em;
    text-transform: uppercase;
}

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

    border-radius: 50%;

    background: var(--accent);
}

.report-content h3 {
    margin: 0;

    color: var(--text);

    font-size: 25px;
    font-weight: 850;

    line-height: 1.35;
}

.report-quote {
    min-height: 58px;

    margin:
        10px
        0
        18px;

    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.75;
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;
}

.card-line {
    flex: 1;

    height: 1px;

    background: var(--border);
}

.read-more {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--primary);

    font-family: var(--font-system);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .10em;

    transition:
        color var(--transition),
        gap var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);

    gap: 13px;
}

.read-arrow {
    font-size: 16px;

    line-height: 1;
}


/* ============================================================
   20. FOOTER ORNAMENT
   ============================================================ */

.reports-footer {
    margin-top: 65px;

    text-align: center;
}

.footer-ornament {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-bottom: 12px;
}

.footer-ornament span {
    width: 45px;
    height: 1px;

    background: var(--border-strong);
}

.footer-ornament i {
    color: var(--accent);

    font-style: normal;
}

.reports-footer p {
    margin: 0;

    color: var(--text-muted);

    font-size: 13px;
}


/* ============================================================
   21. FOOTER
   ============================================================ */

.site-footer {
    border-top: 1px solid var(--border);

    background: var(--surface);
}

.footer-inner {
    min-height: 105px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 11px;
}

.footer-logo {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--primary);

    color: white;

    font-family: var(--font-system);

    font-size: 12px;
    font-weight: 900;
}

.footer-brand strong,
.footer-brand small {
    display: block;
}

.footer-brand strong {
    color: var(--text);

    font-family: var(--font-system);

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

    letter-spacing: .05em;
}

.footer-brand small {
    color: var(--text-muted);

    font-size: 10px;
}

.footer-copy {
    color: var(--text-muted);

    font-family: var(--font-system);

    font-size: 10px;

    text-align: right;
}

.footer-separator {
    margin: 0 6px;

    color: var(--accent);
}


/* ============================================================
   22. BACK TO TOP
   ============================================================ */

.back-to-top {
    position: fixed;

    right: 22px;
    bottom: 22px;

    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);

    border-radius: 13px;

    background: var(--surface);

    color: var(--primary);

    cursor: pointer;

    box-shadow: var(--shadow-md);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(15px);

    z-index: 3000;

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: white;

    transform:
        translateY(-3px);
}


/* ============================================================
   23. REVEAL ANIMATION
   ============================================================ */

.reveal {
    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity 700ms ease,
        transform 700ms cubic-bezier(.22,.61,.36,1);
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* ============================================================
   24. DETAIL PAGE
   ============================================================ */

.detail-page {
    background: var(--bg);
}

.detail-main {
    padding:
        clamp(35px, 6vw, 75px)
        0
        100px;
}

.detail-layout {
    position: relative;

    max-width: 1000px;

    margin-inline: auto;
}


/* ============================================================
   25. DETAIL HERO
   ============================================================ */

.detail-hero {
    text-align: center;

    margin-bottom: 45px;
}

.detail-category {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 18px;

    color: var(--primary);

    font-family: var(--font-system);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .13em;
    text-transform: uppercase;
}

.detail-category::before {
    content: "";

    width: 25px;
    height: 1px;

    background: var(--primary);
}

.detail-title {
    max-width: 850px;

    margin:
        0
        auto
        12px;

    color: var(--text);

    font-size:
        clamp(30px, 5vw, 56px);

    line-height: 1.25;

    font-weight: 900;

    letter-spacing: -.025em;
}

.detail-subtitle {
    max-width: 700px;

    margin: 0 auto;

    color: var(--primary);

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

    line-height: 1.75;

    font-weight: 650;
}


/* ============================================================
   26. DETAIL IMAGE
   ============================================================ */

.detail-image-wrap {
    width: min(390px, 100%);

    margin:
        0
        auto
        45px;

    padding: 8px;

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: 22px;

    box-shadow: var(--shadow-lg);
}

.detail-image {
    width: 100%;

    /*
        Passport portrait ratio:
        35 : 45
    */

    aspect-ratio: 35 / 45;

    object-fit: cover;

    object-position: center center;

    border-radius: 15px;
}


/* ============================================================
   27. ARTICLE
   ============================================================ */

.article-card {
    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: 28px;

    padding:
        clamp(25px, 5vw, 58px);

    box-shadow: var(--shadow-sm);
}

.article-heading {
    margin: 0 0 30px;

    padding-bottom: 24px;

    border-bottom:
        1px solid var(--border);

    color: var(--text);

    font-size:
        clamp(25px, 3.5vw, 36px);

    line-height: 1.45;

    font-weight: 850;
}

.article-body {
    color: var(--text-soft);

    font-size:
        clamp(15px, 1.6vw, 17px);

    line-height: 2;

    text-align: justify;
}

.article-body p {
    margin:
        0
        0
        24px;
}

.article-body strong {
    color: var(--text);

    font-weight: 800;
}


/* ============================================================
   28. ARTICLE QUOTE
   ============================================================ */

.article-quote {
    position: relative;

    margin:
        30px
        0
        32px;

    padding:
        24px
        25px
        24px
        30px;

    border-left:
        4px solid var(--primary);

    border-radius:
        0
        16px
        16px
        0;

    background:
        linear-gradient(
            135deg,
            rgba(15,118,110,.075),
            rgba(15,118,110,.025)
        );

    color: var(--text);

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

    line-height: 1.9;

    font-weight: 700;

    text-align: left;
}

.article-quote::before {
    content: "“";

    position: absolute;

    left: 10px;
    top: -12px;

    color: var(--primary);

    opacity: .18;

    font-family: Georgia, serif;

    font-size: 70px;

    line-height: 1;
}


/* ============================================================
   29. ARTICLE HIGHLIGHT
   ============================================================ */

.article-highlight {
    margin:
        30px
        0;

    padding:
        20px
        23px;

    border-radius: 16px;

    background: var(--surface-soft);

    border:
        1px solid var(--border);

    color: var(--text);

    font-weight: 750;
}


/* ============================================================
   30. ARTICLE CLOSING
   ============================================================ */

.article-closing {
    margin-top: 35px;

    padding-top: 30px;

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

    color: var(--text);

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

    line-height: 2;

    font-weight: 650;

    text-align: center;
}

.article-closing strong {
    color: var(--primary);
}


/* ============================================================
   31. FLOATING BACK BUTTON
   ============================================================ */

.detail-back-button {
    position: fixed;

    right: 22px;
    top: 50%;

    transform:
        translateY(-50%);

    z-index: 4000;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding:
        11px
        15px;

    border:
        1px solid var(--border);

    border-radius: 13px;

    background: var(--surface);

    color: var(--primary);

    font-family: var(--font-system);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .08em;

    box-shadow: var(--shadow-md);

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.detail-back-button:hover {
    background: var(--primary);

    color: white;

    transform:
        translateY(-50%)
        translateX(-4px);

    box-shadow: var(--shadow-lg);
}

.detail-back-arrow {
    font-size: 16px;
    line-height: 1;
}


/* ============================================================
   32. TABLET — 1024px
   ============================================================ */

@media (max-width: 1100px) {

    :root {
        --container:
            min(100% - 36px, 940px);
    }

    .nav-menu a {
        padding-inline: 7px;
        font-size: 11px;
    }

    .nav-menu ul {
        gap: 1px;
    }

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


/* ============================================================
   33. TABLET — 900px
   ============================================================ */

@media (max-width: 900px) {

    :root {
        --header-height: 70px;
        --container:
            min(100% - 32px, 760px);
    }

    .nav-menu {
        position: fixed;

        top: var(--header-height);
        right: 0;

        width:
            min(350px, 88vw);

        height:
            calc(100dvh - var(--header-height));

        padding:
            18px;

        display: block;

        overflow-y: auto;

        background: var(--surface);

        border-left:
            1px solid var(--border);

        box-shadow:
            -15px 0 50px rgba(0,0,0,.12);

        transform:
            translateX(105%);

        transition:
            transform 380ms cubic-bezier(.22,.61,.36,1);

        z-index: 5001;
    }

    .nav-menu.active {
        transform:
            translateX(0);
    }

    .nav-menu ul {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;
    }

    .nav-menu a {
        width: 100%;

        min-height: 48px;

        padding:
            10px
            14px;

        font-size: 14px;

        border-radius: 10px;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a.active {
        background:
            rgba(15,118,110,.075);
    }

    .hamburger {
        display: flex;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

    .section-heading > p {
        max-width: 600px;
    }

    .detail-back-button {
        top: auto;
        right: 18px;
        bottom: 18px;

        transform: none;
    }

    .detail-back-button:hover {
        transform: translateY(-3px);
    }
}


/* ============================================================
   34. SMALL TABLET / LARGE PHONE — 700px
   ============================================================ */

@media (max-width: 700px) {

    :root {
        --container:
            min(100% - 28px, 620px);
    }

    .logo-text {
        font-size: 15px;
    }

    .logo-image-wrap {
        width: 39px;
        height: 39px;
    }

    .theme-toggle {
        width: 39px;
        height: 39px;
    }

    .hamburger {
        width: 39px;
        height: 39px;
    }

    .rm-hero {
        min-height: 320px;
    }

    .rm-hero-content {
        padding:
            60px
            0
            62px;
    }

    .reports-section {
        padding-top: 60px;
    }

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

        gap: 24px;
    }

    .report-card {
        max-width: 500px;

        width: 100%;

        margin-inline: auto;
    }

    .report-content {
        padding: 22px;
    }

    .detail-main {
        padding-top: 30px;
    }

    .detail-image-wrap {
        width:
            min(350px, 90vw);
    }

    .article-card {
        border-radius: 20px;
    }

    .article-body {
        text-align: left;
    }

    .footer-inner {
        min-height: 125px;

        flex-direction: column;

        justify-content: center;

        gap: 12px;
    }

    .footer-copy {
        text-align: center;
    }
}


/* ============================================================
   35. LARGE PHONE — 480px
   ============================================================ */

@media (max-width: 480px) {

    :root {
        --container:
            min(100% - 22px, 440px);
    }

    .header-container {
        gap: 8px;
    }

    .logo {
        gap: 8px;
    }

    .logo-image-wrap {
        width: 36px;
        height: 36px;

        border-radius: 10px;
    }

    .logo-text {
        font-size: 13px;

        letter-spacing: .025em;
    }

    .header-actions {
        gap: 5px;
    }

    .theme-toggle,
    .hamburger {
        width: 37px;
        height: 37px;

        border-radius: 10px;
    }

    .rm-hero {
        min-height: 290px;
    }

    .rm-hero-content {
        padding:
            52px
            0
            54px;
    }

    .section-kicker {
        font-size: 8px;

        gap: 8px;

        letter-spacing: .14em;
    }

    .kicker-line {
        width: 24px;
    }

    .rm-hero h1 {
        font-size: 39px;
    }

    .rm-hero-content > p {
        font-size: 14px;

        line-height: 1.8;
    }

    .reports-section {
        padding:
            50px
            0
            65px;
    }

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

    .section-heading h2 {
        font-size: 28px;
    }

    .report-image {
        aspect-ratio: 35 / 45;
    }

    .report-content {
        padding:
            20px
            18px
            20px;
    }

    .report-content h3 {
        font-size: 22px;
    }

    .report-quote {
        font-size: 13px;
    }

    .read-more {
        font-size: 9px;
    }

    .detail-title {
        font-size: 29px;
    }

    .detail-subtitle {
        font-size: 15px;
    }

    .detail-image-wrap {
        width: min(300px, 86vw);

        padding: 6px;

        border-radius: 17px;
    }

    .detail-image {
        border-radius: 12px;
    }

    .article-card {
        padding:
            22px
            17px;
    }

    .article-heading {
        font-size: 23px;

        margin-bottom: 24px;
    }

    .article-body {
        font-size: 14px;

        line-height: 1.95;
    }

    .article-body p {
        margin-bottom: 20px;
    }

    .article-quote {
        margin:
            25px
            0;

        padding:
            20px
            17px
            20px
            22px;

        font-size: 15px;
    }

    .article-closing {
        font-size: 15px;
    }

    .detail-back-button {
        right: 12px;
        bottom: 12px;

        padding:
            9px
            12px;

        font-size: 9px;
    }

    .back-to-top {
        right: 12px;
        bottom: 67px;

        width: 39px;
        height: 39px;
    }
}


/* ============================================================
   36. SMALL PHONE — 360px
   ============================================================ */

@media (max-width: 380px) {

    :root {
        --container:
            min(100% - 18px, 350px);
    }

    .logo-text {
        font-size: 11px;
    }

    .logo-image-wrap {
        width: 34px;
        height: 34px;
    }

    .theme-toggle,
    .hamburger {
        width: 35px;
        height: 35px;
    }

    .rm-hero h1 {
        font-size: 34px;
    }

    .rm-hero-content > p {
        font-size: 13px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

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

    .article-card {
        padding:
            19px
            14px;
    }

    .article-heading {
        font-size: 21px;
    }

    .article-body {
        font-size: 13.5px;
    }
}


/* ============================================================
   37. VERY SMALL PHONE — 320px
   ============================================================ */

@media (max-width: 330px) {

    .logo-text {
        display: none;
    }

    .header-container {
        justify-content: space-between;
    }

    .rm-hero h1 {
        font-size: 31px;
    }

    .section-kicker {
        font-size: 7px;
    }

    .report-content {
        padding:
            18px
            15px;
    }

    .report-quote {
        min-height: auto;
    }
}


/* ============================================================
   38. REDUCED MOTION
   ============================================================ */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }
}


/* ============================================================
   39. PRINT
   ============================================================ */

@media print {

    .header,
    .back-to-top,
    .detail-back-button,
    .page-loader {
        display: none !important;
    }

    .article-card {
        border: 0;
        box-shadow: none;
    }

    body {
        background: white;
        color: black;
    }
}
