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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

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

a {
    -webkit-tap-highlight-color: transparent;
}



/* =========================================================
   HEADLINE TICKER
========================================================= */

.headline-ticker {
    width: 100%;

    height: 42px;

    display: flex;
    align-items: center;

    background: #ffffff;

    overflow: hidden;

    border-bottom: 1px solid #d9d9d9;
}

.headline-label {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 16px;

    background: #e00000;

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    white-space: nowrap;

    flex-shrink: 0;
}

.headline-track {
    flex: 1;

    height: 100%;

    overflow: hidden;

    display: flex;
    align-items: center;

    white-space: nowrap;
}

.headline-moving {
    display: inline-flex;

    align-items: center;

    white-space: nowrap;

    animation: headlineScroll 28s linear infinite;
}

.headline-moving a {
    color: #000000;

    text-decoration: none;

    font-size: 13px;

    margin: 0 18px;
}

.headline-moving a:hover {
    color: #e50914;
}

.headline-dot {
    color: #e50914;
    font-size: 18px;
}

@keyframes headlineScroll {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.headline-track:hover .headline-moving {
    animation-play-state: paused;
}


/* =========================================================
   MAIN
========================================================= */

main {
    width: 100%;
}

.container {
    width: 100%;

    max-width: 1150px;

    margin: auto;

    padding: 40px 20px 70px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    display: flex;
    align-items: center;

    margin-bottom: 22px;
}

.heading-left {
    display: flex;
    align-items: center;

    gap: 10px;
}

.heading-bar {
    width: 4px;
    height: 30px;

    background: #e50914;

    border-radius: 3px;
}

.section-heading h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;

    line-height: 1.1;

    color: #000000;
}


/* =========================================================
   LATEST NEWS
========================================================= */

.latest-section {
    margin-bottom: 50px;
}

.featured-news {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(0, 1fr);

    background: #ffffff;

    border: 1px solid #d9d9d9;

    border-radius: 10px;

    overflow: hidden;

    transition:
        border-color 0.25s ease,
        transform 0.25s ease;
}

.featured-news:hover {
    border-color: #e50914;
}

.featured-media {
    display: block;

    min-height: 390px;

    overflow: hidden;

    background: #f5f5f5;
}

.featured-image {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.4s ease;
}

.featured-news:hover .featured-image {
    transform: scale(1.025);
}

.image-placeholder {
    width: 100%;
    height: 100%;

    min-height: 200px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f5f5;

    color: #666666;

    font-size: 12px;
}

.featured-content {
    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 32px;

    background: #ffffff;
}

.news-category {
    display: inline-block;

    margin-bottom: 10px;

    color: #d00000;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}

.featured-content h1 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 34px;

    line-height: 1.2;

    margin-bottom: 15px;
}

.featured-content h1 a {
    color: #000000;

    text-decoration: none;
}

.featured-content h1 a:hover {
    color: #d00000;
}

.featured-description {
    color: #222222;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 18px;
}

.featured-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    color: #555555;

    font-size: 11px;

    margin-bottom: 20px;
}

.featured-meta strong {
    color: #000000;
}

.read-story {
    width: fit-content;

    padding: 10px 16px;

    background: #e50914;

    color: #ffffff;

    text-decoration: none;

    border-radius: 5px;

    font-size: 12px;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.read-story:hover {
    background: #b20710;

    transform: translateX(3px);
}


/* =========================================================
   RELATED NEWS
========================================================= */

.related-section {
    margin-bottom: 55px;
}

.related-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0 25px;
}

.related-card {
    display: grid;

    grid-template-columns:
        150px
        minmax(0, 1fr);

    gap: 15px;

    padding: 16px 0;

    border-bottom: 1px solid #dddddd;
}

.related-image-link {
    width: 150px;
    height: 95px;

    display: block;

    overflow: hidden;

    border-radius: 5px;

    background: #f5f5f5;
}

.related-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.related-image-link:hover .related-image {
    transform: scale(1.04);
}

.related-content {
    min-width: 0;
}

.related-content h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    line-height: 1.25;

    margin-bottom: 6px;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

.related-content h3 a {
    color: #000000;

    text-decoration: none;
}

.related-content h3 a:hover {
    color: #e50914;
}

.related-description {
    color: #0b0b0b;

    font-size: 12px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    margin-bottom: 5px;
}

.related-content time,
.category-card-content time {
    color: #666666;

    font-size: 10px;
}


/* =========================================================
   CATEGORY SECTIONS
========================================================= */

.categories-section {
    width: 100%;
}

.category-section {
    border-top: 1px solid black;
    padding-top: 25px;
    margin-top: 30px;
}

.category-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 5px;
}

.category-header .section-heading {
    margin-bottom: 15px;
}

.view-all {
    color: #000000;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.view-all:hover {
    color: #e50914;

    transform: translateX(3px);
}

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.category-card {
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dddddd;

    border-radius: 7px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);

    border-color: #e50914;
}

.category-image-link {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #f5f5f5;
}

.category-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.category-card:hover .category-image {
    transform: scale(1.04);
}

.category-card-content {
    padding: 14px;

    background: #ffffff;
}

.category-card-content h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    line-height: 1.3;

    margin-bottom: 7px;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

.category-card-content h3 a {
    color: #000000;

    text-decoration: none;
}

.category-card-content h3 a:hover {
    color: #e50914;
}

.category-card-content p {
    color: #333333;

    font-size: 11px;

    line-height: 1.5;

    margin-bottom: 9px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   NO NEWS
========================================================= */

.no-news {
    padding: 60px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #dddddd;

    border-radius: 8px;
}

.no-news h2 {
    font-family: Georgia, serif;

    margin-bottom: 8px;

    color: #000000;
}

.no-news p {
    color: #666666;

    font-size: 13px;
}


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

footer {
    padding: 38px 20px 25px;

    background: #ffffff;

    border-top: 1px solid #dddddd;

    text-align: center;
}

.footer-content {
    max-width: 700px;

    margin: auto;
}

footer h3 {
    color: #000000;

    font-size: 20px;

    margin-bottom: 7px;
}

footer p {
    color: #333333;

    font-size: 13px;

    margin-bottom: 7px;
}

footer .copyright {
    margin-top: 14px;

    color: #555555;

    font-size: 12px;
}

.footer-links {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

    margin: 18px 0;
}

.footer-links a {
    color: #000000;

    text-decoration: none;

    font-size: 13px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e50914;
}


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

@media (max-width: 1000px) {

    #nav-menu {
        gap: 14px;
    }

    #nav-menu a {
        font-size: 12px;
    }

    .featured-content {
        padding: 25px;
    }

    .featured-content h1 {
        font-size: 28px;
    }

    .related-list {
        grid-template-columns: 1fr;
    }

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


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

@media (max-width: 768px) {

    .navbar {
        min-height: 60px;

        position: relative;

        padding: 0 15px;
    }

    .logo img {
        width: 125px;
    }

    .menu-toggle {
        display: block;
    }

    #nav-menu {
        display: none;

        position: absolute;

        top: 60px;

        left: 0;

        width: 100%;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 8px 18px 12px;

        background: #ffffff;

        border-top: 1px solid #dddddd;

        border-bottom: 1px solid #dddddd;

        box-shadow:
            0 10px 25px rgba(0, 0, 0, 0.12);
    }

    #nav-menu.active {
        display: flex;
    }

    #nav-menu a {
        display: block;

        padding: 11px 4px;

        border-bottom: 1px solid #eeeeee;

        font-size: 14px;
    }

    #nav-menu a:last-child {
        border-bottom: none;
    }

    #nav-menu a::after {
        display: none;
    }


    /* =====================================================
       TICKER
    ====================================================== */

    .headline-ticker {
        height: 39px;
    }

    .headline-label {
        padding: 0 10px;

        font-size: 9px;
    }

    .headline-moving a {
        font-size: 11px;

        margin: 0 12px;
    }


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

    .container {
        padding: 28px 14px 45px;
    }


    /* =====================================================
       HEADING
    ====================================================== */

    .section-heading h2 {
        font-size: 23px;
    }

    .heading-bar {
        width: 3px;

        height: 25px;
    }


    /* =====================================================
       LATEST
    ====================================================== */

    .featured-news {
        display: block;

        border-radius: 7px;
    }

    .featured-media {
        min-height: 0;

        aspect-ratio: 16 / 9;
    }

    .featured-content {
        padding: 18px;
    }

    .featured-content h1 {
        font-size: 24px;

        line-height: 1.2;
    }

    .featured-description {
        font-size: 13px;

        -webkit-line-clamp: 3;
    }


    /* =====================================================
       RELATED
       MOBILE ROW DESIGN
    ====================================================== */

    .related-list {
        display: block;
    }

    .related-card {
        grid-template-columns:
            110px
            minmax(0, 1fr);

        gap: 12px;

        padding: 14px 0;
    }

    .related-image-link {
        width: 110px;

        height: 73px;

        border-radius: 4px;
    }

    .related-content h3 {
        font-size: 16px;

        line-height: 1.2;

        margin-bottom: 4px;

        -webkit-line-clamp: 3;
    }

    .related-description {
        display: none;
    }

    .related-content time {
        font-size: 9px;
    }

    .news-category {
        font-size: 9px;

        margin-bottom: 4px;
    }


    /* =====================================================
       CATEGORY
    ====================================================== */

    .category-section {
        border-top: 1px solid #ddd;
        padding-top: 25px;
        margin-top: 30px;
    }

    .category-header {
        margin-bottom: 3px;
    }

    .view-all {
        font-size: 10px;
    }

    .category-grid {
        display: block;
    }

    .category-card {
        display: grid;

        grid-template-columns:
            105px
            minmax(0, 1fr);

        gap: 12px;

        padding: 13px 0;

        background: #ffffff;

        border: 0;

        border-bottom: 1px solid #dddddd;

        border-radius: 0;
    }

    .category-card:hover {
        transform: none;

        border-color: red;
    }

    .category-image-link {
        width: 105px;

        height: 70px;

        aspect-ratio: auto;

        border-radius: 4px;
    }

    .category-card-content {
        min-width: 0;

        padding: 0;

        background: transparent;
    }

    .category-card-content .news-category {
        display: block;

        margin-bottom: 3px;
    }

    .category-card-content h3 {
        font-size: 15px;

        line-height: 1.2;

        margin-bottom: 4px;

        -webkit-line-clamp: 3;
    }

    .category-card-content p {
        display: none;
    }

    .category-card-content time {
        font-size: 9px;
    }
}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 380px) {

    .container {
        padding-left: 12px;

        padding-right: 12px;
    }

    .featured-content {
        padding: 15px;
    }

    .featured-content h1 {
        font-size: 21px;
    }

    .related-card {
        grid-template-columns:
            95px
            minmax(0, 1fr);

        gap: 10px;
    }

    .related-image-link {
        width: 95px;

        height: 64px;
    }

    .related-content h3 {
        font-size: 14px;
    }

    .category-card {
        grid-template-columns:
            95px
            minmax(0, 1fr);

        gap: 10px;
    }

    .category-image-link {
        width: 95px;

        height: 64px;
    }

    .category-card-content h3 {
        font-size: 14px;
    }
}
