:root {
    --gez-red: #c90013;
    --gez-red-dark: #9d0010;
    --gez-ink: #101014;
    --gez-muted: #5d626b;
    --gez-line: #d9dde4;
    --gez-soft: #f3f4f6;
    --gez-paper: #ffffff;
    --gez-blue: #174a7c;
    --gez-green: #13795b;
    --gez-gold: #b86b00;
    --wrap: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gez-ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

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

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

.wrap {
    width: min(var(--wrap), calc(100% - 32px));
    margin: 0 auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.top-strip {
    background: var(--gez-ink);
    color: #fff;
    font-size: 13px;
}

.top-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 34px;
}

.top-strip a {
    color: #fff;
    font-weight: 700;
}

.brand-row {
    display: grid;
    grid-template-columns: auto minmax(220px, 420px) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--gez-red);
    font-size: 28px;
    font-weight: 900;
}

.brand__text {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
    text-transform: uppercase;
}

.site-search {
    display: flex;
    min-width: 0;
    border: 1px solid var(--gez-line);
}

.site-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 12px 14px;
    font-size: 15px;
}

.site-search button,
.button-link,
.menu-toggle,
.gez-form button {
    border: 0;
    color: #fff;
    background: var(--gez-red);
    padding: 12px 16px;
    font-weight: 800;
    cursor: pointer;
}

.menu-toggle {
    justify-self: end;
    display: none;
    background: var(--gez-ink);
}

.primary-nav {
    border-top: 1px solid var(--gez-line);
    border-bottom: 3px solid var(--gez-red);
    background: #fff;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

.nav-list a {
    display: block;
    padding: 13px 14px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--gez-red);
}

.hero-shell {
    position: relative;
    min-height: 520px;
    color: #fff;
    background: var(--gez-ink);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .62) 34%, rgba(0, 0, 0, .2) 68%, rgba(0, 0, 0, .58) 100%);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 360px;
    gap: 38px;
    align-items: end;
    min-height: 520px;
    padding: 54px 0 42px;
}

.hero-story {
    max-width: 700px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    color: var(--gez-red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-story .kicker {
    color: #fff;
    background: var(--gez-red);
    padding: 5px 8px;
}

.hero-story h1 {
    margin: 12px 0 12px;
    font-size: clamp(38px, 5.5vw, 72px);
    line-height: .96;
    letter-spacing: 0;
}

.hero-story p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 19px;
}

.hero-rail {
    padding: 18px 0 0 22px;
    border-left: 1px solid rgba(255, 255, 255, .35);
}

.hero-rail h2 {
    margin: 0 0 12px;
    font-size: 18px;
}

.ranked-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
}

.ranked-list li {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    font-weight: 800;
}

.ticker {
    background: var(--gez-red);
    color: #fff;
}

.ticker__inner {
    display: flex;
    gap: 16px;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
}

.ticker strong {
    color: #fff;
    text-transform: uppercase;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.daily-panel,
.gez-shortcode-panel {
    border-top: 5px solid var(--gez-red);
    background: var(--gez-soft);
    padding: 20px;
}

.daily-panel--red {
    color: #fff;
    background: var(--gez-red);
    border-top-color: var(--gez-ink);
}

.daily-panel h2,
.gez-shortcode-panel h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.1;
}

.daily-panel p,
.gez-shortcode-panel p {
    margin: 0 0 12px;
}

.content-band {
    padding: 34px 0 4px;
    border-top: 1px solid var(--gez-line);
    margin-top: 30px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1;
    letter-spacing: 0;
}

.section-heading a {
    color: var(--gez-red);
    font-weight: 900;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.post-card {
    min-width: 0;
    border-bottom: 1px solid var(--gez-line);
    background: var(--gez-paper);
}

.post-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--gez-soft);
    overflow: hidden;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.post-card:hover .post-card__image img {
    transform: scale(1.03);
}

.post-card__body {
    padding: 12px 0 16px;
}

.post-card h3 {
    margin: 6px 0 8px;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: 0;
}

.post-card p {
    color: var(--gez-muted);
    margin: 0;
    font-size: 15px;
}

.post-card__byline {
    color: var(--gez-ink) !important;
    font-size: 13px !important;
    font-weight: 900;
    margin: -2px 0 8px !important;
}

.post-card--ad {
    display: grid;
    min-height: 100%;
    border-bottom: 0;
}

.archive-layout {
    padding: 34px 0 56px;
}

.article-page {
    max-width: 860px;
    padding: 34px 0 60px;
}

.article-header h1 {
    margin: 10px 0 10px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: .98;
    letter-spacing: 0;
}

.article-meta {
    color: var(--gez-muted);
    margin: 0 0 18px;
}

.article-meta strong {
    color: var(--gez-ink);
}

.article-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 18px 0 28px;
}

.article-content {
    font-size: 19px;
}

.article-content p {
    margin: 0 0 1.1em;
}

.article-content h2 {
    margin: 1.6em 0 .55em;
    font-size: 30px;
    line-height: 1.1;
}

.article-content ul,
.article-content ol {
    padding-left: 22px;
}

.article-content a {
    color: var(--gez-red);
    font-weight: 800;
}

.ad-slot {
    display: grid;
    place-items: center;
    gap: 5px;
    min-height: 112px;
    margin: 24px 0;
    padding: 18px;
    text-align: center;
    color: var(--gez-muted);
    background:
        repeating-linear-gradient(
            135deg,
            #fafafa 0,
            #fafafa 10px,
            #f0f1f3 10px,
            #f0f1f3 20px
        );
    border: 1px dashed #b8bec8;
}

.ad-slot span {
    color: var(--gez-red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.ad-slot strong {
    color: var(--gez-ink);
    font-size: clamp(20px, 2.3vw, 30px);
    line-height: 1.05;
}

.ad-slot small {
    max-width: 520px;
    font-size: 13px;
}

.post-card--ad .ad-slot {
    min-height: 100%;
    margin: 0;
}

.related-band {
    padding-top: 30px;
    margin-top: 34px;
    border-top: 1px solid var(--gez-line);
}

.section-heading--compact {
    align-items: center;
}

.section-heading--compact h2 {
    font-size: clamp(24px, 2.5vw, 34px);
}

.section-heading--compact span {
    color: var(--gez-muted);
    font-weight: 800;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gez-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.gez-form label {
    display: grid;
    gap: 6px;
    font-weight: 800;
}

.gez-form input,
.gez-form textarea,
.gez-form select {
    width: 100%;
    border: 1px solid var(--gez-line);
    padding: 12px;
    font: inherit;
}

.gez-form textarea {
    min-height: 150px;
}

.gez-alert {
    padding: 12px 14px;
    background: #e8f6ef;
    border-left: 5px solid var(--gez-green);
}

.gez-error {
    background: #fff0f0;
    border-left-color: var(--gez-red);
}

.quiz-options {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.quiz-options button {
    width: 100%;
    border: 1px solid var(--gez-line);
    background: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 800;
    cursor: pointer;
}

.quiz-result {
    min-height: 72px;
    padding: 14px;
    background: var(--gez-soft);
    border-left: 5px solid var(--gez-red);
}

.gez-author-grid,
.gez-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.gez-author,
.gez-social-item,
.gez-note {
    padding: 18px;
    background: var(--gez-soft);
    border-left: 5px solid var(--gez-red);
}

.gez-author h3,
.gez-social-item h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.1;
}

.gez-author p,
.gez-social-item p,
.gez-note p {
    margin: 0 0 10px;
}

.site-footer {
    margin-top: 50px;
    color: var(--gez-ink);
    background: var(--gez-soft);
    border-top: 1px solid var(--gez-line);
}

.footer-inner {
    padding: 34px 0 38px;
}

.footer-brand {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gez-line);
}

.footer-brand strong {
    color: var(--gez-red);
    font-size: 28px;
    font-weight: 900;
}

.footer-brand p {
    max-width: 560px;
    color: var(--gez-muted);
    text-align: right;
    margin: 8px 0 0;
}

.footer-directory {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    padding-top: 24px;
}

.footer-col h2 {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.2;
}

.footer-col a {
    display: block;
    color: var(--gez-ink);
    font-weight: 800;
    margin-bottom: 7px;
}

.footer-col a:hover {
    color: var(--gez-red);
}

@media (max-width: 960px) {
    .brand-row {
        grid-template-columns: auto auto;
    }

    .site-search {
        grid-column: 1 / -1;
        order: 3;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .primary-nav {
        display: none;
    }

    .primary-nav.is-open {
        display: block;
    }

    .nav-list {
        flex-wrap: wrap;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        align-items: end;
    }

    .hero-rail {
        border-left: 0;
        padding-left: 0;
    }

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

@media (max-width: 640px) {
    .wrap {
        width: min(100% - 22px, var(--wrap));
    }

    .top-strip__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        padding: 8px 0;
    }

    .brand__mark {
        width: 36px;
        height: 36px;
        font-size: 23px;
    }

    .brand__text {
        font-size: 32px;
    }

    .hero-shell,
    .hero-layout {
        min-height: 610px;
    }

    .hero-story h1 {
        font-size: 42px;
    }

    .home-grid,
    .card-grid,
    .related-grid,
    .gez-author-grid,
    .gez-social-grid,
    .footer-directory {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-brand p {
        text-align: left;
    }

    .ticker__inner,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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