/* ----------------------------------------------------------
    :: Template Name: Founders & CEOs California
    :: Based on: TheGazette by Colorlib
    :: Description: Business magazine for California founders and executives
    ---------------------------------------------------------- */

    /* ============ CUSTOM STYLES ============ */

    /* Global Font - Montserrat for UI */
    body,
    h1, h2, h3, h4, h5, h6,
    p, a, span, div,
    .font-pt,
    .gazette-heading h4,
    .widget-title h5,
    .single-blog-post-content h3,
    .gazette-single-todays-post h3,
    .editorial-post-content h2,
    .single-video-post h5,
    .dont-miss-post-content a,
    .breaking-news-heading h5 {
        font-family: 'Montserrat', sans-serif !important;
    }

    /* Ensure all link states use Montserrat */
    a, a:hover, a:visited, a:active, a:focus,
    h1 a, h1 a:hover, h2 a, h2 a:hover, h3 a, h3 a:hover,
    h4 a, h4 a:hover, h5 a, h5 a:hover, h6 a, h6 a:hover,
    .font-pt, .font-pt:hover,
    .single-blog-post-content h3 a,
    .single-blog-post-content h3 a:hover,
    .gazette-single-todays-post h3 a,
    .gazette-single-todays-post h3 a:hover,
    .editorial-post-content h2 a,
    .editorial-post-content h2 a:hover,
    .single-video-post h5 a,
    .single-video-post h5 a:hover,
    .dont-miss-post-content a,
    .dont-miss-post-content a:hover,
    .breaking-news-heading h5,
    .breaking-news-heading h5:hover,
    .gazette-welcome-post h2 a,
    .gazette-welcome-post h2 a:hover,
    .todays-post-content h3 a,
    .todays-post-content h3 a:hover {
        font-family: 'Montserrat', sans-serif !important;
    }

    /* Magazine Header - Centered Logo */
    .magazine-header {
        padding: 40px 0;
        background-color: #fff;
        border-bottom: 3px solid #1a1a1a;
    }

    .magazine-logo a {
        text-decoration: none;
        display: inline-block;
    }

    .header-logo-img {
        max-height: 240px;
        width: auto;
    }

    .magazine-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 48px;
        font-weight: 800;
        color: #1a1a1a;
        margin: 0;
        letter-spacing: -1px;
        line-height: 1.1;
    }

    .magazine-subtitle {
        display: block;
        font-family: 'Montserrat', sans-serif;
        font-size: 20px;
        font-weight: 500;
        color: #c41e3a;
        letter-spacing: 8px;
        text-transform: uppercase;
        margin-top: 5px;
    }

    .magazine-logo a:hover .magazine-title,
    .magazine-logo a:hover .magazine-subtitle {
        color: #333;
    }

    /* Hide category tags on posts (mixed content - no distinction) */
    .gazette-post-tag {
        display: none !important;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .magazine-title {
            font-size: 32px;
        }
        .magazine-subtitle {
            font-size: 16px;
            letter-spacing: 4px;
        }
        .magazine-header {
            padding: 25px 0;
        }
    }

    @media (max-width: 480px) {
        .magazine-title {
            font-size: 26px;
        }
        .magazine-subtitle {
            font-size: 14px;
            letter-spacing: 2px;
        }
    }

    /* Magazine Footer */
    .magazine-footer {
        background-color: #1a1a1a;
        padding: 40px 0;
    }

    .magazine-footer .bottom-footer-area {
        background: transparent;
    }

    .footer-logo a {
        text-decoration: none;
        display: inline-block;
    }

    .footer-title {
        display: block;
        font-family: 'Montserrat', sans-serif;
        font-size: 24px;
        font-weight: 700;
        color: #fff;
    }

    .footer-subtitle {
        display: block;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 500;
        color: #c41e3a;
        letter-spacing: 4px;
        text-transform: uppercase;
    }

    .footer-links {
        margin-top: 15px;
    }

    .footer-links a,
    .footer-links a:hover,
    .footer-links a:visited,
    .footer-links a:active {
        color: #999;
        text-decoration: none;
        margin: 0 15px;
        font-size: 14px;
        font-family: 'Montserrat', sans-serif !important;
        transition: color 0.3s;
    }

    .footer-links a:hover {
        color: #fff;
    }

    .magazine-footer .copywrite-text p {
        color: #666;
        font-size: 13px;
        margin: 0;
    }

    /* California Business Stock Ticker */
    .ca-stock-ticker-area {
        background-color: #1a1a1a;
        padding: 12px 0;
        overflow: hidden;
    }

    .stock-ticker-wrapper {
        display: flex;
        align-items: center;
    }

    .ticker-label {
        background-color: #c41e3a;
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        font-weight: 700;
        padding: 6px 15px;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .stock-ticker-scroll {
        overflow: hidden;
        flex-grow: 1;
        margin-left: 20px;
    }

    .stock-ticker-content {
        display: flex;
        animation: ticker-scroll 30s linear infinite;
    }

    .stock-ticker-content:hover {
        animation-play-state: paused;
    }

    @keyframes ticker-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }

    .stock-item {
        display: flex;
        align-items: center;
        margin-right: 40px;
        white-space: nowrap;
    }

    .stock-symbol {
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        font-weight: 700;
        margin-right: 8px;
    }

    .stock-price {
        color: #999;
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        font-weight: 400;
        margin-right: 8px;
    }

    .stock-change {
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        font-weight: 600;
        padding: 2px 6px;
        border-radius: 3px;
    }

    .stock-change.positive {
        color: #00c853;
        background-color: rgba(0, 200, 83, 0.15);
    }

    .stock-change.negative {
        color: #ff1744;
        background-color: rgba(255, 23, 68, 0.15);
    }

    /* Responsive stock ticker */
    @media (max-width: 768px) {
        .ticker-label {
            font-size: 10px;
            padding: 5px 10px;
        }
        .stock-symbol,
        .stock-price {
            font-size: 11px;
        }
        .stock-change {
            font-size: 10px;
        }
        .stock-item {
            margin-right: 25px;
        }
    }

    /* Hero Slider - Remove gaps between slides */
    .welcome-blog-post-slide .owl-stage {
        display: flex;
    }
    .welcome-blog-post-slide .owl-item {
        margin: 0 !important;
        padding: 0 !important;
    }
    .welcome-blog-post-slide .single-blog-post-slide {
        margin: 0;
    }

    /* Editorial Area - Reduced padding */
    .gazette-editorial-area.section_padding_100 {
        padding-top: 30px !important;
        padding-bottom: 25px !important;
    }

    /* Main Content Area - Reduced padding */
    .main-content-wrapper.section_padding_100 {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    /* Today's Post Content - Gap from sidebar */
    .gazette-todays-post .todays-post-content {
        padding-right: 30px;
    }

    .gazette-welcome-post {
        padding-right: 30px;
    }

    /* California Stats Widget */
    .ca-stats-widget {
        margin-bottom: 30px;
    }

    .ca-stats-content {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        padding: 20px;
        border-radius: 8px;
    }

    .ca-stats-content .stat-item {
        display: flex;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .ca-stats-content .stat-item:last-child {
        border-bottom: none;
    }

    .ca-stats-content .stat-item i {
        font-size: 20px;
        color: #c41e3a;
        width: 35px;
        text-align: center;
        flex-shrink: 0;
    }

    .ca-stats-content .stat-info {
        display: flex;
        flex-direction: column;
        margin-left: 12px;
    }

    .ca-stats-content .stat-label {
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .ca-stats-content .stat-value {
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        margin-top: 2px;
    }

    .ca-stats-content .stat-item.loading {
        justify-content: center;
        color: #666;
        font-size: 13px;
    }

    /* Magazine Archives Widget */
    .magazine-archives-widget {
        margin-bottom: 30px;
    }

    .magazine-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .magazine-item {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .magazine-item.latest {
        border: 3px solid #c41e3a;
    }

    .magazine-item .magazine-content {
        display: block;
    }

    .magazine-item img {
        width: 100%;
        height: auto;
        display: block;
    }

    .magazine-label {
        display: block;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.85rem;
        font-weight: 600;
        text-align: center;
        padding: 12px 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .magazine-label em {
        font-style: normal;
        color: #c41e3a;
        font-weight: 700;
    }

    .magazine-item.latest .magazine-label {
        background: linear-gradient(135deg, #c41e3a 0%, #a01830 100%);
    }

    .magazine-item.latest .magazine-label em {
        color: #fff;
    }

    /* Magazine Archives Section (Full Width) */
    .magazine-archives-section {
        background-color: #f5f5f5;
    }

    .magazine-archives-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .magazine-archive-item {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        background: #fff;
    }

    .magazine-archive-item.latest {
        border: 3px solid #c41e3a;
    }

    .magazine-archive-item .magazine-archive-content {
        display: block;
    }

    .magazine-archive-item img {
        width: 100%;
        height: auto;
        display: block;
    }

    .magazine-archive-item .magazine-label {
        display: block;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.9rem;
        font-weight: 600;
        text-align: center;
        padding: 15px 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .magazine-archive-item.latest .magazine-label {
        background: linear-gradient(135deg, #c41e3a 0%, #a01830 100%);
    }

    .magazine-archive-item .magazine-label em {
        font-style: normal;
        color: #c41e3a;
        font-weight: 700;
    }

    .magazine-archive-item.latest .magazine-label em {
        color: #fff;
    }

    /* Responsive magazine grid */
    @media (max-width: 992px) {
        .magazine-archives-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }
    }

    @media (max-width: 768px) {
        .magazine-archives-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
    }

    @media (max-width: 480px) {
        .magazine-archives-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
    }

    /* Don't Miss Widget Styles */
    .dont-miss-post-widget {
        margin-bottom: 30px;
    }

    .dont-miss-post-widget .widget-title h5 {
        font-family: 'Montserrat', sans-serif;
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #1a1a1a;
        padding-bottom: 10px;
        border-bottom: 2px solid #c41e3a;
        margin-bottom: 20px;
    }

    .single-dont-miss-post {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .single-dont-miss-post:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .single-dont-miss-post:hover {
        transform: translateX(5px);
    }

    .dont-miss-post-thumb {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        overflow: hidden;
        border-radius: 6px;
    }

    .dont-miss-post-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .dont-miss-post-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .dont-miss-post-content a {
        font-family: 'Montserrat', sans-serif;
        font-size: 0.9rem;
        font-weight: 600;
        color: #1a1a1a;
        text-decoration: none;
        line-height: 1.4;
        display: block;
        margin-bottom: 5px;
    }

    .dont-miss-post-content a:hover {
        color: #c41e3a;
    }

    .dont-miss-post-content span {
        font-family: 'Montserrat', sans-serif;
        font-size: 0.75rem;
        color: #999;
    }

    /* Breaking News Widget Styles */
    .breaking-news-widget {
        margin-bottom: 30px;
    }

    .breaking-news-widget .widget-title h5 {
        font-family: 'Montserrat', sans-serif;
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #1a1a1a;
        padding-bottom: 10px;
        border-bottom: 2px solid #c41e3a;
        margin-bottom: 20px;
    }

    .single-breaking-news-widget {
        position: relative;
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
    }

    .single-breaking-news-widget img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .single-breaking-news-widget:hover img {
        transform: scale(1.05);
    }

    .breaking-news-heading {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    }

    .breaking-news-heading h5 {
        font-family: 'Montserrat', sans-serif;
        font-size: 0.9rem;
        font-weight: 600;
        color: #fff;
        margin: 0;
        line-height: 1.3;
    }