/* Category Music - Cinema & Culture Theme */
/* Colors: #0d47a1 (deep blue), #e91e63 (pink/magenta), #ffc107 (gold) */

/* Reset and base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Hero Section */
.music-hero {
    background-color: #0d47a1;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.music-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/pattern-notes.svg');
    background-repeat: repeat;
    opacity: 0.05;
    pointer-events: none;
}

.music-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.music-hero__pretitle {
    display: inline-block;
    color: #ffc107;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.music-hero__title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.music-hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.music-hero__decor {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Articles List Section */
.articles-list-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: #0d47a1;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.section-intro {
    color: #495057;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.music-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.music-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.music-card__visual {
    overflow: hidden;
    height: 200px;
    background-color: #e9ecef;
    position: relative;
}

.music-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.music-card__content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.music-card__date {
    color: #e91e63;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.music-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.music-card__title a {
    color: #0d47a1;
    text-decoration: none;
    display: block;
}

.music-card__title a:hover {
    color: #e91e63;
}

.music-card__excerpt {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    margin-top: auto;
}

.articles-count {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-top: 20px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    font-size: 16px;
    background-color: #ffffff;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

/* Data Sections */
.music-data-section,
.music-comparison-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.music-comparison-section {
    background-color: #f8f9fa;
}

.data-section__title,
.comparison-section__title {
    color: #0d47a1;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.data-section__intro {
    color: #495057;
    font-size: 16px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -24px;
    padding: 0 24px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    font-size: 14px;
    min-width: 600px;
}

.data-table thead {
    background-color: #0d47a1;
    color: #ffffff;
}

.data-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    border: none;
}

.data-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #e9ecef;
    color: #212529;
    vertical-align: top;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

.table-cell--highlight {
    color: #0d47a1;
    font-weight: 600;
}

/* Disclaimer */
.disclaimer-banner {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 16px 20px;
    margin-top: 30px;
    border-radius: 0 8px 8px 0;
}

.disclaimer-banner p {
    margin: 0;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

/* Insight Section */
.music-insight-section {
    padding: 80px 0;
    background-color: #0d47a1;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.insight-card {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.insight-card__icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.insight-card__title {
    color: #0d47a1;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.insight-card__text {
    color: #495057;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .music-hero {
        padding: 60px 0 80px;
    }
    
    .music-hero__title {
        font-size: 28px;
    }
    
    .music-hero__subtitle {
        font-size: 16px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-title,
    .data-section__title,
    .comparison-section__title {
        font-size: 24px;
    }
    
    .insight-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 13px;
    }
    
    .data-table th,
    .data-table td {
        padding: 12px 8px;
    }
    
    .table-wrapper {
        margin: 0 -16px;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .music-hero__title {
        font-size: 24px;
    }
    
    .music-card__title {
        font-size: 18px;
    }
    
    .insight-card {
        padding: 24px;
    }
}