/* ============================================================
   THE JALANDHAR TIMES
   CLEAN FRONTEND STYLESHEET
   ============================================================ */

:root {
    --red: #d01925;
    --red-dark: #aa111b;
    --black: #111111;
    --dark: #222222;
    --text: #333333;
    --muted: #777777;
    --light: #f6f6f6;
    --border: #e5e5e5;
    --white: #ffffff;

    /* Main desktop width */
    --container: 1320px;

    --radius: 4px;
}


/* ============================================================
   RESET
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--white);
    color: var(--text);

    font-family:
        Arial,
        "Noto Sans Devanagari Variable",
        "Noto Sans Gurmukhi Variable",
        Helvetica,
        sans-serif;

    font-size: 15px;
    line-height: 1.5;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--red);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* ============================================================
   LANGUAGE FONTS
   ============================================================ */

@font-face {
    font-family: "Noto Sans Devanagari Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;

    src:
        url("../fonts/noto-sans-devanagari-devanagari-wght-normal.woff2")
        format("woff2-variations");

    unicode-range:
        U+0900-097F,
        U+1CD0-1CF9,
        U+200C-200D,
        U+20A8,
        U+20B9,
        U+20F0,
        U+25CC,
        U+A830-A839,
        U+A8E0-A8FF,
        U+11B00-11B09;
}

@font-face {
    font-family: "Noto Sans Gurmukhi Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;

    src:
        url("../fonts/noto-sans-gurmukhi-gurmukhi-wght-normal.woff2")
        format("woff2-variations");

    unicode-range:
        U+0951-0952,
        U+0964-0965,
        U+0A01-0A76,
        U+200C-200D,
        U+20B9,
        U+25CC,
        U+262C,
        U+A830-A839;
}


/* ============================================================
   GLOBAL CONTAINER
   ============================================================ */

.container {
    width: calc(100% - 40px);
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

.skip-link {
    position: absolute;

    top: -100px;
    left: 15px;

    z-index: 9999;

    padding: 10px 15px;

    background: var(--white);
    color: var(--black);

    border: 1px solid var(--border);
}

.skip-link:focus {
    top: 10px;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    width: 100%;

    background: var(--white);

    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid var(--border);
}


/* ============================================================
   HEADER MAIN ROW
   ============================================================ */

.header-main {
    min-height: 112px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* ============================================================
   LOGO
   ============================================================ */

.site-logo {
    flex: 0 0 260px;

    width: 260px;
}

.site-logo img {
    width: 260px;
    height: auto;
}


/* ============================================================
   DESKTOP NAVIGATION
   ============================================================ */

.desktop-navigation {
    flex: 1 1 auto;

    min-width: 0;

    display: flex;
    align-items: center;

    gap: 24px;
}

.desktop-navigation a {
    position: relative;

    flex: 0 0 auto;

    min-height: 112px;

    display: flex;
    align-items: center;

    color: var(--black);

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;
}

.desktop-navigation a:hover {
    color: var(--red);
}

.desktop-navigation a[aria-current="page"] {
    color: var(--red);
}

.desktop-navigation a[aria-current="page"]::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background: var(--red);
}


/* ============================================================
   HEADER SEARCH
   ============================================================ */

.header-search {
    flex: 0 0 190px;

    width: 190px;
    height: 42px;

    margin-left: auto;

    display: flex;
    align-items: center;

    background: var(--white);

    border: 1px solid #dddddd;
    border-radius: var(--radius);

    overflow: hidden;
}

.header-search input {
    flex: 1;

    width: 100%;
    min-width: 0;
    height: 40px;

    padding: 0 8px 0 12px;

    border: 0;
    outline: 0;

    background: transparent;

    color: #333333;

    font-size: 12px;
}

.header-search input::placeholder {
    color: #888888;
}

.header-search button {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    background: transparent;

    color: #333333;
}

.header-search button:hover {
    color: var(--red);
}


/* ============================================================
   BREAKING NEWS WRAPPER
   ============================================================ */

.breaking-news-wrapper {
    width: 100%;

    padding: 16px 0;

    background: var(--white);

    border-top: 1px solid #eeeeee;
}

.breaking-news-container {
    height: 52px;

    display: flex;
    align-items: stretch;

    overflow: hidden;
}


/* ============================================================
   BREAKING LABEL
   ============================================================ */

.breaking-label {
    position: relative;

    z-index: 5;

    flex: 0 0 108px;

    width: 108px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--red);
    color: var(--white);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.2px;

    white-space: nowrap;
}


/* ============================================================
   BREAKING MARQUEE
   ============================================================ */

.breaking-marquee {
    position: relative;

    flex: 1;

    min-width: 0;
    height: 52px;

    overflow: hidden;

    background: #faf7f7;
}

.breaking-track {
    display: flex;
    align-items: center;

    width: max-content;
    height: 52px;

    will-change: transform;

    animation:
        breaking-marquee
        50s
        linear
        infinite;
}

.breaking-content {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    height: 52px;
}

.breaking-item {
    flex-shrink: 0;

    height: 52px;

    display: flex;
    align-items: center;

    padding: 0 27px;

    color: #292929;

    font-size: 13px;
    font-weight: 400;

    white-space: nowrap;
}

a.breaking-item:hover {
    color: var(--red);
}

.breaking-divider {
    flex: 0 0 1px;

    width: 1px;
    height: 21px;

    background: #e2cccc;
}

@keyframes breaking-marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

.breaking-marquee:hover .breaking-track {
    animation-play-state: paused;
}


/* ============================================================
   HOMEPAGE
   ============================================================ */

.home-content {
    padding-top: 26px;
}


/* ============================================================
   SECTION HEADING
   ============================================================ */

.home-section {
    margin: 0 0 48px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
    padding-bottom: 12px;

    border-bottom: 1px solid var(--border);
}

.section-heading h2 {
    position: relative;

    margin: 0;

    color: var(--black);

    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;

    letter-spacing: -0.4px;
}

.section-heading h2::before {
    display: none;
}

.section-heading h2::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -13px;

    width: 48px;
    height: 3px;

    background: var(--red);
}

.section-heading > a {
    flex: 0 0 auto;

    color: var(--red);

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}


/* ============================================================
   TOP STORIES
   ============================================================ */

.home-lead-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(350px, 0.85fr);

    gap: 34px;

    align-items: start;
}


/* ============================================================
   MAIN LEAD STORY
   ============================================================ */

.home-lead {
    min-width: 0;
}

.home-lead-photo {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: var(--light);

    border-radius: var(--radius);
}

.home-lead-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.home-lead-photo:hover img {
    transform: scale(1.02);
}

.home-kicker {
    display: inline-block;

    margin: 13px 0 6px;

    color: var(--red);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.6px;

    text-transform: uppercase;
}

.home-lead h1 {
    max-width: 900px;

    margin: 0 0 9px;

    color: var(--black);

    font-size: clamp(25px, 2vw, 34px);
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: -0.3px;
}

.home-lead h1 a:hover {
    color: var(--red);
}

.home-summary {
    max-width: 850px;

    margin: 7px 0 9px;

    color: #666666;

    font-size: 14px;
    line-height: 1.65;
}

.home-date {
    display: block;

    color: #929292;

    font-size: 10px;
    line-height: 1.5;
}


/* ============================================================
   TOP STORY SIDE LIST
   ============================================================ */

.home-briefs {
    min-width: 0;
}

.home-brief {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        125px;

    gap: 17px;

    padding-bottom: 18px;
    margin-bottom: 18px;

    border-bottom: 1px solid var(--border);
}

.home-brief:last-child {
    margin-bottom: 0;
}

.home-brief.text-only {
    grid-template-columns: 1fr;
}

.home-brief > div {
    min-width: 0;
}

.home-brief .home-kicker {
    margin-top: 0;
}

.home-brief h3 {
    margin: 0 0 7px;

    color: var(--black);

    font-size: 16px;
    line-height: 1.42;
    font-weight: 700;
}

.home-brief h3 a:hover {
    color: var(--red);
}

.home-thumb {
    display: block;

    width: 125px;

    aspect-ratio: 3 / 2;

    overflow: hidden;

    background: var(--light);
}

.home-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ============================================================
   LATEST NEWS + MOST READ
   ============================================================ */

.home-latest-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 40px;

    align-items: start;
}


/* ============================================================
   LATEST NEWS GRID
   ============================================================ */

.home-latest-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px 24px;
}

.home-card {
    min-width: 0;

    padding-bottom: 18px;

    border-bottom: 1px solid var(--border);
}

.home-card-photo {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: var(--light);

    border-radius: var(--radius);
}

.home-card-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.home-card:hover .home-card-photo img {
    transform: scale(1.025);
}

.home-card h3 {
    margin: 0 0 8px;

    color: var(--black);

    font-size: 17px;
    line-height: 1.42;
    font-weight: 700;
}


/* ============================================================
   MOST READ
   ============================================================ */

.home-popular {
    align-self: start;

    padding: 20px;

    background: #f7f7f7;

    border-top: 3px solid var(--red);
}

.home-popular h2 {
    margin: 0 0 13px;

    color: var(--black);

    font-size: 19px;
    font-weight: 800;
}

.home-popular ol {
    margin: 0;
    padding: 0;

    list-style: none;

    counter-reset: rank;
}

.home-popular li {
    counter-increment: rank;

    display: grid;

    grid-template-columns:
        30px
        minmax(0, 1fr);

    gap: 10px;

    padding: 14px 0;

    border-top: 1px solid #e3e3e3;

    color: #222222;

    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.home-popular li::before {
    content: counter(rank, decimal-leading-zero);

    color: var(--red);

    font-size: 12px;
    font-weight: 800;
}


/* ============================================================
   HOMEPAGE CATEGORY SECTIONS
   ============================================================ */

.home-category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}

.home-category-card {
    min-width: 0;
}

.home-category-card .home-card-photo {
    margin-bottom: 11px;
}

.home-category-card h3 {
    margin: 0 0 8px;

    color: var(--black);

    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.home-category-card.text-only {
    padding-top: 13px;

    border-top: 2px solid #eeeeee;
}


/* ============================================================
   GENERAL NEWS LIST / CATEGORY PAGES
   ============================================================ */

.page-section {
    margin-top: 38px;
}

.content-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 35px;

    align-items: start;
}

.news-list-area {
    min-width: 0;
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-card {
    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr);

    gap: 20px;

    padding-bottom: 20px;
    margin-bottom: 20px;

    border-bottom: 1px solid var(--border);
}

.news-card-image {
    display: block;

    width: 220px;
    height: 145px;

    overflow: hidden;

    background: var(--light);

    border-radius: var(--radius);
}

.news-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.03);
}

.news-card-content {
    min-width: 0;
}

.news-card-content > h3 {
    margin: 4px 0 8px;

    color: var(--black);

    font-size: 20px;
    line-height: 1.4;
}

.news-card-content > p {
    margin: 0;

    color: #666666;

    font-size: 14px;
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    color: var(--muted);

    font-size: 10px;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.sidebar-box {
    border: 1px solid var(--border);

    background: var(--white);

    overflow: hidden;
}

.sidebar-title {
    padding: 11px 14px;

    background: var(--black);
    color: var(--white);

    font-size: 14px;
    font-weight: 800;
}

.sidebar-news {
    padding: 14px;

    color: #777777;

    font-size: 13px;
}

.trending-sidebar-item {
    display: grid;

    grid-template-columns:
        28px
        minmax(0, 1fr);

    gap: 10px;

    padding: 12px;

    border-bottom: 1px solid var(--border);
}

.trending-sidebar-item:last-child {
    border-bottom: 0;
}

.trending-sidebar-item > span {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--red);
    color: var(--white);

    border-radius: 50%;

    font-size: 10px;
    font-weight: 800;
}

.trending-sidebar-item a {
    color: var(--dark);

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.trending-sidebar-item time {
    display: block;

    margin-top: 4px;

    color: #999999;

    font-size: 9px;
}


/* ============================================================
   CATEGORY PAGE
   ============================================================ */

.category-header {
    margin-bottom: 30px;
    padding: 25px 0;

    border-bottom: 1px solid var(--border);
}

.category-header h1 {
    margin: 0;

    color: var(--black);

    font-size: 38px;
    line-height: 1.2;
}

.category-header p {
    max-width: 760px;

    margin: 10px 0 0;

    color: #666666;

    font-size: 15px;
}

.category-news-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}

.category-news-card {
    min-width: 0;
}

.category-news-card h3 {
    margin: 9px 0 6px;

    color: var(--black);

    font-size: 16px;
    line-height: 1.4;
}


/* ============================================================
   ARTICLE PAGE
   ============================================================ */

.article-breadcrumb {
    margin-bottom: 22px;

    color: #888888;

    font-size: 12px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        310px;

    gap: 42px;
}

.article-title {
    margin: 0;

    color: var(--black);

    font-size: 44px;
    line-height: 1.12;
    font-weight: 800;
}

.article-excerpt {
    margin: 17px 0 0;

    color: #555555;

    font-size: 19px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 15px;

    margin-top: 18px;
    padding-bottom: 18px;

    border-bottom: 1px solid var(--border);

    color: #777777;

    font-size: 12px;
}

.article-featured-image {
    width: 100%;

    margin: 25px 0;

    overflow: hidden;

    background: var(--light);
}

.article-featured-image img {
    width: 100%;
    height: auto;

    max-height: 650px;

    object-fit: cover;
}

.article-content {
    color: #222222;

    font-size: 18px;
    line-height: 1.85;
}

.article-content p {
    margin: 0 0 22px;
}

.article-content h2 {
    margin: 35px 0 15px;

    font-size: 28px;
    line-height: 1.3;
}

.article-content h3 {
    margin: 30px 0 12px;

    font-size: 23px;
    line-height: 1.3;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

.article-content a {
    color: var(--red);
}

.article-share {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin: 25px 0;
    padding: 17px 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


/* ============================================================
   SEARCH PAGE
   ============================================================ */

.search-page {
    padding: 30px 0 60px;
}

.search-header {
    margin-bottom: 25px;
}

.search-header h1 {
    margin: 0 0 7px;

    color: var(--black);

    font-size: 32px;
}

.search-header p {
    margin: 0;

    color: #777777;

    font-size: 14px;
}

.search-form {
    display: flex;

    gap: 8px;

    margin-bottom: 30px;
}

.search-form input {
    flex: 1;

    min-width: 0;
    height: 44px;

    padding: 0 13px;

    border: 1px solid #cccccc;
    border-radius: 3px;

    outline: none;
}

.search-form input:focus {
    border-color: var(--red);
}

.search-form button {
    height: 44px;

    padding: 0 20px;

    border: 0;
    border-radius: 3px;

    background: var(--red);
    color: var(--white);

    font-size: 13px;
    font-weight: 800;
}

.search-empty {
    padding: 45px 20px;

    border: 1px solid var(--border);

    text-align: center;
}


/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 30px;
}

.pagination a {
    min-width: 36px;
    height: 36px;

    padding: 0 11px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 3px;

    color: var(--black);

    font-size: 12px;
    font-weight: 700;
}

.pagination a:hover,
.pagination a.active {
    background: var(--red);
    border-color: var(--red);

    color: var(--white);
}


/* ============================================================
   ADVERTISEMENT
   ============================================================ */

.top-ad {
    width: 100%;
    min-height: 90px;

    margin: 22px 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fafafa;

    border: 1px solid #eeeeee;

    color: #aaaaaa;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}


/* ============================================================
   RESPONSIVE - LARGE LAPTOP
   ============================================================ */

@media (max-width: 1250px) {

    .header-main {
        gap: 20px;
    }

    .site-logo {
        flex-basis: 210px;
        width: 210px;
    }

    .site-logo img {
        width: 210px;
    }

    .desktop-navigation {
        gap: 17px;
    }

    .desktop-navigation a {
        font-size: 13px;
    }

    .header-search {
        flex-basis: 155px;
        width: 155px;
    }

}


/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */

@media (max-width: 1000px) {

    .header-main {
        min-height: auto;

        padding-top: 14px;
        padding-bottom: 0;

        flex-wrap: wrap;

        gap: 12px 20px;
    }

    .site-logo {
        flex-basis: 190px;
        width: 190px;
    }

    .site-logo img {
        width: 190px;
    }

    .header-search {
        flex: 0 0 220px;

        width: 220px;

        margin-left: auto;
    }

    .desktop-navigation {
        order: 3;

        flex: 0 0 100%;

        width: 100%;

        gap: 24px;

        overflow-x: auto;

        scrollbar-width: none;
    }

    .desktop-navigation::-webkit-scrollbar {
        display: none;
    }

    .desktop-navigation a {
        min-height: 48px;

        font-size: 14px;
    }

    .home-lead-grid {
        grid-template-columns:
            minmax(0, 1.3fr)
            minmax(280px, 0.8fr);

        gap: 25px;
    }

    .home-latest-layout {
        grid-template-columns:
            minmax(0, 1fr)
            260px;

        gap: 28px;
    }

    .home-category-grid,
    .category-news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .content-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   RESPONSIVE - MOBILE / LARGE PHONE
   ============================================================ */

@media (max-width: 700px) {

    .container {
        width: calc(100% - 24px);
    }

    .header-main {
        padding-top: 11px;
    }

    .site-logo {
        flex-basis: 155px;
        width: 155px;
    }

    .site-logo img {
        width: 155px;
    }

    .header-search {
        flex: 1;

        min-width: 130px;

        height: 38px;
    }

    .header-search input {
        height: 36px;

        font-size: 11px;
    }

    .header-search button {
        height: 36px;
    }

    .desktop-navigation {
        gap: 21px;
    }

    .desktop-navigation a {
        min-height: 44px;

        font-size: 12px;
    }


    /* Breaking */

    .breaking-news-wrapper {
        padding: 10px 0;
    }

    .breaking-news-container {
        height: 44px;
    }

    .breaking-label {
        flex-basis: 78px;

        width: 78px;
        height: 44px;

        font-size: 9px;
    }

    .breaking-marquee,
    .breaking-track,
    .breaking-content {
        height: 44px;
    }

    .breaking-item {
        height: 44px;

        padding: 0 18px;

        font-size: 18px;
    }


    /* Homepage */

    .home-content {
        padding-top: 20px;
    }

    .home-section {
        margin-bottom: 35px;
    }

    .section-heading {
        margin-bottom: 17px;
    }

    .section-heading h2 {
        font-size: 21px;
    }

    .home-lead-grid {
        display: block;
    }

    .home-lead h1 {
        font-size: 24px;
    }

    .home-briefs {
        margin-top: 28px;
        padding-top: 20px;

        border-top: 1px solid var(--border);
    }

    .home-brief {
        grid-template-columns:
            minmax(0, 1fr)
            110px;
    }

    .home-latest-layout {
        display: block;
    }

    .home-latest-grid {
        gap: 20px 14px;
    }

    .home-popular {
        margin: 10px 0 35px;
    }

    .home-category-grid,
    .category-news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px 14px;
    }

    .home-category-card h3,
    .home-card h3 {
        font-size: 14px;
    }

    .news-card {
        grid-template-columns:
            120px
            minmax(0, 1fr);

        gap: 13px;
    }

    .news-card-image {
        width: 120px;
        height: 85px;
    }

    .article-title {
        font-size: 30px;
    }

    .article-excerpt {
        font-size: 17px;
    }

    .article-content {
        font-size: 17px;
        line-height: 1.75;
    }

    .clean-footer-inner {
        display: block;
    }

    .clean-footer-links {
        margin-top: 24px;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .site-logo {
        flex-basis: 145px;
        width: 145px;
    }

    .site-logo img {
        width: 145px;
    }

    .home-latest-grid {
        grid-template-columns: 1fr;
    }

    .home-category-grid,
    .category-news-grid {
        grid-template-columns: 1fr;
    }

    .home-brief {
        grid-template-columns:
            minmax(0, 1fr)
            95px;
    }

    .home-thumb {
        width: 95px;
    }

    .category-header h1 {
        font-size: 29px;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .breaking-track {
        animation: none;
    }

}

/* ============================================================
   MOBILE HEADER FINAL FIX
   ============================================================ */

@media (max-width: 700px) {

    /* HEADER */

    .site-header {
        width: 100%;
        background: #fff;
        overflow: hidden;
    }


    /* MAIN HEADER AREA */

    .header-main {
        width: calc(100% - 28px);
        max-width: none;

        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;

        padding-top: 16px;
        padding-bottom: 14px;

        min-height: auto;
    }


    /* LOGO */

    .site-logo {
        display: block;
        width: 190px;
        max-width: 60%;
    }

    .site-logo img {
        display: block;
        width: 100%;
        height: auto;
    }


    /* SEARCH */

    .header-search {
        width: 100%;
        max-width: none;
        height: 44px;
    }

    .header-search input {
        width: 100%;
        min-width: 0;

        height: 44px;

        padding-left: 14px;
        padding-right: 45px;

        font-size: 14px;
    }

    .header-search button {
        width: 44px;
        height: 44px;
    }


    /* ========================================================
       MOBILE NAVIGATION
       ======================================================== */

    .desktop-navigation {
        grid-column: 1 / -1;

        width: 100%;

        display: flex;
        align-items: center;

        gap: 25px;

        overflow-x: auto;
        overflow-y: hidden;

        white-space: nowrap;

        padding: 0 0 2px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .desktop-navigation::-webkit-scrollbar {
        display: none;
    }

    .desktop-navigation a {
        flex: 0 0 auto;

        padding: 11px 0 13px;

        font-size: 14px;
        font-weight: 700;

        white-space: nowrap;
    }

    .desktop-navigation a[aria-current="page"] {
        color: #d71920;
        border-bottom: 3px solid #d71920;
    }


    /* ========================================================
       BREAKING NEWS
       ======================================================== */

    .breaking-news-wrapper {
        width: 100%;
        overflow: hidden;

        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .breaking-news-container {
        width: calc(100% - 28px);
        max-width: none;

        display: flex;
        align-items: stretch;

        padding: 0;

        overflow: hidden;
    }


    /* BREAKING LABEL */

    .breaking-label {
        position: relative;
        z-index: 5;

        flex: 0 0 92px;
        width: 92px;

        min-height: 46px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0 8px;

        background: #d71920;
        color: #fff;

        font-size: 14px;
        font-weight: 800;

        white-space: nowrap;
    }


    /* MARQUEE */

    .breaking-marquee {
        flex: 1 1 auto;

        min-width: 0;
        width: auto;

        overflow: hidden;

        background: #faf7f7;
    }

    .breaking-track {
        min-height: 46px;

        display: flex;
        align-items: center;

        width: max-content;

        animation: jalandhar-breaking-marquee 50s linear infinite;
        will-change: transform;
    }

    .breaking-content {
        display: flex;
        align-items: center;

        flex-shrink: 0;

        white-space: nowrap;
    }

    .breaking-item {
        flex: 0 0 auto;

        padding: 0 20px;

        font-size: 14px;
        line-height: 46px;

        white-space: nowrap;
    }

    .breaking-divider {
        flex: 0 0 auto;
    }

}


/* ============================================================
   VERY SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

    .header-main {
        width: calc(100% - 24px);
    }

    .site-logo {
        width: 175px;
        max-width: 65%;
    }

    .desktop-navigation {
        gap: 22px;
    }

    .desktop-navigation a {
        font-size: 14px;
    }

    .breaking-news-container {
        width: calc(100% - 24px);
    }

    .breaking-label {
        flex-basis: 86px;
        width: 86px;

        font-size: 13px;
    }

    .breaking-item {
        padding-left: 16px;
        padding-right: 16px;

        font-size: 13px;
    }

}
/* ============================================================
   MOBILE BREAKING TICKER - ANIMATION FIX
   ============================================================ */

@media (max-width: 700px) {

    .breaking-news-wrapper {
        width: 100%;
        overflow: hidden;
    }

    .breaking-news-container {
        display: flex;
        align-items: stretch;

        overflow: hidden;
    }

    .breaking-label {
        position: relative;
        z-index: 10;

        flex: 0 0 92px;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #d71920;
        color: #fff;

        white-space: nowrap;
    }

    .breaking-marquee {
        position: relative;

        flex: 1 1 0;
        min-width: 0;

        overflow: hidden;
    }

    .breaking-track {
        display: flex;
        align-items: center;

        width: max-content;
        min-width: max-content;

        transform: translate3d(0, 0, 0);

        animation-name: mobile-breaking-scroll !important;
        animation-duration: 35s !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite !important;
        animation-play-state: running !important;

        will-change: transform;
    }

    .breaking-content {
        display: flex;
        align-items: center;

        width: max-content;

        flex: 0 0 auto;

        white-space: nowrap;
    }

    .breaking-item {
        display: inline-block;

        flex: 0 0 auto;

        padding: 0 18px;

        white-space: nowrap;
    }

}


/* IMPORTANT:
   The track contains TWO identical breaking-content blocks.
   Moving exactly 50% creates the seamless loop.
*/

@keyframes mobile-breaking-scroll {

    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }

}
/* ============================================================
   MOBILE - CENTER LOGO
   ============================================================ */

@media (max-width: 700px) {

    .header-main {
        display: grid;
        grid-template-columns: 1fr;
        width: calc(100% - 28px);
        padding-top: 16px;
        padding-bottom: 12px;
        gap: 14px;
    }

    /* CENTER LOGO */

    .site-logo {
        display: block;
        width: 190px;
        max-width: 70%;

        margin-left: auto;
        margin-right: auto;
    }

    .site-logo img {
        display: block;
        width: 100%;
        height: auto;
    }


    /* SEARCH BELOW LOGO */

    .header-search {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }


    /* NAVIGATION FULL WIDTH */

    .desktop-navigation {
        width: 100%;
        grid-column: 1 / -1;

        overflow-x: auto;
        white-space: nowrap;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .desktop-navigation::-webkit-scrollbar {
        display: none;
    }

}


/* SMALL PHONES */

@media (max-width: 480px) {

    .site-logo {
        width: 180px;
        max-width: 75%;
    }

}

/* ============================================================
   SITE FOOTER - CLEAN WHITE VERSION
   ============================================================ */

.site-footer {
    margin-top: 70px;
    background: #ffffff;
    color: #333333;
    border-top: 4px solid var(--red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.25fr;
    gap: 55px;
    padding-top: 50px;
    padding-bottom: 45px;
}

.footer-brand { max-width: 390px; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { display: block; width: 230px; max-width: 100%; height: auto; }
.footer-brand p { max-width: 350px; margin: 0; color: #666; font-size: 14px; line-height: 1.7; }

.footer-column h3 {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 11px;
    color: #111;
    font-size: 16px;
    font-weight: 800;
}
.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 32px; height: 3px;
    background: var(--red);
}
.footer-column nav { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column a { color: #555; font-size: 14px; line-height: 1.4; text-decoration: none; transition: color .2s ease; }
.footer-column a:hover { color: var(--red); }

.footer-social p { margin: 0 0 17px; color: #666; font-size: 14px; line-height: 1.6; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 36px; padding: 7px 13px;
    background: #fff; border: 1px solid #ddd; border-radius: 3px;
    color: #333; font-size: 12px; font-weight: 700;
}
.footer-social-links a:hover { background: var(--red); border-color: var(--red); color: #fff; }

.footer-bottom { background: #f7f7f7; border-top: 1px solid #e5e5e5; }
.footer-bottom-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-bottom p { margin: 0; color: #777; font-size: 13px; }
.footer-legal { display: flex; align-items: center; gap: 24px; }
.footer-legal a { color: #666; font-size: 13px; text-decoration: none; }
.footer-legal a:hover { color: var(--red); }

@media (max-width: 1000px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
    .footer-social { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .site-footer { margin-top: 45px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 25px; padding-top: 38px; padding-bottom: 35px; }
    .footer-brand { grid-column: 1 / -1; max-width: 100%; }
    .footer-logo { display: block; width: 200px; margin: 0 auto 18px; }
    .footer-logo img { width: 100%; }
    .footer-brand p { max-width: 420px; margin-left: auto; margin-right: auto; text-align: center; }
    .footer-social { grid-column: 1 / -1; }
    .footer-bottom-inner { flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding-top: 17px; padding-bottom: 17px; text-align: center; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand, .footer-social { grid-column: auto; }
    .footer-column { border-top: 1px solid #eee; padding-top: 22px; }
    .footer-brand { border-top: 0; padding-top: 0; }
}


/* ============================================================
   AUTHOR PROFILE PAGE
   ============================================================ */
.author-page { padding: 38px 0 70px; }
.author-profile-card { display:grid; grid-template-columns:180px minmax(0,1fr); gap:32px; align-items:start; padding:30px; background:#fff; border:1px solid var(--border); border-top:4px solid var(--red); }
.author-profile-photo { width:180px; aspect-ratio:1/1; overflow:hidden; background:var(--light); border-radius:50%; }
.author-profile-photo img { width:100%; height:100%; object-fit:cover; }
.author-profile-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:#f2f2f2; color:#aaa; font-size:54px; font-weight:800; }
.author-profile-info h1 { margin:0 0 5px; color:var(--black); font-size:36px; line-height:1.15; }
.author-designation { margin:0 0 13px; color:var(--red); font-size:14px; font-weight:800; }
.author-location { margin:0 0 16px; color:var(--muted); font-size:13px; }
.author-bio { max-width:820px; margin:0; color:#555; font-size:15px; line-height:1.75; }
.author-contact-links { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.author-contact-links a { display:inline-flex; align-items:center; min-height:36px; padding:7px 12px; border:1px solid #ddd; border-radius:3px; color:#333; font-size:12px; font-weight:700; }
.author-contact-links a:hover { border-color:var(--red); background:var(--red); color:#fff; }
.author-stories { margin-top:42px; }
.author-stories-heading { position:relative; margin:0 0 24px; padding-bottom:12px; border-bottom:1px solid var(--border); color:var(--black); font-size:25px; font-weight:800; }
.author-stories-heading::after { content:""; position:absolute; left:0; bottom:-1px; width:48px; height:3px; background:var(--red); }
.author-story-list { display:flex; flex-direction:column; }
.author-story { display:grid; grid-template-columns:220px minmax(0,1fr); gap:20px; padding:0 0 20px; margin:0 0 20px; border-bottom:1px solid var(--border); }
.author-story-image { width:220px; height:140px; overflow:hidden; background:var(--light); border-radius:var(--radius); }
.author-story-image img { width:100%; height:100%; object-fit:cover; }
.author-story-category { display:inline-block; margin-bottom:6px; color:var(--red); font-size:10px; font-weight:800; text-transform:uppercase; }
.author-story h2 { margin:0 0 8px; color:var(--black); font-size:21px; line-height:1.35; }
.author-story h2 a:hover { color:var(--red); }
.author-story p { margin:0 0 8px; color:#666; font-size:14px; line-height:1.6; }
.author-story time { color:#999; font-size:10px; }
.author-empty { padding:30px; background:#fafafa; border:1px solid var(--border); color:#777; text-align:center; }
@media (max-width:700px) {
  .author-page { padding-top:24px; }
  .author-profile-card { grid-template-columns:1fr; gap:20px; padding:22px 18px; text-align:center; }
  .author-profile-photo { width:140px; margin:0 auto; }
  .author-profile-info h1 { font-size:29px; }
  .author-contact-links { justify-content:center; }
  .author-story { grid-template-columns:120px minmax(0,1fr); gap:13px; }
  .author-story-image { width:120px; height:82px; }
  .author-story h2 { font-size:16px; }
  .author-story p { display:none; }
}
@media (max-width:480px) {
  .author-profile-photo { width:120px; }
  .author-story { grid-template-columns:105px minmax(0,1fr); }
  .author-story-image { width:105px; height:72px; }
}
/* ============================================================
   PUBLIC AUTHORS DIRECTORY
   Append this block to assets/css/style.css
   ============================================================ */
.authors-page{padding-top:34px;padding-bottom:60px}
.authors-page-header{max-width:760px;margin-bottom:30px;border-bottom:3px solid #111;padding-bottom:20px}
.authors-page-kicker{display:block;margin-bottom:6px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#d71920}
.authors-page-header h1{margin:0 0 8px;font-size:clamp(32px,5vw,52px);line-height:1.05}
.authors-page-header p{margin:0;color:#666;font-size:16px;line-height:1.6}
.authors-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.author-directory-card{min-width:0;background:#fff;border:1px solid #e5e5e5;border-radius:12px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.author-directory-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.08)}
.author-directory-photo{display:block;aspect-ratio:4/3;background:#f3f3f3;overflow:hidden;text-decoration:none}
.author-directory-photo img{display:block;width:100%;height:100%;object-fit:cover}
.author-directory-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:72px;font-weight:800;color:#aaa;background:#f2f2f2}
.author-directory-content{padding:20px}
.author-directory-content h2{margin:0 0 5px;font-size:23px;line-height:1.2}
.author-directory-content h2 a{color:#111;text-decoration:none}
.author-directory-content h2 a:hover{color:#d71920}
.author-directory-designation{margin:0 0 6px;font-weight:700;color:#d71920}
.author-directory-location{margin:0 0 12px;font-size:14px;color:#777}
.author-directory-bio{margin:0 0 18px;color:#555;line-height:1.6}
.author-directory-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:15px;border-top:1px solid #eee;font-size:13px;color:#777}
.author-directory-footer a{font-weight:800;color:#111;text-decoration:none;white-space:nowrap}
.author-directory-footer a:hover{color:#d71920}
.authors-empty{padding:48px 20px;text-align:center;background:#f7f7f7;border-radius:10px}
.authors-empty h2{margin-top:0}
@media(max-width:950px){.authors-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.authors-page{padding-top:24px;padding-bottom:40px}.authors-grid{grid-template-columns:1fr;gap:18px}.author-directory-card{display:grid;grid-template-columns:115px minmax(0,1fr);border-radius:8px}.author-directory-photo{height:100%;min-height:160px;aspect-ratio:auto}.author-directory-content{padding:15px}.author-directory-content h2{font-size:20px}.author-directory-bio{display:none}.author-directory-footer{align-items:flex-start;flex-direction:column;gap:7px}.author-directory-placeholder{font-size:42px}}
/* Homepage author attribution */
.home-story-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.home-story-meta .home-author a {
    color: #202020;
    font-weight: 700;
    text-decoration: none;
}

.home-story-meta .home-author a:hover {
    text-decoration: underline;
}

.home-story-meta .home-date {
    margin: 0;
}

.home-meta-dot {
    opacity: .65;
}
/* Category-page author attribution */
.news-meta .news-card-author a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.news-meta .news-card-author a:hover {
    text-decoration: underline;
}

/* ============================================================
   HOMEPAGE STORY IMAGES - AUTO ALIGN / NO CROP
   Keeps the full uploaded image visible and centered.
   ============================================================ */

.home-lead-photo,
.home-card-photo,
.home-thumb {
    height: auto;
    aspect-ratio: auto;
    overflow: hidden;
    background: var(--light);
}

.home-lead-photo img,
.home-card-photo img,
.home-thumb img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
    margin-left: auto;
    margin-right: auto;
}

/* Keep the main story from becoming excessively tall on desktop. */
.home-lead-photo img {
    max-height: 650px;
}

/* Small Top Stories thumbnails keep a tidy box without cutting the image. */
.home-thumb {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-thumb img {
    max-height: 125px;
}

/* Latest/category cards use their natural image ratio. */
.home-card-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 700px) {
    .home-lead-photo img {
        max-height: none;
    }

    .home-thumb img {
        max-height: 110px;
    }
}

@media (max-width: 480px) {
    .home-thumb img {
        max-height: 95px;
    }
}
/* ============================================================
   LIVE FROM NEWSROOM - HOMEPAGE SIDEBAR
   ============================================================ */
.home-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-self: start;
}

.home-sidebar .home-popular {
    width: 100%;
    margin: 0;
}

.live-newsroom {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
}

.live-newsroom-header {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 15px;
    background: #111;
    color: #fff;
}

.live-newsroom-header h2 {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .25px;
}

.live-newsroom-dot {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef233c;
    box-shadow: 0 0 0 0 rgba(239,35,60,.65);
    animation: newsroom-live-pulse 1.25s ease-out infinite;
}

.live-newsroom-item {
    padding: 13px 15px;
    border-bottom: 1px solid #eee;
}

.live-newsroom-item:last-child {
    border-bottom: 0;
}

.live-newsroom-item time {
    display: block;
    margin-bottom: 4px;
    color: var(--red);
    font-size: 10px;
    line-height: 1.3;
    font-weight: 800;
}

.live-newsroom-item a,
.live-newsroom-item p {
    margin: 0;
    color: #222;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.live-newsroom-item a:hover {
    color: var(--red);
}

@keyframes newsroom-live-pulse {
    0% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239,35,60,.65);
    }
    55% {
        opacity: .45;
        box-shadow: 0 0 0 7px rgba(239,35,60,0);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239,35,60,0);
    }
}

@media (max-width: 700px) {
    .home-sidebar {
        margin: 10px 0 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .live-newsroom-dot {
        animation: none;
    }
}
/* TOP STORIES + LIVE FROM NEWSROOM */
.top-stories-live-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
    gap: 28px;
    align-items: start;
}

.top-stories-main,
.top-live-column {
    min-width: 0;
}

.top-stories-main > .home-section {
    margin-top: 0;
}

.top-live-column {
    align-self: start;
}

.top-live-column .live-newsroom {
    width: 100%;
    margin: 0;
}

@media (max-width: 1050px) {
    .top-stories-live-layout {
        grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
        gap: 20px;
    }
}

@media (max-width: 850px) {
    .top-stories-live-layout {
        display: block;
    }

    .top-live-column {
        margin: 22px 0 30px;
    }
}
/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-content {
    padding-top: 34px;
    padding-bottom: 55px;
}

.contact-hero {
    max-width: 760px;
    margin-bottom: 30px;
}

.contact-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.contact-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.contact-hero p {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr);
    gap: 28px;
    align-items: start;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 26px;
}

.contact-card h2 {
    margin: 0 0 20px;
    font-size: 22px;
}

.contact-detail {
    padding: 16px 0;
    border-top: 1px solid #eee;
}

.contact-detail > span {
    display: block;
    margin-bottom: 6px;
    color: #777;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.contact-detail p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.contact-detail a {
    color: #202020;
    font-weight: 700;
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--red);
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-note {
    margin: -8px 0 20px;
    color: #777;
    font-size: 13px;
    line-height: 1.55;
}

.contact-form {
    display: grid;
    gap: 17px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    padding: 11px 12px;
    color: #222;
    font: inherit;
}

.contact-form input,
.contact-form select {
    height: 44px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(196, 25, 36, .14);
    border-color: var(--red);
}

.contact-submit {
    justify-self: start;
    border: 0;
    border-radius: 3px;
    background: var(--red);
    color: #fff;
    padding: 12px 20px;
    font-weight: 800;
    cursor: pointer;
}

.contact-warning {
    padding: 12px 14px;
    background: #fff7e8;
    border: 1px solid #ecd7ad;
    font-size: 13px;
}

@media (max-width: 800px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .contact-content {
        padding-top: 24px;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   HOMEPAGE ADVERTISEMENTS
   ============================================================ */
.site-ad {
    width: 100%;
    min-width: 0;
    margin: 24px 0;
    text-align: center;
}

.site-ad-label {
    display: block;
    margin-bottom: 5px;
    color: #999;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.site-ad a {
    display: block;
}

.site-ad img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 250px;
    margin: 0 auto;
    object-fit: contain;
}

.site-ad-home-top {
    margin-top: 18px;
    margin-bottom: 28px;
}

.site-ad-home-top img,
.site-ad-below-latest img {
    max-height: 220px;
}

.site-ad-home-sidebar {
    margin: 0 0 22px;
    padding: 10px;
    border: 1px solid var(--border);
    background: #fff;
}

.site-ad-home-sidebar img {
    width: 100%;
    max-height: 420px;
}

@media (max-width: 850px) {
    .site-ad {
        margin-top: 18px;
        margin-bottom: 22px;
    }

    .site-ad-home-sidebar img {
        width: auto;
        max-height: 280px;
    }
}
/* ============================================================
   HOMEPAGE SOCIAL / VIDEO LINKS
   ============================================================ */
.home-social-box {
    width: 100%;
    box-sizing: border-box;
    border-top: 3px solid var(--red);
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 0 1px var(--border);
}
.home-social-box h2 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}
.home-social-box > p {
    margin: 0 0 13px;
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}
.home-social-links {
    display: grid;
    gap: 8px;
}
.home-social-links a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 11px 12px;
    border: 1px solid #e7e7e7;
    background: #fafafa;
    color: #111;
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.home-social-links a:hover {
    transform: translateY(-1px);
    border-color: #bbb;
    background: #fff;
}
.home-social-links strong {
    font-size: 13px;
    line-height: 1.25;
}
.home-social-links span {
    color: #777;
    font-size: 11px;
    line-height: 1.35;
}
.social-facebook strong { color: #1877f2; }
.social-instagram strong { color: #c13584; }
.social-youtube strong { color: #ff0000; }


/* ============================================================
   UNIFORM NEWS IMAGE ALIGNMENT
   Keeps all listing/card images consistently sized and centered.
   ============================================================ */

.home-lead-photo,
.home-card-photo,
.home-thumb,
.news-card-image,
.category-news-card .home-card-photo {
    position: relative;
    overflow: hidden;
    background: var(--light);
}

.home-lead-photo { aspect-ratio: 16 / 9; }
.home-card-photo,
.category-news-card .home-card-photo { aspect-ratio: 16 / 9; }
.home-thumb { aspect-ratio: 3 / 2; }
.news-card-image { aspect-ratio: 3 / 2; height: auto; }

.home-lead-photo img,
.home-card-photo img,
.home-thumb img,
.news-card-image img,
.category-news-card .home-card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Article pages should show the full uploaded image rather than crop it. */
.article-featured-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    object-position: center center;
}

@media (max-width: 700px) {
    .news-card-image {
        width: 120px;
        height: auto;
        aspect-ratio: 3 / 2;
    }
}
