body {
    background-color: #111111;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container,
.container-lg {
    max-width: 1200px;
}

/* Navbar */
.navbar {
    background-color: #111111 !important;
    min-height: 82px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.navbar-toggler {
    border: none;
    box-shadow: none;
}

.navbar-toggler:focus,
.navbar-toggler:hover,
.navbar-toggler:active {
    box-shadow: none;
    background-color: transparent;
}

.navbar-toggler-icon {
    width: 28px;
    height: 17.5px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-logo {
    width: 154px;
    height: 38px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    color: #44D62C;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: #ffffff !important;
}

.navbar .form-control {
    background-color: #44D62C;
    color: #000000;
    padding-left: 38px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-color: transparent;
    border-radius: 100px;
    width: 245px;
    height: 29px;
}

.navbar .form-control:focus {
    border-color: transparent;
    box-shadow: 0 0 0 0.2rem rgba(68, 214, 44, 0.4);
    outline: none;
    background-color: #37B023;
    color: #000000;
    padding-left: 20px;
}

.navbar .form-control:focus ~ .search-icon {
    display: none;
}

.navbar .form-control::placeholder {
    color: #000000;
}

.navbar .form-control:focus::placeholder {
    color: transparent;
}

.navbar .form-control::-webkit-search-cancel-button,
.navbar .form-control::-webkit-search-decoration {
    -webkit-appearance: none;
    display: none;
}

.navbar .form-control {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 13.91px;
    height: 13.91px;
    pointer-events: none;
    color: #000000;
    fill: none;
    stroke: #000000;
}

/* Home hero */
.home-bg {
    background-color: #000000;
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 82%, #000000 100%),
        url('../../images/backgrounds/sportgate_bannerbg.webp');
    background-repeat: no-repeat, no-repeat;
    background-position: center -240px, center -240px;
    background-size: 100% 56.25vw, 100% 56.25vw;
}

.home-header {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.home-caption {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 8px;
}

.home-caption h1 {
    font-family: 'Inter', sans-serif;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0;
    margin: 0 0 16px 0;
}

.home-caption h4 {
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0;
    margin: 0 0 16px 0;
}

.home-caption p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    color: #ffffff;
    margin: 0;
}

/* News page hero */
.news-bg {
    background-color: #000000;
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 82%, #000000 100%),
        url('../../images/backgrounds/sportgate_bannerbg.webp');
    background-repeat: no-repeat, no-repeat;
    background-position: center -240px, center -240px;
    background-size: 100% 56.25vw, 100% 56.25vw;
}

.news-header {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.news-header-caption {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.news-header-caption h1 {
    font-family: 'Inter', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.news-header-caption p {
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: #ffffff;
    margin: 0;
}

/* Article banner */
.article-banner {
    width: 100%;
    height: 849px;
    background-size: cover;
    background-position: center;
}

/* Teaser (bonuses) */
.teaser {
    background-color: #111111;
    padding: 50px 0;
    overflow: hidden;
}

.teaser .swiper-slide {
    width: 520px;
}

.teaser .swiper-slide img {
    width: 520px;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Latest news section (home) */
.latest-news {
    padding: 50px 0;
}

.latest-news-inner,
.news-list-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(180deg, #111111 0%, #000000 100%);
    padding: 25px;
    border: 2px solid #44D62C;
}

.latest-news-title {
    text-align: center;
    color: #44D62C;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* News cards */
.news-list {
    padding: 60px 0;
}

.news-card {
    padding: 22px 0;
}

.latest-news-inner .news-card + .news-card,
.news-list-inner .news-card + .news-card,
.article-related .news-card + .news-card {
    border-top: 5px solid #363636;
}

.news-card img {
    width: 100%;
    height: 287px;
    object-fit: cover;
}

.news-card h5 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 16px;
}

.news-card p {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.3;
    text-align: justify;
    white-space: pre-line;
}

.news-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card.reversed {
    background-color: transparent;
    padding: 22px 0;
}

.news-card.reversed h5,
.news-card.reversed p {
    color: #ffffff;
}

/* Buttons */
.btn-outline-primary {
    color: #44D62C;
    border-color: #44D62C;
    font-size: 16px;
    font-weight: 400;
    padding: 4px 24px;
    align-self: flex-start;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background-color: #44D62C !important;
    border-color: #44D62C !important;
    color: #000000 !important;
}

/* Pagination */
.news-pagination {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 40px 0 20px;
}

.news-pagination a {
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.news-pagination a.active {
    color: #44D62C;
}

.news-pagination svg {
    cursor: pointer;
}

/* Article */
.article {
    padding: 60px 0;
}

.article h1 {
    color: #ffffff;
    font-size: 45px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 30px;
}

.article-body p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
    text-align: justify;
    white-space: pre-line;
    margin-bottom: 12px;
}

.article .latest-news-title {
    margin-top: 68px;
}

.article-related {
    display: flex;
    flex-direction: column;
}

/* Useful websites (footer top) */
.useful-websites-title {
    color: #44D62C;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    padding-top: 30px;
    padding-bottom: 25px;
    margin-bottom: 0;
    background-color: #000000;
}

.useful-websites {
    background-image: url('../../images/backgrounds/other_useful_websites_bg.webp');
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    height: 203px;
    padding: 50px 20px;
}

.useful-websites-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.useful-websites img {
    display: block;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.useful-websites a:hover img {
    transform: scale(1.08);
}

.useful-websites .logo-casinogate { width: 203px; height: 50px; }
.useful-websites .logo-pokergate { width: 204px; height: 50px; }
.useful-websites .logo-jokerclub { width: 196px; height: 50px; }
.useful-websites .logo-playgate { width: 175px; height: 50px; }
.useful-websites .logo-casinoreviews { width: 164px; height: 103px; }

/* Footer */
.site-footer {
    background-color: #000000;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.site-footer p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar {
        min-height: 78px;
        padding: 20px 25px;
    }

    .navbar-collapse {
        margin-top: 22px;
        text-align: center;
    }

    .nav-link {
        font-size: 18px;
    }

    .navbar .form-control {
        width: 110px;
    }

    .home-bg {
        background-image: none;
    }

    .home-header {
        min-height: 321px;
        align-items: flex-start;
        background-color: #000000;
        background-image:
            linear-gradient(180deg, rgba(0, 0, 0, 0) 83.64%, #000000 100%),
            url('../../images/backgrounds/sportgate_bannerbg.webp');
        background-repeat: no-repeat, no-repeat;
        background-position: center, center top;
        background-size: cover, auto 360px;
    }

    .home-caption {
        max-width: 380px;
        text-align: center;
        padding: 30px 25px 10px;
        margin: 0 auto;
    }

    .home-caption h1 {
        font-size: 32px;
        text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
        margin-bottom: 8px;
    }

    .home-caption h4 {
        font-size: 24px;
        text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
        margin-bottom: 8px;
    }

    .home-caption p {
        font-size: 15px;
    }

    .news-bg {
        background-image: none;
    }

    .news-header {
        min-height: 200px;
        align-items: flex-start;
        background-color: #000000;
    }

    .news-list {
        padding-top: 50px;
        background-image:
            linear-gradient(180deg, transparent 0%, transparent 75%, #000000 100%),
            url('../../images/backgrounds/sportgate_bannerbg.webp');
        background-size: 100% 270px, auto 500px;
        background-position: top, center -230px;
        background-repeat: no-repeat, no-repeat;
    }

    .news-header-caption {
        max-width: 380px;
        text-align: center;
        padding: 30px 25px 10px;
        margin: 0 auto;
    }

    .news-header-caption h1 {
        font-size: 32px;
        text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
        margin-bottom: 8px;
    }

    .news-header-caption p {
        font-size: 15px;
        line-height: 1.3;
    }

    .article {
        padding-top: 0;
        background-image:
            linear-gradient(180deg, transparent 0%, transparent 75%, #000000 100%),
            url('../../images/backgrounds/sportgate_bannerbg.webp');
        background-size: 100% 430px, auto 700px;
        background-position: top, center -270px;
        background-repeat: no-repeat, no-repeat;
    }

    .article-banner {
        height: 260px;
    }

    .article h1 {
        font-size: 20px;
        text-align: center;
        margin: 30px 0 100px;
    }

    .article-body p {
        font-size: 16.5px;
    }

    .news-card h5 {
        font-size: 20px;
        text-align: center;
    }

    .news-card p {
        font-size: 16.5px;
    }

    .news-card .btn-outline-primary {
        align-self: center;
        width: 142px;
        height: 34px;
        padding: 5px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .news-pagination {
        padding-top: 10px;
    }

    .news-card-body {
        align-items: center;
    }

    .latest-news {
        background: transparent;
        padding: 0;
    }

    .latest-news-inner,
    .news-list-inner {
        background: transparent;
        padding: 20px 20px 0;
        border: none;
    }

    .latest-news-inner .news-card:nth-of-type(5) {
        padding-bottom: 0;
    }

    .latest-news-inner .news-card:nth-of-type(6) {
        display: none;
    }

    .useful-websites-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        gap: 30px;
        padding: 0 30px;
        scrollbar-width: none;
    }

    .useful-websites-inner::-webkit-scrollbar {
        display: none;
    }

    .useful-websites-inner > a {
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .useful-websites .logo-casinogate,
    .useful-websites .logo-pokergate,
    .useful-websites .logo-jokerclub,
    .useful-websites .logo-playgate {
        width: auto;
        height: 60px;
    }

    .useful-websites .logo-casinoreviews {
        width: auto;
        height: 124px;
    }

    .latest-news-title {
        font-family: 'Inter', sans-serif;
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0;
        text-transform: uppercase;
    }

    .useful-websites-title {
        font-size: 24px;
        padding-top: 50px;
        padding-bottom: 10px;
    }

    .useful-websites {
        height: 143px;
        padding-top: 20px;
        padding-bottom: 20px;
        background-position: center bottom;
        background-size: auto 250px;
    }

    .useful-websites img {
        max-height: 50px;
    }

    .teaser {
        margin-top: 60px;
    }

    .teaser .swiper-slide,
    .teaser .swiper-slide img {
        width: 224px;
    }

    .teaser .swiper-slide img {
        height: 130px;
    }
}

.news-date {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.article .news-date {
    margin-top: -20px;
    margin-bottom: 28px;
}
.news-card .news-date {
    margin-top: -6px;
    margin-bottom: 14px;
}
