
*{
    margin: 0%;
    padding-left: 0%;
    font-family: Arial, Helvetica, sans-serif;
   
/* =================================
   PROFESSIONAL NEWS TYPOGRAPHY
================================= */

body {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
}

/* Headlines */
h1,

h3,
h4,
h5,
h6 {
    font-family: "Merriweather", Georgia, "Times New Roman", serif;
    color: #111111;
}

/* Navigation */
.navigation a {
    font-family: "Inter", Arial, sans-serif;
    color: #111111;
    font-weight: 700;
}

/* Breaking News */
.ticker {
    background: #111111;
    color: #ffffff;
}

.ticker-label {
    background: #c8102e;
    color: #ffffff;
}

/* Links */
a {
    color: #111111;
}

/* Main news accent */
.category-tag,
.read-story {
    color: #c8102e;
}
}
.container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
}
a,
a:visited,
a:hover,
a:active,
a:focus {
    text-decoration: none;

}
   

/* ==============================
   TOP BAR
================================= */

.top-bar {
    background: #111;
    color: white;
    font-size: 15px;
    padding: 9px 0;
    font-weight: 400;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
h3{
color: blue;
font-weight: bold;
}


/* ==============================
   MAIN HEADER
================================= */
.news-header {
    position: relative;
    background-image: url("IMAGE/homepage.jpg");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repet;
    width: 100%;
    height: 300px;
    padding: 0;
    overflow-x: hidden;
}

/* Tablet */
@media (max-width: 768px) {
    .news-header{
        min-height: 280px;
        padding: 15px 0;
    }
}

/* Phone */
@media (max-width: 480px) {
    .news-header {
        width: 100%;
        min-height: 220px;
        padding: 10px;
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* ==============================
   LOGO
================================= */

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo a {
    color: rgb(54, 2, 167);
    text-decoration: none;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span {
    color: #e31b23;
}

.logo small {
    color: rgb(249, 10, 10);
    font-size: 12px;
    letter-spacing: 5px;
    margin-top: 5px;
}


/* ==============================
   SEARCH BOX
================================= */

.search-box {
    width: 350%;
    max-width: 250px;
    margin: 5px;
}

#searchForm {
    display: flex;
    align-items: center;
    gap: 8;
    width: 100%;
}

#searchInput {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background-color: #fff;
    color: #111827;
    font-size: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#searchInput::placeholder {
    color: #de0b1c;
}

#searchInput:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

#searchForm button {
    padding: 9px 13px;
    border: none;
    border-radius: 10px;
    background-color: #2563eb;
    color: #fff;
    font-size: 8px;
    font-weight: 250;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

#searchForm button:hover {
    background-color: #1d4ed8;
}

#searchForm button:active {
    transform: scale(0.97);
}

/* Mobile */
@media (max-width: 500px) {
    #searchForm {
        flex-direction: column;
        align-items: stretch;
    }

    #searchForm button {
        width: 100%;
    }
}


/* ==============================
   DARK MODE BUTTON
================================= */

.dark-toggle {
    width: 48px;
    height: 48px;

    background: white;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    font-size: 20px;
}

.dark-toggle .moon {
    display: none;
}


/* ==============================
   NAVIGATION
================================= */

.navigation {
    background: #e31b23;
}

.navigation ul {
    list-style: none;

    display: flex;
    align-items: center;
}

.navigation li {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.navigation a {
    display: block;

    color: white;
    text-decoration: none;

    padding: 17px 25px;

    font-size: 14px;
    font-weight: bold;

    transition: 0.3s;
}

.navigation a:hover {
    background: #111;
}

.navigation .home {
    background: #111;
}


/* ==============================
   SAMPLE CONTENT
================================= */

.welcome {
    width: 90%;
    max-width: 1250px;
    margin: 50px auto;
}

.welcome h1 {
    font-size: 36px;
    margin-bottom: 10px;
}


/* ==============================
   DARK MODE
================================= */

#dark-mode {
    display: none;
}

/* Change page background */

#dark-mode:checked~.news-header+main {
    background: #121212;
    color: white;
}

#dark-mode:checked~.news-header {
    filter: brightness(0.9);
}


/* Change body */

#dark-mode:checked~main {
    background: #121212;
    color: white;
}


/* Toggle icon */

#dark-mode:checked~.news-header .dark-toggle {
    background: #222;
    color: white;
}

#dark-mode:checked~.news-header .dark-toggle .sun {
    display: none;
}

#dark-mode:checked~.news-header .dark-toggle .moon {
    display: block;
}


/* ==============================
   MOBILE RESPONSIVE DESIGN
================================= */

@media (max-width: 800px) {

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .header-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        width: 100%;
        align-items: center;
    }

    .search-box {
        width: 80%;
    }

    .navigation ul {
        overflow-x: auto;
        white-space: nowrap;
    }

    .navigation a {
        padding: 15px 18px;
        font-size: 13px;
    }
}


@media (max-width: 500px) {

    .main-header {
        padding: 20px 0;
    }

    .logo a {
        font-size: 25px;
    }

    .search-box {
        width: 100%;
    }

    .dark-toggle {
        width: 42px;
        height: 42px;
    }

    .navigation a {
        padding: 14px 15px;
    }
}


.blink-text{
    max-width: 1000px;
    font-weight: bolder;
    padding-left: 60px;
    margin-right: 60;
    margin-top: 46px;
    margin-left: auto;
    padding-top: 1%;
    text-align: center;
    padding-bottom: 1%;
    text-wrap: nowrap;
    font-size: 60px;
 

    animation: blinkColors 8s infinite;
}
@keyframes blinkColors{
    15%{color:rgb(251, 7, 19);}
    20%{color:blue;}
    30%{color: rgb(162, 166, 169);}
    40%{color: aqua;}
    50%{color: gold;}
    60%{color: rgb(21, 217, 100);}
    70%{color: color(srgb red rgb(39, 14, 202) blue);}
    80%{color: blueviolet;}
    90%{color: magenta;}
    100%{color: rgb(35, 199, 98);}
}

.ticker {

    position: static;
    background: #f3f1ee;
    border-bottom: 1px solid var(--line);
}

body.dark .ticker {
    background: #4909d2;
}

.ticker-inner {

    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 44px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.ticker-label {
    flex-shrink: 0;
    background: rgb(240, 2, 2);
    color: white;
    padding: 8px 10px;
    font-size: 1.rem;
    letter-spacing: 0.0em;
    text-transform: uppercase;
    font-weight: 350;
    margin-left: 0%;
}

.ticker-track {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.ticker-track a {
    color: black;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ticker-track a:hover {
    color: red;
}

.ticker-track span {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 55s linear infinite;
    font-size: 1.84rem;
    color: rgb(7, 6, 6);
    font-weight: bolder;
}


/* ==================================================
   RESPONSIVE TICKER
   ================================================== */

@media (max-width: 768px) {

    .ticker-inner {
        width: 100%;
        max-width: 100%;
        gap: 10px;
        min-height: 42px;
    }

    .ticker-label {
        padding: 9px 12px;
        font-size: 1.2rem;
    }

    .ticker-track {
        min-width: 0;
        width: 100%;
        overflow: hidden;
    }

    .ticker-track span {
        font-size: 1.25rem;
    }
}


/* ==================================================
   MOBILE PHONES
   ================================================== */

@media (max-width: 480px) {

    .ticker-inner {
        gap: 8px;
        min-height: 38px;
    }

    .ticker-label {
        padding: 8px 10px;
        font-size: 1rem;
        letter-spacing: 0.03em;
    }

    .ticker-track {
        min-width: 0;
        overflow: hidden;
    }

    .ticker-track span {
        font-size: 1.05rem;
    }
}


/* ==================================================
   VERY SMALL PHONES
   ================================================== */

@media (max-width: 360px) {

    .ticker-inner {
        gap: 6px;
        min-height: 36px;
    }

    .ticker-label {
        padding: 7px 8px;
        font-size: 0.9rem;
    }

    .ticker-track span {
        font-size: 0.95rem;
    }
}

 @keyframes ticker {
     from {
         transform: translateX(0);
     }

     to {
         transform: translateX(-100%);
     }
 
}
 .theme-toggle {
   
     width: 32px;
     height: 32px;
     background: rgba(255, 255, 255, 0.08);
     border-radius: 50%;
     border: 1px solid rgba(255, 255, 255, 0.12);
     color: #fff;
 }
 .headline{
    background-color: none;
    font-size: 20px;
    color: red;
 }
 .button{
    background-color: blue;
    color: white;
    border-radius: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
 }
 
 
 .btn{
    padding-bottom: 20px;
    padding-top: 20px;
    padding-right: 45px;
    padding-left: 45px;
    border-radius: 35px;
    background-color: rgb(7, 217, 102);
    color: wheat;
    font-size: small;font-weight: bold;

 }
 .email{
    font-weight: bold;
    font-family: 'Segoe UI', sans-serif;
    color: #4909d2;
 }
 .login-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 29%;
    margin-bottom: 15%;
    padding-bottom: 80px;
    background-color: aqua;

 }
 h2{
    font-family: 'Segoe UI';
    font-weight: bolder;
    font-size: 30px;
    text-align: center;
 }
 .input{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: rgb(10, 246, 167);
    padding-bottom: 50px;
 }
 #login{
    background-color: rgb(242, 7, 15);
 }
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: Arial, sans-serif;
     background: #f1f1f1;
 }

/* ==================================================
   NEWS IMAGE SLIDER
   ================================================== */

.image-slider {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    padding: 0 5px;
    box-sizing: border-box;
}

/* ==================================================
   MAIN SLIDER
   ================================================== */

.news-slider {
    width: 100%;
    height: 650px;
    position: relative;
    overflow: hidden;

    /* Smaller visible red border */
    background: #f70202;

    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ==================================================
   SLIDES
   ================================================== */

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;

    display: none;

    opacity: 0;
    transform: scale(1.02);

    transition:
        opacity 0.50s ease,
        transform 0.50s ease;
}

.slide.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}


/* ==================================================
   SLIDER IMAGE
   RESPONSIVE — NO CROPPING
   ================================================== */

.slide img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    object-position: center;

    box-sizing: border-box;

    transition: transform 0.8s ease-out;
}

.slide.active img {
    transform: scale(1.02);
}


/* ==================================================
   DARK IMAGE OVERLAY
   ================================================== */

.slide::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.45) 40%,
            rgba(0, 0, 0, 0.05) 75%
        );

    pointer-events: none;
}


/* ==================================================
   CAPTION — CENTERED
   ================================================== */

.caption,
.caption4 {
    position: absolute;
    z-index: 2;

    bottom: 65px;
    left: 35px;
    right: 35px;

    color: #fff;

    text-align: center !important;

    max-width: calc(100% - 70px);
}


/* ==================================================
   CATEGORY
   ================================================== */

.caption .category,
.caption4 .category {
    display: block;
    width: fit-content;

    background: #fd0101;
    color: #fff;

    padding: 6px 12px;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    border-radius: 4px;

    margin: 0 0 10px 0;

    text-align: left;
}


/* ==================================================
   HEADLINE
   ================================================== */

.caption h2,
.caption4 h2 {
    display: block;

    width: 100%;

    margin: 0 0 10px 0;
    padding: 0;

    color: #ffffff !important;

    font-family:
        "Arial",
        "Helvetica Neue",
        Helvetica,
        sans-serif;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: -0.2px;

    text-align: center !important;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.65);

    opacity: 1;
}



/* ==================================================
   HEADLINE LINKS
   ================================================== */

.caption h2 a,
.caption4 h2 a,
.caption h2 a:visited,
.caption4 h2 a:visited {
    color: #ffffff !important;

    text-decoration: none !important;

    font-weight: 700;

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}


/* YELLOW HOVER */

.caption h2 a:hover,
.caption4 h2 a:hover {
    color: #ffd400 !important;

    text-decoration: none !important;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.75);
}


.caption p,
.caption4 p {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    color: #eeeeee;

    font-size: 16px;
    line-height: 1.5;

    text-align: center !important;
}

/* ==================================================
   PREVIOUS / NEXT BUTTONS
   ================================================== */

.prev,
.next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 5;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.55);
    color: #fff;

    font-size: 22px;
    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.prev:hover,
.next:hover {
    background: #e00000;

    transform: translateY(-50%) scale(1.08);

    box-shadow: 0 5px 15px rgba(224, 0, 0, 0.35);
}

.prev:active,
.next:active {
    transform: translateY(-50%) scale(0.95);
}


/* ==================================================
   DOTS
   ================================================== */

.slider-dots {
    position: absolute;

    z-index: 10;

    bottom: 18px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 6px 10px;

    border-radius: 20px;

    background: rgba(0, 0, 0, 0.15);
}

.dot {
    width: 9px;
    height: 9px;

    padding: 0;
    margin: 0;

    display: block;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.55);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.dot:hover {
    background: #fff;
    transform: scale(1.15);
}

.dot.active {
    width: 26px;
    height: 9px;

    border-radius: 10px;

    background: #e00000;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 768px) {

    .image-slider {
        width: 100%;
        max-width: 100%;
        margin: 15px auto;
        padding: 0 4px;
    }

    .news-slider {
        width: 100%;
        height: 56vw;

        min-height: 330px;
        max-height: 500px;

        border-radius: 10px;
    }

    .slides,
    .slide {
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    .slide img {
        width: 100%;
        height: 100%;

        max-width: 100%;
        max-height: 100%;

        object-fit: contain;
        object-position: center;
    }

    .caption,
    .caption4 {
        left: 20px;
        right: 20px;
        bottom: 58px;

        max-width: calc(100% - 40px);
    }

    .caption h2,
    .caption4 h2 {
        font-size: 23px;
        line-height: 1.25;
    }

    .caption p,
    .caption4 p {
        font-size: 14px;
        line-height: 1.4;
    }

    .prev,
    .next {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 480px) {

    .image-slider {
        width: 100%;
        max-width: 100%;
        margin: 12px auto;
        padding: 0 2px;
    }

    .news-slider {
        width: 100%;

        /*
         * Slider height follows screen width.
         * This prevents overflow on phones.
         */
        height: 72vw;

        min-height: 270px;
        max-height: 380px;

        border-radius: 8px;
    }

    .slides,
    .slide {
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    .slide img {
        width: 100%;
        height: 100%;

        max-width: 100%;
        max-height: 100%;

        object-fit: contain;
        object-position: center;
    }

    .caption,
    .caption4 {
        left: 14px;
        right: 14px;
        bottom: 45px;

        max-width: calc(100% - 28px);
    }

    .caption span,
    .caption4 span {
        font-size: 10px;
        padding: 5px 8px;
        margin-bottom: 6px;
    }

    .caption h2,
    .caption4 h2 {
        font-size: 18px;
        line-height: 1.25;

        margin-bottom: 7px;
    }

    .caption p,
    .caption4 p {
        font-size: 12px;
        line-height: 1.4;

        display: -webkit-box;
        -webkit-box-orient: vertical;


        overflow: hidden;
    }

    .prev,
    .next {
        width: 32px;
        height: 32px;

        font-size: 15px;
    }

    .prev {
        left: 6px;
    }

    .next {
        right: 6px;
    }

    .slider-dots {
        bottom: 10px;
        gap: 6px;
        padding: 4px 7px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 18px;
        height: 7px;
    }
}


/* ==================================================
   VERY SMALL PHONES
   ================================================== */

@media (max-width: 360px) {

    .image-slider {
        padding: 0 1px;
    }

    .news-slider {
        height: 75vw;

        min-height: 235px;
        max-height: 300px;

        border-radius: 7px;
    }

    .slides,
    .slide {
        height: 100%;
        min-height: 0;
    }

    .slide img {
        width: 100%;
        height: 100%;

        max-width: 100%;
        max-height: 100%;

        object-fit: contain;
    }

   .caption,
.caption4 {
    left: 14px;
    right: 14px;
    bottom: 45px;

    max-width: calc(100% - 28px);

    text-align: center !important;
}

    .caption h2,
    .caption4 h2 {
        font-size: 16px;
        line-height: 1.2;
    }

    .caption p,
    .caption4 p {
        font-size: 11px;
        line-height: 1.3;
    }

    .prev,
    .next {
        width: 29px;
        height: 29px;
        font-size: 13px;
    }

    .prev {
        left: 5px;
    }

    .next {
        right: 5px;
    }
}

 /* ==================================================
   ACCESSIBILITY
   ================================================== */

 .prev:focus-visible,
 .next:focus-visible,
 .dot:focus-visible {
     outline: 2px solid #fff;
     outline-offset: 3px;
 }

 /* Reduce animations for users who prefer less motion */
 @media (prefers-reduced-motion: reduce) {

     .slide,
     .slide img,
     .prev,
     .next,
     .dot {
         transition: none;
     }
 }
.newsletter {
    width: 450px;
    padding: 40px;

    background-color: white;
    border-radius: 12px;

    text-align: center;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.news-footer {
    background: #03349f;
    color: #d1d5db;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 25px;
}

/* Main Footer */

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 45px;
    border-bottom: 1px solid #374151;
}

/* Brand */

.footer-logo {
    display: inline-block;
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
    margin-bottom: 18px;
}

.footer-logo span {
    color: #ef4444;
}

.footer-brand p {
    max-width: 320px;
    color: #9ca3af;
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Social Links */

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-links a {
    color: #9ca3af;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.social-links a:hover {
    color: #ef4444;
}

/* Footer Columns */

.footer-column h3,
.footer-newsletter h3 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #9ca3af;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 20px;
}

.footer-column a:hover {
    color: #ffffff;
    padding-left: 4px;
}

/* Newsletter */

.footer-newsletter p {
    color: #9ca3af;
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.newsletter-form {
    display: flex;
    width: 100%;
    margin-bottom: 12px;
}

.newsletter-form input {
    min-width: 0;
    flex: 1;
    padding: 13px 14px;
    border: 1px solid #374151;
    border-right: none;
    border-radius: 5px 0 0 5px;
    background: #1f2937;
    color: #ffffff;
    outline: none;
    font-size: 13px;
}

.newsletter-form input::placeholder {
    color: #6b7280;
    font-size: 15px;
}

.newsletter-form input:focus {
    border-color: #ef4444;
}

.newsletter-form button {
    border: none;
    padding: 0 18px;
    border-radius: 0 5px 5px 0;
    background: #ef4444;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
}

.newsletter-form button:hover {
    background: #dc2626;
}

.footer-newsletter small {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
}

/* Bottom Footer */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
}

.footer-bottom p {
    color: #f4f5f8;
    font-size: 16px;
    margin: 0;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a {
    color: #f6f7fa;
    font-size: 17px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.legal-links a:hover {
    color: #ffffff;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-container {
        padding: 45px 20px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input {
        border-right: 1px solid #374151;
        border-radius: 5px;
    }

    .newsletter-form button {
        min-height: 42px;
        border-radius: 5px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-links {
        gap: 12px;
    }
}
.logo1{
    border-radius: 95px;
}
.newsletter {
    width: 500px;
    padding: 40px;

    background-color: white;
    border-radius: 12px;

    text-align: center;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.newsletter h2 {
    margin-bottom: 5px;
    color: #170bf7;
    font-weight: 700;
}

.newsletter p {
    margin-bottom: 25px;
    color: #040404;
    line-height: 1.5;
    font-weight: 700;
}

.newsletter form {
    display: flex;
    gap: 2px;
}

.newsletter input {
    flex: 1;
    padding: 12px;
background-color: #c0d3e6;
    border: 3px solid #f70707;
    border-radius: 6px;

    font-size: 14px;
}

.newsletter button {
    padding: 5px 8px;

    border: none;
    border-radius: 14px;

    background-color: #fb0606;
    color: white;
    font-size: 14px;
    cursor: pointer;
    font-weight: 700;
}

.newsletter button:hover {
    background-color: #0056b3;
}
.newsletter input:hover {
    background-color: #f10404;
}



.news-main {
    padding: 50px 0 80px;
}

.news-container {
    width: min(1200px, 92%);
    margin: auto;
}

/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid #111827;
}

.section-heading h2 {
    position: relative;
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 800;
}

.section-heading h2::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 22px;
    margin-right: 10px;
    vertical-align: -3px;
    background: #e11d2e;
}

.section-heading a {
    color: #e11d2e;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.section-heading a:hover {
    text-decoration: underline;
}


/* =========================================
   TOP STORIES
========================================= */

.top-stories {
    margin-bottom: 55px;
}

.top-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 25px;
}

/* Featured Story */

.featured-story {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.story-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 500px;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-story:hover .story-image img {
    transform: scale(1.04);
}

.story-content {
    padding: 25px;
}

.story-content h1 {
    max-width: 800px;
    margin: 8px 0 12px;
    color: #111827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    line-height: 1.15;
}

.story-content p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 18px;
}

.story-date {
    color: #9ca3af;
    font-size: 11px;
}


/* Category Tags */

.category-tag {
    display: inline-block;
    margin-bottom: 8px;
    color: #e11d2e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.category-tag.business {
    color: #2563eb;
}

.category-tag.health {
    color: #059669;
}

.category-tag.education {
    color: #7c3aed;
}

.category-tag.sports {
    color: #ea580c;
}

.category-tag.opinion {
    color: #0891b2;
}


/* Read More */

.read-more {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.read-more:hover {
    color: #e11d2e;
}


/* Secondary Stories */

.secondary-stories {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.small-story {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid #dfe3e8;
}

.small-story:last-child {
    border-bottom: none;
}

.small-story img {
    width: 145px;
    height: 130px;
    object-fit: cover;
}

.small-story h3 {
    margin: 2px 0 8px;
    color: #f63c03;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.3;
}


/* =========================================
   CONTENT LAYOUT
========================================= */

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 35px;
}

.category-content {
    min-width: 0;
}


/* =========================================
   NEWS CATEGORIES
========================================= */

.news-category {
    margin-bottom: 55px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

/* News Cards */
.news-card {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.news-image img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    display: block;
    transition: 0.4s;
}


.news-card-body {
    padding: 20px;
}

.news-card-body h3 {
    margin: 2px 0 10px;
    color: #111827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.3;
}

.news-card-body p {
    margin: 0 0 15px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}
/* Clickable news card images */
.news-card > a {
    display: block;
    text-decoration: none;
}

.news-card > a img {
    display: block;
    width: 80%;
    height: 650px;
    object-fit: cover;
    transition: 0.4s ease;
}

.news-card > a:hover img {
    transform: scale(1.05);
}

/* Clickable news headlines */
.news-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.news-card-body h3 a:hover {
    text-decoration: underline;
}

/* =========================================
   LATEST HEADLINES
========================================= */

.latest-news {
    position: sticky;
    top: 20px;
    align-self: start;
    background: #ffffff;
    border: 1px solid #e1e5e9;
}

.latest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 2px solid #111827;
}

.latest-header h2 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
}

.live-dot {
    color: #dc2626;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.latest-list {
    padding: 0 20px;
}

.latest-item {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.latest-number {
    color: #d1d5db;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
}

.latest-category {
    color: #e11d2e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.latest-item h3 {
    margin: 5px 0 7px;
    color: #1f2937;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.4;
}

.latest-item time {
    color: #9ca3af;
    font-size: 10px;
}

.all-headlines {
    display: block;
    padding: 17px 20px;
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.25s ease;
}

.all-headlines:hover {
    background: #e11d2e;
}


/* =========================================
   OPINION
========================================= */

.opinion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.opinion-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px;
    background: #ffffff;
    border-left: 4px solid #0891b2;
}

.author-avatar {
    display: flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 800;
}

.opinion-card h3 {
    margin: 2px 0 8px;
    color: #111827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.35;
}

.opinion-card p {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1000px) {

    .content-layout {
        grid-template-columns: 1fr;
    }

    .latest-news {
        position: static;
    }

    .latest-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 25px;
    }

    .latest-item:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}


@media (max-width: 800px) {

    .top-grid {
        grid-template-columns: 1fr;
    }

    .story-image {
        height: 350px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 600px) {

    .news-main {
        padding: 30px 0 50px;
    }

    .section-heading h2 {
        font-size: 19px;
    }

    .section-heading a {
        font-size: 11px;
    }

   

    .story-content {
        padding: 18px;
    }

    .story-content h1 {
        font-size: 25px;
    }

    .category-grid,
    .opinion-grid,
    .latest-list {
        grid-template-columns: 1fr;
    }

    .latest-item {
        padding: 16px 0;
    }

    .small-story {
        grid-template-columns: 110px 1fr;
    }

    .small-story img {
        width: 110px;
        height: 90px;
    }

    .small-story h3 {
        font-size: 15px;
    }
    .social-media a {
        display: flex;
        flex-direction: row;
        gap: 20px;

        
    }
    .navbar{
      margin-top: 15px; 
    list-style: none;
    }

}

/* ARTICLE */

.news-article {
text-align: center;
margin: 0 auto;
    padding: 20px;
    max-width: 700px;
}

.category {
    display: inline-block;
    background: #c90000;
    color: white;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
}

h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 19px;
    color: #666;
    margin-bottom: 20px;
}

.article-info {
    display: flex;
    gap: 20px;
    color: #777;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}


/* FEATURED IMAGE */

.featured-image {
    width: 100%;
    display: block;
    margin: 25px 0;
}


/* ARTICLE CONTENT */

.article-content {
    font-size: 18px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    margin: 30px 0 10px;
}


/* SHARE */

.share-section {
    margin-top: 40px;
    padding: 25px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.share-section h3 {
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-buttons button {
    border: none;
    padding: 11px 18px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.facebook {
    background: #1877f2;
}

.whatsapp {
    background: #25d366;
}

.twitter {
    background: #000;
}

.copy {
    background: #555;
}

.share-buttons button:hover {
    opacity: 0.8;
}


/* COMMENTS */

.comments-section {
    margin-top: 40px;
}

.comments-section h2 {
    margin-bottom: 5px;
}

.comment-intro {
    color: #666;
    margin-bottom: 20px;
}


/* COMMENT FORM */

#commentForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#commentForm input,
#commentForm textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#commentForm textarea {
    height: 130px;
    resize: vertical;
}

#commentForm button {
    width: fit-content;
    background: #c90000;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#commentForm button:hover {
    background: #990000;
}


/* COMMENT */

.comment {
    margin-top: 25px;
    padding: 18px;
    background: #f5f5f5;
    border-left: 4px solid #c90000;
}

.comment-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-date {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}

.comment-text {
    font-size: 15px;
}



/* MOBILE */

@media (max-width: 700px) {

    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        gap: 12px;
    }

    .news-article {
        margin: 20px auto;
        padding: 20px;
    }

    h1 {
        font-size: 30px;
    }

    .subtitle {
        font-size: 17px;
    }

    .article-content {
        font-size: 17px;
    }

    .article-info {
        flex-direction: column;
        gap: 5px;
    }

    .share-buttons button {
        width: 100%;
    }
}
/* PAGE TITLE */
.page-title {
    background: white;
    padding: 40px 6%;
    border-bottom: 1px solid #ddd;
}

.page-title h2 {
    font-size: 38px;
    color: #111;
    border-left: 6px solid #e31b23;
    padding-left: 15px;
}

.page-title p {
    margin-top: 10px;
    color: #666;
}


/* NEWS CONTAINER */
.politics-container {
    width: 88%;
    max-width: 1200px;
    margin: 40px auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}




/* LOAD MORE */
.load-more-container {
    text-align: center;
    margin: 30px 0 60px;
}

#loadMoreBtn {
    border: none;
    background: #111;
    color: white;
    padding: 14px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

#loadMoreBtn:hover {
    background: #e31b23;
}
.main-container {
    width: 88%;
    max-width: 1200px;
    margin: 40px auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.firstt-container {
    width: 87%;
    max-width: 1200px;
    margin: 40px auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.front-container {
    width: 86%;
    max-width: 1200px;
    margin: 40px auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.rear-container {
    width: 88%;
    max-width: 1180px;
    margin: 40px auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.politics-container {
    width: 88%;
    max-width: 1200px;
    margin: 40px auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.first-container {
    width: 88%;
    max-width: 1200px;
    margin: 40px auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ==============================
   PAGE BANNER
================================= */

.page-banner {
    min-height: 300px;

    background:
        linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url("images/journalists-banner.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 18px;
}


/* ==============================
   JOURNALISTS SECTION
================================= */

.journalists-section {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}


/* ==============================
   INTRODUCTION
================================= */

.intro {
    max-width: 850px;
    margin: 0 auto 50px;

    text-align: center;
}

.intro h2 {
    font-size: 32px;
    margin-bottom: 15px;

    position: relative;
}

.intro h2::after {
    content: "";

    display: block;

    width: 60px;
    height: 4px;

    background: #c40000;

    margin: 12px auto;
}

.intro p {
    color: #555;
    font-size: 16px;
}


/* ==============================
   JOURNALISTS GRID
================================= */

.journalists-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}


/* ==============================
   JOURNALIST CARD
================================= */

.journalist-card {
    background: white;

    border-radius: 6px;

    overflow: hidden;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.journalist-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.15);
}


/* JOURNALIST IMAGE */

.journalist-card img {
    width: 100%;
    height: 450px;

    object-fit: cover;

    display: block;
}


/* JOURNALIST INFORMATION */

.journalist-info {
    padding: 25px;
}

.journalist-info h3 {
    font-size: 22px;

    margin-bottom: 5px;
}

.journalist-info span {
    display: block;

    color: #c40000;

    font-size: 14px;
    font-weight: bold;

    margin-bottom: 15px;
}

.journalist-info p {
    color: #555;

    font-size: 14px;

    margin-bottom: 20px;
}


/* PROFILE BUTTON */

.journalist-info a {
    display: inline-block;

    padding: 10px 18px;

    background: #111;
    color: white;

    font-size: 13px;
    font-weight: bold;

    border-radius: 3px;

    transition: 0.3s;
}

.journalist-info a:hover {
    background: #c40000;
}

/* ==============================
   PAGE BANNER
================================= */

.page-banner {
    min-height: 300px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
        ),
        url("images/advertise-banner.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 18px;
}


/* ==============================
   ADVERTISE INTRO
================================= */

.advertise-section {
    max-width: 1200px;
    margin: auto;

    padding: 70px 20px;
}

.intro {
    max-width: 850px;

    margin: 0 auto 50px;

    text-align: center;
}

.intro h2 {
    font-size: 32px;

    margin-bottom: 15px;

    position: relative;
}

.intro h2::after {
    content: "";

    display: block;

    width: 60px;
    height: 4px;

    background: #c40000;

    margin: 12px auto;
}

.intro p {
    color: #555;
    font-size: 16px;
}


/* ==============================
   ADVERTISING OPTIONS
================================= */

.advertising-options {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}

.ad-card {
    background: white;

    padding: 30px 25px;

    text-align: center;

    border-radius: 5px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.ad-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.13);
}

.ad-icon {
    font-size: 38px;

    margin-bottom: 15px;
}

.ad-card h3 {
    font-size: 20px;

    margin-bottom: 12px;
}

.ad-card p {
    color: #666;

    font-size: 14px;
}


/* ==============================
   WHY ADVERTISE
================================= */

.why-advertise {
    background: white;

    padding: 70px 20px;
}

.why-container {
    max-width: 1200px;
    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 50px;

    align-items: center;
}

.why-text h2 {
    font-size: 32px;

    margin-bottom: 15px;
}

.why-text h2::after {
    content: "";

    display: block;

    width: 55px;
    height: 4px;

    background: #c40000;

    margin-top: 10px;
}

.why-text p {
    color: #555;

    margin-bottom: 20px;
}

.why-text ul {
    list-style: none;
}

.why-text li {
    margin-bottom: 10px;

    font-weight: 600;
}

.why-text li::before {
    content: "✓";

    color: #c40000;

    font-weight: bold;

    margin-right: 10px;
}

.why-image img {
    width: 100%;

    height: 350px;

    object-fit: cover;

    border-radius: 5px;
}


/* ==============================
   PACKAGES
================================= */

.packages {
    padding: 70px 20px;

    background: #f5f5f5;
}

.packages-container {
    max-width: 1200px;

    margin: auto;
}

.section-title {
    text-align: center;

    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 32px;

    margin-bottom: 8px;
}

.section-title p {
    color: #666;
}


/* ==============================
   PACKAGE GRID
================================= */

.package-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.package-card {
    position: relative;

    background: white;

    padding: 35px 30px;

    text-align: center;

    border-radius: 5px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08);
}

.package-card h3 {
    font-size: 23px;

    margin-bottom: 15px;
}

.package-card p {
    color: #666;

    font-size: 14px;

    margin-bottom: 25px;
}

.package-card a {
    display: inline-block;

    background: #111;

    color: white;

    padding: 11px 20px;

    font-size: 13px;

    font-weight: bold;

    border-radius: 3px;

    transition: 0.3s;
}

.package-card a:hover {
    background: #c40000;
}


/* FEATURED PACKAGE */

.package-card.featured {
    border-top: 5px solid #c40000;
}

.popular {
    display: inline-block;

    background: #c40000;

    color: white;

    padding: 5px 12px;

    font-size: 11px;

    font-weight: bold;

    margin-bottom: 15px;

    border-radius: 3px;
}


/* ==============================
   CTA
================================= */

.advertise-cta {
    background: #111;

    color: white;

    text-align: center;

    padding: 70px 20px;
}

.cta-content {
    max-width: 750px;

    margin: auto;
}

.cta-content h2 {
    font-size: 34px;

    margin-bottom: 12px;
}

.cta-content p {
    color: #ccc;

    margin-bottom: 25px;
}

.cta-content a {
    display: inline-block;

    background: #c40000;

    color: white;

    padding: 13px 25px;

    font-weight: bold;

    border-radius: 3px;

    transition: 0.3s;
}

.cta-content a:hover {
    background: white;

    color: #111;
}

/* ==============================
   PAGE BANNER
================================= */

.page-banner {
    min-height: 300px;

    background:
        linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url("images/advertise-banner.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 18px;
}


/* ==============================
   ADVERTISE INTRO
================================= */

.advertise-section {
    max-width: 1200px;
    margin: auto;

    padding: 70px 20px;
}

.intro {
    max-width: 850px;

    margin: 0 auto 50px;

    text-align: center;
}

.intro h2 {
    font-size: 32px;

    margin-bottom: 15px;

    position: relative;
}

.intro h2::after {
    content: "";

    display: block;

    width: 60px;
    height: 4px;

    background: #c40000;

    margin: 12px auto;
}

.intro p {
    color: #555;
    font-size: 16px;
}


/* ==============================
   ADVERTISING OPTIONS
================================= */

.advertising-options {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}

.ad-card {
    background: white;

    padding: 30px 25px;

    text-align: center;

    border-radius: 5px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.ad-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.13);
}

.ad-icon {
    font-size: 38px;

    margin-bottom: 15px;
}

.ad-card h3 {
    font-size: 20px;

    margin-bottom: 12px;
}

.ad-card p {
    color: #666;

    font-size: 14px;
}


/* ==============================
   WHY ADVERTISE
================================= */

.why-advertise {
    background: white;

    padding: 70px 20px;
}

.why-container {
    max-width: 1200px;
    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 50px;

    align-items: center;
}

.why-text h2 {
    font-size: 32px;

    margin-bottom: 15px;
}

.why-text h2::after {
    content: "";

    display: block;

    width: 55px;
    height: 4px;

    background: #c40000;

    margin-top: 10px;
}

.why-text p {
    color: #555;

    margin-bottom: 20px;
}

.why-text ul {
    list-style: none;
}

.why-text li {
    margin-bottom: 10px;

    font-weight: 600;
}

.why-text li::before {
    content: "✓";

    color: #c40000;

    font-weight: bold;

    margin-right: 10px;
}

.why-image img {
    width: 100%;

    height: 500px;

    object-fit: cover;

    border-radius: 100px;
}


/* ==============================
   PACKAGES
================================= */

.packages {
    padding: 70px 20px;

    background: #f5f5f5;
}

.packages-container {
    max-width: 1200px;

    margin: auto;
}

.section-title {
    text-align: center;

    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 32px;

    margin-bottom: 8px;
}

.section-title p {
    color: #666;
}


/* ==============================
   PACKAGE GRID
================================= */

.package-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.package-card {
    position: relative;

    background: white;

    padding: 35px 30px;

    text-align: center;

    border-radius: 5px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08);
}

.package-card h3 {
    font-size: 23px;

    margin-bottom: 15px;
}

.package-card p {
    color: #666;

    font-size: 14px;

    margin-bottom: 25px;
}

.package-card a {
    display: inline-block;

    background: #111;

    color: white;

    padding: 11px 20px;

    font-size: 13px;

    font-weight: bold;

    border-radius: 3px;

    transition: 0.3s;
}

.package-card a:hover {
    background: #c40000;
}


/* FEATURED PACKAGE */

.package-card.featured {
    border-top: 5px solid #c40000;
}

.popular {
    display: inline-block;

    background: #c40000;

    color: white;

    padding: 5px 12px;

    font-size: 11px;

    font-weight: bold;

    margin-bottom: 15px;

    border-radius: 3px;
}


/* ==============================
   CTA
================================= */

.advertise-cta {
    background: #111;

    color: white;

    text-align: center;

    padding: 70px 20px;
}

.cta-content {
    max-width: 750px;

    margin: auto;
}

.cta-content h2 {
    font-size: 34px;

    margin-bottom: 12px;
}

.cta-content p {
    color: #ccc;

    margin-bottom: 25px;
}

.cta-content a {
    display: inline-block;

    background: #c40000;

    color: white;

    padding: 13px 25px;

    font-weight: bold;

    border-radius: 3px;

    transition: 0.3s;
}

.cta-content a:hover {
    background: white;

    color: #111;
}
/* ==============================
   PAGE BANNER
================================= */

.page-banner {
    min-height: 300px;

    background:
        linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url("images/contact-banner.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 18px;
}


/* ==============================
   CONTACT SECTION
================================= */

.contact-section {
    padding: 70px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1.2fr;

    gap: 40px;
}


/* ==============================
   CONTACT INFORMATION
================================= */

.contact-info {
    background: white;

    padding: 40px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h2,
.contact-form h2 {
    font-size: 30px;

    margin-bottom: 15px;

    position: relative;
}

.contact-info h2::after,
.contact-form h2::after {
    content: "";

    display: block;

    width: 55px;
    height: 4px;

    background: #c40000;

    margin-top: 10px;
}

.contact-info>p {
    color: #555;

    margin-bottom: 30px;
}


/* ==============================
   INFORMATION BOXES
================================= */

.info-box {
    display: flex;

    flex-direction: column;

    gap: 25px;
}

.info-item {
    border-bottom: 1px solid #eee;

    padding-bottom: 20px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item h3 {
    font-size: 17px;

    margin-bottom: 5px;
}

.info-item p {
    color: #666;

    font-size: 14px;
}


/* ==============================
   CONTACT FORM
================================= */

.contact-form {
    background: white;

    padding: 40px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-weight: bold;

    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid #ddd;

    border-radius: 3px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    outline: none;

    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #c40000;
}

.form-group textarea {
    resize: vertical;
}


/* ==============================
   SUBMIT BUTTON
================================= */

.contact-form button {
    border: none;

    background: #c40000;
    color: white;

    padding: 13px 25px;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;

    border-radius: 3px;

    transition: 0.3s;
}

.contact-form button:hover {
    background: #111;
}


/* ==============================
   NEWS TIP SECTION
================================= */

.news-tip {
    background: #111;

    color: white;

    text-align: center;

    padding: 60px 20px;
}

.news-tip-content {
    max-width: 700px;

    margin: auto;
}

.news-tip h2 {
    font-size: 30px;

    margin-bottom: 10px;
}

.news-tip p {
    color: #ccc;

    margin-bottom: 25px;
}

.news-tip a {
    display: inline-block;

    background: #c40000;

    color: white;

    padding: 12px 25px;

    font-weight: bold;

    border-radius: 3px;

    transition: 0.3s;
}

.news-tip a:hover {
    background: white;
    color: #111;
}


/* =========================
   ACCESSIBILITY BANNER
========================= */

.accessibility-banner {
    min-height: 300px;

    background:
        linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url("images/accessibility-banner.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;
}

.banner-content {
    max-width: 750px;
    padding: 30px 20px;
}

.banner-content span {
    color: #ff3333;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;
}

.banner-content h1 {
    font-size: 48px;

    margin: 8px 0;
}

.banner-content p {
    color: #ddd;

    font-size: 18px;
}


/* =========================
   CONTAINER
========================= */

.container {
    max-width: 950px;

    margin: 0;

    padding: 60px 20px;
}


/* =========================
   CONTENT
========================= */

.accessibility-content {
    background: white;

    padding: 45px 50px;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.06);
}


/* =========================
   LAST UPDATED
========================= */

.last-updated {
    display: inline-block;

    background: #f5f5f5;

    color: #666;

    padding: 8px 14px;

    margin-bottom: 25px;

    font-size: 13px;
}


/* =========================
   SECTIONS
========================= */

.accessibility-content section {
    padding: 30px 0;

    border-top: 1px solid #ddd;
}

.accessibility-content section:first-of-type {
    border-top: none;
}

.accessibility-content h2 {
    font-size: 24px;

    color: #111;

    margin-bottom: 13px;
}

.accessibility-content h3 {
    font-size: 19px;

    margin-bottom: 8px;
}

.accessibility-content p {
    color: #555;

    margin-bottom: 15px;
}


/* =========================
   LIST
========================= */

.accessibility-content ul {
    margin: 15px 0 15px 25px;
}

.accessibility-content li {
    color: #555;

    margin-bottom: 8px;
}


/* =========================
   FEEDBACK BOX
========================= */

.feedback-box {
    background: #f8f8f8;

    border-left: 4px solid #c40000;

    padding: 25px;

    margin-top: 25px;
}

.feedback-box h3 {
    color: #111;
}

.feedback-box p {
    margin-bottom: 18px;
}

.feedback-box a {
    display: inline-block;

    background: #c40000;

    color: white;

    padding: 12px 20px;

    font-weight: bold;
}

.feedback-box a:hover {
    background: #900000;
}


/* =========================
   CONTACT BUTTON
========================= */

.contact-button {
    display: inline-block;

    background: #c40000;

    color: white;

    padding: 12px 24px;

    margin-top: 8px;

    font-weight: bold;
}

.contact-button:hover {
    background: #900000;
}
/* =========================
   PRIVACY BANNER
========================= */

.privacy-banner {
    height: 150px;

    background:
        linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(238, 104, 104, 0.7)),
        url("images/privacy-banner.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;
}

.banner-content {
    padding: 30px 20px;
}

.banner-content span {
    color: #ff3333;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.banner-content h1 {
    font-size: 48px;
    margin: 8px 0;
}

.banner-content p {
    color: #ddd;
    font-size: 18px;
}


/* =========================
   CONTAINER
========================= */

.container {
    max-width: 800px;
    margin: 0;
    padding: 60px 20px;
}


/* =========================
   PRIVACY CONTENT
========================= */

.privacy-content {
    background: white;
    padding: 45px 50px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.last-updated {
    display: inline-block;

    background: #f5f5f5;
    color: #666;

    padding: 8px 14px;

    margin-bottom: 25px;

    font-size: 13px;
}

.privacy-content>p {
    color: #555;
    margin-bottom: 18px;
}

.privacy-content section {
    padding: 30px 0;

    border-top: 1px solid #ddd;
}

.privacy-content section:first-of-type {
    margin-top: 20px;
}

.privacy-content h2 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #111;
}

.privacy-content section p {
    color: #555;
    margin-bottom: 15px;
}

.privacy-content ul {
    margin: 15px 0 15px 25px;
}

.privacy-content li {
    color: #555;
    margin-bottom: 8px;
}


/* =========================
   CONTACT BUTTON
========================= */

.contact-button {
    display: inline-block;

    margin-top: 10px;

    background: #c40000;
    color: white;

    padding: 12px 24px;

    font-weight: bold;
}

.contact-button:hover {
    background: #900000;
}
/* =========================
   COOKIE BANNER
========================= */

.cookie-banner {
    min-height: 300px;

    background:
        linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url("images/cookie-banner.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;
}

.banner-content {
    max-width: 450px;

    padding: 30px 20px;
}

.banner-content span {
    color: #ff3333;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;
}

.banner-content h1 {
    font-size: 48px;

    margin: 8px 0;
}

.banner-content p {
    color: #ddd;

    font-size: 18px;
}


/* =========================
   MAIN CONTAINER
========================= */

.container {
    max-width: 950px;

    margin: auto;

    padding: 60px 20px;
}


/* =========================
   COOKIE CONTENT
========================= */

.cookie-content {
    background: white;

    padding: 45px 50px;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.06);
}

.last-updated {
    display: inline-block;

    background: #f5f5f5;

    color: #666;

    padding: 8px 14px;

    margin-bottom: 25px;

    font-size: 13px;
}


/* =========================
   SECTIONS
========================= */

.cookie-content section {
    padding: 30px 0;

    border-top: 1px solid #ddd;
}

.cookie-content section:first-of-type {
    border-top: none;
}

.cookie-content h2 {
    font-size: 24px;

    color: #111;

    margin-bottom: 13px;
}

.cookie-content h3 {
    font-size: 19px;

    margin-bottom: 8px;
}

.cookie-content p {
    color: #555;

    margin-bottom: 15px;
}


/* =========================
   LIST
========================= */

.cookie-content ul {
    margin: 15px 0 15px 25px;
}

.cookie-content li {
    color: #555;

    margin-bottom: 8px;
}


/* =========================
   COOKIE TYPES
========================= */

.cookie-type {
    background: #f8f8f8;

    padding: 20px;

    margin: 15px 0;

    border-left: 4px solid #c40000;
}

.cookie-type p {
    margin-bottom: 0;
}


/* =========================
   IMPORTANT NOTICE
========================= */

.notice {
    background: #fff4f4;

    border-left: 4px solid #c40000;

    padding: 18px 20px;

    margin-top: 20px;
}

.notice strong {
    color: #c40000;
}

.notice p {
    margin-top: 5px;
    margin-bottom: 0;
}
/* ================================
   COMMENTS & SOCIAL SHARING
================================ */

.comments-section {
    margin-top: 35px;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
}

.comments-section h2 {
    font-size: 28px;
    margin: 0 0 8px;
    color: #071d3a;
}

.comments-section h2 span {
    font-size: 18px;
    color: #071d3a;
    font-weight: normal;
}

.comments-section > p {
    color: #666;
    margin-bottom: 20px;
}

.comments-list {
    margin-bottom: 25px;
}

.comment {
    padding: 15px;
    margin-bottom: 12px;
    background: #f7f7f7;
    border-left: 4px solid #c8102e;
    border-radius: 5px;
}

.comment strong {
    display: block;
    color: #071d3a;
    font-size: 16px;
}

.comment small {
    display: block;
    color: #888;
    margin: 4px 0 8px;
}

.comment p {
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.comments-section input,
.comments-section textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.comments-section textarea {
    min-height: 120px;
    resize: vertical;
}

.comments-section input:focus,
.comments-section textarea:focus {
    outline: none;
    border-color: #071d3a;
}

.comments-section button {
    background: #c8102e;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.comments-section button:hover {
    background: #a80d25;
}
.story-link,
.small-story {
    text-decoration: none;
    color: inherit;
}

.story-link {
    display: block;
}

.small-story {
    display: flex;
}

.story-link h1,
.story-link h2,
.story-link h3,
.small-story h3 {
    color: inherit;
}

.story-link:hover h1,
.story-link:hover h3,
.small-story:hover h3 {
    text-decoration: underline;
}

/* SOCIAL SHARE */

.share-section {
    margin-top: 30px;
    padding: 22px;
    background: #071d3a;
    border-radius: 10px;
    text-align: center;
}

.share-section h3 {
    color: white;
    margin: 0 0 15px;
    font-size: 22px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.share-buttons button,
.share-buttons a {
    display: inline-block;
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    background: white;
    color: #071d3a;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.share-buttons button:hover,
.share-buttons a:hover {
    background: #c8102e;
    color: white;
}


/* MOBILE */

@media (max-width: 600px) {

    .comments-section {
        padding: 18px;
        margin-top: 25px;
    }

    .comments-section h2 {
        font-size: 24px;
    }

    .share-section {
        padding: 18px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-buttons button,
    .share-buttons a {
        width: 100%;
    }

  

/* =========================
   CONTACT BUTTON
========================= */

.contact-button {
    display: inline-block;

    background: #c40000;

    color: white;

    padding: 12px 24px;

    margin-top: 8px;

    font-weight: bold;
}

.contact-button:hover {
    background: #900000;
}
 /* =========================================================
   HOMEPAGE SLIDER TEXT
========================================================= */

.news-slider .caption {
    text-align: left;
    padding: 15px 20px;
}

.news-slider .caption .category {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: bold;
}

.news-slider .caption h2 {
    text-align: left;
    margin: 0 0 10px 0;
}

.news-slider .caption p {
    text-align: center;
    margin: 0;
}
.news-slider .caption {
    text-align: left;
    padding: 15px 20px;
}

.news-slider .caption .category {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: bold;
}

.news-slider .caption h2 {
    text-align: left;
    margin: 0 0 10px 0;
}

.news-slider .caption p {
    text-align: left;
    margin: 0;
}

/* ==================================================
   CLICKABLE SLIDER IMAGE AND HEADLINE
   ================================================== */

.news-slider .slide > a {
    display: block;
    width: 100%;
    height: 100%;
}

.news-slider .caption h2 a {
    color: #fff;
    text-decoration: none;
}

.news-slider .caption h2 a:hover {
    text-decoration: underline;
}
.newsletter-message {
    margin-top: 15px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.newsletter-message.success {
    color: #16803c;
}
main.advertise-page {
    width: auto !important;
    margin-left: 30px !important;
    margin-right: 30px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

main.advertise-page > section {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* INDEX PAGE CATEGORY NEWS IMAGES */
.category-content .news-card > a {
    display: block;
    width: 100%;
}

.category-content .news-card > a img {
    display: block;
    width: 100% !important;
    height: 750px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 auto;
}
/* Center article featured image */
.article-image {
    width: 100%;
    text-align: center;
    margin: 25px auto;
}

.article-image img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}
.news-card > img {
    width: 100%;
    height: 450px;
    display: block;
    object-fit: cover;
    object-position: center;
}
.back-home {
    display: inline-block;
    margin-bottom: 20px;
    color: #b22234;
    text-decoration: none;
    font-weight: bold;
}

.back-home:hover {
    text-decoration: underline;
}

/* =========================================================
   MOBILE NAVIGATION
   THE ESSENCE LIBERIA
========================================================= */

@media (max-width: 768px) {

    /* Prevent the page from becoming wider than the phone */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Navigation container */
    nav,
    .navbar,
    .navigation,
    .nav-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Navigation list */
    nav ul,
    .navbar ul,
    .navigation ul,
    .nav-container ul {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    /* Navigation links */
    nav a,
    .navbar a,
    .navigation a,
    .nav-container a {
        display: block;
        box-sizing: border-box;
        padding: 10px 8px;
        font-size: 13px;
    }

    /* Search box */
    #searchForm {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    #searchInput {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Header */
    .news-header,
    .main-header {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Images must stay inside the phone */
    img {
        max-width: 100%;
    }

    /* Article containers */
    .article-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }

}
/* =========================================================
   THE ESSENCE LIBERIA
   HOMEPAGE MOBILE RESPONSIVE FIX
========================================================= */

@media (max-width: 768px) {

    /* Prevent horizontal overflow */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }

    /* =====================================================
       NAVIGATION
    ===================================================== */

    nav,
    .navbar,
    .navigation,
    .nav-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    nav ul,
    .navbar ul,
    .navigation ul,
    .nav-container ul {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    nav li,
    .navbar li,
    .navigation li,
    .nav-container li {
        max-width: 100%;
    }

    nav a,
    .navbar a,
    .navigation a,
    .nav-container a {
        display: block;
        padding: 8px 7px;
        font-size: 12px;
        white-space: normal;
    }

    /* =====================================================
       HOMEPAGE MAIN CONTAINERS
    ===================================================== */

    main,
    .news-main,
    .main-content,
    .content,
    .container {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        overflow-x: hidden;
    }

    /* =====================================================
       IMAGES
    ===================================================== */

    img {
        max-width: 100%;
        height: auto;
    }

    /* =====================================================
       CATEGORY GRIDS
    ===================================================== */

    .category-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .news-card img,
    .news-card > img,
    .news-image {
        width: 100%;
        max-width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
    }

    .news-card h2,
    .news-card h3 {
        font-size: 20px;
        line-height: 1.35;
    }

    /* =====================================================
       TOP STORIES
    ===================================================== */

    .top-stories,
    .top-stories-section,
    .slider,
    .slider-container,
    .slides,
    .slide {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .slide img {
        width: 100%;
        max-width: 100%;
        height: 250px;
        object-fit: cover;
    }

    /* =====================================================
       NEWSLETTER
    ===================================================== */

    .newsletter-section,
    .newsletter,
    .newsletter-box {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 25px 15px;
        overflow: hidden;
    }

    .newsletter-section input,
    .newsletter input,
    .newsletter-box input {
        width: 100%;
        max-width: 100%;
        min-height: 45px;
    }

    .newsletter-section button,
    .newsletter button,
    .newsletter-box button {
        width: 100%;
        max-width: 100%;
        min-height: 45px;
    }

    /* =====================================================
       SIDEBAR ADVERTISEMENT
    ===================================================== */

    aside,
    .sidebar,
    .news-sidebar {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    aside img,
    .sidebar img,
    .news-sidebar img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

    /* Advertisement containers */
    .advertisement,
    .advertisement-container,
    .ad-container,
    .ad-box {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .advertisement img,
    .advertisement-container img,
    .ad-container img,
    .ad-box img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* =====================================================
       FOOTER
    ===================================================== */

    footer {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    footer img {
        max-width: 100%;
        height: auto;
    }

    footer .footer-container,
    footer .footer-content,
    footer .footer-grid {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    footer h2,
    footer h3 {
        font-size: 19px;
    }

    footer p,
    footer a,
    footer li {
        font-size: 14px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    nav a,
    .navbar a,
    .navigation a,
    .nav-container a {
        padding: 7px 5px;
        font-size: 11px;
    }

    .news-card img,
    .news-card > img,
    .news-image {
        height: 200px;
    }

    .slide img {
        height: 220px;
    }

}
/* =========================================
   TECHNOLOGY PAGE FOOTER
========================================= */

footer {
    width: 100%;
    max-width: 100%;
    margin-top: 50px;
    overflow: hidden;
}

footer .footer-container,
footer .footer-content,
footer .footer-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

footer h2,
footer h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

footer p,
footer a,
footer li {
    line-height: 1.6;
}

@media (max-width: 768px) {

    footer {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    footer .footer-container,
    footer .footer-content,
    footer .footer-grid {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    footer h2,
    footer h3 {
        font-size: 19px;
    }

    footer p,
    footer a,
    footer li {
        font-size: 14px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    footer img {
        max-width: 100%;
        height: auto;
    }
}
/* =========================================================
   OUR JOURNALISTS - IMAGE FIX
========================================================= */

.journalists-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.journalist-card {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.journalist-card > img {
    width: 100% !important;
    max-width: 100% !important;
    height: 300px !important;
    min-width: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center top !important;
    box-sizing: border-box;
}

/* TABLETS */
@media (max-width: 900px) {

    .journalists-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journalist-card > img {
        width: 100% !important;
        height: 280px !important;
    }
}

/* MOBILE */
@media (max-width: 600px) {

    .journalists-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .journalist-card {
        width: 100%;
    }

    .journalist-card > img {
        width: 100% !important;
        max-width: 100% !important;
        height: 300px !important;
        min-width: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
    }
}
/* =========================================================
   HOMEPAGE - MAIN CONTENT + LATEST
   CATEGORY CARD IMAGES
   WIDTH: 100%
   HEIGHT: 50% OF WIDTH
   RATIO: 2:1
========================================================= */

.content-layout .category-content .news-category .category-grid {
    width: 100%;
}

.content-layout .category-content .news-category .news-card {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.content-layout .category-content .news-category .news-card > a {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

.content-layout .category-content .news-category .news-card > a > img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
    box-sizing: border-box;
}

/* STORY CONTENT */
.content-layout .category-content .news-category .news-card-body {
    width: 100%;
    padding: 18px 20px 20px;
    box-sizing: border-box;
}

/* HEADLINE */
.content-layout .category-content .news-category .news-card-body h3 {
    margin: 8px 0 12px;
    line-height: 1.35;
}

.content-layout .category-content .news-category .news-card-body h3 a {
    text-decoration: none;
}

/* EXCERPT */
.content-layout .category-content .news-category .news-card-body p {
    margin: 0 0 12px;
    line-height: 1.6;
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 768px) {

    .content-layout .category-content .news-category .category-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .content-layout .category-content .news-category .news-card > a {
        width: 100%;
        aspect-ratio: 2 / 1;
    }

    .content-layout .category-content .news-category .news-card > a > img {
        width: 100% !important;
        height: 100% !important;
    }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .content-layout .category-content .news-category .news-card > a {
        width: 100%;
        aspect-ratio: 2 / 1;
    }

    .content-layout .category-content .news-category .news-card > a > img {
        width: 100% !important;
        height: 100% !important;
    }

    .content-layout .category-content .news-category .news-card-body {
        padding: 16px 15px 18px;
    }
}
/* =========================================================
   INDEX.PHP
   MAIN CONTENT CATEGORY IMAGES
========================================================= */

/* Every category card */
.content-layout .category-content .news-category .category-grid .news-card {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Image link */
.content-layout .category-content .news-category .category-grid .news-card > a {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 2 / 1 !important;
    overflow: hidden !important;
}

/* Actual images */
.content-layout .category-content .news-category .category-grid .news-card > a img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .content-layout .category-content .news-category .category-grid .news-card > a {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 2 / 1 !important;
        height: auto !important;
    }

    .content-layout .category-content .news-category .category-grid .news-card > a img {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
    }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .content-layout .category-content .news-category .category-grid .news-card > a {
        aspect-ratio: 2 / 1 !important;
    }

    .content-layout .category-content .news-category .category-grid .news-card > a img {
        width: 100% !important;
        height: 100% !important;
    }
}
/* =========================================
   THE ESSENCE NEWSLETTER
   MOBILE RESPONSIVE FIX
========================================= */

.newsletter {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Newsletter form */
.newsletter form {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
}

/* Email input */
.newsletter form input[type="email"] {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

/* Subscribe button */
.newsletter form button[type="submit"] {
    box-sizing: border-box;
    flex-shrink: 0;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .newsletter {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 25px 15px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .newsletter h2 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 22px !important;
        line-height: 1.3 !important;
        text-align: center !important;
        margin: 0 0 10px 0 !important;
        box-sizing: border-box !important;
    }

    .newsletter > p {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        text-align: center !important;
        margin: 0 0 18px 0 !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
    }

    .newsletter form {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .newsletter form input[type="email"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        padding: 12px 14px !important;
        margin: 0 !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .newsletter form button[type="submit"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        padding: 12px 14px !important;
        margin: 0 !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .newsletter-message {
        width: 100% !important;
        max-width: 100% !important;
        margin: 15px 0 0 0 !important;
        padding: 10px !important;
        text-align: center !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        overflow-wrap: break-word !important;
        box-sizing: border-box !important;
    }
}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .newsletter {
        padding: 20px 12px !important;
    }

    .newsletter h2 {
        font-size: 20px !important;
    }

    .newsletter > p {
        font-size: 13px !important;
    }

    .newsletter form input[type="email"],
    .newsletter form button[type="submit"] {
        height: 46px !important;
        font-size: 14px !important;
    }
}
/* ==================================================
   ADVERTISEMENT RESPONSIVE OVERRIDE
   ================================================== */

.advertisement-container,
.advertisement-box,
.advertisement-box a {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.advertisement-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
}


/* TABLET */
@media (max-width: 768px) {

    .advertisement-container,
    .advertisement-box,
    .advertisement-box a {
        width: 100% !important;
        max-width: 100% !important;
    }

    .advertisement-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}


/* MOBILE */
@media (max-width: 480px) {

    .advertisement-container,
    .advertisement-box,
    .advertisement-box a {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .advertisement-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}


/* VERY SMALL PHONES */
@media (max-width: 360px) {

    .advertisement-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}
/* =========================================================
   INDEX PAGE
   MOBILE RESPONSIVE CATEGORY IMAGES
   Politics / Business / Health / Education / Sports / Opinion
   Desktop layout remains unchanged
========================================================= */

@media (max-width: 768px) {

    /* Category section */
    .news-category {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    /* Category grid */
    .news-category .category-grid {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Individual news card */
    .news-category .news-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    /* Clickable image link */
    .news-category .news-card > a {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    /* Politics, Business, Health, Education,
       Sports and Opinion images */
    .news-category .news-card img,
    .news-category .news-card > a img,
    .news-category .news-image {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        object-fit: cover;
        object-position: center;
    }

    /* Prevent text/content from pushing the page sideways */
    .news-category .news-card-body {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }

    .news-category .news-card h3,
    .news-category .news-card p {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .news-category .category-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .news-category .news-card img,
    .news-category .news-card > a img,
    .news-category .news-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
    }

}
/* ==================================================
   FORCE MAIN SLIDER TEXT TO CENTER
   ================================================== */

.news-slider .caption,
.news-slider .caption4 {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
}

.news-slider .caption .category,
.news-slider .caption4 .category {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.news-slider .caption h2,
.news-slider .caption4 h2 {
    width: 100% !important;
    text-align: center !important;
}

.news-slider .caption h2 a,
.news-slider .caption4 h2 a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

.news-slider .caption p,
.news-slider .caption4 p {
    width: 100% !important;
    text-align: center !important;
}
}