/*
|--------------------------------------------------------------------------
| ClydeBenson.com
| Shared public website stylesheet
|--------------------------------------------------------------------------
*/

:root {
    --navy-dark: #06172c;
    --navy: #0b294c;
    --navy-light: #174b78;

    --red-dark: #5f0c1a;
    --red: #8e1729;
    --red-light: #b22c40;

    --white: #ffffff;
    --off-white: #f4f1ec;
    --light-gray: #e2e7eb;
    --medium-gray: #68737f;
    --charcoal: #202832;

    --green: #207a4d;
    --orange: #c4771d;

    --shadow:
        0 20px 55px rgba(6, 23, 44, 0.18);

    --soft-shadow:
        0 10px 30px rgba(6, 23, 44, 0.11);

    --max-width: 1180px;
    --article-width: 820px;
}


/*
|--------------------------------------------------------------------------
| Reset and general elements
|--------------------------------------------------------------------------
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--charcoal);
    background: var(--off-white);
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.7;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(92%, var(--max-width));
    margin-right: auto;
    margin-left: auto;
}

main {
    min-height: 55vh;
}


/*
|--------------------------------------------------------------------------
| Shared typography
|--------------------------------------------------------------------------
*/

h1,
h2,
h3,
h4 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;
}

.section {
    padding: 90px 0;
}

.section-white {
    background: var(--white);
}

.section-muted {
    background:
        linear-gradient(
            135deg,
            #e9edf1,
            var(--off-white)
        );
}

.section-navy {
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--navy-dark),
            var(--navy)
        );
}

.section-red {
    color: var(--white);
    background:
        linear-gradient(
            130deg,
            var(--red-dark),
            var(--red)
        );
}

.section-heading {
    max-width: 820px;
    margin-bottom: 44px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-label,
.eyebrow {
    margin-bottom: 14px;
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-navy .section-label,
.section-red .section-label,
.section-navy .eyebrow,
.section-red .eyebrow {
    color: #f1b7c0;
}

.section-heading h2 {
    color: var(--navy);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.section-navy .section-heading h2,
.section-red .section-heading h2 {
    color: var(--white);
}

.section-heading p {
    margin-top: 18px;
    color: #5c6671;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.08rem;
    line-height: 1.85;
}

.section-navy .section-heading p,
.section-red .section-heading p {
    color: #d7e0e9;
}


/*
|--------------------------------------------------------------------------
| Announcement banner
|--------------------------------------------------------------------------
*/

.announcement {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(
            120deg,
            var(--red-dark),
            var(--red),
            var(--red-dark)
        );
    border-bottom:
        1px solid rgba(255, 255, 255, 0.28);
}

.announcement::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        repeating-linear-gradient(
            135deg,
            transparent 0,
            transparent 20px,
            rgba(255, 255, 255, 0.18) 20px,
            rgba(255, 255, 255, 0.18) 21px
        );
}

.announcement-inner {
    position: relative;
    z-index: 1;
    padding: 18px 0;
    text-align: center;
}

.announcement-title {
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(1.05rem, 2.5vw, 1.45rem);
    font-weight: 700;
}

.announcement-purpose {
    max-width: 900px;
    margin: 8px auto 0;
    color: #f4e5e8;
    font-size: 0.93rem;
}


/*
|--------------------------------------------------------------------------
| Shared public header
|--------------------------------------------------------------------------
*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background:
        rgba(6, 23, 44, 0.98);
    border-bottom: 4px solid var(--red);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    flex-direction: column;
    color: var(--white);
    text-decoration: none;
    line-height: 1.1;
}

.brand-name {
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 700;
    letter-spacing: 0.035em;
}

.brand-subtitle {
    margin-top: 7px;
    color: #c6d0db;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    position: relative;
    padding: 12px 15px;
    color: #edf2f7;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 15px;
    bottom: 5px;
    left: 15px;
    height: 2px;
    background: var(--red-light);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
    color: var(--white);
    background:
        rgba(255, 255, 255, 0.06);
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.menu-button {
    display: none;
    padding: 10px 14px;
    color: var(--white);
    background: transparent;
    border:
        1px solid rgba(255, 255, 255, 0.42);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| Buttons and links
|--------------------------------------------------------------------------
*/

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 11px 20px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.button:hover,
.button:focus {
    transform: translateY(-3px);
}

.button-primary {
    color: var(--white);
    background: var(--red);
    box-shadow:
        0 10px 24px rgba(142, 23, 41, 0.25);
}

.button-primary:hover,
.button-primary:focus {
    background: var(--red-light);
}

.button-secondary {
    color: var(--white);
    background:
        rgba(255, 255, 255, 0.07);
    border:
        1px solid rgba(255, 255, 255, 0.42);
}

.button-dark {
    color: var(--white);
    background: var(--navy);
}


/*
|--------------------------------------------------------------------------
| Homepage portrait
|--------------------------------------------------------------------------
*/

.portrait-section {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: var(--navy-dark);
    border-bottom: 7px solid var(--red);
}

.portrait-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(6, 23, 44, 0.03) 32%,
            rgba(6, 23, 44, 0.84) 100%
        );
}

.portrait-image {
    width: 100%;
    height: 720px;
    object-fit: cover;
    object-position: center 24%;
    animation:
        portraitZoom 18s ease-in-out infinite alternate;
}

@keyframes portraitZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.portrait-caption {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 55px 0 42px;
    color: var(--white);
}

.portrait-caption h1,
.portrait-caption h2 {
    font-size: clamp(2.3rem, 6vw, 4.9rem);
    line-height: 1;
    text-shadow:
        0 5px 20px rgba(0, 0, 0, 0.55);
}

.portrait-caption p {
    margin-top: 13px;
    color: #dce4ed;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| Election countdown
|--------------------------------------------------------------------------
*/

.election-section {
    position: relative;
    overflow: hidden;
    padding: 82px 0;
    color: var(--white);
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(178, 44, 64, 0.25),
            transparent 33%
        ),
        linear-gradient(
            125deg,
            var(--navy-dark),
            var(--navy)
        );
    border-bottom: 7px solid var(--red);
}

.election-section::after {
    content: "★";
    position: absolute;
    right: -30px;
    bottom: -120px;
    color: rgba(255, 255, 255, 0.035);
    font-size: 20rem;
    line-height: 1;
}

.election-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(0, 0.75fr)
        minmax(0, 1.25fr);
    gap: 60px;
    align-items: center;
}

.election-copy h2 {
    font-size: clamp(2.1rem, 5vw, 3.8rem);
    line-height: 1.1;
}

.election-name {
    margin-top: 18px;
    color: #f2c7cd;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.25rem;
}

.election-date {
    margin-top: 8px;
    color: #d6e0e9;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.election-note {
    margin-top: 18px;
    color: #c3cfda;
    font-size: 0.84rem;
}

.countdown-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.countdown-unit {
    padding: 27px 15px;
    background:
        rgba(255, 255, 255, 0.08);
    border:
        1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.16);
}

.countdown-number {
    display: block;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(2rem, 6vw, 3.7rem);
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    display: block;
    margin-top: 10px;
    color: #c6d1dc;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.countdown-expired {
    margin-top: 18px;
    color: #f2c7cd;
    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| Reagan quote
|--------------------------------------------------------------------------
*/

.quote-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    color: var(--white);
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(178, 44, 64, 0.28),
            transparent 32%
        ),
        linear-gradient(
            130deg,
            var(--red-dark),
            var(--red),
            #68101f
        );
}

.quote-section::before {
    content: "“";
    position: absolute;
    top: -120px;
    left: 2%;
    color: rgba(255, 255, 255, 0.04);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 34rem;
    line-height: 1;
}

.quote-heading {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto 44px;
    text-align: center;
}

.quote-heading h2 {
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    line-height: 1.12;
}

.quote-heading p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.08rem;
}

.quote-panel {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    color: var(--charcoal);
    background: var(--white);
    border:
        1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 28px 70px rgba(35, 0, 7, 0.36);
}

.speaker {
    padding: 38px 46px;
}

.speaker + .speaker {
    border-top: 1px solid #dce1e6;
}

.speaker-name {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.speaker p {
    margin-bottom: 17px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.04rem;
    line-height: 1.9;
}

.speaker p:last-child {
    margin-bottom: 0;
}

.reagan {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f1f4f7
        );
    border-left: 7px solid var(--navy);
}

.quote-attribution {
    padding: 26px 46px;
    color: var(--white);
    background: var(--navy-dark);
    border-top: 5px solid var(--red);
}

.quote-attribution strong {
    display: block;
    font-size: 1.1rem;
}

.quote-attribution span {
    color: #c5cfda;
    font-size: 0.86rem;
}


/*
|--------------------------------------------------------------------------
| Standard page hero
|--------------------------------------------------------------------------
*/

.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(178, 44, 64, 0.28),
            transparent 32%
        ),
        linear-gradient(
            125deg,
            var(--navy-dark),
            var(--navy),
            var(--red-dark)
        );
    border-bottom: 7px solid var(--red);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image:
        repeating-linear-gradient(
            135deg,
            transparent 0,
            transparent 46px,
            rgba(255, 255, 255, 0.09) 46px,
            rgba(255, 255, 255, 0.09) 47px
        );
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 455px;
    display: flex;
    align-items: center;
    padding: 75px 0;
}

.page-hero-copy {
    max-width: 850px;
}

.page-hero h1 {
    font-size: clamp(3.2rem, 8vw, 6rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.page-hero p {
    max-width: 760px;
    margin-top: 25px;
    color: #e1e7ee;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.2rem;
    line-height: 1.8;
}


/*
|--------------------------------------------------------------------------
| Biography page
|--------------------------------------------------------------------------
*/

.biography-hero-grid {
    position: relative;
    z-index: 1;
    min-height: 570px;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(310px, 0.72fr);
    gap: 65px;
    align-items: center;
    padding: 75px 0;
}

.biography-hero-copy h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.biography-hero-copy p {
    max-width: 680px;
    margin-top: 25px;
    color: #e1e7ee;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-portrait {
    position: relative;
    overflow: hidden;
    border:
        1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.28);
}

.hero-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    border:
        12px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.hero-portrait img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center top;
}

.biography-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(280px, 0.75fr);
    gap: 60px;
    align-items: start;
}

.biography-copy p {
    margin-bottom: 22px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.07rem;
    line-height: 1.9;
}

.biography-copy p:first-of-type::first-letter {
    float: left;
    margin: 8px 11px 0 0;
    color: var(--red);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 0.72;
}

.facts-panel {
    overflow: hidden;
    background: var(--white);
    border-top: 6px solid var(--red);
    box-shadow: var(--shadow);
}

.facts-panel h3 {
    padding: 25px 28px;
    color: var(--white);
    background: var(--navy);
    font-size: 1.45rem;
}

.fact-row {
    padding: 18px 28px;
    border-bottom: 1px solid #e0e4e8;
}

.fact-row:last-child {
    border-bottom: 0;
}

.fact-label {
    display: block;
    margin-bottom: 4px;
    color: var(--red);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fact-value {
    color: var(--navy);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.02rem;
    font-weight: 700;
}

.experience-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.experience-card {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    padding: 34px 30px;
    background: var(--white);
    border:
        1px solid rgba(11, 41, 76, 0.12);
    box-shadow: var(--soft-shadow);
}

.experience-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--navy)
        );
}

.experience-number {
    color: #dfe4e9;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 3.7rem;
    font-weight: 700;
    line-height: 1;
}

.experience-card h3 {
    margin: 16px 0 14px;
    color: var(--navy);
    font-size: 1.5rem;
}

.experience-card p {
    color: #5c6671;
}


/*
|--------------------------------------------------------------------------
| Political timeline
|--------------------------------------------------------------------------
*/

.timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 132px;
    width: 4px;
    background:
        linear-gradient(
            to bottom,
            var(--red),
            var(--navy-light)
        );
}

.timeline-entry {
    position: relative;
    display: grid;
    grid-template-columns:
        105px
        minmax(0, 1fr);
    gap: 55px;
    margin-bottom: 38px;
}

.timeline-entry:last-child {
    margin-bottom: 0;
}

.timeline-year {
    padding-top: 24px;
    color: var(--white);
    font-size: 1.55rem;
    font-weight: 700;
    text-align: right;
}

.timeline-content {
    position: relative;
    padding: 28px 31px;
    color: var(--charcoal);
    background: var(--white);
    border-left: 6px solid var(--red);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.17);
}

.timeline-content::before {
    content: "";
    position: absolute;
    top: 31px;
    left: -43px;
    width: 18px;
    height: 18px;
    background: var(--red);
    border: 5px solid var(--navy);
    border-radius: 50%;
}

.timeline-party {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 10px;
    color: var(--white);
    background: var(--navy);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 1.55rem;
}

.timeline-content p {
    margin-bottom: 12px;
    color: #58626d;
}

.decision-box {
    margin-top: 20px;
    padding: 20px 22px;
    background: #f3f5f7;
    border-left: 4px solid var(--red);
}

.decision-box h4 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 1.08rem;
}

.result-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.result-box {
    padding: 14px;
    background: #eef1f4;
    border-top: 3px solid var(--navy);
}

.result-box span {
    display: block;
    color: var(--red);
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.result-box strong {
    display: block;
    margin-top: 4px;
    color: var(--navy);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
}

.independent-panel {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
    overflow: hidden;
    padding: 50px;
    background: var(--white);
    color: var(--charcoal);
    border-top: 8px solid var(--navy);
    box-shadow:
        0 25px 65px rgba(40, 0, 8, 0.3);
}

.independent-panel h2 {
    margin-bottom: 25px;
    color: var(--navy);
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.independent-panel p {
    margin-bottom: 20px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.08rem;
    line-height: 1.9;
}

.values-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.value-card {
    min-height: 270px;
    padding: 30px 26px;
    background:
        rgba(255, 255, 255, 0.07);
    border:
        1px solid rgba(255, 255, 255, 0.15);
}

.value-star {
    margin-bottom: 17px;
    color: #f3b9c2;
    font-size: 1.4rem;
}

.value-card h3 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 1.45rem;
}

.value-card p {
    color: #d5dee7;
}


/*
|--------------------------------------------------------------------------
| Issues listing page
|--------------------------------------------------------------------------
*/

.filter-section {
    padding: 36px 0;
    background: var(--white);
    border-bottom: 1px solid #dce1e6;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.filter-label {
    margin-right: 6px;
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.filter-link {
    display: inline-flex;
    align-items: center;
    min-height: 39px;
    padding: 8px 15px;
    color: var(--navy);
    background: #edf1f4;
    border: 1px solid #d9e0e6;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.filter-link:hover,
.filter-link:focus,
.filter-link.active {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

.issues-section {
    padding: 86px 0 100px;
}

.issues-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.issues-heading h2 {
    color: var(--navy);
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    line-height: 1.1;
}

.issue-count {
    color: var(--medium-gray);
    font-size: 0.88rem;
}

.issues-list {
    display: grid;
    gap: 27px;
}

.issue-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns:
        165px
        minmax(0, 1fr);
    background: var(--white);
    border:
        1px solid rgba(11, 41, 76, 0.12);
    box-shadow: var(--soft-shadow);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.issue-card.featured {
    border-top: 6px solid var(--red);
}

.issue-accent {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 29px 25px;
    color: var(--white);
    background:
        linear-gradient(
            145deg,
            var(--navy),
            var(--navy-dark)
        );
}

.issue-category {
    color: #f2bcc5;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.issue-date {
    color: #bac6d3;
    font-size: 0.76rem;
}

.featured-label {
    display: inline-block;
    align-self: flex-start;
    margin-top: 16px;
    padding: 5px 9px;
    color: var(--white);
    background: var(--red);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.issue-content {
    padding: 34px 38px 35px;
}

.issue-content h3 {
    color: var(--navy);
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    line-height: 1.17;
    letter-spacing: -0.015em;
}

.issue-content h3 a {
    text-decoration: none;
}

.issue-content h3 a:hover {
    color: var(--red);
}

.issue-summary {
    max-width: 850px;
    margin-top: 17px;
    color: #5b6570;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.04rem;
    line-height: 1.85;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: var(--red);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.read-more::after {
    content: "→";
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

.empty-state {
    max-width: 780px;
    margin: 0 auto;
    padding: 62px 38px;
    background: var(--white);
    border-top: 7px solid var(--red);
    box-shadow: var(--shadow);
    text-align: center;
}

.empty-state h2 {
    color: var(--navy);
    font-size: clamp(2rem, 5vw, 3rem);
}

.empty-state p {
    max-width: 590px;
    margin: 18px auto 0;
    color: var(--medium-gray);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.04rem;
}


/*
|--------------------------------------------------------------------------
| Full issue article
|--------------------------------------------------------------------------
*/

.article-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(
            circle at 82% 14%,
            rgba(178, 44, 64, 0.34),
            transparent 32%
        ),
        linear-gradient(
            125deg,
            var(--navy-dark),
            var(--navy),
            var(--red-dark)
        );
    border-bottom: 7px solid var(--red);
}

.article-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
    padding: 82px 0;
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: #d8e1ea;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.article-back-link::before {
    content: "←";
}

.article-category {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 11px;
    color: var(--white);
    background: var(--red);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.article-hero h1 {
    max-width: 940px;
    font-size: clamp(2.8rem, 7vw, 5.7rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.article-summary {
    max-width: 820px;
    margin-top: 25px;
    color: #e2e8ef;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(1.08rem, 2.2vw, 1.35rem);
    line-height: 1.8;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 30px;
    margin-top: 30px;
    color: #bdc9d5;
    font-size: 0.78rem;
    font-weight: 700;
}

.article-section {
    padding: 85px 0 95px;
}

.article-layout {
    display: grid;
    grid-template-columns:
        minmax(0, var(--article-width))
        minmax(250px, 1fr);
    gap: 55px;
    align-items: start;
}

.article-body {
    padding: 45px 48px;
    background: var(--white);
    border-top: 7px solid var(--red);
    box-shadow: var(--shadow);
}

.article-body p {
    margin-bottom: 25px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.1rem;
    line-height: 1.95;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-body p:first-child::first-letter {
    float: left;
    margin: 10px 11px 0 0;
    color: var(--red);
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 0.72;
}

.article-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-panel {
    overflow: hidden;
    background: var(--white);
    border-top: 6px solid var(--navy);
    box-shadow: var(--soft-shadow);
}

.sidebar-heading {
    padding: 21px 23px;
    color: var(--white);
    background: var(--navy);
}

.sidebar-heading h2 {
    font-size: 1.35rem;
}

.sidebar-body {
    padding: 23px;
}

.sidebar-detail {
    padding: 14px 0;
    border-bottom:
        1px solid var(--light-gray);
}

.sidebar-detail:last-child {
    border-bottom: 0;
}

.sidebar-detail span {
    display: block;
    margin-bottom: 4px;
    color: var(--red);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sidebar-detail strong {
    color: var(--navy);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 0.98rem;
}


/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.site-footer {
    color: var(--white);
    background: #03101f;
    border-top: 7px solid var(--red);
}

.footer-main {
    display: grid;
    grid-template-columns:
        1.3fr
        0.7fr;
    gap: 60px;
    padding: 55px 0 42px;
}

.footer-brand h2 {
    font-size: 1.7rem;
}

.footer-brand p {
    max-width: 610px;
    margin-top: 15px;
    color: #acb8c5;
    font-size: 0.91rem;
}

.footer-navigation h3 {
    margin-bottom: 17px;
    font-size: 1.05rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b5c0cc;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 23px 0;
    color: #8f9cab;
    border-top:
        1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
}


/*
|--------------------------------------------------------------------------
| Reveal animations
|--------------------------------------------------------------------------
*/

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/*
|--------------------------------------------------------------------------
| Responsive layout
|--------------------------------------------------------------------------
*/

@media (max-width: 980px) {
    .menu-button {
        display: inline-block;
    }

    .main-nav {
        position: absolute;
        top: 86px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 4% 20px;
        background: var(--navy-dark);
        border-bottom: 4px solid var(--red);
        box-shadow:
            0 18px 35px rgba(0, 0, 0, 0.26);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 15px 10px;
        border-bottom:
            1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav a::after {
        display: none;
    }

    .election-grid,
    .biography-hero-grid,
    .biography-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .hero-portrait {
        max-width: 520px;
    }

    .article-sidebar {
        position: static;
    }

    .issue-card {
        grid-template-columns: 1fr;
    }

    .issue-accent {
        min-height: 120px;
        flex-direction: row;
        align-items: flex-end;
        gap: 20px;
    }
}


@media (max-width: 700px) {
    .header-inner {
        min-height: 76px;
    }

    .main-nav {
        top: 76px;
    }

    .brand-subtitle {
        font-size: 0.54rem;
        letter-spacing: 0.14em;
    }

    .section {
        padding: 70px 0;
    }

    .portrait-section,
    .portrait-image {
        height: 520px;
        min-height: 520px;
    }

    .portrait-image {
        object-position: 54% top;
    }

    .portrait-caption {
        padding-bottom: 28px;
    }

    .election-section,
    .quote-section {
        padding: 72px 0;
    }

    .countdown-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .speaker,
    .quote-attribution {
        padding: 28px 23px;
    }

    .timeline::before {
        left: 13px;
    }

    .timeline-entry {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-left: 40px;
    }

    .timeline-year {
        padding-top: 0;
        text-align: left;
    }

    .timeline-content::before {
        top: 28px;
        left: -39px;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .independent-panel {
        padding: 35px 26px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .filter-row {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-link {
        justify-content: center;
    }

    .issues-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .issue-accent {
        min-height: auto;
        display: block;
    }

    .issue-date {
        display: block;
        margin-top: 13px;
    }

    .issue-content {
        padding: 28px 24px 30px;
    }

    .article-body {
        padding: 33px 24px;
    }

    .article-body p {
        font-size: 1.02rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*
|--------------------------------------------------------------------------
| Homepage featured issues
|--------------------------------------------------------------------------
*/

.featured-issues-section {
    padding: 90px 0;
    background:
        linear-gradient(
            135deg,
            #e9edf1,
            var(--off-white)
        );
    border-bottom: 1px solid #d7dde3;
}

.featured-issues-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 40px;
}

.featured-issues-heading h2 {
    color: var(--navy);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
}

.featured-issues-heading p:not(.section-label) {
    max-width: 700px;
    margin-top: 16px;
    color: var(--medium-gray);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.05rem;
    line-height: 1.8;
}

.featured-issues-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 23px;
}

.homepage-issue-card {
    position: relative;
    min-height: 345px;
    display: flex;
    flex-direction: column;
    padding: 32px 29px;
    background: var(--white);
    border-top: 6px solid var(--red);
    box-shadow: var(--soft-shadow);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.homepage-issue-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.homepage-issue-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 21px;
    color: var(--red);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.homepage-issue-meta time {
    color: var(--medium-gray);
}

.homepage-issue-card h3 {
    color: var(--navy);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.55rem;
    line-height: 1.25;
}

.homepage-issue-card h3 a {
    color: inherit;
    text-decoration: none;
}

.homepage-issue-card h3 a:hover,
.homepage-issue-card h3 a:focus {
    color: var(--red);
}

.homepage-issue-card > p {
    margin-top: 17px;
    color: #5b6570;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    line-height: 1.8;
}

.homepage-issue-card .read-more {
    margin-top: auto;
    padding-top: 24px;
}


/*
|--------------------------------------------------------------------------
| Featured issues responsive layout
|--------------------------------------------------------------------------
*/

@media (max-width: 980px) {
    .featured-issues-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .featured-issues-section {
        padding: 70px 0;
    }

    .featured-issues-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .featured-issues-heading .button {
        width: 100%;
    }

    .homepage-issue-card {
        min-height: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}