/* 
 Theme Name:   WHF Media Custom Child Theme
 Theme URI:    http://news.offerve.com
 Description:  Custom professional editorial child theme optimized for finance and corporate news.
 Author:       mdmirajali005@gmail.com
 Author URI:   http://news.offerve.com
 Template:     astra
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */
:root {
    --primary-dark: #0B132B;
    --accent-gold: #DDAF81;
    --accent-gold-hover: #C5986B;
    --bg-base: #FFFFFF;
    --bg-alt: #F8F9FA;
    --bg-card-dark: #121C38;
    --text-dark: #111111;
    --text-light: #FFFFFF;
    --text-muted: #8E9AAF;
    --text-sub: #6C757D;
    
    --font-headings: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    
    --container-max-width: 1400px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-color: #E2E8F0;
    --border-color-dark: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   RESET & BASE STYLE OVERRIDES (Astra Compatibility)
   ========================================================================== */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-base);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    margin-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.whf-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   CUSTOM HEADER (DESKTOP & MOBILE STICKY)
   ========================================================================== */
.whf-site-header {
    background-color: var(--primary-dark);
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.whf-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.whf-brand {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.whf-logo {
    font-family: var(--font-headings);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-light);
}

.whf-logo span {
    font-weight: 300;
    font-family: var(--font-body);
    font-size: 20px;
    color: var(--accent-gold);
    margin-left: 2px;
}

.whf-tagline {
    font-size: 13px;
    font-family: var(--font-body);
    color: var(--text-muted);
    font-weight: 400;
    border-left: 1px solid var(--border-color-dark);
    padding-left: 15px;
}

/* Navigation Menu */
.whf-desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.whf-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.whf-nav-menu a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 10px 0;
    position: relative;
}

.whf-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.whf-nav-menu li.current-menu-item a::after,
.whf-nav-menu a:hover::after {
    width: 100%;
}

.whf-header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Search bar */
.whf-search-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.whf-search-toggle:hover {
    color: var(--accent-gold);
}

.whf-search-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Subscribe button */
.whf-btn-subscribe {
    background-color: var(--accent-gold);
    color: var(--primary-dark) !important;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whf-btn-subscribe:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-1px);
}

/* Mobile Hamburger Menu */
.whf-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

.whf-mobile-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Mobile Navigation Drawer */
.whf-mobile-menu-overlay {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: var(--primary-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.whf-mobile-menu-overlay.active {
    transform: translateX(0);
}

.whf-mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.whf-mobile-nav-list a {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
}

.whf-mobile-menu-overlay .whf-btn-subscribe {
    align-self: flex-start;
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   SECTION A: THE HERO GRID (DARK NAVY BACKGROUND)
   ========================================================================== */
.whf-hero-section {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 40px 0;
    overflow: hidden;
}

.whf-hero-grid {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 15px;
    border-radius: 4px;
    overflow: hidden;
}

/* Hero Left - Main Slider Post */
.whf-hero-left {
    position: relative;
    height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px;
    border-radius: 4px;
    overflow: hidden;
}

.whf-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.whf-hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.whf-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(11, 19, 43, 0.2) 0%, 
        rgba(11, 19, 43, 0.65) 50%,
        rgba(11, 19, 43, 0.98) 100%
    );
}

.whf-hero-left-content {
    position: relative;
    z-index: 3;
    max-width: 620px;
}

.whf-category-tag {
    display: inline-block;
    background-color: rgba(221, 175, 129, 0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.whf-hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.whf-hero-excerpt {
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.5;
}

.whf-read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 12px 28px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.whf-read-more-link:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

/* Hero Slider Navigation */
.whf-hero-slider-nav {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    position: relative;
    z-index: 3;
}

.whf-slider-dot {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: var(--transition-smooth);
}

.whf-slider-dot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.whf-slider-dot.active {
    color: var(--text-light);
}

.whf-slider-dot.active::after {
    width: 100%;
}

/* Hero Right - Stacked Cards */
.whf-hero-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whf-hero-card {
    position: relative;
    flex: 1;
    min-height: 282px;
    border-radius: 4px;
    overflow: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.whf-hero-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease-in-out;
    z-index: 1;
}

.whf-hero-card:hover .whf-hero-card-bg {
    transform: scale(1.05);
}

.whf-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(11, 19, 43, 0.3) 0%, 
        rgba(11, 19, 43, 0.9) 100%
    );
    z-index: 2;
}

.whf-hero-card-content {
    position: relative;
    z-index: 3;
    max-width: 85%;
}

/* Leadership Profile Specific layout: Right Author Photo overlay */
.whf-hero-card-profile {
    justify-content: space-between;
    background-color: var(--bg-card-dark);
}

.whf-hero-card-profile::before {
    display: none;
}

.whf-profile-layout {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    gap: 20px;
}

.whf-profile-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.whf-profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid rgba(221, 175, 129, 0.3);
    object-fit: cover;
    flex-shrink: 0;
}

.whf-hero-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-light);
    margin: 10px 0 12px 0;
}

.whf-hero-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.whf-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gold);
}

.whf-card-link:hover {
    color: var(--text-light);
}

/* SVG Chart Graphic in Insights Card */
.whf-chart-container {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   SECTION B: MAIN CONTENT FEED (LIGHT BACKGROUND)
   ========================================================================== */
.whf-main-feed-section {
    background-color: var(--bg-base);
    padding: 60px 0;
}

.whf-main-feed-grid {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 40px;
}

/* Left - Top Stories */
.whf-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid var(--primary-dark);
    padding-bottom: 12px;
    margin-bottom: 30px;
}

.whf-section-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

.whf-section-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-sub);
    text-transform: uppercase;
}

.whf-section-link:hover {
    color: var(--accent-gold-hover);
}

.whf-stories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.whf-top-story-card {
    display: flex;
    flex-direction: column;
}

.whf-card-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.whf-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.whf-top-story-card:hover .whf-card-thumbnail img {
    transform: scale(1.05);
}

.whf-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.whf-card-category {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-gold-hover);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.whf-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.whf-card-title a:hover {
    color: var(--accent-gold-hover);
}

.whf-card-date {
    font-size: 11px;
    color: var(--text-sub);
    margin-top: auto;
}

/* Right - Market Overview Tabbed Widget */
.whf-market-widget {
    background-color: var(--bg-alt);
    border-radius: 6px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.whf-market-tabs {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.whf-market-tab-btn {
    flex: 1;
    background: #FFFFFF;
    border: none;
    padding: 12px 10px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-sub);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.whf-market-tab-btn:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.whf-market-tab-btn.active {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.whf-market-table-pane {
    display: none;
}

.whf-market-table-pane.active {
    display: block;
}

.whf-market-table {
    width: 100%;
    border-collapse: collapse;
}

.whf-market-table td {
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

.whf-market-name {
    font-weight: 700;
    color: var(--text-dark);
}

.whf-market-value {
    text-align: right;
    font-weight: 600;
    color: #4A5568;
}

.whf-market-change {
    text-align: right;
    font-weight: 700;
    width: 90px;
}

.whf-market-change.up {
    color: #2F855A;
}

.whf-market-change.down {
    color: #C53030;
}

.whf-market-change svg {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    display: inline-block;
    vertical-align: middle;
}

.whf-market-timestamp {
    display: block;
    margin-top: 15px;
    font-size: 10px;
    color: var(--text-sub);
}

/* Tablet Promo Banner (Only visible on tablet/small screens helper) */
.whf-tablet-promo-card {
    display: none;
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 30px;
    border-radius: 6px;
    margin-top: 25px;
    background-image: radial-gradient(circle at bottom right, rgba(221, 175, 129, 0.15) 0%, transparent 60%);
}

.whf-promo-title {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 10px;
}

.whf-promo-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.whf-promo-form {
    display: flex;
    gap: 10px;
}

.whf-promo-input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color-dark);
    padding: 10px 15px;
    border-radius: 4px;
    color: var(--text-light);
    font-size: 13px;
}

.whf-promo-input::placeholder {
    color: var(--text-muted);
}

/* ==========================================================================
   SECTION C: DARK FOOTER & LEAD CAPTURE
   ========================================================================== */
.whf-site-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 30px 0;
    border-top: 4px solid var(--accent-gold);
}

.whf-footer-layout {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
    align-items: center;
    border-bottom: 1px solid var(--border-color-dark);
    padding-bottom: 50px;
    margin-bottom: 30px;
}

/* Left - Benefits Grid */
.whf-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.whf-benefit-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whf-benefit-icon {
    color: var(--accent-gold);
    width: 24px;
    height: 24px;
}

.whf-benefit-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.whf-benefit-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    color: var(--text-light);
}

.whf-benefit-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* Right - Lead Capture */
.whf-newsletter-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whf-newsletter-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: var(--accent-gold);
}

.whf-newsletter-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.whf-newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color-dark);
}

.whf-newsletter-input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.03);
    border: none;
    padding: 12px 16px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 13px;
}

.whf-newsletter-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.05);
}

.whf-newsletter-input::placeholder {
    color: var(--text-muted);
}

.whf-newsletter-submit {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 13px;
    border: none;
    padding: 0 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
}

.whf-newsletter-submit:hover {
    background-color: var(--accent-gold-hover);
}

/* Bottom Bar */
.whf-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whf-copyright {
    font-size: 11px;
    color: var(--text-muted);
}

.whf-footer-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.whf-footer-nav a {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.whf-footer-nav a:hover {
    color: var(--accent-gold);
}

/* ==========================================================================
   TABLET RESPONSIVENESS BREAKPOINT (1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .whf-brand {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .whf-tagline {
        border-left: none;
        padding-left: 0;
        margin-top: -3px;
    }

    .whf-hero-grid {
        grid-template-columns: 1fr;
    }
    
    .whf-hero-left {
        height: 480px;
        padding: 40px;
    }
    
    .whf-hero-title {
        font-size: 34px;
    }
    
    .whf-hero-right {
        flex-direction: row;
    }
    
    .whf-hero-card {
        min-height: 240px;
        padding: 24px;
    }
    
    .whf-profile-avatar {
        width: 100px;
        height: 100px;
    }

    .whf-main-feed-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .whf-stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .whf-tablet-promo-card {
        display: block;
    }

    .whf-footer-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .whf-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS BREAKPOINT (768px)
   ========================================================================== */
@media (max-width: 768px) {
    .whf-desktop-nav {
        display: none;
    }
    
    .whf-mobile-toggle {
        display: block;
    }

    .whf-header-top {
        padding: 15px 0;
    }
    
    .whf-brand {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    
    .whf-tagline {
        display: none;
    }
    
    .whf-logo {
        font-size: 24px;
    }
    
    .whf-logo span {
        font-size: 16px;
    }

    .whf-hero-section {
        padding: 80px 0 15px 0 !important; /* Safe padding spacing beneath sticky mobile header */
    }

    .whf-hero-left {
        padding-top: 60px !important; /* Pushes content down past the sticky header */
        padding-bottom: 40px !important;
        height: auto !important; /* Force layout to adapt to text height instead of using a rigid fixed height */
        min-height: 520px; /* Maintains the strong visual frame height */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .whf-hero-title {
        font-size: 22px !important; /* Smaller text size ensures massive titles fit inside the viewport */
        line-height: 1.3 !important;
        margin-top: 10px !important;
        margin-bottom: 12px !important;
        word-wrap: break-word;
    }
    
    .whf-hero-excerpt {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .whf-read-more-link {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .whf-hero-right {
        flex-direction: column;
    }
    
    .whf-hero-card {
        min-height: 220px;
    }

    .whf-stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Vertically stack Top Stories on mobile to prevent boundaries breakage and text collision */
    .whf-top-story-card {
        flex-direction: column;
        gap: 12px;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
        margin-bottom: 10px;
    }
    
    .whf-top-story-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .whf-card-thumbnail {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        margin-bottom: 5px;
        flex-shrink: 0;
    }
    
    .whf-card-content {
        width: 100%;
    }
    
    .whf-card-category {
        margin-bottom: 6px;
        display: inline-block;
    }
    
    .whf-card-title {
        font-size: 16px;
        margin-bottom: 8px;
        -webkit-line-clamp: 3;
        line-height: 1.4;
    }
    
    .whf-card-date {
        margin-top: 4px;
        display: block;
    }
    
    .whf-benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .whf-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .whf-footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}
