/* =========================================================
   Falkenbergs FF – Ghost Theme
   Baserat på falkenbergsff.se design
   Färger: #0053a1 (turkos), #152e57 (mörk), #444 (text)
   Font: Open Sans
   ========================================================= */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #313233;
    background: #f0f4f8;
    -webkit-font-smoothing: antialiased;
}


a { color: #0053a1; text-decoration: none; transition: color 0.2s; }
a:hover { color: #004a8f; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bitter', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    color: #152e57;
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── SEF Topbar widget – fix + position ─────────────────── */
.sef-topbar-widget {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1100;
    height: 38px;
    background-color: #005123;
}

/* Centrera och begränsa bredden på topbarens innehåll */
.sef-topbar-widget > div,
.sef-topbar-widget .top-bar,
.sef-topbar-widget nav {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}


/* ── Header ──────────────────────────────────────────────── */
#site-header {
    position: fixed;
    top: 38px; left: 0; right: 0;
    z-index: 1000;
    background: #152e57;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
    height: 60px;
}

.header-inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-spacer { height: 98px; } /* 38px topbar + 60px header */

.header-left {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.site-logo-link { display: flex; align-items: center; }

.site-logo {
    max-height: 38px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.site-title-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

/* ── Navigation ──────────────────────────────────────────── */
.site-nav { display: flex; align-items: center; }

.nav-list {
    display: flex;
    align-items: center;
}

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

.nav-list li a {
    display: block;
    padding: 8px 13px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: color 0.2s;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 13px; right: 13px;
    height: 2px;
    background: #fdc100;
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-list li a:hover { color: #fdc100; }
.nav-list li a:hover::after { transform: scaleX(1); }

.nav-list li.nav-current a { color: #fdc100; }
.nav-list li.nav-current a::after { transform: scaleX(1); }

/* Dropdown nav */
.nav-has-dropdown { position: relative; }

.nav-has-dropdown > a::before {
    content: ' ▾';
    font-size: 0.6rem;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #152e57;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    min-width: 180px;
    z-index: 200;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown.open .nav-dropdown {
    display: block;
}

.nav-dropdown li a {
    padding: 8px 16px;
    font-size: 0.7rem;
    white-space: nowrap;
    border-bottom: none;
}

.nav-dropdown li a::after { display: none; }
.nav-dropdown li a:hover { background: rgba(255,255,255,0.08); color: #fdc100; }

/* Subpage link cards (landing pages) */
.subpage-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.subpage-item {
    display: block;
    padding: 24px;
    background: #f4f6f9;
    border-top: 3px solid #fdc100;
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 1rem;
    color: #152e57;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s, color 0.2s;
}

.subpage-item:hover {
    background: #152e57;
    color: #fdc100;
}

.nav-toggle {
    display: none;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.85);
    transition: all 0.3s;
}

/* ── Hero Post (startsida) ───────────────────────────────── */
.hero-post {
    width: 100%;
    min-height: 75vh;
    max-height: 800px;
    background-size: cover;
    background-position: center top;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.hero-post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.1) 100%
    );
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.hero-post-overlay .container {
    padding-bottom: 60px;
    padding-top: 200px;
    width: 100%;
}

.hero-post-inner {
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background: #0053a1;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
}
.hero-tag:hover { background: #004a8f; color: #fff; }

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-title a { color: #fff; }
.hero-title a:hover { color: rgba(255,255,255,0.85); }

.hero-excerpt {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
}

.hero-meta {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 24px;
}

.hero-read-more {
    display: inline-block;
    background: #0053a1;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 28px;
    border-radius: 3px;
    transition: background 0.2s, transform 0.2s;
}
.hero-read-more:hover {
    background: #004a8f;
    color: #fff;
    transform: translateY(-1px);
}

/* ── Section Titles ──────────────────────────────────────── */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #152e57;
    margin: 40px 0 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #0053a1;
    display: inline-block;
}

/* ── Post Grid ───────────────────────────────────────────── */
.home-grid-wrapper { padding: 40px 0 60px; }
.posts-section { padding: 16px 0 60px; }

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ── Post Card ───────────────────────────────────────────── */
.post-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(21,46,87,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.post-card-image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #f0f0f0;
}

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.post-card:hover .post-card-image { transform: scale(1.04); }

.post-card-image-link--placeholder {
    aspect-ratio: 16/9;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card-image-placeholder {
    color: #bbb;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0053a1;
    margin-bottom: 8px;
}

.post-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    flex: 1;
}

.post-card-title a { color: #152e57; }
.post-card-title a:hover { color: #0053a1; }

.post-card-excerpt {
    font-size: 0.875rem;
    color: #676767;
    line-height: 1.55;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    font-size: 0.75rem;
    color: #999;
    margin-top: auto;
}


/* ── Pagination ──────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 48px 0;
}

.pagination a, .pagination .page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    color: #444;
    transition: all 0.2s;
}

.pagination a:hover {
    border-color: #0053a1;
    color: #0053a1;
}

.pagination .page-number {
    background: #0053a1;
    border-color: #0053a1;
    color: #fff;
    cursor: default;
}

/* ── Single Post ─────────────────────────────────────────── */
.post-page { padding-bottom: 80px; }

.post-header {
    padding: 48px 0 32px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.post-header-tags { margin-bottom: 12px; }

.post-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 16px;
    color: #152e57;
}

.post-excerpt {
    font-size: 1.125rem;
    color: #676767;
    line-height: 1.6;
    margin-bottom: 16px;
}

.post-meta {
    font-size: 0.875rem;
    color: #999;
    display: flex;
    gap: 8px;
    align-items: center;
}

.post-meta-divider { color: #ccc; }

.post-feature-image {
    margin: 0 0 40px;
}

.post-feature-image img {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    border-radius: 6px;
}

.post-feature-image figcaption {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin-top: 8px;
}

/* ── Post Content ────────────────────────────────────────── */
.post-content {
    padding: 40px 0;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #333;
}

.post-content h1, .post-content h2, .post-content h3,
.post-content h4, .post-content h5, .post-content h6 {
    margin: 2em 0 0.75em;
    color: #152e57;
}

.post-content h2 { font-size: 1.5rem; }
.post-content h3 { font-size: 1.25rem; }

.post-content p { margin-bottom: 1.5em; }

.post-content a { color: #0053a1; text-decoration: underline; text-decoration-color: rgba(0,166,156,0.4); }
.post-content a:hover { text-decoration-color: #0053a1; }

.post-content img {
    border-radius: 4px;
    margin: 1.5em 0;
    max-width: 100%;
}

.post-content figure { margin: 2em 0; }
.post-content figcaption { font-size: 0.85rem; color: #999; text-align: center; margin-top: 8px; }

.post-content blockquote {
    border-left: 4px solid #0053a1;
    padding: 16px 24px;
    margin: 2em 0;
    background: #f8fdfc;
    font-style: italic;
    color: #555;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.75em;
}

.post-content li { margin-bottom: 0.5em; }

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 0.9rem;
}

.post-content th, .post-content td {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.post-content th {
    background: #f8f8f8;
    font-weight: 700;
}

.post-content tr:nth-child(even) td { background: #fafafa; }

.post-content hr {
    border: none;
    border-top: 2px solid #eee;
    margin: 2.5em 0;
}

.post-content iframe {
    max-width: 100%;
    border-radius: 4px;
}

/* ── Post Footer ─────────────────────────────────────────── */
.post-footer {
    padding: 24px 0;
    border-top: 1px solid #eee;
}

.post-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-footer-tags .post-tag {
    padding: 4px 12px;
    background: #f0fdf9;
    border: 1px solid #b2ebe6;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* ── Post Nav ────────────────────────────────────────────── */
.post-nav {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    gap: 16px;
}

.post-nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #444;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.2s;
    max-width: 48%;
}

.post-nav-link:hover {
    border-color: #0053a1;
    color: #0053a1;
}

.post-nav-link--next { text-align: right; }

/* ── Page ────────────────────────────────────────────────── */
.page-hero {
    min-height: 380px;
    max-height: 520px;
    height: 40vw;
    background-size: cover;
    background-position: center top;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 70%);
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
    width: 100%;
}

.page-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #fff;
}

.page-title-inline {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #152e57;
    padding: 48px 0 32px;
    border-bottom: 3px solid #0053a1;
    margin-bottom: 32px;
}

.page-page { padding-bottom: 80px; }

/* ── Board/Styrelse grid ─────────────────────────────────── */
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
    margin-top: 48px;
}

.board-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.board-member-img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    display: block;
    margin: 0 auto 14px;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.board-member-img:hover { filter: grayscale(0%); }

.board-member-img--placeholder {
    background: #dde3ec;
    border-radius: 4px;
}

.board-member-name {
    font-family: 'Bitter', serif;
    font-size: 1rem;
    text-align: center;
    max-width: 160px;
    margin-left: auto;
    margin-right: auto;
    color: #152e57;
    margin-bottom: 4px;
}

.board-member-title {
    font-size: 0.8rem;
    color: #0053a1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center !important;
    max-width: 160px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .board-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Player Grid (Herr/Dam) ──────────────────────────────── */
.player-page-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #fff;
    border-bottom: 3px solid #fdc100;
    padding: 40px 24px 16px;
    margin: 0 auto;
    max-width: 1200px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.player-section-title {
    font-size: 1.4rem;
    color: #fff;
    border-bottom: 3px solid #fdc100;
    padding-bottom: 8px;
    margin: 0 auto 24px;
    padding-top: 32px;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.player-section-bg {
    padding-top: 24px;
    padding-bottom: 16px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #0e2040;
}

.player-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.player-card {
    position: relative;
    background: transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.player-card-img {
    width: 100%;
    display: block;
    margin-bottom: -2px;
}

.player-card-bar {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(22,48,90,1) 0%, rgba(33,78,144,1) 100%);
    padding: 8px 10px;
    min-height: 52px;
    gap: 10px;
}

.player-card-num {
    font-family: 'Bitter', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    min-width: 44px;
    text-align: center;
    line-height: 1;
}

.player-card-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

@media (max-width: 900px) {
    .player-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .player-grid { grid-template-columns: repeat(2, 1fr); }
    .player-card-num { font-size: 1.5rem; min-width: 32px; }
    .player-card-name { font-size: 0.7rem; }
    .player-section-bg { padding: 16px 0 0; }
}

/* ── Dam Player Grid ─────────────────────────────────────── */
.dam-player-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.dam-player-card {
    background: #f4f6f9;
    border-top: 3px solid #fdc100;
    padding: 20px;
    border-radius: 2px;
}

.dam-player-name {
    font-family: 'Bitter', serif;
    font-size: 1rem;
    color: #152e57;
    margin-bottom: 4px;
}

.dam-player-pos {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0053a1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.dam-player-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    font-size: 0.8rem;
    margin: 0;
}

.dam-player-details dt {
    color: #888;
    font-weight: 600;
}

.dam-player-details dd {
    color: #333;
    margin: 0;
}

@media (max-width: 768px) {
    .dam-player-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .dam-player-grid { grid-template-columns: 1fr; }
}

/* ── Tag Page ────────────────────────────────────────────── */
.tag-header {
    background: #152e57;
    padding: 48px 0;
    margin-bottom: 40px;
}

.tag-title {
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tag-description {
    color: #aaa;
    margin-top: 8px;
}

.tag-page { padding-bottom: 60px; }

/* ── Author Page ─────────────────────────────────────────── */
.author-header {
    background: #f8f8f8;
    padding: 48px 0;
    margin-bottom: 40px;
    text-align: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
}

.author-name {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.author-bio { color: #676767; max-width: 500px; margin: 0 auto; }

.author-page { padding-bottom: 60px; }

/* ── Footer ──────────────────────────────────────────────── */
#site-footer {
    background: #152e57;
    color: #aaa;
    margin-top: 80px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
}

.footer-logo {
    max-height: 48px;
    width: auto;
    max-width: 160px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #888;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 4px;
}

.footer-links a {
    color: #aaa;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: #0053a1; }

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 24px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #0053a1; }

/* ── Koenig Editor Content Widths ────────────────────────── */
.kg-width-wide {
    margin-left: calc(50% - 50vw + 24px);
    margin-right: calc(50% - 50vw + 24px);
    max-width: calc(100vw - 48px);
}

.kg-width-full {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
}

.kg-image { max-width: 100%; }

.kg-gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin: 1.5em 0;
}

.kg-gallery-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.kg-embed-card { margin: 1.5em 0; }
.kg-embed-card iframe { width: 100%; }

.kg-bookmark-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin: 1.5em 0;
}

.kg-bookmark-content { padding: 16px; }
.kg-bookmark-title { font-weight: 700; margin-bottom: 4px; }
.kg-bookmark-description { font-size: 0.875rem; color: #676767; }
.kg-bookmark-url { font-size: 0.75rem; color: #999; margin-top: 8px; }

/* ── Utilities ───────────────────────────────────────────── */
.home-page { padding-bottom: 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .post-grid { grid-template-columns: 1fr; }

    .hero-post { min-height: 60vh; max-height: none; }
    .hero-title { font-size: 1.75rem; }

    .nav-toggle { display: flex; }

    .nav-list {
        display: none;
        position: absolute;
        top: 70px;
        left: 0; right: 0;
        background: #152e57;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0;
        gap: 0;
    }

    .nav-list.is-open { display: flex; }

    .nav-list li a {
        color: #eee;
        padding: 14px 24px;
        border-radius: 0;
        text-transform: none;
        letter-spacing: 0;
    }

    .nav-list li a::after { display: none; }
    .nav-list li a:hover { background: #333; color: #0053a1; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .post-nav { flex-direction: column; }
    .post-nav-link { max-width: 100%; }
}

@media (max-width: 480px) {
    .header-inner { padding: 0 16px; }
    .container { padding: 0 16px; }
    .hero-content { padding: 32px 16px; }
}
