/* ==========================================================================
   Chief Magazine - Homepage Editorial Stylesheet
   Refined Inter Typography, Overlay Cards, Equal Height Leadership Cards, & Separators
   Scoped under .chief-homepage and .home
   ========================================================================== */

/* --- Global Base & Typography System --- */
.chief-homepage {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   GLOBAL EDITORIAL CONTENT CONTAINER WIDTH (1280px Max-Width + 32px Breathing Room)
   Applied to Header, Homepage Sections, and Footer
   ========================================================================== */

@media (min-width: 1200px) {
    .main-header .container,
    .chief-homepage .container,
    .footer-sidebar-2-container,
    .footer-sidebar-wrapper .container,
    .main-footer .container {
        max-width: var(--chief-header-content-max-width, 1280px) !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: var(--chief-header-padding-desktop, 24px) !important;
        padding-right: var(--chief-header-padding-desktop, 24px) !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .main-header .container,
    .chief-homepage .container,
    .footer-sidebar-2-container,
    .footer-sidebar-wrapper .container,
    .main-footer .container {
        padding-left: var(--chief-header-padding-tablet, 20px) !important;
        padding-right: var(--chief-header-padding-tablet, 20px) !important;
    }
}

@media (max-width: 767px) {
    .main-header .container,
    .chief-homepage .container,
    .footer-sidebar-2-container,
    .footer-sidebar-wrapper .container,
    .main-footer .container {
        padding-left: var(--chief-header-padding-mobile, 16px) !important;
        padding-right: var(--chief-header-padding-mobile, 16px) !important;
    }
}

/* --- Section Spacing & Layout --- */
.chief-homepage .chief-section {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.chief-homepage .chief-section:last-of-type {
    border-bottom: none;
}

/* --- Typography Scale & Hierarchy (Inter) --- */
.chief-homepage h1,
.chief-homepage h2,
.chief-homepage h3,
.chief-homepage h4,
.chief-homepage h5,
.chief-homepage .chief-section-title,
.chief-homepage .chief-hero-title,
.chief-homepage .chief-sec-title,
.chief-homepage .chief-trending-title,
.chief-homepage .chief-biz-title,
.chief-homepage .chief-text-title,
.chief-homepage .chief-tech-title,
.chief-homepage .chief-tech-sub-title,
.chief-homepage .chief-banner-headline,
.chief-homepage .chief-columnist-title,
.chief-homepage .chief-int-title,
.chief-homepage .chief-int-item-title,
.chief-homepage .chief-life-title,
.chief-homepage .chief-life-sub-title,
.chief-homepage .chief-event-title,
.chief-homepage .chief-event-item-title,
.chief-homepage .chief-deep-title,
.chief-homepage .chief-newsletter-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

/* H1 Hero Title: 36px / 700 / 1.2 */
.chief-homepage .chief-hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 10px 0 14px 0;
}

.chief-homepage .chief-hero-title a {
    color: #0f172a;
    text-decoration: none;
}

.chief-homepage .chief-hero-title a:hover {
    color: #1e293b;
}

/* H2 Section Title: 24px / 700 / 1.3 */
.chief-homepage .chief-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0f172a;
}

.chief-homepage .chief-section-header.dark {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.chief-homepage .chief-section-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin: 0;
}

.chief-homepage .chief-section-header.dark .chief-section-title {
    color: #ffffff;
}

.chief-homepage .chief-section-more {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #e11d48;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.chief-homepage .chief-section-more:hover {
    color: #be123c;
    text-decoration: underline;
}

.chief-homepage .chief-section-header.dark .chief-section-more {
    color: #94a3b8;
}

.chief-homepage .chief-section-header.dark .chief-section-more:hover {
    color: #ffffff;
}

/* H3 Card & Article Titles: 18px / 600 / 1.4 */
.chief-homepage .chief-biz-title,
.chief-homepage .chief-tech-title,
.chief-homepage .chief-int-title,
.chief-homepage .chief-event-title,
.chief-homepage .chief-columnist-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* Body Text: 15px / 400 / 1.6 */
.chief-homepage p,
.chief-homepage .chief-hero-excerpt p,
.chief-homepage .chief-biz-excerpt p,
.chief-homepage .chief-tech-excerpt p,
.chief-homepage .chief-columnist-excerpt p,
.chief-homepage .chief-int-excerpt p,
.chief-homepage .chief-deep-excerpt p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: #334155;
}

/* Meta Text: 13px / 400 / 1.5 */
.chief-homepage .chief-card-meta {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #64748b;
    margin-top: 8px;
}

.chief-homepage .chief-card-meta.small {
    font-size: 13px;
}

.chief-homepage .chief-card-meta a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
}

.chief-homepage .chief-card-meta a:hover {
    color: #0f172a;
}

.chief-homepage .chief-meta-divider {
    margin: 0 5px;
    color: #cbd5e1;
}

/* Category Badges System: Individual Badges with Clear Visual Separation */
.chief-homepage .chief-card-category,
.chief-card-category {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px 8px !important;
    margin-bottom: 10px !important;
}

.chief-homepage .chief-card-category a,
.chief-homepage .chief-cat-badge,
.chief-card-category a,
.chief-cat-badge {
    display: inline-flex !important;
    align-items: center !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #ba0000 !important;
    background-color: #f1f3f5 !important;
    padding: 4px 8px !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
}

.chief-homepage .chief-card-category a:hover,
.chief-homepage .chief-cat-badge:hover,
.chief-card-category a:hover,
.chief-cat-badge:hover {
    background-color: #e2e8f0 !important;
    color: #900000 !important;
}

/* Category Badges for Dark Image-Overlay Cards (e.g. Hero Right Stack & Tech Dark) */
.chief-homepage .chief-card-category.badge-dark a,
.chief-homepage .badge-dark .chief-cat-badge,
.chief-card-hero-overlay .chief-cat-badge,
.chief-card-hero-overlay .chief-card-category a,
.chief-section-tech-dark .chief-cat-badge {
    background-color: #ffffff !important;
    color: #ba0000 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}

.chief-homepage .chief-card-category.badge-dark a:hover,
.chief-homepage .badge-dark .chief-cat-badge:hover,
.chief-card-hero-overlay .chief-cat-badge:hover,
.chief-card-hero-overlay .chief-card-category a:hover,
.chief-section-tech-dark .chief-cat-badge:hover {
    background-color: #f8fafc !important;
    color: #900000 !important;
}

/* ==========================================================================
   1. EDITORIAL 2-ROW DESKTOP HEADER STYLING (.main-header)
   ========================================================================== */

/* Parent Stacking Conflict Overrides */
.main-header {
    background-color: #ffffff !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
}

.main-header .container {
    max-width: 1280px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.main-header .col-md-12 {
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
}

.header-left, .header-center, .header-right {
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
    order: 0 !important;
    text-align: left !important;
}

/* ROW 1 STYLING (Admin Configurable Height & Colors) */
.chief-header-row-1 {
    background-color: var(--chief-header-row1-bg, #ffffff);
    height: var(--chief-header-row1-height, 80px);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.chief-header-row-1-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: var(--chief-header-row1-height, 80px);
}

.chief-header-left-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    gap: 32px !important;
}

.chief-header-row-1 .logo {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.chief-header-row-1 .logo img.chief-logo-img,
.chief-header-row-1 .logo img {
    max-height: var(--chief-header-logo-max-height, 58px) !important;
    max-width: var(--chief-header-logo-width, 190px) !important;
    height: auto !important;
    width: auto !important;
    display: block !important;
    object-fit: contain;
}

/* Row 1 Primary Navigation */
.chief-main-nav {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.chief-main-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.chief-nav-item {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.chief-nav-item a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--chief-header-row1-text, #111111) !important;
    text-decoration: none !important;
    position: relative;
    padding: 8px 0 !important;
    display: inline-block !important;
    transition: color 0.15s ease;
    white-space: nowrap !important;
}

.chief-nav-item a:hover {
    color: var(--chief-header-row1-hover, #ba0000) !important;
}

.chief-nav-item.active a {
    color: var(--chief-header-row1-active-text, #111111) !important;
    font-weight: 700 !important;
}

/* NEWS Active Red Underline */
.chief-nav-item.active a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -18px !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background-color: var(--chief-header-row1-active-indicator, #ba0000) !important;
    border-radius: 2px 2px 0 0;
}

/* ROW 2 STYLING (Admin Configurable Height & Colors) */
.chief-header-row-2 {
    background-color: var(--chief-header-row2-bg, #f7f7f7);
    border-top: 1px solid var(--chief-header-row2-border, #eeeeee);
    border-bottom: 1px solid var(--chief-header-row2-border, #e5e5e5);
    height: var(--chief-header-row2-height, 56px);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 9;
}

.chief-category-nav-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    height: var(--chief-header-row2-height, 56px);
}

.chief-category-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.chief-cat-item {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.chief-cat-item a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    color: var(--chief-header-row2-text, #444444) !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
    white-space: nowrap !important;
}

.chief-cat-item a:hover {
    color: var(--chief-header-row2-hover, #ba0000) !important;
}

/* Header Separator */
.chief-header-separator {
    display: var(--chief-header-separator-display, block);
    height: var(--chief-header-separator-thickness, 1px);
    background-color: var(--chief-header-separator-color, #E5E7EB);
    width: 100%;
}

/* MORE Dropdown Styling */
.chief-cat-more {
    position: relative;
}

.chief-cat-more .chief-more-dropdown {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 4px;
    min-width: 180px;
    position: absolute;
}

.chief-cat-more .chief-more-dropdown .dropdown-item {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #555555 !important;
    padding: 8px 16px !important;
    text-transform: none !important;
}

.chief-cat-more .chief-more-dropdown .dropdown-item:hover {
    background-color: #f8fafc !important;
    color: #ba0000 !important;
}

/* ==========================================================================
   2. HERO SECTION — RIGHT SIDE IMAGE OVERLAY CARDS
   ========================================================================== */

.chief-homepage .chief-card-hero-primary .chief-card-media img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.chief-homepage .chief-hero-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.chief-homepage .chief-card-hero-overlay {
    position: relative;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.chief-homepage .chief-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.chief-homepage .chief-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.88) 100%);
    transition: background 0.25s ease;
}

.chief-homepage .chief-card-hero-overlay:hover .chief-overlay-gradient {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.38) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.chief-homepage .chief-overlay-content {
    position: relative;
    z-index: 1;
    padding: 14px 16px;
}

.chief-homepage .chief-overlay-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    margin: 4px 0 2px 0;
}

.chief-homepage .chief-overlay-title a {
    color: #ffffff;
    text-decoration: none;
}

.chief-homepage .chief-overlay-title a:hover {
    color: #f1f5f9;
}

/* ==========================================================================
   3. TRENDING SECTION (01-05)
   ========================================================================== */

.chief-homepage .chief-trending-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.chief-homepage .chief-card-trending {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.chief-homepage .chief-trending-number {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: #64748b;
    margin-right: 12px;
    flex-shrink: 0;
}

.chief-homepage .chief-trending-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 2px 0 4px 0;
}

.chief-homepage .chief-trending-title a {
    color: #0f172a;
    text-decoration: none;
}

/* ==========================================================================
   4. BUSINESS SECTION
   ========================================================================== */

.chief-homepage .chief-card-biz-featured .chief-card-media img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.chief-homepage .chief-text-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chief-homepage .chief-card-text-only {
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.chief-homepage .chief-card-text-only:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.chief-homepage .chief-text-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin: 4px 0 6px 0;
}

.chief-homepage .chief-text-title a {
    color: #0f172a;
    text-decoration: none;
}

/* ==========================================================================
   5. TECH & INNOVATION DARK SECTION (LEFT COLUMN SEPARATION)
   ========================================================================== */

.chief-homepage .chief-section-tech-dark {
    background-color: #111827;
    color: #f8fafc;
    border-bottom: none;
}

.chief-homepage .chief-card-tech-lead {
    padding-bottom: 20px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.chief-homepage .chief-tech-sublist .chief-card-tech-sub {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 0 !important;
}

.chief-homepage .chief-tech-sublist .chief-card-tech-sub:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.chief-homepage .chief-tech-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin: 8px 0 10px 0;
}

.chief-homepage .chief-tech-title a {
    color: #ffffff;
    text-decoration: none;
}

.chief-homepage .chief-tech-excerpt p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
}

.chief-homepage .chief-tech-sub-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin: 4px 0 4px 0;
}

.chief-homepage .chief-tech-sub-title a {
    color: #f1f5f9;
    text-decoration: none;
}

.chief-homepage .chief-card-tech-visual .chief-card-media img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.chief-homepage .chief-link-arrow {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fb7185;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-top: 8px;
}

/* ==========================================================================
   6. FULL-WIDTH EDITORIAL QUOTE BANNER
   ========================================================================== */

.chief-homepage .chief-section-quote-banner {
    position: relative;
    background-size: cover;
    background-position: center;
}

.chief-homepage .chief-banner-overlay {
    background: rgba(15, 23, 42, 0.82);
    padding: 70px 0;
}

.chief-homepage .chief-banner-content {
    color: #ffffff;
}

.chief-homepage .chief-banner-headline {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 8px 0 12px 0;
}

.chief-homepage .chief-banner-headline a {
    color: #ffffff;
    text-decoration: none;
}

.chief-homepage .chief-banner-excerpt p {
    font-size: 15px;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.chief-homepage .chief-btn-banner {
    display: inline-block;
    padding: 10px 22px;
    background-color: #e11d48;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.chief-homepage .chief-btn-banner:hover {
    background-color: #be123c;
    color: #ffffff;
}

/* ==========================================================================
   7. LEADERSHIP SECTION — EQUAL HEIGHT CARDS
   ========================================================================== */

.chief-homepage .chief-card-columnist {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px !important;
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.chief-homepage .chief-author-avatar img {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.chief-homepage .chief-author-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.chief-homepage .chief-columnist-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    margin: 12px 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.chief-homepage .chief-columnist-title a {
    color: #0f172a;
    text-decoration: none;
}

.chief-homepage .chief-columnist-excerpt {
    flex-grow: 1;
}

.chief-homepage .chief-columnist-excerpt p {
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.chief-homepage .chief-card-columnist .chief-card-meta {
    margin-top: auto;
    padding-top: 16px;
    font-size: 13px;
    color: #64748b;
}

/* ==========================================================================
   8. INTERVIEWS & CONVERSATION
   ========================================================================== */

.chief-homepage .chief-card-interview-main .chief-card-media img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.chief-homepage .chief-int-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 8px 0 10px 0;
}

.chief-homepage .chief-int-title a {
    color: #0f172a;
    text-decoration: none;
}

.chief-homepage .chief-interview-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chief-homepage .chief-card-interview-item {
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.chief-homepage .chief-card-interview-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.chief-homepage .chief-int-item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin: 4px 0 4px 0;
}

.chief-homepage .chief-int-item-title a {
    color: #0f172a;
    text-decoration: none;
}

/* ==========================================================================
   9. EVENTS & COMMUNITY — LEFT SIDE ARTICLE SEPARATION
   ========================================================================== */

.chief-homepage .chief-event-list .chief-card-event-item {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0 !important;
}

.chief-homepage .chief-event-list .chief-card-event-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.chief-homepage .chief-event-num {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: #e11d48;
    width: 32px;
    flex-shrink: 0;
}

.chief-homepage .chief-event-item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin: 2px 0 4px 0;
}

.chief-homepage .chief-event-item-title a {
    color: #0f172a;
    text-decoration: none;
}

.chief-homepage .chief-event-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 8px 0 10px 0;
}

.chief-homepage .chief-event-title a {
    color: #0f172a;
    text-decoration: none;
}

.chief-homepage .chief-card-event-featured .chief-card-media img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* ==========================================================================
   10. DEEP-DIVES / INSIGHTS
   ========================================================================== */

.chief-homepage .chief-deep-box {
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
}

.chief-homepage .chief-deep-heading {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
    padding-bottom: 8px;
    border-bottom: 2px solid #cbd5e1;
}

.chief-homepage .chief-deep-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin: 6px 0 6px 0;
}

.chief-homepage .chief-deep-title a {
    color: #0f172a;
    text-decoration: none;
}

/* ==========================================================================
   11. STAY INFORMED NEWSLETTER BOX — EDITORIAL SUBSCRIPTION CTA
   ========================================================================== */

.chief-homepage .chief-section-newsletter {
    display: none !important;
    padding: 24px 0 48px 0;
}

.chief-homepage .chief-newsletter-box {
    background-color: #F7F8FA;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 56px 32px;
    text-align: center;
}

.chief-homepage .chief-newsletter-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    color: #111111 !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
}

.chief-homepage .chief-newsletter-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #4B5563 !important;
    max-width: 620px;
    margin: 0 auto 28px auto !important;
}

.chief-homepage .chief-newsletter-form-wrap {
    max-width: 520px;
    margin: 0 auto;
}

/* Mailchimp Form & Fallback Form Layout */
.chief-homepage .mc4wp-form-fields,
.chief-homepage .chief-subscribe-form,
.chief-homepage .chief-form-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Email Input Field */
.chief-homepage .chief-newsletter-form-wrap input[type="email"],
.chief-homepage .chief-email-input {
    height: 50px !important;
    background-color: #FFFFFF !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 6px !important;
    padding: 0 18px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    color: #111111 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.chief-homepage .chief-newsletter-form-wrap input[type="email"]:focus,
.chief-homepage .chief-email-input:focus {
    border-color: #BA0000 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(186, 0, 0, 0.12) !important;
}

/* Subscribe Button */
.chief-homepage .chief-newsletter-form-wrap input[type="submit"],
.chief-homepage .chief-newsletter-form-wrap button[type="submit"],
.chief-homepage .chief-btn-subscribe {
    height: 50px !important;
    background-color: #BA0000 !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border-radius: 6px !important;
    padding: 0 28px !important;
    border: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}

.chief-homepage .chief-newsletter-form-wrap input[type="submit"]:hover,
.chief-homepage .chief-newsletter-form-wrap button[type="submit"]:hover,
.chief-homepage .chief-btn-subscribe:hover {
    background-color: #990000 !important;
    color: #FFFFFF !important;
}

.chief-homepage .chief-newsletter-privacy {
    display: block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #6B7280 !important;
    margin-top: 16px !important;
}

.chief-homepage .mc4wp-response {
    margin-top: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.chief-homepage .mc4wp-alert {
    padding: 10px 16px;
    border-radius: 6px;
    margin-top: 12px;
}
.chief-homepage .mc4wp-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.chief-homepage .mc4wp-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 991px) {
    .chief-homepage .chief-trending-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .chief-homepage .chief-hero-title {
        font-size: 28px;
    }
    .chief-homepage .chief-hero-left {
        margin-bottom: 24px;
    }
    .chief-homepage .chief-card-hero-overlay {
        height: 140px;
    }
    .chief-homepage .chief-biz-left,
    .chief-homepage .chief-tech-left,
    .chief-homepage .chief-int-left,
    .chief-homepage .chief-event-left {
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .chief-homepage .chief-section {
        padding: 36px 0;
    }
    .chief-homepage .chief-trending-grid {
        grid-template-columns: 1fr;
    }
    .chief-homepage .chief-hero-title {
        font-size: 24px;
    }
    .chief-homepage .chief-section-title {
        font-size: 20px;
    }
    .chief-homepage .chief-banner-headline {
        font-size: 20px;
    }
    .chief-homepage .chief-card-hero-overlay {
        height: 130px;
    }

    /* Newsletter Responsive Overrides */
    .chief-homepage .chief-newsletter-box {
        padding: 36px 20px !important;
    }
    .chief-homepage .chief-newsletter-title {
        font-size: 24px !important;
    }
    .chief-homepage .mc4wp-form-fields,
    .chief-homepage .chief-subscribe-form,
    .chief-homepage .chief-form-group {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .chief-homepage .chief-newsletter-form-wrap input[type="email"],
    .chief-homepage .chief-email-input,
    .chief-homepage .chief-newsletter-form-wrap input[type="submit"],
    .chief-homepage .chief-newsletter-form-wrap button[type="submit"],
    .chief-homepage .chief-btn-subscribe {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
}
