* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

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

.site-header {
    border-bottom: 1px solid #dddddd;
    background: #ffffff;
}

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

.logo {
    display: block;
    width: 150px;
    height: 90px;
    object-fit: contain;
}

.logo-link {
    display: block;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 28px;
}

.main-nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.main-nav a:hover {
    text-decoration: underline;
}

.hero {
    padding: 110px 0 120px;
    border-bottom: 1px solid #dddddd;
}

.hero-inner {
    max-width: 900px;
}

.eyebrow {
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(56px, 9vw, 118px);
    line-height: 0.92;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.hero-text {
    max-width: 700px;
    margin: 36px 0 0;
    font-size: 21px;
    color: #444444;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 42px;
}

.button {
    display: inline-block;
    padding: 15px 24px;
    border: 1px solid #111111;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.button-dark {
    background: #111111;
    color: #ffffff;
}

.button-light {
    background: #ffffff;
    color: #111111;
}

.button:hover {
    opacity: 0.75;
}

.quick-section {
    padding: 95px 0;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    letter-spacing: -0.04em;
    line-height: 1;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #111111;
}

.card {
    min-height: 300px;
    padding: 32px;
    border-right: 1px solid #dddddd;
}

.card:first-child {
    border-left: 1px solid #dddddd;
}

.card-number {
    display: block;
    margin-bottom: 65px;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: #666666;
}

.card h3 {
    margin: 0 0 16px;
    font-size: 30px;
    letter-spacing: -0.03em;
}

.card p {
    margin: 0 0 30px;
    color: #555555;
}

.card a {
    font-weight: 700;
    text-decoration: none;
}

.site-footer {
    background: #111111;
    color: #ffffff;
}

.footer-inner {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    font-size: 14px;
}

@media (max-width: 850px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 0;
    }

    .main-nav {
        justify-content: flex-start;
        gap: 16px 22px;
    }

    .hero {
        padding: 70px 0 80px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .card {
        border-left: 1px solid #dddddd;
        border-bottom: 1px solid #dddddd;
    }
}

.page-section,
.article-section {
    padding: 90px 0 120px;
}

.page-title {
    margin: 0 0 60px;
    font-size: clamp(52px, 7vw, 92px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.news-list {
    border-top: 1px solid #111;
}

.news-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    padding: 42px 0;
    border-bottom: 1px solid #ddd;
}

.news-date {
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #666;
}

.news-content h2 {
    margin: 0 0 14px;
    font-size: 34px;
    letter-spacing: -0.03em;
}

.news-content h2 a {
    text-decoration: none;
}

.news-content p {
    max-width: 720px;
    color: #555;
}

.text-link,
.back-link {
    font-weight: 700;
    text-decoration: none;
}

.article {
    max-width: 900px;
}

.article h1 {
    margin: 20px 0 30px;
    font-size: clamp(50px, 7vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.article-intro {
    margin: 0 0 50px;
    font-size: 24px;
    line-height: 1.45;
    color: #444;
}

.article-body {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.75;
}

.back-link {
    display: inline-block;
    margin-bottom: 55px;
}

@media (max-width: 700px) {
    .news-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.event-list {
    border-top: 1px solid #111;
}

.event-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 50px;
    padding: 45px 0;
    border-bottom: 1px solid #ddd;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.event-day {
    font-size: 64px;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.event-month {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.event-year {
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

.event-info h2 {
    margin: 0 0 14px;
    font-size: 36px;
    letter-spacing: -0.03em;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
}

.event-info p {
    max-width: 750px;
    margin: 0 0 25px;
    color: #555;
}

.empty-state {
    padding: 70px 0;
}

.empty-state h2 {
    margin: 0 0 10px;
    font-size: 34px;
}

@media (max-width: 700px) {
    .event-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .event-day {
        font-size: 52px;
    }
}

.club-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #111;
}

.club-card {
    min-height: 320px;
    padding: 32px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.club-card:nth-child(3n+1) {
    border-left: 1px solid #ddd;
}

.club-card h2 {
    margin: 0 0 10px;
    font-size: 30px;
    letter-spacing: -0.03em;
}

.club-card p {
    color: #555;
}

.club-card a {
    font-weight: 700;
    text-decoration: none;
}

.club-location {
    font-weight: 700;
    color: #111 !important;
}

.club-contact {
    margin-top: 60px;
    border-top: 1px solid #111;
}

.club-contact > div {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.club-contact strong {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.club-contact a {
    color: #111;
}

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

    .club-card:nth-child(3n+1) {
        border-left: 0;
    }

    .club-card:nth-child(2n+1) {
        border-left: 1px solid #ddd;
    }
}

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

    .club-card {
        border-left: 1px solid #ddd !important;
    }

    .club-contact > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

.ranking-section {
    margin-top: 90px;
}

.ranking-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-top: 1px solid #111;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.ranking-table th,
.ranking-table td {
    padding: 20px 18px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.ranking-table th {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ranking-position {
    width: 80px;
    font-size: 24px;
    font-weight: 700;
}

.ranking-points {
    font-size: 22px;
    font-weight: 700;
}

.ranking-table tbody tr:hover {
    background: #f7f7f7;
}

/* Menylenker */
.main-nav a {
    position: relative;
    text-decoration: none;
    color: #111;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: #111;
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.document-list {
    border-top: 1px solid #111;
}

.document-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid #ddd;
}

.document-row h2 {
    margin: 4px 0 10px;
    font-size: 30px;
    letter-spacing: -0.03em;
}

.document-row p {
    margin: 0;
    max-width: 700px;
    color: #555;
}

.document-category {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .document-row {
        grid-template-columns: 1fr;
    }
}

/* Enkel klubbliste */

.club-list-simple {
    margin-top: 20px;
    border-top: 1px solid #111;
}

.club-list-row {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 25px;
    align-items: center;

    min-height: 105px;
    padding: 20px 0;

    border-bottom: 1px solid #d8d8d8;

    color: #111;
    text-decoration: none;

    transition: padding-left 0.2s ease;
}

.club-list-row:hover {
    padding-left: 10px;
}

.club-list-number {
    font-size: 13px;
    letter-spacing: 0.12em;
    color: #777;
}

.club-list-name {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.club-list-name strong {
    font-size: 27px;
    letter-spacing: -0.03em;
}

.club-list-name span {
    font-size: 15px;
    color: #666;
}

.club-list-link {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 700px) {

    .club-list-row {
        grid-template-columns: 40px 1fr;
        gap: 15px;
        min-height: 90px;
    }

    .club-list-name {
        display: block;
    }

    .club-list-name strong {
        display: block;
        font-size: 21px;
    }

    .club-list-name span {
        display: block;
        margin-top: 5px;
    }

    .club-list-link {
        display: none;
    }
}

.search-box {
    margin: 0 0 50px;
}

.search-box input {
    width: 100%;
    max-width: 520px;
    padding: 16px 0;
    border: 0;
    border-bottom: 2px solid #111;
    background: transparent;
    color: #111;
    font: inherit;
    font-size: 18px;
    outline: none;
}

.search-box input::placeholder {
    color: #777;
}

.search-box input:focus {
    border-bottom-width: 3px;
}

.search-no-results {
    margin-top: 40px;
    font-size: 18px;
    font-weight: 700;
}
