* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #2563eb;
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #2563eb;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: white;
    padding: 1rem;
    z-index: 1000;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.cookie-content p {
    flex: 1;
}

/* Buttons */
.btn-primary {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.bg-alt {
    background-color: #f8fafc;
}

.page-header {
    background-color: #f8fafc;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.page-header p {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Grids */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.podcast-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podcast-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.podcast-card img {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.podcast-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.podcast-card .category {
    display: inline-block;
    background-color: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.podcast-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.podcast-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.podcast-card a:hover {
    text-decoration: underline;
}

/* Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.topic-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.topic-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.topic-card p {
    color: #6b7280;
}

/* Filters */
.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-box input,
.category-filter select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.search-box input {
    min-width: 300px;
}

.category-filter select {
    min-width: 200px;
}

/* Categories */
.categories-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.category-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.category-section p {
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Podcast Detail */
.podcast-detail {
    padding: 3rem 0;
}

.podcast-detail-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.podcast-detail-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 1rem;
}

.podcast-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.podcast-detail-info .category {
    display: inline-block;
    background-color: #e0e7ff;
    color: #3730a3;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.podcast-detail-info .meta {
    margin-bottom: 2rem;
    color: #6b7280;
}

.podcast-detail-info .meta p {
    margin-bottom: 0.5rem;
}

.podcast-detail-info .description {
    margin-bottom: 2rem;
}

.podcast-detail-info .topics {
    margin-bottom: 2rem;
}

.podcast-detail-info .topics h3 {
    margin-bottom: 0.5rem;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topic-tag {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.platform-links a {
    background-color: #f8fafc;
    color: #1f2937;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.platform-links a:hover {
    background-color: #e2e8f0;
}

.disclaimer-notice {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 2rem;
}

.disclaimer-notice p {
    color: #92400e;
    font-weight: 500;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 0.75rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
    line-height: 1.6;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Content Layout */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.content-main {
    line-height: 1.8;
}

.content-main h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem 0;
    color: #1f2937;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-box {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.info-box h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.info-box p {
    color: #6b7280;
    line-height: 1.6;
}

.info-box ul {
    list-style: none;
}

.info-box ul li {
    margin-bottom: 0.5rem;
}

.info-box a {
    color: #2563eb;
    text-decoration: none;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem 0;
    color: #1f2937;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem 0;
    color: #374151;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
    color: #4b5563;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: #2563eb;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Utilities */
.no-results {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.not-found {
    text-align: center;
    padding: 4rem 0;
}

.not-found h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.not-found p {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .podcast-grid {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
    }

    .search-box input {
        min-width: auto;
        width: 100%;
    }

    .category-filter select {
        min-width: auto;
        width: 100%;
    }

    .podcast-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .platform-links {
        flex-direction: column;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .podcast-card {
        padding: 1rem;
    }

    .topic-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .filters {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-grid {
    grid-template-columns: 1fr 2fr;
}

[dir="rtl"] .content-grid {
    grid-template-columns: 1fr 2fr;
}

[dir="rtl"] .podcast-detail-content {
    grid-template-columns: 2fr 1fr;
}

[dir="rtl"] .platform-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .topics-list {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-content {
    direction: rtl;
}

[dir="rtl"] .legal-content ul {
    margin: 1rem 2rem 1rem 0;
}

@media (max-width: 768px) {
    [dir="rtl"] .contact-grid,
    [dir="rtl"] .content-grid,
    [dir="rtl"] .podcast-detail-content {
        grid-template-columns: 1fr;
    }
    
    [dir="rtl"] .filters {
        flex-direction: column;
    }
    
    [dir="rtl"] .platform-links {
        flex-direction: column;
    }
}