/**
 * Basic CSS Structure
 * 
 * Add your custom styles here.
 * This file provides minimal structure - customize as needed.
 */

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black-background);
    color: var(--color-white);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Manrope', sans-serif;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.cookie-consent-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cookie-consent-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-white);
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-special);
}

.cookie-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
}

.cookie-btn-primary {
    background: var(--color-special);
    color: var(--black-background);
}

.cookie-btn-primary:hover {
    background: #ffd980;
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .cookie-consent-content {
        flex-direction: row;
        align-items: center;
    }
    
    .cookie-consent-text {
        flex: 1;
    }
    
    .cookie-consent-options {
        flex: 0 0 auto;
        min-width: 200px;
    }
    
    .cookie-consent-buttons {
        flex: 0 0 auto;
        flex-direction: column;
        margin-top: 0;
    }
    
    .cookie-btn {
        min-width: 150px;
    }
}

@media (max-width: 767px) {
    .cookie-consent-banner {
        padding: 1rem;
    }
    
    .cookie-consent-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.9rem;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* CSS Variables */
:root {
    --color-special:#ffcc67;
    --color-special-background: #fefefe; /* Light cream/yellow background for #ffcc67 readability */
     --color-special: #e91e63; /*Pink color from webradio@n-t.gr */
     --color-special-background: #fce4ec; /*Light pink background for special-color readability */
    --black-background: rgba(35, 31, 32,1);
    --color-text: #333;
    --color-white: #fff;
    --color-grey: #7f7e7e;
    --color-text-light: #666;
    --color-border: #e0e0e0;
    --color-bg: #fff;
    --color-bg-light: #f8f9fa;
    --player-background: rgb(244, 249, 252);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

* {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Swup Transitions */
.swup-transition {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

html.is-changing .swup-transition {
    opacity: 0;
    transform: translateY(20px);
}

html.is-rendering .swup-transition {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure header and footer stay fixed during transitions */
#site-header {
    position: relative;
    z-index: 80;
}

#site-footer {
    position: relative;
    z-index: 100;
}

/* Burger Menu Toggle Button */
.burger-menu-toggle {
    position: absolute;
    top: 53px;
    right: 0;
    width: 60px;
    height: 50px;
    background: var(--black-background);
    border: none;
    border-radius: 25px 0 0 25px;
    cursor: pointer;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: all 0.3s ease;
}

.burger-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 7px);
}

.burger-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -8px);
}

/* Burger Menu Overlay */
.burger-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* min-height: 100vh; */
    background-color: var(--black-background);
    z-index: 90;
    /* border-bottom-left-radius: 57% 113px; */
    /* border-bottom-right-radius: 57% 113px; */
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 100px;
}

.burger-menu-overlay.active {
    transform: translateY(0);
}

.burger-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 13px 40px;
    position: relative;
    z-index: 101;
}

.burger-menu-header .site-logo {
    z-index: 100;
    position: relative;
}


.burger-menu-content {
    padding: 40px;
    max-width: calc(98% - 330px);
    margin: 0 80px 0 auto;
    position: relative;
    z-index: 90;
}

/* First Level - Horizontal Layout */
.burger-menu-first-level {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
}

.burger-menu-column {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.burger-menu-column.contact {
    flex: 0 0 100px;
    min-width: 100px;
    max-width: 100px;
}

.burger-menu-first-level-title {
    font-size: clamp(1.5rem, 4vw, 1.8125rem);
    font-weight: 400;
    margin-bottom: 30px;
    color: #fff;
}
.contact .burger-menu-first-level-title,
.calendar .burger-menu-first-level-title {
    margin-bottom: 0;
}

.burger-menu-first-level-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.burger-menu-first-level-title a.contact {
    width: 100%;
    justify-content: left;
}

.burger-menu-first-level-title a.contact svg {
    width: 48px;
    height: 48px;
}

.burger-menu-first-level-title a.contact .contact-text {
    display: none;
}

.burger-menu-first-level-title a.calendar {
    width: 100%;
    justify-content: left;
}

.burger-menu-first-level-title a.calendar svg {
    width: 48px;
    height: 48px;
}

.burger-menu-first-level-title a.calendar .calendar-text {
    display: none;
}

@media (max-width: 800px) {
    .burger-menu-first-level-title a.contact .contact-icon {
        display: none;
    }
    
    .burger-menu-first-level-title a.contact .contact-text {
        display: inline;
    }
    
    .burger-menu-first-level-title a.calendar .calendar-icon {
        display: none;
    }
    
    .burger-menu-first-level-title a.calendar .calendar-text {
        display: inline;
    }
}

.burger-menu-first-level-title a:hover,
.burger-menu-column.active .burger-menu-first-level-title a {
    color: var(--color-special);
}

/* Second Level - Vertical Layout */
.burger-menu-second-level {
    list-style: none;
    padding: 0;
    margin: 0;
}

.burger-menu-third-level-indicator {
    position: absolute;
    top: 0px;
    left: -20px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease;
}

.burger-menu-second-level-item {
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.burger-menu-second-level-link {
    color: #fff;
    text-decoration: none;
    font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
    letter-spacing: 0.2px;
    font-weight: 400;
    transition: color 0.3s ease;
    flex: 1;
    text-transform: uppercase;
    position: relative;
}

.burger-menu-second-level-link:hover,
.burger-menu-second-level-item.active .burger-menu-second-level-link {
    color: var(--color-special);
}

.burger-menu-second-level-item.has-third-level[aria-expanded="true"] .burger-menu-third-level-indicator {
    transform: rotate(45deg);
}

.burger-menu-second-level-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.burger-menu-second-level-item-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}


/* Third Level - Positioned to the right of parent, below it */
.burger-menu-third-level {
    list-style: none;
    padding: 0;
    margin: 0;
    /* position: absolute;
    left: calc(100% + 20px);
    top: 0;
    min-width: 200px; */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    opacity: 0;
    z-index: 10;
    background-color: transparent;
    border-radius: 5px;
    /* padding: 10px 0; */
}

.burger-menu-second-level-item.has-third-level[aria-expanded="true"] .burger-menu-third-level {
    max-height: 1000px;
    opacity: 1;
}

.burger-menu-third-level-item {
    margin-bottom: 10px;
}

.burger-menu-third-level-link {
    color: var(--color-grey);
    text-decoration: none;
    font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
    font-weight: 400;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.3;
    /* padding-left:20px; */
}

.burger-menu-third-level-link:hover,
.burger-menu-third-level-item.active .burger-menu-third-level-link {
    color: var(--color-special);
}

/* Responsive */
@media (max-width: 800px) {
    /* Hide logo inside burger menu overlay on mobile */
    .burger-menu-overlay .burger-menu-header .site-logo {
        display: none;
    }
    
    /* Make burger menu single column */
    .burger-menu-first-level {
        flex-direction: column;
        gap: 40px;
    }
    
    .burger-menu-column {
        max-width: 100%;
        flex: 1 1 100%;
    }
    
    .burger-menu-column.contact {
        flex: 1 1 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .burger-menu-content {
        padding: 80px 20px 20px;
        max-width: 100%;
        margin: 0;
    }
    
    .burger-menu-header {
        padding: 13px 20px;
    }
}

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

/* Header */
header {
    background-color: #fff;
    /* padding: 1rem 0; */
    position: relative;
    margin-bottom:80px;
    /* border-bottom: 0;1px solid #dee2e6; */
}
article.article-content header {
    margin-bottom:20px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width:100%;width: 100%;
    z-index: 80;
    padding:0;
}

header .container .player {
    position: absolute;
    bottom: calc(50% - 40px);
    left: calc(50% - 100px);
    width: calc(100% - 250px);
    max-width: 500px;
    height: 80px;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    background-color: var(--player-background);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 30px;
    transition: .2s;
}

.home header .container .player {
    height: 80px;
    bottom: -40px;
}

/* Center player horizontally in alterhome for screens over 730px */
.home header .container .player {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
}
@media (max-width: 731px) {
    .home header .container .player {
        width:95%;max-width: 95%;
    }
}

.radio-play-pause {
    background: #fff;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
}

.radio-play-pause.playing {
    color: var(--color-special);
}

.radio-play-pause:hover {
    color: var(--color-special);
}

.radio-play-pause svg {
    width: 32px;
    height: 32px;
}

.radio-play-pause .play-icon {
    transform: translateX(2px);
}

/* Pause icon equalizer animation */
.radio-play-pause.playing .pause-icon rect:nth-child(1) {
    animation: equalizerBar1 0.8s ease-in-out infinite;
    transform-origin: center;
}

.radio-play-pause.playing .pause-icon rect:nth-child(2) {
    animation: equalizerBar2 0.8s ease-in-out infinite;
    transform-origin: center;
}

.radio-play-pause.playing .pause-icon .wave-line {
    display: none;
}

@keyframes equalizerBar1 {
    0%, 100% {
        height: 16px;
        y: 4px;
    }
    18.5% {
        height: 14px;
        y: 5px;
    }
    25% {
        height: 10px;
        y: 7px;
    }
    31.5% {
        height: 18px;
        y: 3px;
    }
    52% {
        height: 20px;
        y: 2px;
    }
    67.5% {
        height: 8px;
        y: 8px;
    }
    80% {
        height: 12px;
        y: 6px;
    }
    87.5% {
        height: 15px;
        y: 4.5px;
    }
}

@keyframes equalizerBar2 {
    0%, 100% {
        height: 12px;
        y: 6px;
    }
    12.5% {
        height: 18px;
        y: 3px;
    }
    25% {
        height: 20px;
        y: 2px;
    }
    37.5% {
        height: 11px;
        y: 6.5px;
    }
    50% {
        height: 10px;
        y: 7px;
    }
    62.5% {
        height: 19px;
        y: 2.5px;
    }
    75% {
        height: 16px;
        y: 4px;
    }
    87.5% {
        height: 9px;
        y: 7.5px;
    }
}

.radio-broadcast-link {
    transition: color 0.3s ease;
}

.radio-broadcast-link:hover {
    color: var(--color-special) !important;
}

.radio-broadcast-link:hover .radio-track-title,
.radio-broadcast-link:hover .radio-track-artist {
    color: var(--color-special);
}

.radio-track-info {
    max-width:200px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    min-width: 0;
    overflow: hidden;
}

.radio-track-title {
    font-size: clamp(0.8125rem, 2vw, 0.875rem);
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.radio-track-artist {
    font-size: clamp(0.75rem, 1.8vw, 0.75rem);
    font-weight: 400;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    margin-top: 2px;
}

.radio-volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 200px;
    transition: max-width 0.3s ease;
}

.radio-mute {
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.radio-mute:hover {
    color: var(--color-special);
}

.radio-mute svg {
    width: 20px;
    height: 20px;
}

.radio-volume-slider {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--color-special) 0%, var(--color-special) var(--slider-value, 100%), #ddd var(--slider-value, 100%), #ddd 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.radio-volume-slider::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--color-special) 0%, var(--color-special) var(--slider-value, 100%), #ddd var(--slider-value, 100%), #ddd 100%);
}

.radio-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: -6px;
    transition: box-shadow 0.3s ease;
}

.radio-volume-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.radio-volume-slider::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--color-special) 0%, var(--color-special) var(--slider-value, 100%), #ddd var(--slider-value, 100%), #ddd 100%);
}

.radio-volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.radio-volume-slider::-moz-range-thumb:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


@media (max-width: 920px) {
    body:not(.home) header .container .player {
        max-width: 273px;
        right: 66px;
        height:50px;
        top:53px;
        left:auto;
        padding: 0 10px;
            gap: 5px;
    }
    body:not(.home) .radio-play-pause {
        height:40px;
        width:40px;
    }

    body:not(.home) div.radio-volume-control {
        max-width: 0;
        overflow: hidden;
    }
}
@media (max-width: 730px) {
    body:not(.home) header .container .player {
        max-width: 273px;
        padding: 0 10px;
        gap: 5px;
        left:auto;
        right:66px;
    }
}
@media (max-width: 600px) {
    body:not(.home) .radio-track-info {
        display: none;
    }
    body.home .radio-track-info {
        max-width:100%;
    }

    body:not(.home) header .container .player {
        max-width: 66px;
    }

    body:not(.home) div.radio-volume-control {
        display: none;
    }
}
@media (max-width: 490px) {
    div.radio-volume-control {
        display: none;
    }
}

header .container .home_image {
    max-height:0;transition:.2s;
}
header .container .home_image img {
    max-height:0;transition:.2s;
}
.home header .container .home_image {
    width: calc(100% - 300px);
    height: 600px;
    max-height:600px;
    border-radius: 20% 200px;
}

/* Alternative home layout with full-width image and absolute logo */
.home header .container .home_image {
    width: 100%;
    height: 600px;
    max-height:600px;
    border-radius: 20% 200px;
    border-bottom-left-radius: 0;
    position: relative;
}
.home header .container .home_image img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    border-bottom-left-radius: 400px 350px;
}

.home header .container .home_image img {
    border-bottom-left-radius: 0;
}
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left:calc(2% + 20px)
}

.logo-image {
    height: 155px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.site-logo {
    z-index: 100;
    position: relative;
}

/* On alterhome page, position logo absolutely over home_image */
.home header .container .site-logo {
    position: absolute;
    top: 0;
    left: calc(2% + 20px);
    z-index: 100;
    margin-left: 0;
}

header nav {
    display: none; /* Hide old navigation, using burger menu instead */
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

nav ul li.active > a {
    color: #007bff;
    font-weight: bold;
}

/* Submenu */
nav ul li ul {
    display: none;
    position: absolute;
    top: calc(100% - 1px); /* Slight overlap to prevent gap */
    left: 0;
    background-color: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
    margin-top: 0;
}

/* Show submenu on hover - only when cursor is over the parent menu item */
nav ul li:hover > ul {
    display: block;
}

/* Ensure submenu stays visible when hovering over it */
nav ul li ul:hover {
    display: block;
}

nav ul li ul li {
    width: 100%;
    position: relative; /* Required for 3rd level positioning */
}

/* Ensure 2nd level menu items can contain 3rd level menus */
nav ul li ul li.has-children {
    position: relative;
}

nav ul li ul li a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

nav ul li ul li:last-child a {
    border-bottom: none;
}

/* 3rd Level Submenu */
nav ul li ul li ul {
    position: absolute;
    top: 0;
    left: 100%; /* Position to the right of parent */
    margin-left: 1px; /* Slight gap to prevent overlap */
    z-index: 1001; /* Higher than 2nd level */
}

/* Show 3rd level submenu on hover */
nav ul li ul li:hover > ul {
    display: block;
}

/* Ensure 3rd level submenu stays visible when hovering over it */
nav ul li ul li ul:hover {
    display: block;
}

/* Active state for nested menus */
nav ul li.active > ul,
nav ul li.active > ul li.active > ul {
    display: block;
}

/* Main Content */
main {
    padding: 0rem 0 6rem;
    min-height: 60vh;
}

/* Footer */
.site-footer-wrapper {
    /* background-color: var(--color-bg); */
    /* border-top: 1px solid var(--color-border); */
    margin-top: 3rem;
}

.site-footer {
    padding: 4rem 0 2rem;
    margin:0 auto;
    width:95%;max-width:1500px;
    border-top:1px solid var(--color-border);
}

.footer-banners {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 20px 3rem;
    border-bottom: 1px solid var(--color-border);
}

.footer-banners .banner-item {
    flex: 0 0 auto;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}

.footer-banners .banner-item img {
    width: auto;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contactform {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.contactform header {
    display: flex;
    font-size: clamp(2rem, 5vw, 3.125rem);
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
}

.contactform-title {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-wrap: pretty;    
    color: var(--color-text);
}

.contactform-title strong {
    font-weight: 700;
}

.contactform-instructions {
    display: none; /* Hide instructions for cleaner design */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

/* Hide labels visually but keep for screen readers */
.form-group label.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.form-group input,
.form-group textarea {
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 0;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    color: var(--color-text);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-submit-btn {
    align-self: flex-start;
    padding: 00 3rem;
    border: 1px solid var(--color-text);
    background: transparent;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 26px;
    margin-top: 1rem;
    height:53px;line-height:53px;
}

.contact-submit-btn:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

.contact-form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.contact-form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.footer-separator {
    height: 1px;
    /* background-color: var(--color-border); */
    margin: 2rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    font-weight: 500;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.footer-contact p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact .email-link {
    color: var(--color-special);
    text-decoration: none;
    font-size: clamp(1.5rem, 4vw, 2.1875rem);
    font-weight: 700;
}

.footer-contact .email-link:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: 1rem;
    margin-top:30px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-links span {
    color: var(--color-border);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

@media (min-width: 768px) and (max-width: 1330px) {
.footer-copyright {margin-right:60px;}
}

/* Responsive Footer */
@media (max-width: 768px) {
    .contactform {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contactform-title {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .footer-contact {margin:0 auto;text-align: center;}
    .footer-links {justify-content: center;margin:0 auto;}
    .footer-copyright {padding-top:80px;text-align: center;margin:0 auto;}
}

/* Article Content */
.article-content h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height:1.4;
    margin-bottom: 0;
    color:var(--color-special);
}

.article-content h2 {
    font-size: 1.2rem;
    /* margin-top: 2rem; */
    margin-bottom: 0;
}

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

.article-content div.text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
}

/* Third Level Article Items */
.third-level-article-item {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0 0;
    /* border: 1px solid var(--color-border); */
    border-top: 1px solid var(--color-border);
    border-radius: 8px;
    /* background-color: var(--color-bg-light); */
    transition: box-shadow 0.3s ease;
}

/* Hide only childrenpreview items without broadcasts.
   Keep childrenlinkspreview items visible (their h3 contains a link). */
.third-level-article-item:not(:has(.read-more-link)):not(:has(h3 > a)) {
    display: none;
}

.third-level-article-item:hover {
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    color: var(--color-special);
}

.third-level-article-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: .5rem;
}

.third-level-article-item h3 a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.third-level-article-item h3 a:hover {
    color: var(--color-special);
}

.third-level-article-item p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--color-text);
}

.third-level-article-item .read-more-link {
    display: block;
    width:100%;max-width:200px;text-align:center;
    padding:0;height:40px;line-height:40px;
    color: var(--color-text);
    background: var(--color-white);
    font-size: clamp(0.8125rem, 2vw, 0.875rem);
    letter-spacing: 1px;
    border:1px solid var(--color-text);
    border-radius:25px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.third-level-article-item .read-more-link:hover {
    color: var(--color-special);
    border: 1px solid var(--color-special);
}

/* Article List */
.article-list {
    margin: 2rem 0;
}

.article-list-items {
    margin:40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

.article-list-item {
    flex: 0 0 calc(32% - 1.5rem);
    min-width: 0;
    text-decoration: none;
    color: var(--color-text);
}
@media (max-width: 1000px) {
    .article-list-item {
            flex: 0 0 calc(50% - 1.5rem);
    }
}

.article-list-item:hover {
    color: var(--color-special);
}

.article-list-thumbnail {
    position: relative;
    width: 100%;
    /* height: 300px; */
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.article-list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: border-radius 0.3s ease;
}
.article-list-thumbnail:hover img {
    border-radius: 16px;
}

.article-list-next-broadcast {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.75);
    color: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    /* flex-direction: column; */
    gap: 0.25rem;
    backdrop-filter: blur(4px);
}

.article-list-next-broadcast .broadcast-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}


.article-list-next-broadcast .broadcast-date {
    font-size: 0.75rem;
    font-weight: 600;
}


.article-list-content {
    display: flex;
    flex-direction: column;
}

.article-list-title {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    font-weight: 600;
    /* margin-bottom: 0.5rem; */
    /* color: var(--color-text); */
}

.article-list-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-bottom: 0.75rem;
}

.article-list-shorttext {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text);
}

/* Article List Responsive */
@media (max-width: 750px) {
    .article-list-items {
        gap: 2rem;
    }
    
    .article-list-item {
        flex: 0 0 100%;
    }
}



.article-text-wrapper .article-main-images {
    float: right;
    width: 40%;
}

.article-text-wrapper .article-main-images img {
    width: 100%;
}

.article-text-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* Home Page Styles */
.home-welcome-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.home-welcome-content {
    flex: 1;
    min-width: 0;
}

.home-welcome-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.home-welcome-text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--color-text);
}

.home-welcome-text p {
    margin-bottom: 1rem;
}

.home-welcome-text a {
    color: var(--color-special);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.home-welcome-text a:hover {
    opacity: 0.8;
}

.home-welcome-image {
    flex: 1;
    min-width: 0;
}

.home-welcome-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.home-coming-up {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--color-border);
}

.home-coming-up h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.home-coming-up-link {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.complete-program-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    color: var(--color-text);
    background: var(--color-white);
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-text);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.complete-program-link .calendar-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.complete-program-link:hover {
    color: var(--color-special);
    border-color: var(--color-special);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.complete-program-link:hover .calendar-icon {
    color: var(--color-special);
}

@media (max-width: 650px) {
    .home-welcome-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .home-welcome-image {
        order: -1;
    }
    
    .home-welcome-image img {
        width: 100%;
    }
}

/* Banner Images */
.article-banners {
    margin: 0 0 2rem 0;
}

.banner-single {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.banner-single img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Broadcast Article Layout */
.article-broadcast-layout {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    align-items: flex-start;
}

.article-broadcast-main {
    flex: 0 0 60%;
    min-width: 0;
}

.article-broadcast-sidebar {
    flex: 0 0 40%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Responsive: Stack columns on mobile */
@media (max-width: 800px) {
    .article-broadcast-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .article-broadcast-main {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .article-broadcast-sidebar {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .broadcast-photo-gallery figure {
        flex: 0 0 calc(50% - 0.5rem);
        aspect-ratio: 4 / 3;
    }
    
    .calendar-date-item {
        flex-wrap: wrap;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .calendar-date-content {
        flex: 1 1 100%;
        min-width: 0;
    }
    
    .calendar-actions {
        flex: 0 0 auto;
        align-self: flex-start;
        margin-top: 0.25rem;
    }
}

.broadcast-main-image {
    width: 100%;
}

.broadcast-main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.broadcast-calendar-dates,
.calendar-events-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calendar-events-container {
    margin-top: 2rem;
}

.calendar-day-group {
    margin-bottom: 2rem;
}

.calendar-day-header {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-special);
    position: sticky;
    top: 0;
    background: var(--color-bg);
    z-index: 10;
    padding-top: 0.5rem;
    margin-top: -0.5rem;
}

.calendar-day-separator {
    height: 1px;
    /* background: var(--color-border); */
    margin: 2rem 0;
}

.calendar-date-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.calendar-date-item:last-child {
    border-bottom: none;
}

.calendar-time {
    font-weight: 600;
    color: var(--color-text);
    min-width: 80px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.playing-now-label {
    display: inline-block;
    background: var(--color-special);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s ease-in-out infinite;
    width: fit-content;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.calendar-date-item.playing-now {
    background: rgba(255, 204, 103, 0.1);
    border-left: 3px solid var(--color-special);
    padding-left: 0.5rem;
    margin-left: -0.5rem;
    padding-left: calc(0.5rem + 3px);
}

.calendar-event-info {
    flex: 1;
    min-width: 0;
    order: 3;
}

.calendar-event-link {
    text-decoration: none;
    color: var(--color-text);
    display: block;
}

.calendar-event-link:hover {
    color: var(--color-special);
}

.calendar-event-title {
    display: block;
    font-weight: 500;
    /* color: var(--color-text); */
    margin-bottom: 0.25rem;
}

.calendar-event-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.calendar-event-category {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
    font-style: italic;
}

.calendar-category-link {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.calendar-category-link:hover {
    color: var(--color-special);
    text-decoration: underline;
}

.article-category-links {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.article-category-links .calendar-category-link {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-category-links .calendar-category-link:hover {
    color: var(--color-special);
    text-decoration: underline;
}

.broadcast-upcoming-dates,
.broadcast-downloads,
.broadcast-links {
    padding: 1.5rem;
    background: var(--color-bg-light);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.broadcast-upcoming-dates h3,
.broadcast-downloads h3,
.broadcast-links h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-special);
}

.calendar-dates-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.calendar-date-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: nowrap;
}

.calendar-date-item:last-child {
    border-bottom: none;
}

.calendar-date-content {
    flex: 1;
    min-width: 0;
}

.calendar-date {
    display: block;
    font-weight: 500;
}

/* Removed: calendar-duration - no longer using articles_calendar.duration field */
.calendar-duration {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.calendar-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    order: 4;
}

.calendar-dropdown {
    position: relative;
}

.calendar-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.calendar-trigger:hover {
    border-color: var(--color-special);
    background: var(--color-bg-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calendar-dropdown:hover .calendar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.calendar-trigger svg {
    width: 18px;
    height: 18px;
    display: block;
    color: var(--color-text);
}

.calendar-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 1000;
    animation: breadcrumbDropdownFadeIn 0.2s ease;
}

.calendar-dropdown:hover .calendar-dropdown-menu {
    display: block;
}

.calendar-dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.calendar-dropdown-item:hover {
    color: var(--color-special);
    background-color: var(--color-special-background);
}

.calendar-article-picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    order: 2;
}

.calendar-article-picture:hover {
    border-color: var(--color-special);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calendar-article-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 500px) {
    .calendar-date-item {
        flex-wrap: wrap;
        align-items: center;
        gap:2px;
    }
    
    .calendar-time {
        flex: 0 0 auto;
        order: 1;
        width: auto;
    }
    
    .calendar-actions {
        flex: 0 0 auto;
        order: 2;
        margin-left: auto;
        width: auto;
    }
    
    .calendar-event-info {
        width: 100%;
        order: 3;
        margin-top: 0.5rem;
        flex-basis: 100%;
    }
}

.broadcast-toggle-passed {
    background: none;
    border: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.broadcast-toggle-passed:hover {
    background: var(--color-bg-light);
    border-color: var(--color-special);
    color: var(--color-special);
}

.broadcast-toggle-passed .toggle-icon {
    font-size: 1.25rem;
    font-weight: 300;
}

.broadcast-passed-list {
    margin-top: 1rem;
}

.broadcast-links .links-list,
.broadcast-downloads .downloads-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.broadcast-links .link-item a,
.broadcast-downloads .download-item a {
    display: block;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.broadcast-links .link-item a:hover,
.broadcast-downloads .download-item a:hover {
    border-color: var(--color-special);
    color: var(--color-special);
    background: var(--color-bg-light);
}

.broadcast-photo-gallery-wrapper {
    margin: 2rem 0;
}

.broadcast-photo-gallery-header {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.broadcast-photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.broadcast-photo-gallery figure {
    flex: 0 0 calc(25% - 0.75rem);
    min-width: 0;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.broadcast-photo-gallery figure a {
    display: block;
    width: 100%;
    height: 100%;
}

.broadcast-photo-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.broadcast-photo-gallery figure:hover img {
    transform: scale(1.05);
}

.broadcast-photo-gallery figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.photo-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

/* Downloads */
.downloads-list {
    list-style: none;
    margin: 1rem 0;
}

.downloads-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.downloads-list li:last-child {
    border-bottom: none;
}

.downloads-list a {
    color: #007bff;
    text-decoration: none;
}

.downloads-list a:hover {
    text-decoration: underline;
}

/* Links */
.links-list {
    list-style: none;
    margin: 1rem 0;
}

.links-list li {
    padding: 0.5rem 0;
}

.links-list a {
    color: #007bff;
    text-decoration: none;
}

.links-list a:hover {
    text-decoration: underline;
}

/* Fixed Play/Pause Button */
.fixed-radio-play-pause {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 52px;
    height: 52px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fixed-radio-play-pause.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fixed-radio-play-pause.playing {
    color: var(--color-special);
}

.fixed-radio-play-pause:hover {
    color: var(--color-special);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.fixed-radio-play-pause svg {
    width: 32px;
    height: 32px;
}

.fixed-radio-play-pause .play-icon {
    transform: translateX(2px);
}

/* Fixed pause icon equalizer animation */
.fixed-radio-play-pause.playing .pause-icon rect:nth-child(1) {
    animation: equalizerBar1 0.8s ease-in-out infinite;
    transform-origin: center;
}

.fixed-radio-play-pause.playing .pause-icon rect:nth-child(2) {
    animation: equalizerBar2 0.8s ease-in-out infinite;
    transform-origin: center;
}

.fixed-radio-play-pause.playing .pause-icon .wave-line {
    display: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--color-special);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-special);
    opacity: 0.9;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    
    nav ul li ul {
        position: static;
        box-shadow: none;
        border: none;
    }

    .fixed-radio-play-pause {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        padding: 8px;
    }

    .fixed-radio-play-pause svg {
        width: 28px;
        height: 28px;
    }

    .back-to-top {
        bottom: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Breadcrumb Dropdown */
.breadcrumbs li.has-dropdown {
    position: relative;
}

.breadcrumb-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 4px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
    vertical-align: middle;
    transition: all 0.2s ease;
    border-radius: 3px;
}

.breadcrumb-dropdown-toggle:hover {
    background-color: var(--color-special-background);
    color: var(--color-special);
}

.breadcrumb-dropdown-toggle svg {
    transition: transform 0.2s ease;
}

.breadcrumb-dropdown-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.breadcrumb-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 1000;
    animation: breadcrumbDropdownFadeIn 0.2s ease;
}
@media (max-width: 1000px) {
    .breadcrumbs {display: none;}
}

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

.breadcrumb-dropdown.active {
    display: block;
}

.breadcrumb-dropdown li {
    margin: 0;
    padding: 0;
}

.breadcrumb-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.breadcrumb-dropdown a:hover {
    color: var(--color-special);
    background-color: var(--color-special-background);
    /* border-left-color: #007bff; */
    /* padding-left: 23px; */
}

/* Submenu Horizontal (Any Level) */
.submenu-horizontal {
    background-color: transparent;
    border-bottom: none;
    padding: 0;
    margin: 1rem 0 3rem 0;
    display: none;
}

.submenu-horizontal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: center;
}

.submenu-horizontal li {
    margin: 0;
    padding: 0;
}

.submenu-horizontal li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: #999;
    font-weight: 300;
}

.submenu-horizontal a {
    display: inline-block;
    padding: 0;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
}

.submenu-horizontal a:hover {
    color: #333;
    text-decoration: underline;
}

.submenu-horizontal li.active a,
.submenu-horizontal a.active {
    font-weight: 600;
    color: #333;
}

@media (max-width: 1024px) {
    .submenu-horizontal {
        margin: 0.875rem 0 1.25rem 0;
    }
    
    .submenu-horizontal a {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .submenu-horizontal {
        margin: 0.75rem 0 1rem 0;
    }
    
    .submenu-horizontal ul {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        gap: 0.4rem;
    }
    
    .submenu-horizontal ul::-webkit-scrollbar {
        height: 3px;
    }
    
    .submenu-horizontal ul::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .submenu-horizontal ul::-webkit-scrollbar-thumb {
        background: #007bff;
        border-radius: 3px;
    }
    
    .submenu-horizontal a {
        font-size: 0.8125rem;
        white-space: nowrap;
    }
    
    .submenu-horizontal li:not(:last-child)::after {
        margin-left: 0.4rem;
    }
}

@media (max-width: 480px) {
    .submenu-horizontal a {
        font-size: 0.8rem;
    }
}

/* Admin Edit Buttons */
.admin-edit-buttons {
    position: fixed;
    bottom: 2px;
    right: 2px;
    z-index: 10000;
    display: flex;
    gap: 2px;
    font-size: clamp(0.625rem, 1.5vw, 0.6875rem);
    flex-wrap: wrap;
    max-width: calc(100vw - 20px);
    justify-content: flex-end;
}

.admin-edit-btn {
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.625rem, 1.5vw, 0.6875rem);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.admin-edit-btn:hover {
    opacity: 0.9;
}

.admin-edit-menu {
    background: #3b82f6;
    color: white;
}

.admin-edit-article {
    background: #10b981;
    color: white;
}

.admin-regenerate-cache {
    background: #f59e0b;
    color: white;
}

.admin-regenerate-cache:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Ensure admin buttons stay visible during Swup transitions */
html.is-changing .admin-edit-buttons,
html.is-rendering .admin-edit-buttons {
    opacity: 1;
    transform: none;
}
