:root {
    --color-bg: #f8f3e6;
    --color-surface: #ffffff;
    --color-surface-warm: #fff9e8;
    --color-text: #171717;
    --color-muted: #6b6258;
    --color-border: #e2d3a6;

    --color-red: #e0001b;
    --color-red-dark: #9f0015;
    --color-red-soft: #fff0f2;

    --color-yellow: #ffd200;
    --color-yellow-dark: #d79f00;
    --color-yellow-soft: #fff5c2;

    --color-black: #151515;
    --color-black-soft: #242424;

    --color-primary: var(--color-red);
    --color-primary-dark: var(--color-red-dark);
    --color-accent: var(--color-yellow);

    --shadow-soft: 0 18px 45px rgba(21, 21, 21, 0.13);
    --radius-lg: 24px;
    --radius-md: 16px;
    --container: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(255, 210, 0, 0.22), transparent 32%),
        linear-gradient(180deg, #fffaf0 0%, var(--color-bg) 100%);
    line-height: 1.6;
}

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

picture {
    display: block;
}

a {
    color: var(--color-red-dark);
    text-decoration: none;
    font-weight: 700;
}

a:hover {
    text-decoration: underline;
}

:focus-visible {
    outline: 4px solid var(--color-yellow);
    outline-offset: 3px;
}

main:focus {
    outline: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--color-yellow);
    color: var(--color-black);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(21, 21, 21, 0.96);
    border-bottom: 4px solid var(--color-yellow);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand-title {
    font-weight: 900;
    font-size: 1.28rem;
    letter-spacing: -0.02em;
    color: var(--color-yellow);
}

.brand-baseline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.94rem;
    padding: 10px 12px;
    border-radius: 999px;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav a[aria-current="page"] {
    background: var(--color-yellow);
    color: var(--color-black);
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 210, 0, 0.65);
    background: var(--color-yellow);
    color: var(--color-black);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 900;
    cursor: pointer;
}

.home-banner-section {
    padding: 28px 0 22px;
}

.home-banner-card {
    overflow: hidden;
    border-radius: 28px;
    border: 2px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    background: var(--color-surface);
}

.home-banner-image {
    display: block;
    width: 100%;
    height: auto;
}

.home-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 22px;
}

.home-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: stretch;
}

.home-intro-card,
.home-priorities-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.home-intro-card {
    border-top: 6px solid var(--color-red);
}

.home-priorities-card {
    background: rgba(21, 21, 21, 0.96);
    border: 2px solid var(--color-yellow);
    color: #ffffff;
}

.home-priorities-card h2 {
    color: var(--color-yellow);
    margin-bottom: 16px;
}

.home-priorities-card ul {
    margin: 0;
    padding-left: 20px;
}

.home-priorities-card li::marker {
    color: var(--color-yellow);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--color-red);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

h1,
h2,
h3 {
    line-height: 1.15;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.4rem, 7vw, 5rem);
    letter-spacing: -0.06em;
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

h3 {
    font-size: 1.15rem;
}

.lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-muted);
    max-width: 660px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    border: 2px solid transparent;
}

.button:hover {
    text-decoration: none;
}

.button.primary {
    background: var(--color-black);
    color: var(--color-yellow);
    border-color: var(--color-black);
}

.button.primary:hover {
    background: var(--color-red-dark);
    color: #ffffff;
}

.button.secondary {
    background: #ffffff;
    color: var(--color-black);
    border-color: var(--color-black);
}

.button.secondary:hover {
    background: var(--color-yellow);
    color: var(--color-black);
}

.section {
    padding: 64px 0;
}

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

.section-heading.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-link {
    white-space: nowrap;
    color: var(--color-red-dark);
}

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

.post-card {
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 6px solid var(--color-red);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.post-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--color-yellow-soft);
}

.post-card-body {
    padding: 22px;
}

.post-card h3 {
    margin-bottom: 10px;
}

.post-card p {
    color: var(--color-muted);
}

.post-card a {
    color: var(--color-red-dark);
}

.meta {
    color: var(--color-muted);
    font-size: 0.92rem;
    margin: 0 0 10px;
    font-weight: 700;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    background:
        linear-gradient(135deg, var(--color-black) 0%, var(--color-black) 45%, var(--color-red) 45%, var(--color-red) 100%);
    color: #ffffff;
}

.page-hero::after {
    content: "";
    position: absolute;
    top: -20%;
    right: 8%;
    width: 220px;
    height: 150%;
    background: var(--color-yellow);
    transform: rotate(35deg);
    opacity: 0.9;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero.compact {
    padding: 56px 0;
}

.page-hero .eyebrow {
    color: var(--color-yellow);
}

.page-hero .meta {
    color: rgba(255, 255, 255, 0.78);
}

.page-hero h1 {
    margin-bottom: 0;
    color: #ffffff;
}

.page-intro {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 16px;
}

.hero-meta span:not(:last-child)::after {
    content: " ·";
    margin-left: 12px;
}

.content-layout {
    padding: 48px 0 72px;
}

.content-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 6px solid var(--color-yellow);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: clamp(24px, 4vw, 46px);
}

.article-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
    background: var(--color-yellow-soft);
}

.rich-text {
    overflow-wrap: anywhere;
}

.rich-text p:first-child {
    margin-top: 0;
}

.rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.rich-text table {
    width: 100%;
    border-collapse: collapse;
}

.rich-text td,
.rich-text th {
    border: 1px solid var(--color-border);
    padding: 8px;
}

.rich-text th {
    background: var(--color-yellow-soft);
}

.rich-text blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 6px solid var(--color-red);
    background: var(--color-red-soft);
    border-radius: 12px;
}

.legal-content h2 {
    margin-top: 2rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.back-link {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
}

.list-stack {
    display: grid;
    gap: 18px;
}

.list-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 6px solid var(--color-red);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 10px 26px rgba(21, 21, 21, 0.08);
}

.list-item.with-thumb {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.list-item.with-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    background: var(--color-yellow-soft);
}

.list-item h2 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.list-item p {
    color: var(--color-muted);
}

.empty-state {
    background: #ffffff;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 26px;
    color: var(--color-muted);
}

.notice {
    background: var(--color-yellow-soft);
    border: 1px solid var(--color-yellow-dark);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 28px;
}

.notice p {
    margin: 0;
}

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

.supporter-card {
    border: 1px solid var(--color-border);
    border-top: 5px solid var(--color-red);
    border-radius: 16px;
    padding: 18px;
    background: var(--color-surface-warm);
}

.supporter-card strong,
.supporter-card span,
.supporter-card small {
    display: block;
}

.supporter-card strong {
    font-size: 1.05rem;
    color: var(--color-black);
}

.supporter-card span {
    color: var(--color-muted);
    margin-top: 4px;
}

.supporter-card small {
    color: var(--color-red-dark);
    margin-top: 8px;
    font-weight: 800;
}

.contact-card p {
    font-size: 1.05rem;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 34px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--color-border);
}

.pagination a {
    background: var(--color-black);
    color: var(--color-yellow);
}

.pagination a:hover {
    background: var(--color-red-dark);
    color: #ffffff;
    text-decoration: none;
}

.pagination span {
    color: var(--color-muted);
    font-weight: 800;
}

.site-footer {
    border-top: 4px solid var(--color-yellow);
    background: var(--color-black);
}

.footer-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255, 255, 255, 0.76);
}

.footer-inner p {
    margin: 0;
}

.footer-inner a {
    color: var(--color-yellow);
}

@media (max-width: 980px) {
    .card-grid,
    .supporters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .list-item.with-thumb {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .home-intro-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 84px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: var(--color-black);
        border: 2px solid var(--color-yellow);
        border-radius: 18px;
        box-shadow: var(--shadow-soft);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        border-radius: 12px;
    }

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

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 0;
    }
}

@media (max-width: 680px) {
    .card-grid,
    .supporters-grid {
        grid-template-columns: 1fr;
    }

    .list-item.with-thumb {
        grid-template-columns: 1fr;
    }

    .list-item.with-thumb img {
        max-height: 240px;
    }

    .pagination {
        flex-direction: column;
    }

    .page-hero::after {
        right: -80px;
        opacity: 0.45;
    }
}

@media (max-width: 560px) {
    .header-inner {
        min-height: 74px;
    }

    .brand-title {
        font-size: 1.05rem;
    }

    .brand-baseline {
        font-size: 0.78rem;
    }

    .site-nav {
        top: 74px;
    }

    h1 {
        font-size: clamp(2.1rem, 14vw, 3rem);
    }

    .content-card,
    .home-banner-card {
        border-radius: 16px;
    }

    .home-banner-section {
        padding-top: 18px;
    }

    .home-banner-actions {
        justify-content: stretch;
    }

    .home-banner-actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.agenda-content {
    display: grid;
    gap: 0;
}

.agenda-content .agenda-month {
    margin: 36px 0 12px;
    padding: 12px 16px;
    border-left: 6px solid var(--color-red);
    border-radius: 10px;
    background: var(--color-yellow-soft);
    color: var(--color-text);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.agenda-content .agenda-month:first-child {
    margin-top: 0;
}

.agenda-content p {
    margin: 0;
    padding: 10px 4px;
    border-bottom: 1px solid var(--color-border);
}

.agenda-content p:empty {
    display: none;
}
