* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #080808;
    color: #f2f2f2;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

/* =========================
   HEADER
========================= */

.site-header {
    width: 100%;
    background: #0b0b0b;
    border-bottom: 1px solid #242424;
}

.header-inner {
    max-width: 1250px;
    height: 76px;
    margin: auto;
    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.logo-accent {
    margin-left: 5px;
    color: #e52b2b;
}

.navigation {
    display: flex;
    gap: 28px;
}

.navigation a {
    color: #999;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.navigation a:hover,
.navigation a.active {
    color: #fff;
}

.navigation a.active {
    position: relative;
}

.navigation a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -29px;

    height: 2px;
    background: #e52b2b;
}

/* =========================
   BREAKING NEWS
========================= */

.breaking-bar {
    background: #121212;
    border-bottom: 1px solid #252525;
}

.breaking-inner {
    max-width: 1250px;
    margin: auto;
    padding: 10px 25px;

    display: flex;
    align-items: center;
    gap: 14px;
}

.breaking-label {
    padding: 5px 9px;

    background: #e52b2b;
    color: white;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.breaking-text {
    color: #bdbdbd;
    font-size: 13px;
}

/* =========================
   PAGE
========================= */

.page-container {
    max-width: 1250px;
    margin: auto;
    padding: 45px 25px 80px;
}

/* =========================
   ARTICLE
========================= */

.article-page {
    width: 100%;
    background: #101010;
    border: 1px solid #262626;
}

/* =========================
   ARTICLE HERO
========================= */

.article-hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.article-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.25) 65%,
            rgba(0, 0, 0, 0.15)
        );
}

.article-hero-content {
    position: absolute;
    z-index: 2;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 50px;
}

.article-hero-content .category {
    margin-bottom: 15px;
}

.category {
    display: inline-block;

    padding: 5px 8px;

    background: #e52b2b;
    color: white;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.article-date {
    margin-bottom: 12px;

    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-hero-content .article-date {
    color: #aaa;
}

.article-title {
    max-width: 950px;

    margin: 0;

    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -1.5px;
}

/* =========================
   ARTICLE BODY
========================= */

.article-body {
    max-width: 950px;
    margin: auto;
    padding: 55px 60px 70px;
}

.article-intro {
    margin: 0 0 35px;

    color: #c7c7c7;
    font-size: 19px;
    line-height: 1.75;
    font-weight: 500;
}

.article-body p {
    margin: 0 0 25px;

    color: #999;
    font-size: 16px;
    line-height: 1.85;
}

.article-body h2 {
    margin: 45px 0 18px;

    color: #f2f2f2;
    font-size: 27px;
    line-height: 1.2;
}

.article-body h3 {
    margin: 35px 0 15px;

    color: #eee;
    font-size: 21px;
}

.article-body strong {
    color: #ddd;
}

.article-body a {
    color: #e52b2b;
    font-weight: 600;
}

.article-body a:hover {
    color: #ff5555;
}

.article-body blockquote {
    margin: 35px 0;
    padding: 20px 25px;

    border-left: 3px solid #e52b2b;
    background: #151515;

    color: #aaa;
    font-size: 16px;
    line-height: 1.7;
}

/* =========================
   ARTICLE IMAGES
========================= */

.article-body img {
    width: 100%;
    height: auto;
    margin: 35px 0;

    border: 1px solid #292929;
}

/* =========================
   ARTICLE FOOTER / TAGS
========================= */

.article-footer {
    max-width: 950px;
    margin: auto;
    padding: 0 60px 55px;

    border-top: 1px solid #242424;
}

.article-footer-inner {
    padding-top: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.article-author {
    color: #777;
    font-size: 12px;
}

.article-author strong {
    color: #aaa;
}

.back-news {
    padding: 10px 15px;

    border: 1px solid #303030;

    color: #999;
    font-size: 12px;
    font-weight: 700;

    transition: 0.2s;
}

.back-news:hover {
    background: #e52b2b;
    border-color: #e52b2b;
    color: white;
}

/* =========================
   RELATED ARTICLES
========================= */

.related {
    margin-top: 55px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 25px;
}

.section-header h2 {
    margin: 0;

    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header span {
    height: 1px;
    flex: 1;

    background: #292929;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.related-card {
    display: grid;
    grid-template-columns: 180px 1fr;

    background: #101010;
    border: 1px solid #242424;

    transition: 0.2s;
}

.related-card:hover {
    border-color: #3b3b3b;
    transform: translateY(-2px);
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    height: 100%;
    object-fit: cover;

    transition: 0.3s;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 20px;
}

.related-content h3 {
    margin: 10px 0;

    font-size: 18px;
    line-height: 1.25;
}

.related-content p {
    margin: 0;

    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #0b0b0b;
    border-top: 1px solid #242424;
}

.footer-inner {
    max-width: 1250px;
    margin: auto;
    padding: 35px 25px;

    display: flex;
    justify-content: space-between;
}

.footer-inner strong {
    font-size: 15px;
    letter-spacing: 1px;
}

.footer-inner p {
    margin: 8px 0 0;

    color: #666;
    font-size: 12px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-links a {
    color: #777;
    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    padding: 15px;

    border-top: 1px solid #1d1d1d;

    color: #444;
    font-size: 11px;
    text-align: center;
}

/* =========================
   TABLET
========================= */

@media (max-width: 850px) {

    .header-inner {
        height: auto;
        padding: 18px 20px;

        flex-direction: column;
        gap: 18px;
    }

    .navigation {
        width: 100%;
        justify-content: center;
        gap: 18px;
        overflow-x: auto;
    }

    .navigation a.active::after {
        display: none;
    }

    .breaking-inner {
        padding: 10px 20px;
    }

    .page-container {
        padding: 25px 15px 50px;
    }

    .article-hero {
        height: 430px;
    }

    .article-hero-content {
        padding: 35px;
    }

    .article-title {
        font-size: 38px;
    }

    .article-body {
        padding: 45px 40px 55px;
    }

    .article-footer {
        padding: 0 40px 45px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 25px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 500px) {

    .logo {
        font-size: 17px;
    }

    .navigation {
        justify-content: flex-start;
    }

    .navigation a {
        white-space: nowrap;
    }

    .article-hero {
        height: 350px;
    }

    .article-hero-content {
        padding: 25px;
    }

    .article-title {
        font-size: 29px;
        letter-spacing: -0.5px;
    }

    .article-body {
        padding: 35px 22px 45px;
    }

    .article-intro {
        font-size: 17px;
        line-height: 1.65;
    }

    .article-body p {
        font-size: 15px;
        line-height: 1.75;
    }

    .article-body h2 {
        font-size: 23px;
    }

    .article-footer {
        padding: 0 22px 35px;
    }

    .article-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .related-card {
        grid-template-columns: 120px 1fr;
    }

    .related-image {
        height: 130px;
    }

    .related-content {
        padding: 15px;
    }

    .related-content h3 {
        font-size: 16px;
    }
}