* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Alfa Slab One', cursive;
    background-image: url('images/backgroundnews.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #000;
}

.header {
    background: #fff;
    border-bottom: 1.5px solid #000;
    padding: 0 40px;
    height: 140px;
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-left: 220px;
}

.logo {
    font-size: 64px;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

.nav {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.nav a {
    font-size: 32px;
    text-decoration: none;
    color: #000;
    transition: opacity 0.2s;
}

.nav a:hover {
    opacity: 0.6;
}

.header-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-right: 220px;
}

.login {
    font-family: 'Alfa Slab One', cursive;
    font-size: 32px;
    color: #000;
    text-decoration: none;
    transition: opacity 0.2s;
}

.login:hover {
    opacity: 0.6;
}

.btn-register {
    font-family: 'Alfa Slab One', cursive;
    width: 241px;
    height: 48px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    font-size: 32px;
    border: 1.5px solid #000;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s, color 0.2s;
}

.btn-register:hover {
    background: #fff;
    color: #000;
}

/* ── HERO ── */
.hero-section {
    min-height: 160px;
    display: flex;
    align-items: flex-end;
}

.blog-title {
    font-size: 64px;
    color: #000;
    padding-bottom: 20px;
}

/* ── КАРТОЧКИ ── */
.update-card {
    border: 1.5px solid #000;
    border-radius: 40px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
}

.update-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 16/7;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body-custom {
    padding: 18px 22px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.card-body-custom h2 {
    font-size: clamp(18px, 2.2vw, 36px);
    line-height: 1.2;
    margin: 0 0 10px;
    color: #000;
}

.card-body-custom p {
    font-size: clamp(14px, 1.6vw, 26px);
    color: #000;
    margin: 0;
}

.large-card .card-img-wrap {
    aspect-ratio: 21/8;
}

.large-card .card-body-custom h2 {
    font-size: clamp(22px, 3vw, 48px);
}

.large-card .card-body-custom p {
    font-size: clamp(16px, 2vw, 32px);
}

.no-img-card {
    min-height: 260px;
}

.container-xl,
.row,
[class*="col-"] {
    background: transparent !important;
}

.footer {
    max-width: 1360px;
    margin: 60px auto 80px;
    border: 1.5px solid #000;
    border-radius: 16px;
    padding: 40px;
    background: #fff;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-left h2 {
    font-size: 24px;
    max-width: 400px;
    line-height: 1.4;
}

.email-box {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.email-box input {
    font-family: 'Alfa Slab One', cursive;
    width: 280px;
    height: 34px;
    border: 1.5px solid #000;
    border-radius: 5px;
    padding: 0 10px;
    font-size: 14px;
    outline: none;
}

.send-btn {
    width: 34px;
    height: 34px;
    background: #BF47DD;
    border: 1.5px solid #000;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.send-btn:hover {
    opacity: 0.8;
}

.footer-brand {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.copyright {
    font-size: 28px;
}

.footer-logo {
    font-size: 32px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: center;
}

.footer-nav a {
    font-size: 24px;
    text-decoration: none;
    color: #000;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 0.6;
}

.socials {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.socials img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}