/**
 * Components Styles
 * Ella Radio Theme
 */

/* ==============================================
   HERO SECTION (2-Column Layout)
============================================== */
.hero-section {
    padding-top: calc(144px + 3rem); /* Header height + spacing */
    padding-bottom: 4rem;
    background: #EEEEEE;
}

/* ==============================================
   PAGE CONTENT TOP (Header section for inner pages)
============================================== */
.page-content-top {
    padding-top: calc(144px + 3rem); /* Header height + spacing */
    padding-bottom: 3rem;
}

.hero-container {
    max-width: 1398px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 1440px) {
    .hero-container {
        padding: 0;
    }
}

@media (max-width: 1439px) {
    .hero-container {
        padding: 0 1.5rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 981px 393px;
    gap: 24px; /* 981 + 24 + 393 = 1398px total */
    align-items: stretch;
}

/* For slightly smaller screens, make slider flexible but keep on-air box fixed */

/* Responsive breakpoints */
@media (max-width: 1439px) {
    .hero-grid {
        grid-template-columns: 1fr 393px; /* Slider flexible, On Air Box fixed at 393px */
        gap: 1.5rem;
    }
}

@media (max-width: 1279px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Single column on mobile/tablet */
        gap: 2rem;
    }
    
    .hero-on-air-wrapper {
        order: -1; /* On Air Box above slider on mobile */
    }
}

/* ==============================================
   HERO SLIDER
============================================== */
.hero-slider-wrapper {
    position: relative;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 560px;
    max-height: 560px;
    overflow: hidden;
    margin-bottom: 0;
    border-radius: 1.5rem;
}

@media (max-width: 1279px) {
    .hero-slider {
        height: 460px;
        max-height: 460px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 380px;
        max-height: 380px;
        border-radius: var(--radius);
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.hero-slide-content {
    max-width: 800px;
}

.hero-slide-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-slide-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-pagination {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
    align-items: center;
}

.hero-pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-pagination-dot.active {
    width: 24px;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, #E30917, #C10713);
    box-shadow: 0 2px 8px rgba(225, 7, 23, 0.4);
}

.hero-pagination-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Hero Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(227, 9, 23, 0.85), rgba(193, 7, 19, 0.85));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.hero-arrow:hover {
    background: linear-gradient(135deg, rgba(227, 9, 23, 1), rgba(193, 7, 19, 1));
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 4px 12px rgba(225, 7, 23, 0.6);
}

.hero-arrow-prev {
    left: 1.5rem;
}

.hero-arrow-next {
    right: 1.5rem;
}

@media (max-width: 768px) {
    .hero-arrow {
        width: 32px;
        height: 32px;
    }

    .hero-arrow-prev {
        left: 0.75rem;
    }

    .hero-arrow-next {
        right: 0.75rem;
    }
    
    .hero-pagination-dot {
        width: 6px;
        height: 6px;
    }
    
    .hero-pagination-dot.active {
        width: 20px;
        height: 6px;
    }
}

/* ==============================================
   CHANNEL CARDS
============================================== */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 298px));
    gap: 1.5rem;
    justify-content: flex-start;
}

.channel-card {
    background: linear-gradient(135deg, hsl(var(--card) / 0.6), hsl(var(--card) / 0.3));
    backdrop-filter: blur(20px);
    border: 1px solid hsl(var(--border) / 0.3);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0;
    transition: var(--transition-smooth);
    cursor: pointer;
    max-width: 298px;
    margin: 0 auto;
}

.channel-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: hsl(var(--primary) / 0.5);
}

.channel-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 0;
}

.channel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.channel-card:hover .channel-card-image img {
    transform: scale(1.05);
}

.channel-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: hsl(var(--primary));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.channel-card:hover .channel-card-play {
    opacity: 1;
}

/* Wenn spielend, IMMER sichtbar! */
.channel-card-play.playing {
    opacity: 1 !important;
    background: hsl(var(--primary));
    animation: pulse 2s ease-in-out infinite;
    pointer-events: auto !important;
}

.channel-card-play .play-icon,
.channel-card-play .pause-icon {
    display: block;
    pointer-events: none;
}

.channel-card-play .pause-icon {
    display: none;
}

.channel-card-play.playing .play-icon {
    display: none !important;
}

.channel-card-play.playing .pause-icon {
    display: block !important;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(225, 7, 23, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(225, 7, 23, 0);
    }
}

.channel-card-content {
    padding: 1.25rem;
    text-decoration: none;
    display: block;
    transition: background 0.2s;
}

.channel-card-content:hover {
    background: rgba(0, 0, 0, 0.02);
}

.channel-card-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.channel-card-genre {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.channel-card-description {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0; margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Archive Page Specific */
.channels-archive {
    padding: 3rem 0;
}

.page-header {
    text-align: left;
    margin-bottom: 0;
    padding: 2rem 0 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem 0 2rem;
    }
}

.page-description {
    font-size: 1.25rem;
    color: #666;
    max-width: 700px;
    margin: 0;
}

/* ==============================================
   PAGE ARTICLE & CONTENT
============================================== */
.page-article {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-elevation-sm);
}

.page-featured-image {
    width: 100%;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-elevation-sm);
    margin-bottom: 2rem;
    overflow: hidden;
    margin-bottom: 0;
}

.page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-content {
    width: 100%;
    margin-top: 0;
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.page-content p:first-child,
.page-content h2:first-child {
    margin-top: 0;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

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

.page-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.page-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

.page-content ul,
.page-content-top ul,
.page-content ol,
.page-content-top ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-position: inside;
}

.page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.page-content a {
    color: hsl(var(--primary));
    text-decoration: none;
}

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

.page-content blockquote {
    border-left: 4px solid hsl(var(--primary));
    padding-left: 1.5rem;
    list-style-position: inside;
    margin: 1.5rem 0;
    font-style: italic;
    color: hsl(var(--muted-foreground));
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.page-content th,
.page-content td {
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
}

.page-content th {
    background: hsl(var(--muted));
    font-weight: 600;
}

.page-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

@media (max-width: 768px) {
    .page-article {
        padding: 1.5rem 2rem;
    }

    .page-content h2 {
        font-size: 1.5rem;
    }
}

.no-channels-found {
    text-align: center;
    padding: 4rem 2rem;
}

.no-channels-found p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* ==============================================
   NEWS CARDS
============================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.news-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(60, 46, 37, 0.08);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(60, 46, 37, 0.15);
    border-color: hsl(var(--primary));
}

.news-card-image {
    position: relative;
    width: 100%;
    height: 338px; /* 16:9 ratio */
    flex-shrink: 0;
    overflow: hidden;
    margin-bottom: 0;
    background: #f5f5f5;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: var(--transition-smooth);
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e10717;
    color: #fbf8f5;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: calc(var(--radius) * 0.25);
    text-transform: uppercase;
    margin: 0;
}

.news-card-title {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.news-card-excerpt {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.news-card-date {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0; margin-bottom: 0.5rem;
}

/* Large News Card */
.news-card.large {
    grid-column: 1 / -1;
}

.news-card.large .news-card-image {
    height: 675px; /* 16:9 ratio */
}

.news-card.large .news-card-title {
    margin-bottom: 0.25rem;
    font-size: 2rem;
}

/* ==============================================
   EVENT CARDS
============================================== */
.event-card {
    background: linear-gradient(135deg, hsl(var(--card) / 0.6), hsl(var(--card) / 0.3));
    backdrop-filter: blur(20px);
    border: 1px solid hsl(var(--border) / 0.3);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: block;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: hsl(var(--primary) / 0.5);
}

.event-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 0;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-content {
    padding: 1.5rem;
}

.event-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: hsl(var(--primary));
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.event-card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* ==============================================
   ARTIST CARDS
============================================== */
.artist-card {
    background: linear-gradient(135deg, hsl(var(--card) / 0.6), hsl(var(--card) / 0.3));
    backdrop-filter: blur(20px);
    border: 1px solid hsl(var(--border) / 0.3);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 1.5rem;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: hsl(var(--primary) / 0.5);
}

.artist-card-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    margin-bottom: 0;
}

.artist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-card-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.artist-card-instrument {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* ==============================================
   FOOTER
============================================== */
.site-footer {
    background: transparent;
    border-top: 1px solid hsl(var(--border) / 0.3);
    padding: 0;
    margin-top: 0;
}

/* ==============================================
   PARTNER STATIONS
============================================== */
.footer-partners {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 0;
    background: #EEEEEE;
}

/* Footer Main Section (4 Spalten + Legal) */
.footer-main-section {
    background: #EEEEEE;
    padding: 4rem 0 7rem;
    box-shadow: none;
}

.footer-partners-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #3c2e25;
    color: hsl(var(--foreground));
}

.footer-partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(60, 46, 37, 0.08);
    transition: var(--transition-smooth);
    min-width: 220px;
    min-height: 180px;
}

.partner-logo-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(60, 46, 37, 0.18);
}

.partner-logo-link .partner-logo {
    width: 180px !important;
    height: 150px !important;
    max-width: none !important;
    object-fit: contain;
    filter: grayscale(0%);
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .footer-partners-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-partners-logos {
        gap: 1.5rem;
    }
    
    .partner-logo-link {
        padding: 1.25rem 1.5rem;
        min-width: 180px;
        min-height: 150px;
    }
    
    .partner-logo-link .partner-logo {
        width: 150px !important;
        height: 120px !important;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 4rem !important;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column {
    /* Footer column styles */
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #3c2e25;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #4a3c31;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: #e10717;
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.footer-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-contact a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: hsl(var(--accent));
}

.footer-contact address {
    font-style: normal;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Accessibility Toggle Button */
.footer-column .accessibility-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: linear-gradient(135deg, #E30917, #C10713);
    border: none;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(225, 7, 23, 0.3);
}

.footer-column .accessibility-toggle:hover {
    background: linear-gradient(135deg, #FF2030, #E30917);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(227, 9, 23, 0.4);
}

.footer-column .accessibility-toggle svg {
    flex-shrink: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: hsl(var(--muted));
    border-radius: calc(var(--radius) * 0.5);
    color: hsl(var(--foreground));
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    transform: translateY(-3px);
}

.accessibility-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: hsl(var(--muted));
    border: none;
    border-radius: calc(var(--radius) * 0.5);
    color: hsl(var(--foreground));
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.accessibility-toggle:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.footer-legal {
    border-top: 1px solid rgba(60, 46, 37, 0.2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-legal {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links a {
    color: #4a3c31;
    font-size: 0.75rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
    color: #e10717;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #4a3c31;
}

.seo-text-content {
    margin-bottom: 4rem !important;
}

.footer-copyright p {
    margin: 0;
}

.footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ==============================================
   SECTION HEADERS
============================================== */
/* Section styles moved to style.css */

/* ==============================================
   BREADCRUMBS
============================================== */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.75rem;
}

.breadcrumbs a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.breadcrumbs a:hover {
    color: hsl(var(--accent));
}

.breadcrumbs-separator {
    color: hsl(var(--muted-foreground));
}

/* ==============================================
   ANIMATIONS
============================================== */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fade-in 0.6s ease-out forwards;
}

/* ==============================================
   SEO TEXT SECTION
============================================== */

.section-seo-text {
    padding-top: 2rem;
    margin-top: 0;
}

.seo-text-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: left;
    background: linear-gradient(135deg, #E30917, #FF2030);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-text-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a3c31;
    text-align: justify;
}

.seo-text-content p {
    margin-bottom: 1rem;
}

.seo-text-content p:last-child {
    margin-bottom: 0;
}

.seo-text-content > *:last-child {
    margin-bottom: 0 !important;
}

.seo-text-content a {
    color: #e10717;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
    margin-bottom: 0;
}

.seo-text-content a:hover {
    color: #3c2e25;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .section-seo-text {
        padding-top: 1.5rem;
    }
    
    .seo-text-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .seo-text-content {
        font-size: 0.9375rem;
        text-align: justify;
    }
}
/* Hero Pfeile ausgeblendet */
.hero-arrow {
    display: none !important;
}

/* SEO Text H2 kleiner als H1 */
.section-seo-text h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-seo-text h1.seo-text-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* ==============================================
   NEWS ROW TITLES - Configurable News Section
============================================== */

.news-row-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary, #1a1a1a);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary, #e10717);
}

.news-row-title:first-of-type {
    margin-top: 0;
}

.section-news .news-grid + .text-center {
    margin-top: 1.5rem;
}

.section-news .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* News Layout Variations */
.news-layout-list .news-card {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.news-layout-list .news-card-image {
    width: 120px;
    min-width: 120px;
    height: 80px;
}

.news-layout-list .news-card-content {
    flex: 1;
}

@media (max-width: 768px) {
    .news-row-title {
        font-size: 1.125rem;
        margin: 1.5rem 0 0.75rem;
    }
    
    .news-layout-list .news-card-image {
        width: 100px;
        min-width: 100px;
        height: 70px;
    }
}

/* Spacing between news rows */
.section-news .news-grid:not(:last-child) {
    margin-bottom: 4rem !important;
}

.section-news .news-grid:last-of-type {
    margin-bottom: 0;
}

/* Ensure consistent spacing with or without row title */
.news-row-title + .news-grid {
    margin-top: 0;
}

/* Proper spacing between news row wrappers */
.news-row-wrapper {
    margin-bottom: 4rem;
}

.news-row-wrapper:last-child {
    margin-bottom: 0;
}

/* Hero Slide - Linked slides without shadow */
a.hero-slide-linked {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

a.hero-slide-linked .hero-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    max-width: 800px;
}

/* Keep text readable without overlay shadow */
a.hero-slide-linked .hero-slide-title,
a.hero-slide-linked .hero-slide-description {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
