/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

.breaking-news {
    max-width: 1200px;
    margin: auto;
    background-color: #dd221b;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.breaking-label {
    background-color: #b11914;
    color: #fff;
    padding: 6px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.breaking-content {
    flex: 1;
    overflow: hidden;
}

.breaking-scroll {
    display: flex;
    gap: 50px;
    animation: scroll 25s linear infinite;
}

.breaking-item {
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

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

body {
    background: #f4f4f4;
    color: #222;
}

/* CENTER WRAPPER */
.wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* BREADCRUMB */
.breadcrumb {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
    font-family: Lato;
    font-weight: 700;
    font-style: Bold;
    line-height: 100%;
    letter-spacing: 0%;

}

/* GRID */
.article-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 25px;
}

/* TITLE */
.title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 15px;
}

/* META */
.meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-size: 13px;
}


.actions {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-right: 0px;
}

.actions button {
    border: none;
    padding: 5px 8px;
    /* background: black; */
    color: black;
    cursor: pointer;
}

.print-main {
    background-color: black;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 8px 12px;
    border: none;
    cursor: pointer;
}

.print-img {
    width: 16px;
    height: 16px;
    display: block;
}

/* HERO */
.hero-section {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.hero-section img {
    width: 50%;
    height: 220px;
    object-fit: cover;
}

.hero-text {
    font-size: 14px;
    color: #444;
}

/* BODY */
.article-body {
    margin-top: 15px;
    line-height: 1.6;
    font-size: 14px;
}

/* AD */
.ad {
    background: #ddd;
    text-align: center;
    padding: 40px;
    margin: 20px 0;
    color: #666;
    max-width: 900px;
}

/* TAGS */
.tags {
    margin-top: 15px;
}

.tags span {
    background: #eee;
    padding: 6px 10px;
    margin-right: 5px;
    font-size: 12px;
    border-radius: 20px;
    border: 1px solid rgb(151, 149, 149);
}

/* SIDEBAR */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-ad {
    height: 250px;
}

.side-section {
    background: rgb(255, 255, 255);
    padding: 10px;
}

.side-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    border-bottom: 1px solid #373737;
    padding-bottom: 5px;


}

.side-section-main {
    background-color: #00162F;
}

.side-header-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 10px;
    color: white;
    font-family: Lato;
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;


}

.side-header h3 {
    font-family: Lato;
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;

}

.side-header a {
    font-size: 11px;
    color: red;
}

.side-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.side-item img {
    /* width: 60px;
    height: 50px; */
    object-fit: cover;

    width: 128px;
    height: 69px;

}

.side-item p {
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .article-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        flex-direction: column;
    }

    .hero-section img {
        width: 100%;
    }
}

/* WRAPPER */
.recommended-wrapper {
    max-width: 1200px;
    margin: 10px auto;

    padding-top: 20px;
}

.recommended-wrapper .meta {
    width: 100%;
    max-width: 900px;
    /* same width as top content */
    margin-left: 0;
    margin-right: auto;
}

/* GRID */
.recommended-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
    margin-bottom: 8px;
    max-width: 1200px;
}

/* LEFT */
.recommended-left {
    background-color: #ddd;
    padding: 10px;
}

.recommended-left h3 {
    margin-bottom: 15px;
    font-family: Lato;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;


}

/* GRID INSIDE */
.recommended-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
}

/* ITEM */
.rec-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.rec-item img {
    width: 200px;
    height: 100px;
    object-fit: cover;
}

.rec-item p {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

/* RIGHT */
.most-read {
    background: #f2f2f2;
}

.most-read-header {
    background: #0c2a45;
    color: white;
    font-size: 13px;
    padding: 10px;
    font-weight: 600;
}

.most-read ul {
    list-style: none;
}

.most-read li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    position: relative;
    padding-left: 20px;
}

.most-read li::before {
    content: "•";
    position: absolute;
    left: 8px;
}

/* BOTTOM META */
.bottom-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-size: 13px;
}

.meta-left span {
    display: block;
    color: #777;
}

/* SHARE */
.meta-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icons span {
    background: #eee;
    padding: 5px 7px;
    cursor: pointer;
}

.print-btn {
    background: black;
    color: white;
    border: none;
    padding: 6px 10px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .recommended-container {
        padding-left: 15px;
        grid-template-columns: 1fr;
    }

    .recommended-grid {
        grid-template-columns: 1fr;
    }
}

/* SECTION WRAPPER */
.keep-reading {

    border-bottom: 1px solid #ddd;
    background: #f5f5f5;
    padding: 30px 0;
}

/* CENTER ALIGN */
/* .keep-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
} */
.keep-container {
    padding-bottom: 20px;
    border-top: 4px solid #0c2a45;
    max-width: 900px;
    /* same width as article content */
    margin-left: 0;
    margin-right: auto;
    padding: 0;
    margin-left: 350px;
}

/* HEADER */
.keep-header {
    text-align: center;
    margin-bottom: 25px;
}

.keep-header h2 {
    padding-top: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.keep-header p {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

/* GRID */
.keep-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.keep-card {
    background: #fff;
    padding-bottom: 10px;
}

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

/* CATEGORY */
.keep-card .category {
    display: block;
    color: red;
    font-size: 12px;
    font-weight: 600;
    margin: 8px 10px 5px;
}

/* TITLE */
.keep-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 10px 5px;
    line-height: 1.4;
}

/* TEXT */
.keep-card p {
    font-size: 13px;
    color: #555;
    margin: 0 10px;
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .keep-grid {
        grid-template-columns: 1fr;
    }

    .keep-card img {
        height: 200px;
    }
}

.main-tagline {
    width: 1045;
    height: 82;
    opacity: 1;
    top: 191px;
    left: 20px;
    font-family: Oswald;
    font-weight: 400;
    font-style: Medium;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0%;
    padding-bottom: 5px;


}



.main-content {
    font-family: Lato;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
}

.tag-content {
    font-family: Lato;
    font-weight: 700;
    font-style: Bold;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
}

.recomemnded-story-content {
    font-family: Oswald;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;

}

.most-read-content {
    font-family: Lato;
    font-weight: 700;
    font-style: Bold;
    line-height: 100%;
    letter-spacing: 0%;

}

.keep-readin-tag {
    font-family: Lato;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;

}

.keep-reading-content {
    font-family: Lato;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
}

.load-more {
    max-width: 820px;
    /* same as article content width */

    margin-top: 20px;
    margin-bottom: 10px;

    text-align: center;
}

.load-more button {
    padding: 10px 20px;
    border: 1px solid #aaa;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 12px;
}

.load-more button:hover {
    background: black;
    color: white;
}


/* --- RESPONSIVE ADJUSTMENTS --- */

@media (max-width: 1024px) {

    .wrapper,
    .recommended-wrapper {
        padding: 15px;
    }

    .keep-container {
        margin-left: 0;
        /* Reset that large margin */
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    /* Layout */
    .article-grid,
    .recommended-container {
        grid-template-columns: 1fr;
        /* Stack Sidebar & Most Read below content */
        display: flex;
        flex-direction: column;
    }

    /* Typography */
    .main-tagline {
        font-size: 24px;
        /* Slightly smaller for mobile */
        line-height: 1.2;
    }

    /* Meta & Buttons */
    .meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .actions span {
        width: 100%;
        /* Force "SHARE ON" to its own line or hide it */
        font-size: 11px;
        margin-bottom: 5px;
    }

    .actions button {
        flex: 1;
        /* Buttons grow to fill space */
        min-width: 45px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #ddd;
        background: #fff;
    }

    .print-main {
        flex: 2 !important;
        /* Give Print button more room */
        font-size: 12px;
        background-color: #000 !important;
    }

    /* Hero Section (Image + Text) */
    .hero-section {
        flex-direction: column;
    }

    .hero-section img {
        width: 100%;
        height: auto;
    }

    /* Recommended Grid */
    .recommended-grid {
        grid-template-columns: 1fr;
    }

    .rec-item img {
        width: 120px;
        height: 80px;
    }

    .recomemnded-story-content {
        font-size: 16px;
    }

    /* Sidebar and Ads */
    .sidebar {
        margin-top: 30px;
    }

    .ad {
        width: 100%;
        padding: 20px;
    }

    /* Keep Reading Grid */
    .keep-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Breaking News */
    .breaking-label {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .main-tagline {
        font-size: 22px;
    }

    .rec-item {
        flex-direction: column;
    }

    .rec-item img {
        width: 100%;
        height: 200px;
    }

    .actions button {
        padding: 5px;
    }
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 992px) {
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 70px !important;
        background-color: #f8f8f8 !important;
        border-top: 1px solid #ddd !important;
        justify-content: space-around !important;
        align-items: center !important;
        /* Lower this slightly so the Sidebar can slide OVER it */
        z-index: 9999 !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
    }

    /* Renamed to bottom-nav-link to stop the header conflict */
    .bottom-nav-link {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        text-decoration: none !important;
        color: #666 !important;
    }

    .bottom-nav-link img {
        width: 24px !important;
        height: 24px !important;
        margin-bottom: 4px !important;
    }

    .bottom-nav-link span {
        font-size: 10px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: #666 !important;
    }

    .bottom-nav-link.active {
        color: #DD221B !important;
    }

    .bottom-nav-link.active span {
        color: #DD221B !important;
    }

    .bottom-nav-link.active img {
        filter: invert(21%) sepia(91%) saturate(3506%) hue-rotate(349deg) brightness(89%) contrast(98%);
    }

    body {
        padding-bottom: 80px !important;
    }
}