/**
 * Economic Calendar Styles
 * Custom brand colors and Investing.com-inspired design
 */

 :root {
    /* Brand Colors */
    --header-bg: #2D5BBA;
    --data-row-bg: #D4A647;
    --data-row-hover: #c99b3e;
    --page-bg: #0A1A3D;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --text-secondary: #666666;

    /* Impact Level Colors */
    --impact-high: #E74C3C;
    --impact-medium: #F39C12;
    --impact-low: #F1C40F;

    /* UI Colors */
    --border-color: rgba(0, 0, 0, 0.1);
    --hover-bg: rgba(255, 255, 255, 0.1);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --table-header-text: #FFFFFF;
}

/* Main Wrapper */
.economic-calendar-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--page-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-light);
}

/* Filter Bar */
.econ-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.econ-date-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.econ-date-btn {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.econ-date-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--header-bg);
}

.econ-date-btn.active {
    background-color: var(--header-bg);
    border-color: var(--header-bg);
    color: var(--text-light);
}

.econ-calendar-picker .dashicons {
    font-size: 18px;
    width: auto;
    height: auto;
}

/* Filter Controls */
.econ-filter-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.econ-current-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 14px;
}

.econ-current-time .dashicons {
    font-size: 16px;
    width: auto;
    height: auto;
}

.econ-current-time small {
    opacity: 0.7;
}

.econ-filters-toggle {
    padding: 10px 20px;
    background-color: var(--header-bg);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.econ-filters-toggle:hover {
    background-color: #234a9d;
}

.econ-filters-toggle .dashicons {
    font-size: 16px;
    width: auto;
    height: auto;
}

/* Advanced Filters Panel */
.econ-advanced-filters {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.econ-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.econ-filter-group label {
    display: block;
    color: #FFFFFF !important;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

    .econ-filter-select {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        background-color: rgba(255, 255, 255, 0.1);
        color: #FFFFFF !important;
        font-size: 14px;
        position: relative;
        z-index: 1; /* Lower z-index to prevent overlap */
    }

    .econ-filter-select option {
        background-color: var(--page-bg);
        color: #FFFFFF !important;
    }

    /* Mobile Select Improvements */
    @media (max-width: 768px) {
        .econ-filter-select {
            padding: 12px 15px;
            font-size: 15px;
            border-radius: 8px;
            background-color: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.3);
            z-index: 1; /* Ensure it doesn't overlap content */
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 15px center;
            padding-right: 40px;
        }

        .econ-filter-select:focus {
            outline: none;
            border-color: var(--header-bg);
            background-color: rgba(255, 255, 255, 0.2);
        }

        /* Prevent select dropdown from overlapping */
        .econ-filter-group {
            position: relative;
            z-index: 1;
        }

        /* When select is open, ensure it's above content */
        .econ-filter-select:active,
        .econ-filter-select:focus {
            z-index: 10;
        }
    }

.econ-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.econ-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF !important;
    cursor: pointer;
    font-size: 14px;
}

.econ-checkbox-label input[type="checkbox"] {
    margin: 0;
}

.impact-indicator-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.impact-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.impact-indicator.impact-high {
    background-color: var(--impact-high);
}

.impact-indicator.impact-medium {
    background-color: var(--impact-medium);
}

.impact-indicator.impact-low {
    background-color: var(--impact-low);
}

.impact-name {
    font-size: 14px;
    color: var(--text-dark) !important;
    font-weight: 500;
}

    .econ-clear-filters {
        padding: 10px 20px;
        background-color: transparent;
        color: var(--text-light);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        transition: all 0.3s ease;
        margin-top: 24px;
    }

    .econ-clear-filters:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: var(--text-light);
    }

    /* Mobile Clear Filters */
    @media (max-width: 768px) {
        .econ-clear-filters {
            padding: 14px 20px;
            font-size: 15px;
            border-radius: 10px;
            width: 100%;
            margin-top: 10px;
            font-weight: 600;
            background-color: rgba(255, 255, 255, 0.1);
        }

        .econ-clear-filters:active {
            background-color: rgba(255, 255, 255, 0.2);
            transform: scale(0.98);
        }
    }

/* Live Update Notice */
.econ-update-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 3px solid #2ecc71;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.econ-live-indicator {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Events Table */
.econ-calendar-container {
    position: relative;
}

.econ-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.econ-loading .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--header-bg);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.econ-events-table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
}

.econ-events-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Remove sticky on mobile */
@media (max-width: 768px) {
    .econ-events-table thead {
        position: relative !important;
        top: auto !important;
    }
}

.econ-events-table thead tr {
    background-color: #2D5BBA !important;
}

.econ-events-table th {
    padding: 18px 15px;
    text-align: left;
    color: var(--table-header-text) !important;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    background-color: var(--header-bg) !important;
    letter-spacing: 0.3px;
}

.econ-events-table tbody tr {
    background-color: var(--data-row-bg) !important;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.econ-events-table tbody tr:hover {
    background-color: var(--data-row-hover) !important;
}

.econ-events-table tbody tr.impact-high {
    border-left: 4px solid var(--impact-high);
}

.econ-events-table tbody tr.impact-medium {
    border-left: 4px solid var(--impact-medium);
}

.econ-events-table tbody tr.impact-low {
    border-left: 4px solid var(--impact-low);
}

.econ-events-table td {
    padding: 15px 12px;
    color: var(--text-dark) !important;
    font-size: 14px;
    background-color: var(--data-row-bg) !important;
}

.col-datetime {
    width: 120px;
}

.col-country {
    width: 100px;
    text-align: center;
}

.col-title {
    width: auto;
    font-weight: 500;
}

.col-importance {
    width: 80px;
    text-align: center;
}

.col-actual,
.col-forecast,
.col-previous {
    width: 100px;
    text-align: center;
}

.event-date {
    font-weight: 600;
}

.event-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.event-country {
    display: inline-block;
    padding: 4px 8px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
}

.value-actual {
    color: #000;
}

.value-pending {
    color: #999;
}

/* No Events Message */
.econ-no-events {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.econ-no-events p {
    font-size: 16px;
    opacity: 0.7;
}

/* Mobile App-like Design */
@media (max-width: 768px) {
    /* Smooth scrolling for mobile */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Main Wrapper - Full Screen Mobile App Style */
    .economic-calendar-wrapper {
        padding: 0;
        border-radius: 0;
        margin: 0;
        min-height: 100vh;
        background: linear-gradient(180deg, #0A1A3D 0%, #091A3D 100%);
        -webkit-overflow-scrolling: touch;
    }

    /* Filter Bar for Mobile - Not Sticky */
    .econ-filter-bar {
        position: relative;
        background: #0A1A3D;
        padding: 15px;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        box-shadow: none;
        z-index: 1; /* Lower z-index to prevent overlap */
    }

    /* Date Filters - Horizontal Scroll on Mobile */
    .econ-date-filters {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 8px;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
        scroll-padding-left: 15px;
        scroll-padding-right: 15px;
    }

    .econ-date-filters::-webkit-scrollbar {
        display: none;
    }

    .econ-date-btn {
        padding: 12px 18px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 25px;
        min-width: auto;
        font-weight: 600;
        transition: all 0.2s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .econ-date-btn:active {
        transform: scale(0.95);
    }

    .econ-date-btn.active {
        box-shadow: 0 3px 8px rgba(45, 91, 186, 0.3);
    }

    /* Filter Controls - Compact on Mobile */
    .econ-filter-controls {
        justify-content: space-between;
        width: 100%;
        margin-top: 8px;
    }

    .econ-current-time {
        font-size: 13px;
        gap: 6px;
        font-weight: 500;
    }

    .econ-current-time .dashicons {
        font-size: 18px;
    }

    #econ-time-display {
        font-weight: 600;
        font-size: 14px;
    }

    .econ-current-time small {
        display: none;
    }

    .econ-filters-toggle {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 25px;
        font-weight: 600;
        box-shadow: 0 2px 6px rgba(45, 91, 186, 0.3);
        transition: all 0.2s ease;
    }

    .econ-filters-toggle:active {
        transform: scale(0.95);
        box-shadow: 0 1px 3px rgba(45, 91, 186, 0.2);
    }

    /* Advanced Filters - Full Screen Modal Style */
    .econ-advanced-filters {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0A1A3D;
        z-index: 200;
        margin: 0;
        padding: 60px 15px 20px;
        overflow-y: auto;
        border-radius: 0;
        -webkit-overflow-scrolling: touch;
    }

    /* Close button for filters modal - Mobile only */
    .econ-advanced-filters-close {
        position: fixed;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
        z-index: 201;
        border: 2px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

    .econ-advanced-filters-close:hover,
    .econ-advanced-filters-close:active {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    .econ-filter-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .econ-filter-group {
        margin-bottom: 0;
    }

    .econ-filter-group label {
        font-size: 15px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    /* Convert Table to Cards on Mobile */
    .econ-events-table,
    .econ-events-table thead,
    .econ-events-table tbody,
    .econ-events-table tr,
    .econ-events-table th,
    .econ-events-table td {
        display: block;
    }

    .econ-events-table thead {
        display: none;
        position: relative !important;
        top: auto !important;
    }

    .econ-events-table tbody {
        padding: 10px;
    }

    .econ-events-table tr {
        background: var(--data-row-bg) !important;
        margin-bottom: 15px;
        border-radius: 16px;
        padding: 18px 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        border: none;
        position: relative;
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .econ-events-table tr:active {
        transform: scale(0.98);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .econ-events-table tr.impact-high::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--impact-high);
    }

    .econ-events-table tr.impact-medium::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--impact-medium);
    }

    .econ-events-table tr.impact-low::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--impact-low);
    }

    .econ-events-table td {
        padding: 10px 0;
        border: none;
        text-align: left !important;
        background: transparent !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 40px;
    }

    .econ-events-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-right: 12px;
        flex-shrink: 0;
        min-width: 85px;
        opacity: 0.8;
    }

    .econ-events-table td.col-title::before {
        display: none;
    }

    /* Card Content Styling */
    .econ-events-table .col-title {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 2px solid rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.4;
    }

    .econ-events-table .col-title strong {
        font-size: 17px;
        display: block;
        width: 100%;
        color: #1a1a1a;
    }

    .econ-events-table .col-datetime {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px 0;
    }

    .econ-events-table .col-datetime::before {
        display: none;
    }

    .econ-events-table .col-datetime .event-date {
        font-weight: 700;
        font-size: 15px;
        color: #1a1a1a;
    }

    .econ-events-table .col-datetime .event-time {
        font-size: 13px;
        color: #666;
        font-weight: 500;
    }

    .econ-events-table .event-date {
        font-size: 14px;
        font-weight: 600;
    }

    .econ-events-table .event-time {
        font-size: 12px;
        color: #666;
    }

    .econ-events-table .col-importance {
        justify-content: flex-start;
        gap: 10px;
    }

    .econ-events-table .impact-indicator {
        width: 14px;
        height: 14px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    .econ-events-table .impact-name {
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }

    .econ-events-table .col-actual,
    .econ-events-table .col-forecast,
    .econ-events-table .col-previous {
        font-size: 15px;
        font-weight: 500;
    }

    .econ-events-table .value-actual {
        font-weight: 700;
        font-size: 16px;
        color: #1a1a1a;
    }

    .econ-events-table .col-country .event-country {
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 600;
    }

    /* Update Notice - Compact */
    .econ-update-notice {
        margin: 15px;
        padding: 12px 15px;
        font-size: 13px;
        border-radius: 10px;
        background-color: rgba(46, 204, 113, 0.15);
        border-left: 3px solid #2ecc71;
    }

    /* Calendar Container */
    .econ-calendar-container {
        padding: 0 10px 20px;
    }

    .econ-events-table tbody {
        padding: 10px 5px 20px;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* No Events */
    .econ-no-events {
        padding: 60px 20px;
        text-align: center;
    }

    .econ-no-events p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Hero Section Mobile */
    .econ-header-hero-section {
        height: auto !important;
        min-height: 250px;
        padding: 40px 20px;
    }

    .econ-header-hero-title {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    .econ-header-hero-description {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Page Container Mobile */
    .econ-calendar-page-container {
        padding: 0;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .econ-calendar-page-wrapper .economic-calendar-wrapper {
        padding: 0;
        border-radius: 0;
        margin: 0;
    }
}

/* Hide close button on desktop */
@media (min-width: 769px) {
    .econ-advanced-filters-close {
        display: none;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .econ-date-btn {
        padding: 11px 16px;
        font-size: 13px;
    }

    .econ-events-table tr {
        padding: 15px 12px;
        margin-bottom: 12px;
        border-radius: 14px;
    }

    .econ-events-table td {
        font-size: 14px;
        padding: 8px 0;
    }

    .econ-events-table .col-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .econ-events-table .col-title strong {
        font-size: 16px;
    }

    .econ-events-table td::before {
        font-size: 10px;
        min-width: 75px;
    }

    .econ-header-hero-section {
        min-height: 200px;
        padding: 30px 15px;
    }

    .econ-header-hero-title {
        font-size: 22px !important;
    }

    .econ-header-hero-description {
        font-size: 13px !important;
    }

    .econ-filter-bar {
        padding: 12px;
    }

    .econ-date-filters {
        gap: 8px;
        margin: 0 -12px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Print Styles */
@media print {

    .econ-filter-bar,
    .econ-advanced-filters,
    .econ-update-notice {
        display: none;
    }

    .economic-calendar-wrapper {
        background-color: white;
        box-shadow: none;
    }

    .econ-events-table tbody tr {
        background-color: white;
    }

    .econ-events-table th {
        background-color: #f0f0f0 !important;
        color: black !important;
    }
}

/* Full Page Template Styles */
.econ-calendar-page-wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: #f5f5f5;
    margin-top: 0;
}

/* Header Hero Section (Dark Blue Background, 600px height) */
.econ-header-hero-section {
    width: 100%;
    height: 600px;
    background: #091A3D;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0;
}

.econ-header-hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    text-align: center;
    color: #ffffff;
}

.econ-header-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #FFFFFF !important;
    text-align: center;
}

.econ-header-hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: #FFFFFF !important;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.econ-header-hero-description p {
    margin-bottom: 15px;
    color: #FFFFFF !important;
}

.econ-header-hero-description p:last-child {
    margin-bottom: 0;
}

.econ-calendar-page-container {
    max-width: 1600px;
    margin: 0 auto;
    background-color: #F5F5F5;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 40px;
    margin-bottom: 30px;
}

/* Hero Section (White Background) */
.econ-hero-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e5e5e5;
}

.econ-hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: left;
}

.econ-hero-content {
    font-size: 16px;
    line-height: 1.8;
    color: #5A6C7D;
}

.econ-hero-content p {
    margin-bottom: 15px;
}

.econ-hero-content p:last-child {
    margin-bottom: 0;
}

.econ-calendar-page-wrapper .economic-calendar-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 20px;
    background-color: var(--page-bg);
    box-shadow: var(--shadow);
    border-radius: 8px;
}

.econ-calendar-page-wrapper .econ-filter-bar {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 20px;
}

.econ-calendar-page-wrapper .econ-events-table {
    width: 100%;
    border-collapse: collapse;
}

/* Page Title Styling */
.econ-calendar-page-wrapper .page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--header-bg);
    margin-bottom: 30px;
    text-align: center;
}

/* Responsive for Full Page */
@media (max-width: 768px) {
    .econ-calendar-page-wrapper {
        padding: 20px 10px;
    }

    .econ-calendar-page-container {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .econ-calendar-page-wrapper .page-title {
        font-size: 24px;
    }

    .econ-header-hero-section {
        height: auto !important;
        min-height: 350px;
        padding: 30px 15px;
    }

    .econ-header-hero-content {
        padding: 0 15px !important;
        max-width: 100%;
    }

    .econ-header-hero-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .econ-header-hero-description {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .econ-header-hero-description p {
        margin-bottom: 10px !important;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .econ-header-hero-section {
        min-height: 300px;
        padding: 20px 10px;
    }

    .econ-header-hero-content {
        padding: 0 10px !important;
    }

    .econ-header-hero-title {
        font-size: 24px !important;
        margin-bottom: 12px !important;
    }

    .econ-header-hero-description {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .econ-calendar-page-container {
        padding: 15px 10px;
    }
}