/* =========================================================
   LIIGASUOMI.FANS
   ========================================================= */

:root {
    --background: #f4f7fb;
    --surface: #ffffff;
    --text: #202735;
    --heading: #172033;
    --navy: #102b46;
    --green: #18a558;
    --yellow: #f3a900;
    --yellow-dark: #df9900;
    --border: #dfe6ed;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

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

a {
    color: var(--green);
}

a:hover {
    text-decoration: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;
    background: var(--navy);
    border-bottom: 4px solid var(--green);
}

.site-header-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 21px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.site-logo {
    display: inline-block;
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.6px;
    text-decoration: none;
}

.site-logo span {
    color: #6cdb95;
}

.site-logo:hover {
    color: #ffffff;
}


/* =========================================================
   ARTICLE CONTAINER
   ========================================================= */

.container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 45px 20px 75px;
}

.container > article {
    width: 100%;
    padding: 34px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(20, 40, 60, 0.07);
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3 {
    color: var(--heading);
    font-weight: 800;
}

h1 {
    margin: 0 0 28px;
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.6px;
}

h2 {
    margin: 42px 0 18px;
    font-size: 28px;
    line-height: 1.3;
}

h3 {
    margin: 30px 0 16px;
    font-size: 21px;
    line-height: 1.35;
}

p {
    margin: 0 0 22px;
}

strong {
    font-weight: 700;
}


/* =========================================================
   MATCH IMAGE
   ========================================================= */

.match-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 28px;
    border-radius: 10px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-wrapper {
    margin: 28px 0;
    text-align: center;
}

.main-link {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    background: var(--yellow);
    color: #ffffff;
    border-radius: 7px;
    box-shadow: 0 6px 16px rgba(243, 169, 0, 0.22);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.main-link:hover {
    background: var(--yellow-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(243, 169, 0, 0.28);
}


/* =========================================================
   SOURCES
   ========================================================= */

.source-title {
    margin: 32px 0 20px;
    padding-left: 28px;
}

.source-title li {
    margin: 0;
    color: var(--heading);
    font-size: 19px;
    line-height: 1.5;
}

.source-logo {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 20px auto 26px;
    object-fit: contain;
    border-radius: 10px;
}


/* =========================================================
   WATCH INSTRUCTIONS
   ========================================================= */

.watch-instructions {
    margin: 30px 0;
    padding: 26px 28px;
    background: #f6f9fc;
    border: 1px solid #dce5ed;
    border-left: 5px solid var(--green);
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(20, 40, 60, 0.06);
}

.watch-instructions-title {
    margin-bottom: 17px;
    color: var(--heading);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
}

.watch-instructions ol {
    margin: 0;
    padding-left: 25px;
}

.watch-instructions li {
    margin-bottom: 13px;
    padding-left: 3px;
    line-height: 1.6;
}

.watch-instructions li:last-child {
    margin-bottom: 0;
}

.watch-instructions a {
    color: var(--green);
    font-weight: 800;
}


/* =========================================================
   VIDEO REVIEWS
   ========================================================= */

.match-videos {
    width: 100%;
    margin: 45px 0 0;
}

.match-videos > h2 {
    margin: 0 0 22px;
}


/* One video per row */

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 30px;
}


/* Video card */

.video-item {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(20, 40, 60, 0.08);
}


/* =========================================================
   RESPONSIVE VIDEO 16:9
   ========================================================= */

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000000;
}

.video-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   VIDEO TEXT
   ========================================================= */

.video-content {
    width: 100%;
    padding: 24px 26px 26px;
}

.video-content h3 {
    margin: 0 0 16px;
    color: var(--heading);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.35;
}

.video-content p {
    margin: 0 0 18px;
}

.video-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    width: 100%;
    margin: 0;
    padding: 30px 20px 40px;
    color: #687386;
    font-size: 14px;
    text-align: center;
}

.site-footer p {
    margin: 0;
    text-align: center;
}


/* =========================================================
   HOMEPAGE
   ========================================================= */

.home-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 50px 20px 75px;
}

.home-intro {
    margin-bottom: 45px;
    text-align: center;
}

.home-intro h1 {
    margin: 0 0 12px;
    font-size: 44px;
    line-height: 1.15;
}

.home-intro p {
    margin: 0;
    color: #667085;
    font-size: 19px;
}

.articles-section > h2 {
    margin: 0 0 25px;
    font-size: 30px;
}

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

.article-card {
    overflow: hidden;
    padding: 0;
    background: #ffffff;
    border: 1px solid #dfe6ed;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(20, 40, 60, 0.06);
}

.article-card > a {
    display: block;
}

.article-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-card-content {
    padding: 20px;
}

.article-card-content h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.3;
}

.article-card-content h3 a {
    color: #172033;
    text-decoration: none;
}

.article-card-content h3 a:hover {
    color: #16883d;
}

.article-card-content p {
    margin: 0 0 17px;
    color: #596579;
    font-size: 16px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #16883d;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}


/* =========================================================
   PAGINATION
   ========================================================= */

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

.pagination a,
.pagination .current-page {
    display: flex;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    background: #ffffff;
    border: 1px solid #dfe6ed;
    border-radius: 6px;
    color: #172033;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.pagination a:hover {
    border-color: #18a558;
    color: #16883d;
}

.pagination .current-page {
    background: #102b46;
    border-color: #102b46;
    color: #ffffff;
}

.pagination .next-page {
    width: auto;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

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

}


@media (max-width: 850px) {

    .container {
        max-width: 760px;
        padding-top: 35px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body {
        font-size: 17px;
        line-height: 1.65;
    }


    /* HEADER */

    .site-header-inner {
        padding: 19px 16px;
    }

    .site-logo {
        font-size: 25px;
    }


    /* ARTICLE */

    .container {
        padding: 20px 12px 45px;
    }

    .container > article {
        padding: 20px 16px;
        border-radius: 9px;
    }


    /* HEADINGS */

    h1 {
        margin-bottom: 22px;
        font-size: 31px;
        line-height: 1.2;
    }

    h2 {
        margin-top: 35px;
        font-size: 24px;
    }


    /* MATCH IMAGE */

    .match-image {
        margin-bottom: 22px;
        border-radius: 8px;
    }


    /* CTA */

    .cta-wrapper {
        margin: 22px 0;
    }

    .main-link {
        min-height: 54px;
        padding: 14px 16px;
        font-size: 16px;
    }


    /* SOURCES */

    .source-title {
        margin-top: 28px;
        padding-left: 23px;
    }

    .source-title li {
        font-size: 18px;
    }

    .source-logo {
        width: 100%;
        max-width: 400px;
        margin: 18px auto 24px;
        border-radius: 8px;
    }


    /* WATCH INSTRUCTIONS */

    .watch-instructions {
        margin: 25px 0;
        padding: 20px 18px;
        border-left-width: 4px;
    }

    .watch-instructions-title {
        margin-bottom: 14px;
        font-size: 18px;
    }

    .watch-instructions ol {
        padding-left: 22px;
    }

    .watch-instructions li {
        margin-bottom: 12px;
    }


    /* VIDEO */

    .match-videos {
        margin-top: 35px;
    }

    .match-videos > h2 {
        margin-bottom: 18px;
    }

    .video-grid {
        gap: 22px;
    }

    .video-item {
        border-radius: 8px;
    }

    .video-content {
        padding: 19px 17px 21px;
    }

    .video-content h3 {
        margin-bottom: 13px;
        font-size: 20px;
    }

    .video-content p {
        margin-bottom: 16px;
    }


    /* HOMEPAGE */

    .home-container {
        padding: 32px 12px 50px;
    }

    .home-intro {
        margin-bottom: 35px;
    }

    .home-intro h1 {
        font-size: 34px;
    }

    .home-intro p {
        font-size: 17px;
    }

    .articles-section > h2 {
        margin-bottom: 20px;
        font-size: 25px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-card-content {
        padding: 18px;
    }

    .article-card-content h3 {
        font-size: 20px;
    }


    /* PAGINATION */

    .pagination {
        flex-wrap: wrap;
        margin-top: 35px;
    }


    /* FOOTER */

    .site-footer {
        padding: 25px 15px 35px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .container > article {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-logo {
        font-size: 23px;
    }

    .main-link {
        font-size: 15px;
    }

    .watch-instructions {
        padding: 18px 15px;
    }

    .video-content {
        padding: 17px 15px 19px;
    }

}