:root {
    --background-color: #F5F5F5;
    --text-color: #333333;
    --border-color: #4A6A8A;
    --subtitle-color: #666666;
    --cta-background: linear-gradient(45deg, #4A4A7A, #6A4A9A);
    --cta-background-hover: linear-gradient(45deg, #6A4A9A, #8A6ABA);
    --cta-border: #4A6A8A;
    --footer-shadow: rgba(74, 106, 138, 0.1);
    --filter-button-bg: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    --filter-button-hover-bg: linear-gradient(135deg, #cbd5e0, #a0aec0);
    --filter-button-border: #a0aec0;
    --filter-button-text: #2d3748;
}

/* Prevent color flashing by setting default styles */
.filter-icon {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0) !important;
    border: 2px solid #a0aec0 !important;
    color: #2d3748 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.company-count {
    color: #2d3748 !important;
}

.filter-text {
    color: #2d3748 !important;
}

/* Ensure filter button is always clickable */
.filter-icon * {
    pointer-events: auto !important;
    cursor: pointer !important;
}



/* Filter icon styles */
.filter-icon {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0) !important;
    border: 2px solid #a0aec0 !important;
    color: #2d3748 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.filter-icon:hover {
    background: linear-gradient(135deg, #cbd5e0, #a0aec0) !important;
    border-color: #4a5568 !important;
    color: #1a202c !important;
}

.filter-icon.active {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3) !important;
}

.company-count {
    color: #2d3748 !important;
}

.filter-icon:hover .company-count {
    color: #1a202c !important;
}

.filter-icon.active .company-count {
    color: #2d3748 !important;
}

.company-count::before {
    background: #2d3748 !important;
}

.episode {
    background: linear-gradient(45deg, #FFFFFF, #E8ECEF);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.episode:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.filter-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 8px 25px rgba(0, 0, 0, 0.15);
}

.filter-content {
    background: white;
}

.filter-section h4 {
    color: #1a202c;
}

.modern-checkbox {
    background: #f7fafc;
    color: #4a5568;
}

.modern-checkbox:hover {
    background: #edf2f7;
    border-color: #a0aec0;
}

.modern-checkbox .checkbox-label {
    color: #2d3748;
}

.filter-footer {
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
}

.iframe-container iframe {
    opacity: 1 !important;
    filter: none !important;
    border: 1px solid var(--border-color);
}

.filter-text {
    color: #2d3748 !important;
}

.filter-icon:hover .filter-text {
    color: #1a202c !important;
}

.reset-filters-btn {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    color: #a0aec0;
    box-shadow: 0 2px 8px rgba(160, 174, 192, 0.2);
}

.reset-filters-btn.enabled {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3) !important;
}

.reset-filters-btn.enabled:hover {
    background: linear-gradient(135deg, #ff5252, #d32f2f) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4) !important;
}

.reset-filters {
    background: #000000;
    border: 2px solid #4A6A8A;
    color: #FFFFFF;
}

.reset-filters:hover {
    background: #1A1A1A;
    border-color: #333333;
}

.company-info .website-link {
    color: #DAA520; /* Match the darker yellow used for "Manage cookie preferences" */
    font-weight: bold;
}

.filter-bubble {
    color: #FFFFFF;
}

.reset-bubble {
    color: #FFFFFF;
}

.youtube-placeholder {
    background: transparent;
    color: var(--text-color);
    opacity: 1;
    font-family: 'Playfair Display', serif;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin: 1rem 0;
}

.youtube-placeholder p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.youtube-placeholder p:first-child {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.youtube-placeholder p:last-child {
    margin-top: 0.5rem;
}

.youtube-placeholder a {
    color: var(--border-color);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    background: rgba(74, 106, 138, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.youtube-placeholder a:hover {
    color: #FFFFFF;
    background: var(--border-color);
    text-decoration: none;
    transform: translateY(-1px);
}



body {
    font-family: 'Playfair Display', serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--background-color) !important;
    color: var(--text-color) !important;
    overflow-x: hidden;
}

.podcast-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem 3rem;
    background: var(--background-color) !important;
    border-radius: 0;
    box-shadow: none;
}

.search-container {
    margin: 0.5rem 0 2rem 0;
}

.search-bar {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 70%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: searchBarSlideIn 0.6s ease-out;
}

@keyframes searchBarSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-input-wrapper:focus-within {
    border-color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.search-icon {
    color: var(--subtitle-color);
    margin-right: 0.75rem;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.search-input-wrapper:focus-within .search-icon {
    color: var(--text-color);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    outline: none;
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--subtitle-color);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.search-input:focus::placeholder {
    opacity: 0.5;
}

.clear-search {
    background: none;
    border: none;
    color: var(--subtitle-color);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    margin-left: 0.5rem;
}

.clear-search:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transform: scale(1.1);
}

.clear-search.visible {
    opacity: 1;
    visibility: visible;
}

/* Search input styles */
.search-input-wrapper {
    background: white;
    border-color: var(--border-color);
}

.search-input-wrapper:focus-within {
    border-color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.search-icon {
    color: var(--subtitle-color);
}

.search-input-wrapper:focus-within .search-icon {
    color: var(--text-color);
}

.clear-search:hover {
    background: rgba(0, 0, 0, 0.1);
}

.filter-icon-container {
    margin: 1.5rem 0 0 0;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.filter-icon {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0) !important;
    color: #2d3748 !important;
    border: 2px solid #a0aec0 !important;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer !important;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    pointer-events: auto !important;
}

.filter-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: shine 3s infinite ease-in-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(-30deg);
    }
    50% {
        transform: translateX(100%) skewX(-30deg);
    }
    100% {
        transform: translateX(100%) skewX(-30deg);
    }
}

.filter-icon:hover {
    background: var(--filter-button-hover-bg);
    border-color: var(--text-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.filter-icon.active {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(255, 107, 107, 0.1);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    }
}

.filter-text {
    font-weight: bold;
    color: #2d3748 !important;
}

.company-count {
    color: #2d3748 !important;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    padding-left: 0.75rem;
}



.company-count::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1.2em;
    background: #2d3748 !important;
    opacity: 0.6;
}

.filter-icon:hover .company-count {
    color: #1a202c !important;
}

.filter-icon:hover .company-count::before {
    background: #1a202c !important;
}

/* Remove reset button styles - no longer needed */

.filter-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 0;
    min-width: 500px;
    max-width: 90vw;
    z-index: 1000;
    display: none;
    backdrop-filter: blur(20px);
    animation: dropdownFadeIn 0.3s ease;
    overflow: hidden;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Remove section header styles - no longer needed */

.filter-content {
    padding: 1.5rem 2rem;
    background: white;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f8fafc;
}

.filter-content::-webkit-scrollbar {
    width: 6px;
}

.filter-content::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}

.filter-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.filter-content::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section h4 {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 0.5rem;
}

.filter-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

/* Remove old filter group styles - no longer needed */

.modern-checkbox {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a5568;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin: 0;
    position: relative;
    background: #f8fafc;
    border: 2px solid transparent;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
}

.modern-checkbox:hover {
    background: #e2e8f0;
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modern-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-checkbox:hover .checkbox-custom {
    border-color: #667eea;
    background-color: #f7fafc;
}

.modern-checkbox input:checked ~ .checkbox-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    transform: scale(1.1);
}

.checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -1px;
}

.modern-checkbox input:checked ~ .checkbox-custom::after {
    display: block;
}

.modern-checkbox .checkbox-label {
    flex: 1;
    font-weight: 500;
    color: #2d3748;
}

.filter-footer {
    background: #f8fafc;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e2e8f0;
}

.footer-buttons {
    display: flex;
    gap: 1rem;
}

.reset-filters-btn {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: #adb5bd;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: not-allowed;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.6;
}

.reset-filters-btn.enabled {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important;
    color: white !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3) !important;
    opacity: 1 !important;
}

.reset-filters-btn.enabled:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4) !important;
    background: linear-gradient(135deg, #ff5252, #d32f2f) !important;
}

.reset-filters-btn:disabled:not(.enabled) {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.reset-filters-btn:disabled:not(.enabled):hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

.reset-filters-btn svg {
    width: 16px;
    height: 16px;
}

.close-filters-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: none;
    letter-spacing: 0;
}

.close-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

.close-filters-btn svg {
    width: 16px;
    height: 16px;
}

.active-filters {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-bubble,
.reset-bubble {
    background: rgba(10, 10, 26, 0.9);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-bubble:hover,
.reset-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.filter-bubble .remove {
    margin-left: 0.5rem;
    cursor: pointer;
    color: #FFD700;
    font-weight: bold;
}

.filter-bubble .remove:hover {
    color: var(--text-color);
}

.reset-bubble {
    background: var(--cta-background);
    color: var(--text-color);
    border: 2px solid var(--cta-border);
    padding: 0.5rem 1rem;
    border-radius: 0;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: bold;
    transition: border-color 0.3s ease;
}

.reset-bubble:hover {
    border-color: var(--text-color);
}

.episode-list {
    display: grid;
    gap: 1.5rem;
}

.episode {
    background: rgba(10, 10, 26, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
}

.episode:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.episode-details {
    flex: 1;
    text-align: center;
}

.episode-date {
    font-size: 0.85rem;
    color: var(--subtitle-color);
    margin-bottom: 0.4rem;
}

.episode-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
    color: var(--text-color);
    font-family: 'Cinzel', serif;
}

.episode-description {
    font-size: 0.9rem;
    color: var(--text-color);
    text-align: center;
}

.iframe-container {
    position: relative;
    opacity: 1 !important;
    isolation: isolate;
}

.iframe-container iframe {
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    opacity: 1 !important;
    filter: none !important;
}

.youtube-placeholder {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: var(--text-color);
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    font-family: 'Playfair Display', serif;
}

.youtube-placeholder p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
    font-family: 'Playfair Display', serif;
}

.youtube-placeholder p:first-child {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.youtube-placeholder p:last-child {
    margin-top: 0.5rem;
}

.youtube-placeholder a {
    color: var(--border-color);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    background: rgba(74, 106, 138, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.youtube-placeholder a:hover {
    color: #FFFFFF;
    background: var(--border-color);
    text-decoration: none;
    transform: translateY(-1px);
}

.company-info {
    margin-top: 0.8rem;
    text-align: center;
}

.company-info .company-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.company-info .company-details {
    font-size: 0.9rem;
    color: var(--subtitle-color);
    margin-bottom: 0.4rem;
}

.company-info .website-link {
    display: block;
    color: #FFD700;
    text-decoration: none;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.5rem;
}

.company-info .website-link:hover {
    text-decoration: underline;
    color: var(--text-color);
}

footer {
    background: transparent !important;
    color: var(--subtitle-color);
    text-align: center;
    padding: 1rem;
    border-top: none;
    position: static;
    width: 100%;
    box-shadow: none;
    z-index: auto;
    margin-top: 2rem;
    font-size: 0.85rem;
}

footer p {
    margin: 0;
    opacity: 0.7;
}

footer a {
    color: var(--subtitle-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .podcast-section {
        margin: 1rem auto;
        padding: 0.5rem;
    }

    .search-input-wrapper {
        width: 100%;
        max-width: none;
        padding: 0.6rem 0.8rem;
    }
    
    .search-input {
        font-size: 1rem;
    }

    .filter-icon {
        width: 45%;
        max-width: 220px;
        padding: 0.9rem 1.2rem;
        font-size: 0.85rem;
        letter-spacing: 0.8px;
        gap: 0.4rem;
        justify-content: center;
    }

    .filter-icon .filter-text {
        font-size: 0.85rem;
    }

    .filter-icon .company-count {
        font-size: 0.9rem;
        padding-left: 0.6rem;
    }

    .filter-dropdown {
        width: 90%;
        min-width: auto;
        max-width: 320px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 16px;
        max-height: 70vh;
        overflow: hidden;
    }

    .filter-content {
        padding: 0.8rem 1.2rem;
        max-height: 50vh;
        overflow-y: auto;
    }

    .filter-options {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .modern-checkbox {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }

    .filter-footer {
        padding: 0.8rem 1.2rem;
    }

    .footer-buttons {
        gap: 0.8rem;
    }
    
    .reset-filters-btn,
    .close-filters-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    .filter-section {
        margin-bottom: 1.5rem;
    }

    .filter-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .episode {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 0.5rem;
    }

    .episode-details {
        width: 100%;
    }

    .episode-title {
        font-size: 1rem;
    }

    .episode-date {
        font-size: 0.8rem;
    }

    .iframe-container iframe {
        width: 100%;
        max-width: 100%;
    }

    .youtube-placeholder {
        width: 100%;
        max-width: 100%;
        padding: 0.75rem;
        background: transparent;
        color: var(--text-color);
        border: 1px solid var(--border-color);
        border-radius: 6px;
        margin: 0.5rem 0;
        font-family: 'Playfair Display', serif;
    }

    .youtube-placeholder p {
        font-size: 0.9rem;
        color: var(--text-color);
        line-height: 1.4;
        margin: 0;
        font-family: 'Playfair Display', serif;
    }

    .youtube-placeholder p:first-child {
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .youtube-placeholder p:last-child {
        margin-top: 0.4rem;
    }

    .youtube-placeholder a {
        font-size: 0.9rem;
        color: var(--border-color);
        text-decoration: none;
        font-weight: 600;
        font-family: 'Playfair Display', serif;
        background: rgba(74, 106, 138, 0.1);
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }

    .company-info {
        margin-top: 0.5rem;
    }

    .company-info .company-name {
        font-size: 1rem;
    }

    .company-info .company-details {
        font-size: 0.9rem;
    }

    .episode:hover {
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
        transition: box-shadow 0.3s ease;
    }

    footer {
        position: static;
        margin-top: 1.5rem;
        padding: 0.8rem;
        font-size: 0.8rem;
    }

    .search-container {
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .filter-icon {
        width: 50%;
        max-width: 200px;
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
        letter-spacing: 0.6px;
        gap: 0.3rem;
        justify-content: center;
    }

    .filter-icon .filter-text {
        font-size: 0.8rem;
    }

    .filter-icon .company-count {
        font-size: 0.85rem;
        padding-left: 0.5rem;
    }

    .filter-dropdown {
        width: 85%;
        max-width: 280px;
        max-height: 65vh;
    }

    .filter-content {
        padding: 0.6rem 1rem;
        max-height: 45vh;
    }

    .filter-section {
        margin-bottom: 1.2rem;
    }

    .filter-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .modern-checkbox {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .filter-footer {
        padding: 0.6rem 1rem;
    }

    .reset-filters-btn,
    .close-filters-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 375px) {
    .filter-icon {
        width: 55%;
        max-width: 180px;
        padding: 0.7rem 0.9rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        gap: 0.25rem;
        justify-content: center;
    }

    .filter-icon .filter-text {
        font-size: 0.75rem;
    }

    .filter-icon .company-count {
        font-size: 0.8rem;
        padding-left: 0.4rem;
    }
}

@media (max-width: 320px) {
    .filter-icon {
        width: 60%;
        max-width: 160px;
        padding: 0.6rem 0.8rem;
        font-size: 0.7rem;
        letter-spacing: 0.4px;
        gap: 0.2rem;
        justify-content: center;
    }

    .filter-icon .filter-text {
        font-size: 0.7rem;
    }

    .filter-icon .company-count {
        font-size: 0.75rem;
        padding-left: 0.35rem;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .filter-dropdown {
        width: 80%;
        max-width: 250px;
        max-height: 60vh;
    }

    .filter-content {
        padding: 0.5rem 0.8rem;
        max-height: 40vh;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .filter-icon {
        width: 42%;
        max-width: 240px;
        padding: 0.95rem 1.3rem;
        font-size: 0.88rem;
        letter-spacing: 0.9px;
        gap: 0.45rem;
        justify-content: center;
    }

    .filter-icon .filter-text {
        font-size: 0.88rem;
    }

    .filter-icon .company-count {
        font-size: 0.95rem;
        padding-left: 0.65rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .iframe-container iframe {
        width: 100%;
        max-width: 560px;
    }

    .youtube-placeholder {
        width: 100%;
        max-width: 560px;
        background: transparent;
        color: var(--text-color);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 1rem;
        margin: 1rem 0;
        font-family: 'Playfair Display', serif;
    }

    .youtube-placeholder p {
        font-size: 0.95rem;
        color: var(--text-color);
        line-height: 1.5;
        margin: 0;
        font-family: 'Playfair Display', serif;
    }
}