/* Enforcement Cases Section */
.enforcement-cases-section {
    padding: 80px 0;
    background: #f8fafc;
}

.enforcement-cases-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.enforcement-case-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.case-header {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.case-header:hover {
    background-color: #f8fafc;
}

.case-summary {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-country {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-title {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.case-penalty {
    font-size: 1rem;
    color: #dc2626;
    font-weight: 600;
}

.expand-icon {
    width: 24px;
    height: 24px;
    color: #64748b;
    transition: transform 0.3s;
}

.expand-icon.rotated {
    transform: rotate(180deg);
}

.case-expanded {
    border-top: 1px solid #e5e7eb;
}

.case-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    padding: 32px;
    align-items: start;
}

.case-screenshot {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.case-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-details h4 {
    font-size: 1.25rem;
    color: #1e293b;
    margin: 0;
    font-weight: 700;
}

.case-details p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.case-facts {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fact-item {
    font-size: 1rem;
    color: #64748b;
}

.fact-item strong {
    color: #1e293b;
    font-weight: 600;
}

.case-source {
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.case-source:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.case-cta {
    align-self: flex-start;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .enforcement-cases-section {
        padding: 60px 0;
    }
    
    .case-header {
        padding: 20px;
    }
    
    .case-title {
        font-size: 1.25rem;
    }
    
    .case-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    
    .case-screenshot {
        max-width: 100%;
    }
    
    .case-cta {
        width: 100%;
        text-align: center;
    }
}

/* News Expandable Sections */
.news-expandables {
    margin-top: 20px;
}

.news-expanded {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.news-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 25px;
    align-items: start;
}

.news-screenshot {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.news-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-details h4 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0;
    font-weight: 700;
}

.news-excerpt {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.news-source {
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.news-source:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.news-cta {
    align-self: flex-start;
    margin-top: 10px;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
}

/* Make urgency strip links look interactive */
.urgency-text a {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s;
}

.urgency-text a:hover {
    opacity: 0.8;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .news-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .news-screenshot {
        max-width: 100%;
        height: auto;
    }
    
    .news-details h4 {
        font-size: 1.25rem;
    }
    
    .news-excerpt {
        font-size: 1rem;
    }
    
    .news-cta {
        width: 100%;
        text-align: center;
    }
}

/* Animation for expandable sections */
[x-transition\:enter] {
    transition: all 0.3s ease-out;
}

[x-transition\:enter-start] {
    opacity: 0;
    transform: translateY(-10px);
}

[x-transition\:enter-end] {
    opacity: 1;
    transform: translateY(0);
}

[x-transition\:leave] {
    transition: all 0.2s ease-in;
}

[x-transition\:leave-start] {
    opacity: 1;
    transform: translateY(0);
}
