:root {
    --hsk-ink: #17202a;
    --hsk-muted: #64707c;
    --hsk-cream: #f7f3eb;
    --hsk-paper: #fffdf9;
    --hsk-gold: #c8953e;
    --hsk-blue: #1e405d;
    --hsk-line: #e6dfd3;
}

.hsk-home {
    color: var(--hsk-ink);
    background: var(--hsk-paper);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 1180px;
}

/* The page content supplies its own title and section layout. */
.wp-block-post-title { display: none !important; }

.hsk-home h1,
.hsk-home h2,
.hsk-home h3 {
    color: var(--hsk-ink);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.12;
    margin: 0 0 1rem;
}

.hsk-home h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); max-width: 800px; }
.hsk-home h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.hsk-home p { color: var(--hsk-muted); margin: 0 0 1rem; }

.hsk-hero {
    background: linear-gradient(135deg, rgba(247,243,235,.97), rgba(231,220,197,.78));
    border-bottom: 1px solid var(--hsk-line);
    border-radius: 0 0 2rem 2rem;
    padding: clamp(3rem, 9vw, 7.5rem) clamp(1.5rem, 6vw, 6rem);
    position: relative;
    overflow: hidden;
}

.hsk-hero::after {
    color: rgba(200,149,62,.18);
    content: "♞";
    font-family: Georgia, serif;
    font-size: clamp(12rem, 30vw, 28rem);
    line-height: 1;
    position: absolute;
    right: 2%;
    top: 5%;
    transform: rotate(8deg);
}

.hsk-hero > * { position: relative; z-index: 1; }
.hsk-kicker { color: var(--hsk-gold) !important; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hsk-lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 650px; }
.hsk-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hsk-button { background: var(--hsk-blue); border-radius: 999px; color: #fff !important; display: inline-block; font-weight: 700; padding: .8rem 1.3rem; text-decoration: none; }
.hsk-button.alt { background: transparent; border: 1px solid var(--hsk-blue); color: var(--hsk-blue) !important; }

.hsk-section { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 6rem); }
.hsk-section.tinted { background: var(--hsk-cream); }
.hsk-section-heading { max-width: 700px; }
.hsk-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2rem; }
.hsk-card { background: var(--hsk-paper); border: 1px solid var(--hsk-line); border-radius: 1.25rem; padding: 1.5rem; }
.hsk-card h3 { font-size: 1.35rem; }
.hsk-card strong { color: var(--hsk-ink); }
.hsk-two-col { display: grid; gap: 2rem; grid-template-columns: 1.1fr .9fr; align-items: start; }
.hsk-home ul { color: var(--hsk-muted); padding-left: 1.2rem; }
.hsk-home li { margin: .4rem 0; }
.hsk-photo-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; }
.hsk-photo-card { background: var(--hsk-paper); border: 1px solid var(--hsk-line); border-radius: 1.25rem; margin: 0; overflow: hidden; }
.hsk-photo-card img { aspect-ratio: 4 / 3; display: block; height: auto; max-height: 360px; object-fit: cover; width: 100%; }
.hsk-photo-card figcaption { color: var(--hsk-muted); font-size: .95rem; padding: 1rem 1.25rem 1.2rem; }
.hsk-youth-photo { margin: 2rem auto; max-width: 720px; }
.hsk-youth-photo img { border-radius: 1.25rem; display: block; height: auto; max-height: 480px; object-fit: cover; width: 100%; }
.hsk-youth-photo figcaption { color: var(--hsk-muted); font-size: .95rem; margin-top: .75rem; }
.hsk-team-list { display: grid; gap: 1.5rem; margin-top: 2rem; }
.hsk-team-nav { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.5rem 0 2rem; }
.hsk-team-nav a { background: var(--hsk-cream); border: 1px solid var(--hsk-line); border-radius: 999px; color: var(--hsk-blue); font-weight: 800; padding: .55rem 1rem; text-decoration: none; }
.hsk-team-nav a:hover, .hsk-team-nav a:focus { background: var(--hsk-blue); color: #fff; }
.hsk-team-card { scroll-margin-top: 1.5rem; }
.hsk-team-card { border-bottom: 1px solid var(--hsk-line); padding: 2.5rem 0; }
.hsk-team-card:first-child { padding-top: 0; }
.hsk-team-heading { align-items: center; border-left: 4px solid var(--hsk-gold); display: flex; gap: 1rem; justify-content: space-between; padding: .25rem 0 .25rem 1rem; }
.hsk-team-heading h2 { margin-bottom: .25rem; }
.hsk-team-heading p { margin: 0; }
.hsk-team-table-wrap { overflow-x: auto; }
.hsk-team-table { border-collapse: collapse; min-width: 760px; width: 100%; }
.hsk-team-table th, .hsk-team-table td { border-bottom: 1px solid var(--hsk-line); padding: .85rem 1rem; text-align: left; vertical-align: top; }
.hsk-team-table th { background: var(--hsk-blue); color: #fff; font-size: .9rem; }
.hsk-team-table tr:last-child td { border-bottom: 0; }
.hsk-team-table td:first-child { color: var(--hsk-gold); font-weight: 800; }
.hsk-match-list { display: grid; gap: .9rem; margin-top: 1.25rem; }
.hsk-match { background: var(--hsk-cream); border-left: 3px solid var(--hsk-blue); border-radius: .75rem; padding: 1rem 1.15rem; }
.hsk-match-top { align-items: center; display: flex; justify-content: space-between; gap: 1rem; }
.hsk-match-round { color: var(--hsk-gold); font-size: .85rem; font-weight: 800; text-transform: uppercase; }
.hsk-match-badge { border: 1px solid var(--hsk-line); border-radius: 999px; color: var(--hsk-ink); font-size: .78rem; font-weight: 800; padding: .2rem .65rem; }
.hsk-match-badge.hjemme { background: #e4f0e8; }
.hsk-match-badge.ude { background: #f5e4dc; }
.hsk-match-badge.fri { background: #e8e8e8; }
.hsk-match h3 { font-family: system-ui, sans-serif; font-size: 1.15rem; margin: .75rem 0 .25rem; }
.hsk-match h3 span { color: var(--hsk-muted); font-weight: 400; }
.hsk-match-meta { font-weight: 700; margin-bottom: .6rem !important; }
.hsk-match-place { font-size: .95rem; margin-bottom: 0 !important; }
.hsk-match-place strong { color: var(--hsk-ink); }
.hsk-news-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; }
.hsk-news-card { background: var(--hsk-paper); border: 1px solid var(--hsk-line); border-radius: 1rem; display: block; overflow: hidden; }
.hsk-news-card img { aspect-ratio: 4 / 3; display: block; height: auto; max-height: 240px; object-fit: cover; width: 100%; }
.hsk-news-card > div { padding: 1.25rem; }
.hsk-news-card h2 { font-size: 1.45rem; margin-bottom: .6rem; }
.hsk-news-card p { margin-bottom: 0; }
.hsk-contact { background: var(--hsk-blue); border-radius: 1.5rem; color: #fff; }
.hsk-contact h2, .hsk-contact p, .hsk-contact strong { color: #fff; }

.hsk-calendar-wrap { overflow-x: auto; }
.hsk-calendar { border-collapse: collapse; min-width: 620px; width: 100%; }
.hsk-calendar th, .hsk-calendar td { border-bottom: 1px solid var(--hsk-line); padding: 1rem .8rem; text-align: left; vertical-align: top; }
.hsk-calendar th { background: var(--hsk-blue); color: #fff; font-weight: 700; }
.hsk-calendar tr:nth-child(even) td { background: var(--hsk-cream); }
.hsk-calendar td:first-child { color: var(--hsk-ink); font-weight: 700; white-space: nowrap; width: 10rem; }

@media (max-width: 760px) {
    .hsk-grid, .hsk-two-col, .hsk-photo-grid, .hsk-news-card { grid-template-columns: 1fr; }
    .hsk-photo-card img { max-height: 280px; }
    .hsk-news-card img { max-height: 260px; }
    .hsk-news-card > div { padding: 1.25rem; }
    .hsk-hero::after { opacity: .45; right: -12%; top: 30%; }
}
