/* News theme – Jersey City News */

#masthead.site-header,
.site-header.is-sticky-header {
    border-bottom: none !important;
}

/* Shared content width: header and main content use same max-width and horizontal padding */
.classic-header-container,
.hero-block-news .hero-block-inner,
.site-main-newsroom .main-content-wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

#masthead.site-header,
.site-header.is-sticky-header {
    border-bottom: none !important;
}

.classic-header-container {
    padding-top: 0;
    padding-bottom: 0;
}

/* Top Bar: Date, Masthead, Stock */
.classic-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 10px;
}

.classic-header-left,
.classic-header-right {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
}

.classic-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.classic-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.classic-date {
    font-weight: 600;
}

.classic-todays-paper a {
    color: inherit;
    text-decoration: none;
}

.classic-todays-paper a:hover {
    text-decoration: underline;
}

.classic-stock {
    font-size: 11px;
}

.classic-weather {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15em;
}

.classic-weather-row {
    display: block;
    text-align: right;
}

.classic-weather-condition {
    display: inline;
}

.classic-weather-sep {
    opacity: 0.7;
}

.stock-up {
    color: #0b8043;
    /* Green */
}

.classic-site-logo {
    flex: 2;
    text-align: center;
}

.classic-logo-link {
    text-decoration: none !important;
    color: var(--color-text, #000);
}

.classic-logo-link:hover {
    color: var(--color-text, #000);
}

/* Footer – News Network compact */
.site-footer-news {
    background: #111111;
    color: #ffffff;
    font-family: var(--ui-font-family);
}

.site-footer-news .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

.site-footer-news .footer-widgets {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer-news .footer-widget-about {
    flex: 1;
    max-width: 400px;
}

.site-footer-news .footer-widget-about p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.site-footer-news .footer-widget-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.site-footer-news .footer-widget-area {
    min-width: 100px;
}

.site-footer-news .footer-widget-area .widget {
    margin: 0;
}

.site-footer-news .footer-widget-area h2,
.site-footer-news .footer-widget-area .widget-title,
.site-footer-news .footer-widget-area .wp-block-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin: 0 0 12px 0;
}

.site-footer-news .footer-widget-area ul,
.site-footer-news .footer-widget-area .menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer-news .footer-widget-area ul li,
.site-footer-news .footer-widget-area .menu li {
    list-style: none !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

.site-footer-news .footer-widget-area ul li:last-child,
.site-footer-news .footer-widget-area .menu li:last-child {
    margin-bottom: 0 !important;
}

.site-footer-news .footer-widget-area a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    font-size: 13px;
    transition: color 0.2s;
}

.site-footer-news .footer-widget-area a:hover {
    color: #fff !important;
}

.site-footer-news .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    gap: 20px;
}

.site-footer-news .footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.site-footer-news .footer-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 768px) {
    .site-footer-news .footer-widgets {
        flex-direction: column;
        gap: 24px;
    }

    .site-footer-news .footer-widget-about {
        max-width: 100%;
    }

    .site-footer-news .footer-widget-links {
        width: 100%;
        justify-content: flex-start;
    }

    .site-footer-news .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.news-footer-stamp {
    font-family: var(--ui-font-family);
    margin-top: 12px;
    display: flex;
    justify-content: center;
}


/* Category archives – News layout */
.category-archive-header {
    padding-top: 24px;
    border-top: 1px solid #000;
}

.archive-title {
    font-family: "Playfair Display", serif !important;
    font-size: 2.25rem;
    font-weight: 700;
    text-transform: none !important;
    color: #000;
    margin-bottom: 0;
}

.category-top-rail .category-top-thumb {
    object-fit: cover;
    height: 120px;
}

@media (min-width: 992px) {
    .category-top-rail .category-top-thumb {
        height: 140px;
    }
}

.category-top-rail .category-top-title a {
    font-family: var(--bs-heading-font-family);
}

.category-list-row {
    border-color: #e2e2e2;
}

.category-list-title a {
    font-family: var(--bs-heading-font-family);
    font-weight: 600;
}

.category-list-excerpt {
    font-size: 0.95rem;
}

.category-list-thumb {
    object-fit: cover;
    height: 100px;
}

@media (min-width: 768px) {
    .category-list-thumb {
        height: 140px;
    }
}

/* Mobile category list - stacked card layout */
@media (max-width: 767px) {
    .category-list-row .row {
        flex-wrap: wrap !important;
    }

    .category-list-row .row > .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 12px;
    }

    .category-list-row .row > .col-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .category-list-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .category-list-title {
        font-size: 1.1rem;
    }

    .category-list-excerpt {
        font-size: 0.9rem;
        margin-top: 8px;
    }
}

.category-ad-placeholder {
    width: 100%;
    min-height: 250px;
    background: #f9f9f9;
}

.category-latest-label {
    font-family: "Playfair Display", serif !important;
    text-decoration: none !important;
    font-size: 1.3rem !important;
    color: #000 !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

/* Ensure color is pure black even if Bootstrap adds .disabled */
.category-latest-label.disabled,
.category-latest-label:disabled {
    color: #000 !important;
    opacity: 1 !important;
    cursor: default !important;
    pointer-events: none !important;
}

.category-post-label {
    font-family: "Playfair Display", serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-transform: none !important;
}

/* Category Search Form Styling */
.category-archive-search .search-form {
    display: flex;
    align-items: stretch;
    border: 1px solid #000;
    padding: 0;
    background: #fff;
    overflow: hidden;
    /* Ensure button corners are flush with border */
}

.category-archive-search .search-field {
    border: none;
    padding: 10px 15px;
    font-family: var(--ui-font-family);
    font-size: 14px;
    outline: none;
    width: 220px;
    background: transparent;
    color: #000;
    display: block;
}

.category-archive-search .search-submit {
    background: #000;
    color: #fff !important;
    border: none;
    padding: 0 20px;
    font-family: var(--ui-font-family);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s;
    margin: 0;
    display: flex;
    align-items: center;
    border-radius: 0;
    line-height: 1;
}

.category-archive-search .search-submit:hover {
    background: #333;
}


.classic-masthead {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    font-weight: normal;
    letter-spacing: -1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.header-actions button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

.dark-mode-toggle {
    display: none;
}

/* Navigation – same width as top bar (classic-header-container), less vertical padding */
.classic-primary-navigation {
    border-top: 2px solid #000;
    border-bottom: 1px solid #000;
    padding: 4px 0;
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
}

/* Force Black Accents over Parent Theme default Blue */
.section-title {
    border-top-color: #000 !important;
}

.section-title-newsroom {
    border-bottom-color: #000 !important;
}

.sidebar .widget ul li a,
.sidebar a,
.world-list a {
    color: var(--color-text, #000) !important;
}

.sidebar a:hover,
.world-list a:hover {
    text-decoration: underline !important;
}

.classic-primary-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.classic-primary-navigation a {
    text-decoration: none;
    color: #000000;
    font-size: 13px;
    font-weight: 600;
}

.classic-primary-navigation a:hover {
    text-decoration: none;
    color: #666666;
}

/* Ticker Bar */
.classic-ticker-bar {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #000;
    /* Thin bottom border. */
    border-bottom-width: 1px;
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 12px;
}

.classic-live-label {
    color: #d10000;
    font-weight: 700;
    margin-right: 15px;
    font-size: 11px;
}

.classic-ticker-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.classic-ticker-list li {
    display: flex;
    align-items: center;
}

.classic-ticker-list a {
    text-decoration: none;
    color: var(--color-text, #000);
}

.classic-ticker-list a:hover {
    text-decoration: underline;
}

.classic-ticker-list strong {
    font-weight: 700;
}

.time-ago {
    color: #777;
    margin-left: 5px;
    font-size: 11px;
}

/* Base Card / Grid layout overrides to mimic Newspaper */
.card-category {
    background: none !important;
    color: #444 !important;
    padding: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: var(--ui-font-family) !important;
    margin-bottom: 5px !important;
}

.category-text-link {
    font-family: var(--ui-font-family);
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.category-text-link:hover {
    color: #333;
    text-decoration: underline;
}

.card {
    border: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid #e2e2e2 !important;
    border-radius: 0 !important;
    padding-bottom: 20px;
    margin-bottom: 10px;
    background: transparent !important;
}

/* Feature Image Overrides – No rounded corners */
img,
.entry-thumbnail,
.featured-image-wrapper,
.card-image-wrapper,
.hero-news-main-image-link,
.editor-choice-card-image-link,
.classic-sidebar-image-wrap,
.hero-news-featured-image-link,
.hero-forecast-day,
.hero-news-forecast-day-inner {
    border-radius: 0 !important;
}

.card:hover {
    box-shadow: none !important;
}

.card-content {
    padding: 10px 0 0 0 !important;
}

.card h3 {
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
}

/* Vertical dividers for grid row-3 and row-2 */
@media (min-width: 768px) {
    .row {
        gap: 20px;
    }

    .row>article {
        border-right: 1px solid #e2e2e2;
        padding-right: 20px;
        border-bottom: none !important;
    }

    .row>article:last-child {
        border-right: none;
        padding-right: 0;
    }
}

/* Utility hiding old header elements if any remained */
.pre-header {
    display: none;
}

/* Sidebar list style */
.classic-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.classic-sidebar-item {
    padding: 15px 0;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 0 !important;
}

.classic-sidebar-item:first-child {
    border-top: 1px solid #e2e2e2;
}

.classic-sidebar-link {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    color: var(--color-text, #000);
    width: 100%;
}

.classic-sidebar-content {
    flex: 1;
    min-width: 0;
}

.classic-sidebar-image-wrap {
    flex: 0 0 75px;
    width: 75px;
    height: 75px;
}

.classic-sidebar-image-wrap img,
.classic-sidebar-image-wrap .classic-sidebar-thumb-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.classic-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 5px 0;
}

.classic-sidebar-link:hover .classic-sidebar-title {
    text-decoration: underline;
}

.classic-sidebar-meta {
    font-size: 11px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
}

.classic-sidebar-image-wrap {
    flex-shrink: 0;
}

.classic-sidebar-thumb {
    width: 75px;
    height: 75px;
    object-fit: cover;
    display: block;
}

.classic-sidebar-thumb-placeholder {
    width: 75px;
    height: 75px;
    background: #f5f5f5;
    display: block;
}

.newsroom-sidebar {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 0;
    padding: 1.5rem;
    height: fit-content;
}

.newsroom-sidebar-title,
.newsroom-sidebar h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 0.5rem;
}

.newsroom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newsroom-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e2e2;
}

.newsroom-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.newsroom-link {
    text-decoration: none;
    color: var(--color-text, #000);
    display: block;
    transition: color 0.2s;
}

.newsroom-link:hover {
    color: var(--color-accent, #0066cc);
}

.newsroom-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.newsroom-date {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Trending Specific Overrides */
.trending-widget-classic .newsroom-link {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.trending-widget-classic .trending-num {
    flex-shrink: 0;
    font-family: "Playfair Display", serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 0.8;
    color: #000;
    margin-top: 0;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.trending-widget-classic .newsroom-link:hover {
    text-decoration: none !important;
}

.trending-widget-classic .newsroom-link:hover .trending-num {
    text-decoration: none !important;
    /* Ensure number is never underlined */
}

.trending-widget-classic .newsroom-link:hover .trending-num {
    text-decoration: none !important;
}

.trending-widget-classic .newsroom-content {
    flex: 1;
    min-width: 0;
}

/* Reset any specific grid behaviors from parent theme for these sections */
.editor-choice-section .editor-grid.classic-sidebar-list {
    display: flex;
    flex-direction: column;
}

/* Editor's Choice – 3-column layout (lead 50% | secondary 25% | sidebar 25%) */
.editor-choice-three-col .editor-choice-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 991px) {
    .editor-choice-three-col .editor-choice-grid {
        grid-template-columns: 1fr;
    }
}

.editor-choice-three-col .editor-choice-lead {
    grid-column: 1;
}

.editor-choice-three-col .editor-choice-secondary {
    grid-column: 2;
}

.editor-choice-three-col .editor-choice-sidebar {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 991px) {

    .editor-choice-three-col .editor-choice-lead,
    .editor-choice-three-col .editor-choice-secondary,
    .editor-choice-three-col .editor-choice-sidebar {
        grid-column: 1;
    }
}

.editor-choice-card {
    margin: 0;
}

.editor-choice-card-image-link {
    display: block;
    overflow: hidden;
    margin-bottom: 12px;
}

.editor-choice-card--lead .editor-choice-card-image-link,
.editor-choice-card--secondary .editor-choice-card-image-link {
    margin-bottom: 14px;
}

.editor-choice-card-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.editor-choice-card--lead .editor-choice-card-img {
    aspect-ratio: 16/10;
}

.editor-choice-card--secondary .editor-choice-card-img {
    aspect-ratio: 4/3;
}

.editor-choice-card-body {
    margin: 0;
}

.editor-choice-card-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 10px 0;
}

.editor-choice-card-title a {
    color: inherit;
    text-decoration: none;
}

.editor-choice-card-title a:hover {
    text-decoration: none;
}

.editor-choice-card--lead .editor-choice-card-title {
    font-size: 1.6rem;
}

.editor-choice-card--secondary .editor-choice-card-title {
    font-size: 1.25rem;
}

.editor-choice-card-excerpt {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin: 0 0 10px 0;
}

.editor-choice-card--lead .editor-choice-card-excerpt {
    font-size: 16px;
}

.editor-choice-card-meta {
    font-size: 11px;
    font-weight: 500;
    color: #666;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Sidebar small cards: text left, thumb right */
.editor-choice-card--small .editor-choice-small-link {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.editor-choice-small-content {
    flex: 1;
    min-width: 0;
}

.editor-choice-card--small .editor-choice-card-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.editor-choice-card--small .editor-choice-card-title--small {
    font-family: "Playfair Display", serif;
}

.editor-choice-card-excerpt--small {
    font-size: 14px;
    margin-bottom: 8px;
}

.editor-choice-small-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.editor-choice-card--small .editor-choice-small-thumb .editor-choice-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide card elements that leaked through */
.news-sidebar-item .card-category,
.news-sidebar-item .card-excerpt {
    display: none !important;
}

/* ——— Main hero: 3 columns, same width as header ——— */
.hero-block-news .hero-block-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-news {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 1fr) minmax(260px, 360px);
    gap: 24px 32px;
    align-items: start;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 24px;
}

.hero-news-left {
    min-width: 0;
    font-family: var(--ui-font-family);
}

.hero-news-lead-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.hero-news-live-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background: #d10000;
    color: #fff;
}

.hero-news-time-ago {
    font-size: 12px;
    color: #777;
}

.hero-news-lead-title {
    font-family: var(--bs-heading-font-family);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px 0;
}

.hero-news-lead-title a {
    color: inherit;
    text-decoration: none;
}

.hero-news-lead-title a:hover {
    text-decoration: underline;
}

.hero-news-lead-excerpt {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 12px 0;
    color: #333;
}

.hero-news-bullets {
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.45;
}

.hero-news-bullets li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px;
}

.hero-news-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #444;
}

.hero-news-see-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text, #000);
    text-decoration: none;
}

.hero-news-see-more:hover {
    text-decoration: underline;
}

.hero-news-sub-headlines {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e2e2;
}

.hero-news-sub-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 14px;
}

.hero-news-sub-link:last-child {
    margin-bottom: 0;
}

.hero-news-sub-title {
    font-family: var(--bs-heading-font-family);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.hero-news-sub-link:hover .hero-news-sub-title {
    text-decoration: underline;
}

.hero-news-sub-meta {
    font-size: 11px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
}

.hero-news-weather {
    margin-top: 20px;
    padding: 14px 0 0;
    border-top: 1px solid #e2e2e2;
}

.hero-news-weather-title {
    font-family: var(--ui-font-family);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.hero-news-weather-condition,
.hero-news-weather-temp {
    font-size: 14px;
}

.hero-news-weather-now {
    font-size: 14px;
    margin-bottom: 12px;
}

.hero-news-weather-now-temp {
    font-weight: 700;
}

.hero-news-weather-now-cond {
    color: #444;
}

.hero-news-forecast {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-news-forecast-day {
    flex: 1;
    min-width: 0;
}

.hero-news-forecast-day-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
    background: #f8f9fa;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    text-align: center;
}

.hero-news-forecast-day-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

.hero-news-forecast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
    color: #333;
}

.hero-news-forecast-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-news-forecast-temps {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.hero-news-forecast-high {
    color: #000;
}

.hero-news-forecast-low {
    color: #666;
}

.hero-news-forecast-condition {
    font-size: 11px;
    color: #666;
    line-height: 1.2;
}

.hero-news-center {
    min-width: 0;
}

.hero-news-main-image-link {
    display: block;
    overflow: hidden;
}

.hero-news-main-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.hero-news-photo-credit {
    font-family: var(--ui-font-family);
    font-size: 11px;
    color: #666;
    margin: 6px 0 0 0;
    text-align: right;
}

.hero-news-photo-credit a {
    color: #666;
    text-decoration: none;
}

.hero-news-photo-credit a:hover {
    text-decoration: underline;
    color: #333;
}

.hero-news-under-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 16px;
}

.hero-news-under-image-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0 20px;
}

.hero-news-under-image-item:first-child {
    padding-left: 0;
}

.hero-news-under-image-item:last-child {
    padding-right: 0;
    border-left: 1px solid #e2e2e2;
}

.hero-news-under-image-category {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: "Playfair Display", serif;
    color: #666;
    margin-bottom: 6px;
}

.hero-news-under-image-title {
    font-family: var(--bs-heading-font-family);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px 0;
}

.hero-news-under-image-item:hover .hero-news-under-image-title {
    text-decoration: underline;
}

.hero-news-under-image-meta {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
}

@media (max-width: 576px) {
    .hero-news-under-image {
        grid-template-columns: 1fr;
    }

    .hero-news-under-image-item {
        padding: 12px 0 0 !important;
    }

    .hero-news-under-image-item:last-child {
        border-left: none;
        border-top: 1px solid #e2e2e2;
    }
}

.hero-news-right {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-news-featured-card {
    margin: 0;
    padding: 0;
}

.hero-news-featured-card--divided {
    border-top: 1px solid #e8e8e8;
    padding-top: 14px;
    margin-top: 14px;
}

.hero-news-featured-card-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
}

.hero-news-featured-content {
    flex: 1;
    min-width: 0;
}

.hero-news-featured-image-link {
    flex-shrink: 0;
    display: block;
    width: 120px;
    overflow: hidden;
}

.hero-news-featured-img {
    width: 120px;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.hero-news-featured-credit {
    font-size: 11px;
    margin-top: 0;
}

.hero-news-featured-title {
    font-family: var(--bs-heading-font-family);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px 0;
}

.hero-news-featured-title a {
    color: inherit;
    text-decoration: none;
}

.hero-news-featured-title a:hover {
    text-decoration: underline;
}

.hero-news-featured-excerpt {
    font-size: 15px;
    line-height: 1.45;
    color: #333;
    margin: 0 0 8px 0;
}

.hero-news-featured-meta {
    font-size: 11px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .hero-news {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-news-center {
        order: 3;
    }

    .hero-news-right {
        order: 2;
    }
}

/* Forecast row – full width under hero, multiple days in a row */
.hero-forecast-row {
    width: 100%;
    padding: 24px 0;
    border-bottom: 1px solid #e2e2e2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hero-weather-story {
    flex: 1.5;
    min-width: 300px;
    border-right: 1px solid #e2e2e2;
    padding-right: 32px;
}

.hero-weather-story-label {
    margin-bottom: 20px !important;
}

.hero-weather-story-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hero-weather-story-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.hero-weather-story-thumb {
    flex: 0 0 140px;
    width: 140px;
    height: 95px;
    overflow: hidden;
}

.hero-weather-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-weather-story-title {
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px 0;
}

.hero-weather-story-link:hover .hero-weather-story-title {
    text-decoration: underline;
}

.hero-weather-story-excerpt {
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    margin: 0;
}

.hero-forecast-main {
    flex: 2;
    min-width: 320px;
}

@media (max-width: 991px) {
    .hero-weather-story {
        flex: 1 1 100%;
        border-right: none;
        padding-right: 0;
        padding-bottom: 24px;
        border-bottom: 1px solid #e2e2e2;
    }

    .hero-forecast-main {
        flex: 1 1 100%;
    }
}

.hero-forecast-cta-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-forecast-cta-wrap .hero-forecast-cta {
    height: auto;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
}

.hero-forecast-row-title {
    font-family: var(--ui-font-family);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #000 !important;
}

.hero-forecast-days {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.hero-forecast-day {
    flex: 1;
    min-width: 80px;
    max-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    background: #f8f9fa;
    border: 1px solid #e2e2e2;
    border-radius: 0;
}

.hero-forecast-day-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
}

.hero-forecast-day-date {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}

.hero-forecast-day-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    color: #333;
}

.hero-forecast-day-icon svg {
    width: 100%;
    height: 100%;
}

.hero-forecast-day-temps {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.hero-forecast-day-high {
    color: #000;
}

.hero-forecast-day-low {
    color: #666;
}

.hero-forecast-day-condition {
    font-size: 11px;
    color: #666;
    line-height: 1.2;
}

.hero-forecast-source {
    margin-top: 12px;
}

.hero-forecast-empty-wrap {
    padding: 16px 0;
}

.hero-forecast-empty {
    padding: 0;
}

.hero-forecast-cta {
    position: relative;
    display: inline-block;
    background: #000;
    color: #fff;
    font-weight: 700;
    padding: 16px 24px;
    text-decoration: none;
    border: none;
    font-size: 0.9rem;
    border-radius: 0;
    max-width: 180px;
    line-height: 1.3;
}

.hero-forecast-cta-arrow {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0.9;
}

.hero-forecast-cta:hover {
    background: #333;
    color: #fff;
}

.hero-forecast-cta:hover .hero-forecast-cta-arrow {
    color: #fff;
}

.hero-forecast-error {
    color: #c00;
}

@media (max-width: 768px) {
    .hero-forecast-days {
        justify-content: center;
        gap: 12px;
    }

    .hero-forecast-day {
        min-width: 90px;
        max-width: none;
        flex: 1 1 calc(33.333% - 12px);
        padding: 14px 10px;
    }

    .hero-forecast-day-name {
        font-size: 12px;
    }

    .hero-forecast-day-temps {
        font-size: 15px;
    }

    .hero-forecast-day-icon {
        width: 40px;
        height: 40px;
    }

    /* Latest in Weather story - card layout on mobile */
    .hero-weather-story-inner {
        flex-direction: column;
        gap: 12px;
    }

    .hero-weather-story-thumb {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .hero-weather-story-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-weather-story-content {
        padding: 0;
    }

    .hero-weather-story-title {
        font-size: 1.1rem;
    }

    .hero-weather-story-excerpt {
        font-size: 13px;
    }
}

/* ——— More News Section (NYT style) ——— */
.more-news-section {
    padding: 32px 0;
    border-top: 1px solid #e2e2e2;
}

.more-news-header {
    margin-bottom: 20px;
}

.more-news-title {
    font-family: var(--ui-font-family);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #000;
    margin: 0;
}

.more-news-top-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e2e2;
}

@media (max-width: 991px) {
    .more-news-top-grid {
        grid-template-columns: 1fr 1fr;
    }

    .more-news-center-col {
        grid-column: 1 / -1;
        order: -1;
    }
}

@media (max-width: 576px) {
    .more-news-top-grid {
        grid-template-columns: 1fr;
    }
}

.more-news-left-col,
.more-news-right-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.more-news-text-item {
    padding: 16px 0;
    border-bottom: 1px solid #e2e2e2;
}

.more-news-text-item:first-child {
    padding-top: 0;
}

.more-news-text-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.more-news-text-title {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px 0;
}

.more-news-text-title a {
    color: inherit;
    text-decoration: none;
}

.more-news-text-title a:hover {
    text-decoration: underline;
}

.more-news-text-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0 0 8px 0;
}

.more-news-read-time {
    font-family: var(--ui-font-family);
    font-size: 11px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.more-news-center-col {
    display: flex;
    flex-direction: column;
}

.more-news-featured {
    margin: 0;
}

.more-news-featured-image-link {
    display: block;
    overflow: hidden;
}

.more-news-featured-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.more-news-photo-credit,
.photo-credit {
    font-family: var(--ui-font-family);
    font-size: 11px;
    color: #666;
    margin: 8px 0 0 0;
    text-align: right;
}

.photo-credit a,
.more-news-photo-credit a {
    color: #666;
    text-decoration: none;
}

.photo-credit a:hover,
.more-news-photo-credit a:hover {
    text-decoration: underline;
    color: #333;
}

.more-news-side-card {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #e2e2e2;
}

.more-news-side-card:first-child {
    padding-top: 0;
}

.more-news-side-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.more-news-side-content {
    flex: 1;
    min-width: 0;
}

.more-news-side-title {
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px 0;
}

.more-news-side-title a {
    color: inherit;
    text-decoration: none;
}

.more-news-side-title a:hover {
    text-decoration: underline;
}

.more-news-side-excerpt {
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    margin: 0 0 8px 0;
}

.more-news-side-thumb-link {
    flex-shrink: 0;
    display: block;
    width: 100px;
    height: 75px;
    overflow: hidden;
}

.more-news-side-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-news-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid #e2e2e2;
    margin-top: 24px;
}

@media (max-width: 991px) {
    .more-news-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .more-news-bottom-grid {
        grid-template-columns: 1fr;
    }
}

.more-news-card {
    padding-right: 20px;
    border-right: 1px solid #e2e2e2;
}

.more-news-card:last-child {
    border-right: none;
    padding-right: 0;
}

@media (max-width: 991px) {
    .more-news-card:nth-child(2) {
        border-right: none;
        padding-right: 0;
    }

    .more-news-card:nth-child(3),
    .more-news-card:nth-child(4) {
        border-top: 1px solid #e2e2e2;
        padding-top: 20px;
    }
}

@media (max-width: 576px) {
    .more-news-card {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e2e2e2;
        padding-bottom: 20px;
    }

    .more-news-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .more-news-card:nth-child(3),
    .more-news-card:nth-child(4) {
        border-top: none;
        padding-top: 0;
    }
}

.more-news-card--first .more-news-card-thumb-link {
    display: block;
    margin-bottom: 12px;
    overflow: hidden;
}

.more-news-card--first .more-news-card-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.more-news-card-body {
    display: flex;
    flex-direction: column;
}

.more-news-card-cat {
    font-family: var(--ui-font-family);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #666;
    margin-bottom: 6px;
}

.more-news-card-title {
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px 0;
}

.more-news-card-title a {
    color: inherit;
    text-decoration: none;
}

.more-news-card-title a:hover {
    text-decoration: underline;
}

.more-news-card-excerpt {
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    margin: 0 0 10px 0;
}

.more-news-footer {
    margin-top: 20px;
    text-align: right;
}

.more-news-see-more {
    font-family: var(--ui-font-family);
    font-size: 13px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
}

.more-news-see-more:hover {
    text-decoration: underline;
}

/* Editor's Picks variant – 2-column top grid (text left, large image right) */
.more-news-top-grid--editor {
    grid-template-columns: 1fr 2fr;
}

.more-news-center-col--wide {
    grid-column: 2;
}

@media (max-width: 991px) {
    .more-news-top-grid--editor {
        grid-template-columns: 1fr;
    }

    .more-news-center-col--wide {
        grid-column: 1;
        order: -1;
    }
}

/* Bottom grid with 3 items */
.more-news-bottom-grid--three {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991px) {
    .more-news-bottom-grid--three {
        grid-template-columns: 1fr;
    }

    .more-news-bottom-grid--three .more-news-card {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e2e2e2;
        padding-bottom: 20px;
    }

    .more-news-bottom-grid--three .more-news-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Newsletter Subscribe Form (Contact Form 7) */
.homepage-sidebar-widget .wp-block-heading {
    font-family: var(--ui-font-family);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #000;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e2e2;
}

.homepage-sidebar-widget .wpcf7-form {
    font-family: var(--ui-font-family);
}

.homepage-sidebar-widget .wpcf7-form p {
    margin: 0 0 16px 0;
}

.homepage-sidebar-widget .wpcf7-form p:last-of-type {
    margin-bottom: 0;
}

.homepage-sidebar-widget .wpcf7-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #333;
    margin-bottom: 6px;
}

.homepage-sidebar-widget .wpcf7-form-control-wrap {
    display: block;
}

.homepage-sidebar-widget .wpcf7-form input[type="text"],
.homepage-sidebar-widget .wpcf7-form input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--ui-font-family);
    font-size: 14px;
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #000;
    outline: none;
    transition: border-color 0.2s;
}

.homepage-sidebar-widget .wpcf7-form input[type="text"]:focus,
.homepage-sidebar-widget .wpcf7-form input[type="email"]:focus {
    border-color: #000;
}

.homepage-sidebar-widget .wpcf7-form input[type="submit"] {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 20px;
    font-family: var(--ui-font-family);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s;
}

.homepage-sidebar-widget .wpcf7-form input[type="submit"]:hover {
    background: #333;
}

.homepage-sidebar-widget .wpcf7-spinner {
    margin-left: 10px;
}

.homepage-sidebar-widget .wpcf7-response-output {
    margin: 16px 0 0 0 !important;
    padding: 12px !important;
    border: 1px solid #e2e2e2 !important;
    font-size: 13px;
}

.homepage-sidebar-widget .wpcf7-form.sent .wpcf7-response-output {
    border-color: #0b8043 !important;
    color: #0b8043;
}

.homepage-sidebar-widget .wpcf7-form.invalid .wpcf7-response-output,
.homepage-sidebar-widget .wpcf7-form.failed .wpcf7-response-output {
    border-color: #d10000 !important;
    color: #d10000;
}

/* ——— Mobile Menu Toggle ——— */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ——— Mobile Header Styles ——— */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 10001;
    }

    .classic-header-container {
        position: relative;
    }

    .classic-primary-navigation {
        position: relative;
    }

    .classic-primary-navigation .nav-primary {
        display: none;
        position: absolute;
        top: 100%;
        left: -20px;
        right: -20px;
        background: #fff;
        z-index: 1000;
        padding: 16px 20px;
        border-bottom: 1px solid #000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .classic-primary-navigation .nav-primary.is-open {
        display: block;
    }

    .classic-primary-navigation ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .classic-primary-navigation li {
        border-bottom: 1px solid #e2e2e2;
    }

    .classic-primary-navigation li:last-child {
        border-bottom: none;
    }

    .classic-primary-navigation a {
        display: block;
        padding: 12px 0;
        font-size: 14px;
    }

    .header-actions {
        position: absolute !important;
        top: 50%;
        transform: translateY(-50%);
        right: 0 !important;
        z-index: 100 !important;
        margin-top: 0;
    }

    .classic-primary-navigation {
        position: relative;
        margin-top: 2px;
        padding-top: 22px !important;
        padding-bottom: 18px !important;
        padding-right: 50px;
    }

    .classic-ticker-bar {
        clear: both;
        margin-top: 0;
        padding-top: 10px;
        border-top: none;
    }

    .classic-header-top {
        flex-direction: column;
        gap: 12px;
        padding: 12px 0;
    }

    .classic-header-left,
    .classic-header-right {
        flex: none;
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .classic-header-left {
        order: 2;
    }

    .classic-site-logo {
        order: 1;
        flex: none;
        width: 100%;
    }

    .classic-header-right {
        order: 3;
    }

    .classic-masthead {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        letter-spacing: -0.5px;
        word-break: break-word;
        hyphens: auto;
        padding: 0 10px;
    }

    .classic-date,
    .classic-todays-paper {
        font-size: 11px;
    }

    .classic-weather {
        font-size: 11px;
        text-align: center;
    }

    .classic-weather-row {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .classic-masthead {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.1;
    }

    .classic-header-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .classic-header-left,
    .classic-header-right {
        display: none;
    }

    .classic-header-top {
        padding: 8px 0;
    }
}