/* Base */
* {
    box-sizing: border-box;
}

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

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

.container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #1f2240;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 12px;
}

.menu-toggle,
.header-search {
    appearance: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
}

.site-logo {
    display: flex;
    justify-content: center;
}

.site-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.site-logo img {
    max-height: 52px;
    width: auto;
}

/* Menu mobile */
.mobile-menu {
    display: none;
    background: #1f2240;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__list a {
    display: block;
    padding: 14px 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
}

/* Desktop */
@media (min-width: 1024px) {
    .site-header__inner {
        min-height: 84px;
        grid-template-columns: 48px 1fr 48px;
    }

    .site-logo img {
        max-height: 60px;
    }
}

.site-main {
    padding-top: 24px;
    padding-bottom: 40px;
}

/* HERO */

.home-hero {
    margin-bottom: 32px;
}

.home-hero h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.hero-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-card img {
    border-radius: 6px;
}

.hero-card h3 {
    font-size: 16px;
    margin-top: 8px;
}

/* ADS */

.ad-block {
    background: #f1f1f1;
    text-align: center;
    padding: 20px;
    margin: 24px 0;
}

/* LATEST */

.latest-news h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.news-card {
    margin-bottom: 16px;
}

.news-card img {
    border-radius: 6px;
}

.news-card h3 {
    font-size: 16px;
    margin-top: 8px;
}