@charset "UTF-8";

:root {
  --color-background: #1c313a;
  --color-surface: #172830;
  --color-surface-dark: #0b1418;
  --color-surface-light: #455a64;
  --color-primary: #33b4ec;
  --color-text: #ccc;
  --color-white: #fff;
}


/* Light theme */
body.light-theme {
  --color-background: #f5f7f8;
  --color-surface: #ffffff;
  --color-surface-dark: #e8eef0;
  --color-surface-light: #dce5e9;
  --color-primary: #0789bd;
  --color-text: #455a64;
}

/* Apply the theme variables to the page */
body {
  background-color: var(--color-background);
  color: var(--color-text);
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Header */
body.light-theme #header {
  background: #ffffff;
  box-shadow: 0 2px 15px rgb(0 0 0 / 8%);
}

body.light-theme #header .logo a,
body.light-theme #header .logo a:hover,
body.light-theme #header .logo a span {
  color: #172830;
}

/* Theme toggle in light mode */
body.light-theme .theme-toggle {
  color: #172830;
  background: #f5f7f8;
  border-color: #dce5e9;
}

body.light-theme .theme-toggle:hover {
  background: #e8eef0;
}

.theme-icon svg { display: block; }
.theme-icon .icon-moon { display: none; }
body.light-theme .theme-icon .icon-sun { display: none; }
body.light-theme .theme-icon .icon-moon { display: block; }

/* Install app modal */
.modal-header {
  border-bottom: 0;
}

.modal-footer {
  display: block;
  border-top: 0;
}

.modal-content {
  background-color: var(--color-surface-light);
}

.modal-body .app-icon-image {
  padding-bottom: 30px;
}

.modal-body .app-title,
.modal-body .app-subtitle,
.modal-body .app-extra-info {
  color: var(--color-white);
  font-weight: 600;
}

/* General styling for the SVG icons */
.app-extra-info .icon {
  fill: #efd425;
}

/* Star vertical alignment */
.app-extra-info .icon-star {
  vertical-align: -0.125em;
}

/* Download icon alignment & margin */
.app-extra-info .icon-download {
  vertical-align: middle;
  margin-left: 1rem;
}

.modal-body .app-title {
  font-size: 19px;
}

.modal-body .app-subtitle {
  font-size: 26px;
}

.modal-body .app-extra-info {
  font-size: 20px;
}

.modal-body .install-app {
  padding-top: 0;
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--color-surface-light);
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-surface);
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease,
  border-color 0.2s ease,
  color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--color-surface-light);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Light theme button */
body.light-theme .theme-toggle {
  color: #172830;
  background: #f5f7f8;
  border-color: #dce5e9;
}

body.light-theme .theme-toggle:hover {
  background: #e8eef0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  background-color: transparent;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-link svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.header-link:hover,
.header-link.active {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Icon-only on small screens so the header doesn't overflow */
@media (max-width: 576px) {
  .header-link span { display: none; }
  .header-link { padding: 0.5rem; }
}

/* Social buttons */
.btn-social {
  /* Forces the element to be a perfect square */
  width: 40px;
  height: 40px;

  /* Creates the perfect circle */
  border-radius: 50%;

  /* Centers the SVG icon exactly inside the circle */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Removes default Bootstrap side paddings that distort circles */
  padding: 0;

  /* Optional: Smooth transition for hover color shifts */
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Ensures the SVG matches the scaling inside the rounded block */
.btn-social svg {
  width: 18px;
  height: 18px;
}


.btn-facebook,
.btn-instagram,
.btn-twitter,
.btn-youtube {
  color: var(--color-white);
}
/* X (FORMERLY TWITTER) BUTTON STYLES */
.btn-twitter {
  border-color: #000000;      /* Modern official X black */
  background-color: #000000;
}

.btn-twitter:hover,
.btn-twitter:active {
  border-color: #1a1a1a;      /* Slight off-black lift for the hover state */
  background-color: #1a1a1a;
}

/* YOUTUBE BUTTON STYLES */
.btn-youtube {
  border-color: #ff0000;      /* Signature YouTube Red */
  background-color: #ff0000;
}

.btn-youtube:hover,
.btn-youtube:active {
  border-color: #cc0000;      /* Premium deep dark crimson */
  background-color: #cc0000;
}
/* FACEBOOK BUTTON STYLES */
.btn-facebook {
  border-color: #3b5998;
  background-color: #3b5998;
}

.btn-facebook:hover,
.btn-facebook:active {
  border-color: #30487b;
  background-color: #30487b;
}
/* INSTAGRAM BUTTON STYLES */
.btn-instagram {
  border-color: #3f729b;
  background-color: #3f729b;
}

.btn-instagram:hover,
.btn-instagram:active {
  border-color: #335d7e;
  background-color: #335d7e;
}

/* General */
body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--color-background);
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
}

a {
  color: var(--color-text);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Cookie banner */
.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 255;
  min-height: 21px;
  padding: 5px 16px;
  color: #ddd;
  background: #000;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 21px;
  text-align: center;
  opacity: 0;
}

.cookie-consent.is-visible {
  pointer-events: auto;
  opacity: 1;
}

.cookie-consent.is-visible span {
  margin-top: 10px;
  vertical-align: sub;
}

.cookie-consent__button {
  float: right;
  padding: 5px 18px;
  background-color: rgb(128 128 128 / 50%);
  cursor: pointer;
}

/* Header and page layout */
#header {
  top: 0;
  padding: 7px 0;
  background: #0f1a1e;
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
}

#header .logo {
  margin: 0;
  padding: 0;
  font-weight: 600;
  line-height: 1;
}

#header .logo a,
#header .logo a:hover {
  color: var(--color-white);
}

#header .logo a span {
  color: var(--color-white);
  font-size: 18px;
  vertical-align: middle;
}

#header .logo svg {
  width: 40px;
  height: 40px;
  margin: 2px 10px 2px 0;
  border-radius: 50%;
  object-fit: cover;
}
@media (max-width: 770px) {
  #header .logo a span {
    display: none;
  }
}
main {
  margin-top: 70px;
}

.section-bg {
  background-color: var(--color-background);
}

.section-title {
  padding-bottom: 15px;
  text-align: center;
}

.section-title h1 {
  margin: 12px 0 0;
  color: var(--color-white);
  font-size: 22px;
  font-weight: 700;
}

@media (min-width: 992px) {
  h1.padded-bottom {
    padding-bottom: 30px;
  }
}

/* Breadcrumbs */
.breadcrumbs span {
  margin: 0;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
  color: var(--color-white);
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: var(--color-white);
  content: "/";
}

/* Sidebar */
.main_sidebar_section {
  width: 100%;
}

.main_sidebar_section .sidebar-header {
  padding: 8px 5px;
  border-top: 1px groove #ddd;
  border-bottom: 1px groove #ddd;
  color: var(--color-white);
  font-size: 0.938rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5rem;
  text-align: center;
}

.main_sidebar_section .sidebar-body {
  display: block;
  padding: 10px 20px;
  background: #21404b;
}

.list-group-sidebar .list-group-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 8px;
  padding: 0 16px;
  overflow: hidden;
  color: var(--color-white);
  background-color: var(--color-background);
  border: 0;
  border-radius: 2px;
  box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px rgb(0 0 0 / 14%), 0 1px 5px rgb(0 0 0 / 12%);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 2.25rem;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.3s ease-in-out;
  user-select: none;
}

.list-group-sidebar .list-group-item.active,
.list-group-sidebar .list-group-item:hover,
.list-group-sidebar .list-group-item:focus {
  color: var(--color-white);
  background-color: #2d4e5c !important;
}

.radio-genre-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* Center aligns the inner wrapper horizontally */
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.radio-genre-cloud__label {
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 600;
}

.radio-genre-cloud__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center aligns the actual genre links */
  gap: 0.65rem 0.6rem;
}

.radio-genre-cloud__link {
  padding: 0.4rem 0.8rem;
  color: #ffffff;
  background-color: var(--color-surface-light);
  border: 1px solid var(--color-surface-light);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 576px) {
  .radio-genre-cloud__links {
    gap: 0.6rem 0.5rem;
  }

  .radio-genre-cloud__link {
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
  }
}

.radio-genre-cloud__link:hover,
.radio-genre-cloud__link:focus-visible {
  color: #ffffff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.radio-genre-cloud__link.is-active {
  color: #ffffff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

body.light-theme .radio-genre-cloud__link {
  background-color: var(--color-text);
  border-color: var(--color-text);
}

body.light-theme .radio-genre-cloud__link:hover,
body.light-theme .radio-genre-cloud__link:focus-visible,
body.light-theme .radio-genre-cloud__link.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.radio-genre-cloud--mobile {
  display: none;
}

@media (max-width: 767.98px) {
  .radio-genre-cloud--desktop {
    display: none;
  }

  .radio-genre-cloud--mobile {
    display: flex;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }
}

/* Pagination */
.pagination_wrapper .pagination {
  gap: 0.3rem;
  margin-bottom: 0;
  flex-wrap: nowrap;
}

.pagination_wrapper .page-link {
  display: inline-flex;
  min-width: 2.25rem;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.9rem;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface-light);
  border-radius: 0.75rem;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pagination_wrapper a.page-link:hover {
  color: var(--color-white);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.pagination_wrapper a.page-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.pagination_wrapper .page-link[aria-current="page"] {
  color: var(--color-white);
  font-weight: 700;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.pagination_wrapper .page-link[aria-disabled="true"] {
  color: var(--color-text);
  opacity: 0.5;
}

.pagination__status {
  margin-bottom: 1rem;
  color: var(--color-text);
  text-align: center;
}

/* Swap Bootstrap's first/last-child corner radii between previous and next */
.pagination_wrapper .page-item:first-child .page-link {
  border-radius: 0.75rem 0.375rem 0.375rem 0.75rem;
}

.pagination_wrapper .page-item:last-child .page-link {
  border-radius: 0.375rem 0.75rem 0.75rem 0.375rem;
}

.pagination__arrow {
  width: 0.4rem;
  height: 0.4rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.pagination__arrow--previous {
  transform: rotate(-135deg);
}

.pagination__arrow--next {
  transform: rotate(45deg);
}
.pagination_wrapper span.page-link {
  cursor: default;
}
@media (max-width: 575.98px) {
  .pagination_wrapper .pagination {
    flex-wrap: nowrap;
    gap: 0.25rem;
  }

  .pagination_wrapper .page-link {
    min-width: 2rem;
    min-height: 2rem;
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
  }

  .pagination_wrapper .pagination__ellipsis {
    display: flex;
    min-width: 1.75rem;
    min-height: 1.75rem;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    user-select: none;
  }

  @media (max-width: 575.98px) {
    .pagination_wrapper .pagination__ellipsis {
      min-width: 1.5rem;
      min-height: 2rem;
    }
  }
}

/* Radio cards and player */
.content-section {
  padding: 20px 0;
}

.radio-card {
  background-color: #21404b;
  border: 1px solid #2c5464;
  transition: background-color 0.2s ease;
}

.radio-card:hover {
  background-color: #2b5361; /* Slightly lighter shade on hover */
}

.radio-card .fw-bold {
  color: #ffffff;
}

.radio-card .text-muted {
  color: #adb5bd !important;
}

/* Radio card light theme */
body.light-theme .radio-card {
  color: var(--color-text);
  background-color: #ffffff;
  border-color: #dce5e9;
}

body.light-theme .radio-card:hover {
  background-color: #f0f5f7;
  border-color: #c8d7dd;
}

body.light-theme .radio-card .fw-bold {
  color: #172830;
}

body.light-theme .radio-card .text-muted {
  color: #5f7078 !important;
}

.radio-card__image {
  position: relative;
  overflow: hidden;
}

.radio-card__image img {
  transition: transform 0.3s ease-in-out;
  object-fit: cover;
}

.radio-card__info {
  padding: 8px 10px;
}

.radio-card__info p {
  width: 100%;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--color-white);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radio-card--list:hover {
  box-shadow: 20px 20px 20px 0 rgb(0 46 59 / 50%);
}

.radio-card--playing {
  width: 100%;
  background: #142229;
  text-align: left;
}

.radio-card--playing .radio-card__image {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: flex-start;
}

.radio-card--playing .radio-card__image img {
  object-fit: contain;
}

.radio-card--playing .audio_wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.radio-card--playing .audio_wrapper .green-audio-player {
  height: 100%;
}

.radio-card--playing .green-audio-player .play_icon,
.radio-card--playing .green-audio-player .loading_icon,
.radio-card--playing .green-audio-player .stop_icon {
  display: inline-block;
  padding: 5px;
  color: var(--color-primary);
  background: var(--color-white);
  border-radius: 50%;
  font-size: 65px;
}

.radio-card--playing .green-audio-player .play_icon,
.radio-card--playing .green-audio-player .stop_icon {
  transition: transform 0.3s ease-in-out;
}

.radio-card--playing .green-audio-player .loading_icon{
  animation: spin-animation 1s linear infinite;
  transform-origin: center;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

@keyframes spin-animation {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radio-card--playing .green-audio-player.stop .play_icon {
  display: none;
}

.radio-card--playing .green-audio-player.stop .stop_icon {
  display: inline-block;
}

.radio-card--playing .radio-card__info {
  padding: 10px 15px;
  background: var(--color-surface-dark);
}

.radio-card--playing .radio-card__info h4 {
  margin-bottom: 0;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 300;
}
.volume-icon{
    display: inline-block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.radio-slider {
  width: 140px;
  background: transparent;
  appearance: none;
}

.radio-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  background: #005f79;
  border-radius: 1px;
  cursor: pointer;
}

.radio-slider::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -5px;
  background: var(--color-primary);
  border: 1px solid #2497e3;
  border-radius: 50%;
  cursor: pointer;
  appearance: none;
}

.radio-slider::-moz-range-track {
  width: 100%;
  height: 5px;
  background: #005f79;
  border-radius: 10px;
  cursor: pointer;
}

.radio-slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  background: #00a0ce;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

#frequency_show_more {
  padding-top: 10px;
  cursor: pointer;
}

@keyframes spin-animation {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(359deg);
  }
}

.card-radio-detail {
  background: var(--color-surface);
}

/* Other websites */
#other-websites {
  padding: 30px 0;
  color: var(--color-text);
  background: var(--color-surface-light);
  font-size: 18px;
  text-align: center;
}

/*#other-websites .flags_lists {*/
/*  display: grid;*/
/*  grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));*/
/*}*/

/*#other-websites .flags_lists .flag_icon img {*/
/*  width: 60px;*/
/*  height: 60px;*/
/*  margin-bottom: 15px;*/
/*  border-radius: 50%;*/
/*  object-fit: cover;*/
/*}*/
#other-websites .flags_lists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
}

#other-websites .flags_lists .flag_icon svg {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  border-radius: 50%;
  clip-path: circle(50%); /* Ensures non-square SVGs clip cleanly to a circle */
}
/* Footer */
#footer {
  padding-bottom: 25px;
  color: var(--color-text);
  background: #34444c;
  font-size: 14px;
}

#footer .footer-top {
  padding: 60px 0 30px;
  background: #3f525b;
}

#footer .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-contact h2 {
  margin: 0 0 15px;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

#footer .footer-contact p,
#footer .footer-contact li {
  color: var(--color-text);
  font-size: 14px;
  line-height: 24px;
}

#footer .footer-contact ol {
  margin-bottom: 0;
}

@media (min-width: 576px) {
  .section-title {
    padding-bottom: 25px;
  }

  .section-title h1 {
    font-size: 24px;
  }
}

@media (min-width: 768px) {
  body {
    font-size: 14px;
  }

  .section-title h1 {
    font-size: 30px;
  }
}

@media (min-width: 992px) {
  body {
    font-size: 15px;
  }

  .section-title {
    padding-bottom: 10px;
  }

  .section-title h1 {
    font-size: 32px;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 16px;
  }

  main {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
  }
}

/*Podcasts*/
/* Podcast Grid Card Style */
.podcast-card {
  background-color: #21404b;
  border: 1px solid #2c5464;
  transition: background-color 0.2s ease;
}

.podcast-card:hover {
  background-color: #2b5361; /* Slightly lighter shade on hover */
}

.podcast-card:hover,
.podcast-card:focus-within {
  transform: scale(1.015);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.podcast-card .fw-bold {
  color: #ffffff;
}

.podcast-card .text-muted {
  color: #adb5bd !important;
}

/* Arrow icon styling */
.podcast-card .arrow-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #adb5bd; /* Muted color */
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

/* Make the arrow pop and slightly shift right when hovering the card */
.podcast-card:hover .arrow-icon {
  stroke: #ffffff;
  transform: translateX(3px);
}

/* Radio grid card: hover lift + play button overlay */
.radio-grid-card {
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.radio-grid-card__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 64px;
  margin-top: -40px;            /* image has mb-2 (8px): offset so it's centred on the image */
  margin-left: -32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  /* Example: 20% opacity of your primary color */
  background-color: color-mix(in srgb, var(--color-surface-dark) 80%, transparent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
  opacity: 0; transform: scale(.8);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.radio-grid-card__play svg { width: 36px; height: 36px; margin-left: 3px; }

.radio-grid-card:hover .radio-grid-card__play,
.radio-grid-card:focus-within .radio-grid-card__play {
  opacity: 1; transform: scale(1);
}

.radio-grid-card:hover,
.radio-grid-card:focus-within {
  transform: scale(1.015);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

/* Radio grid card: light theme */
body.light-theme .radio-grid-card:hover,
body.light-theme .radio-grid-card:focus-within {
  box-shadow: 0 8px 20px rgba(23, 40, 48, 0.12);
}

body.light-theme .radio-grid-card__play {
  background-color: color-mix(in srgb, var(--color-primary) 80%, transparent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(7, 137, 189, 0.35);
}
/*@media (prefers-reduced-motion: reduce) {*/
/*  .radio-grid-card, .radio-grid-card__play { transition: none; }*/
/*  .radio-grid-card:hover, .radio-grid-card:focus-within { transform: none; }*/
/*}*/

/* Hero Header Styling */
.podcast-hero-card {
  background-color: #21404b;
  border: 1px solid #2c5464;
}

.podcast-hero-card .description-text {
  color: #cbd5e1 !important;
  max-width: 900px;
}

/* Default Mobile Size for Podcast Artwork */
.podcast-artwork-img {
  width: 90px;
  height: 90px;
}

/* Tablet and Up: Larger Artwork */
@media (min-width: 768px) {
  .podcast-artwork-img {
    width: 140px;
    height: 140px;
  }
}

/* Handles mobile title line clamping or wrapping cleanly */
@media (max-width: 767.98px) {
  .podcast-hero-card h1 {
    font-size: 1rem !important;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
/* Podcast Hero Title - Default Dark Theme */
.podcast-title {
  color: var(--color-white);
  transition: color 0.2s ease;
}

/* Light Theme Title Override */
body.light-theme .podcast-title {
  color: #172830 !important; /* Deep dark text for contrast on light cards */
}

/* Standalone Large Media Player Card */
.podcast-main-player-card {
  background-color: #1a343e; /* Slightly deeper tone to distinguish it */
  border: 1px solid #2c5464;
}

/* Podcast Genre Badges (Solid Primary Normal State) */
.genre-badge {
  background-color: var(--color-surface-light) !important;
  border: 1px solid var(--color-surface-light);
  color: #ffffff !important;
  font-size: 0.85rem;      /* was 0.7rem */
  font-weight: 700;        /* was 500 */
  padding: 0.4rem 0.8rem !important;
  border-radius: 999px;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
@media (max-width: 576px) {
  .genre-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem !important;
  }
}
/* Interactive Hover State (Subtle scale up, primary color) */
.genre-badge:hover {
  transform: scale(1.05);
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary);
  color: #ffffff !important;
}

/* Light Theme Consistency */
body.light-theme .genre-badge {
  background-color: var(--color-text) !important;
  border-color: var(--color-text);
  color: #ffffff !important;
}

body.light-theme .genre-badge:hover {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary);
}

/* Big Play/Pause Button */
.btn-large-play-pause {
  width: 72px;
  height: 72px;
  background-color: #ffffff;
  color: #21404b;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-large-play-pause:hover {
  transform: scale(1.06);
  background-color: #f8f9fa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-large-play-pause .icon {
  width: 28px;
  height: 28px;
  transform: translateX(2px); /* Optical centering for play triangle */
}

.btn-large-play-pause .pause-svg {
  transform: translateX(0);
}

/* Thick, Easy-to-Grab Progress Bar */
.custom-large-player-range {
  height: 8px;
  background-color: #2c5464;
  border-radius: 4px;
  cursor: pointer;
}

.custom-large-player-range::-webkit-slider-thumb {
  background: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transition: transform 0.1s ease;
}

.custom-large-player-range::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}
/* Top Audio Player Card Container */
.podcast-player-card {
  background-color: #1a343e;
  border: 1px solid #2c5464;
}

/* Individual Episode Card */
.episode-card {
  background-color: #21404b;
  border: 1px solid #2c5464;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.episode-card:hover {
  background-color: #2b5361;
  border-color: #386b7e;
}

.episode-card[data-audio-url]:not([data-audio-url=""]) {
  cursor: pointer;
}

/* Round Play/Pause Episode Button */
.btn-episode-play {
  width: 46px;
  height: 46px;
  background-color: #ffffff;
  color: #21404b;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-episode-play:hover {
  transform: scale(1.08);
  background-color: #f8f9fa;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Ensure the SVG icon uses the button's dark text color and is optically centered */
.btn-episode-play svg {
  fill: #21404b;
  stroke: #21404b;
}

.btn-episode-play .play-svg-elem {
  transform: translateX(1px); /* Shift play triangle slightly right for optical balance */
}

/* Custom audio player controls */
.player-time {
  min-width: 3.2rem;
  color: #adb5bd;
  font-variant-numeric: tabular-nums;
}

.player-time:last-child {
  text-align: right;
}

.player-seek {
  --progress: 0%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  background: linear-gradient(to right, var(--color-primary) var(--progress), #2c5464 var(--progress));
}

.player-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}

.player-seek::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.player-seek:hover::-webkit-slider-thumb,
.player-seek:focus-visible::-webkit-slider-thumb {
  transform: scale(1.2);
}

.player-seek:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.player-btn {
  border: none;
  cursor: pointer;
  color: #ffffff;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.player-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.player-btn-skip {
  width: 52px;
  height: 52px;
  background-color: rgba(255, 255, 255, 0.1);
}

.player-btn-skip:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.player-btn-seek {
  width: 48px;
  height: 48px;
  background-color: transparent;
}

.player-btn-seek:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
}

body.light-theme .player-btn-seek {
  color: #172830;
}

body.light-theme .player-btn-seek:hover:not(:disabled) {
  background-color: #dce5e9;
}

.player-btn-main {
  width: 72px;
  height: 72px;
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(51, 180, 236, 0.35);
}

.player-btn-main:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(51, 180, 236, 0.5);
}

.player-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.player-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.player-controls {
  display: flex;
  justify-content: center;
}

.player-btn-small {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: transparent;
}

.player-btn-small:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.15);
}

.player-volume-slider {
  width: 100%;
  max-width: 110px;
  height: 6px;
}

.player-speed-btn {
  min-width: 52px;
  height: 32px;
  padding: 0 0.6rem;
  border: 1px solid #2c5464;
  background-color: transparent;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.player-speed-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-primary);
}

.player-speed-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

body.light-theme .player-speed-btn {
  color: #172830;
  border-color: #c5d5dc;
}

body.light-theme .player-speed-btn:hover {
  background-color: #dce5e9;
}

.player-toast {
  color: var(--color-primary);
  white-space: nowrap;
}

body.light-theme .player-btn-small {
  color: #172830;
}

body.light-theme .player-btn-small:hover:not(:disabled) {
  background-color: #dce5e9;
}

@media (max-width: 576px) {
  .player-volume-slider { max-width: 80px; }

  .podcast-player-card .episode-player-title {
    white-space: normal;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
  }

  .player-toolbar .player-volume-slider {
    flex: 0 0 90px;
    max-width: 90px;
  }

  /* Longer seek bar with the times underneath */
  .player-progress {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    row-gap: 0.35rem;
    column-gap: 0 !important;
  }

  .player-progress .player-seek {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  .player-progress #playerCurrentTime { grid-column: 1; grid-row: 2; }
  .player-progress #playerDuration { grid-column: 2; grid-row: 2; text-align: right; }

  .player-btn-skip {
    width: 40px;
    height: 40px;
  }

  .player-btn-seek {
    width: 40px;
    height: 40px;
  }

  .player-transport {
    gap: 0.5rem !important;
  }

  .player-btn-main {
    width: 64px;
    height: 64px;
  }
}
/* Radio Player Styles */
.radio-player__image {
  width: 135px;
  height: 135px;
  object-fit: cover;
}

/* Bigger, more prominent play button */
.radio-player .player-btn-main {
  width: 80px;
  height: 80px;
  margin: 6px;
}

.radio-player .player-btn-main svg {
  width: 44px;
  height: 44px;
}
.radio-player__info {
  min-width: 0;
  align-self: stretch;
  gap: 0.5rem;
}

.radio-player__meta,
.radio-player__meta a {
  color: #adb5bd;
}

.radio-player__title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Centre the play button with share on the left and volume on the right */
.radio-player__controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem -1rem -1rem;
  padding: 0.5rem;
  border-top: 1px solid #2c5464;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 0 0 1rem 1rem;
}
body.light-theme .radio-player__controls {
  border-top-color: #dce5e9;
  background-color: rgba(0, 0, 0, 0.04);
}
@media (min-width: 768px) {
  .radio-player__controls {
    margin: 1.5rem -1.5rem -1.5rem;
    padding: 1rem 1.5rem;
  }
}
.radio-player__controls .justify-self-start { justify-self: start; }
.radio-player__controls .justify-self-end { justify-self: end; }

body.light-theme .radio-player__meta,
body.light-theme .radio-player__meta a { color: #5f7078; }

.radio-player .loading_icon {
  animation: spin-animation 1s linear infinite;
  transform-origin: center;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Smaller, subtler volume control */
.radio-player .player-volume-slider {
  max-width: 110px;
  height: 4px;
  opacity: 0.7;
}

.radio-player .player-volume-slider:hover {
  opacity: 1;
}

.radio-player .player-volume-slider::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
}

.radio-player .player-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
}

.radio-player .volume-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

@media (max-width: 576px) {
  .radio-player__image { width: 95px; height: 95px; }
  .radio-player .player-btn-main { width: 72px; height: 72px; }
  .radio-player .player-btn-main svg { width: 36px; height: 36px; }
  .radio-player .player-volume-slider { max-width: 90px; }
}

/* =========================================
   LIGHT THEME: component-specific overrides
   Add this block at the end of style.css
   ========================================= */

/* Page headings */
body.light-theme .section-title h1 {
  color: var(--color-text);
}

/* Breadcrumbs */
body.light-theme .breadcrumbs span,
body.light-theme .breadcrumbs ol li + li,
body.light-theme .breadcrumbs ol li + li::before {
  color: var(--color-text);
}

/* Sidebar */
body.light-theme .main_sidebar_section .sidebar-header {
  color: var(--color-text);
  border-color: #dce5e9;
}

body.light-theme .main_sidebar_section .sidebar-body {
  background-color: var(--color-surface-light);
}

body.light-theme .list-group-sidebar .list-group-item {
  color: var(--color-text);
  background-color: var(--color-surface);
}

body.light-theme .list-group-sidebar .list-group-item.active,
body.light-theme .list-group-sidebar .list-group-item:hover,
body.light-theme .list-group-sidebar .list-group-item:focus {
  color: #172830;
  background-color: #dce5e9 !important;
}


/* Radio cards */
body.light-theme .radio-card {
  background-color: var(--color-surface);
}

body.light-theme .radio-card__info p {
  color: var(--color-text);
}

body.light-theme .radio-card:hover {
  background-color: #e8eef0;
}

body.light-theme .radio-card--playing,
body.light-theme .radio-card--playing .radio-card__info {
  background-color: var(--color-surface-dark);
}

body.light-theme .radio-card--playing .radio-card__info h4 {
  color: var(--color-text);
}

/* Audio player controls */
body.light-theme .radio-slider::-webkit-slider-runnable-track {
  background-color: #c5d5dc;
}

body.light-theme .radio-slider::-moz-range-track {
  background-color: #c5d5dc;
}

body.light-theme .radio-slider::-moz-range-thumb {
  background-color: var(--color-primary);
}

/* Radio details */
body.light-theme .card-radio-detail {
  background-color: var(--color-surface);
}

/* Footer */
body.light-theme #footer {
  color: var(--color-text);
  background-color: #e8eef0;
}

body.light-theme #footer .footer-top {
  background-color: #f5f7f8;
}

body.light-theme #footer .footer-contact h2,
body.light-theme #footer .footer-contact p,
body.light-theme #footer .footer-contact li {
  color: var(--color-text);
}

/* Podcast cards */
body.light-theme .podcast-card,
body.light-theme .podcast-hero-card,
body.light-theme .episode-card {
  color: var(--color-text);
  background-color: #ffffff;
  border-color: #dce5e9;
}

body.light-theme .podcast-card:hover,
body.light-theme .episode-card:hover {
  background-color: #f0f5f7;
  border-color: #c8d7dd;
}

body.light-theme .podcast-card .fw-bold {
  color: #172830;
}

body.light-theme .podcast-card .text-muted {
  color: #5f7078 !important;
}

body.light-theme .podcast-card .arrow-icon {
  stroke: #5f7078;
}

body.light-theme .podcast-card:hover .arrow-icon {
  stroke: #172830;
}

body.light-theme .podcast-hero-card .description-text {
  color: #455a64 !important;
}

/* Podcast audio player cards */
body.light-theme .podcast-main-player-card,
body.light-theme .podcast-player-card {
  color: var(--color-text);
  background-color: #f0f5f7;
  border-color: #dce5e9;
}

body.light-theme .custom-large-player-range {
  background-color: #c5d5dc;
}

/* Podcast play buttons */
body.light-theme .btn-large-play-pause,
body.light-theme .btn-episode-play {
  color: #172830;
  background-color: #ffffff;
}

body.light-theme .btn-episode-play i {
  color: #172830;
}

/* Custom audio player — light theme */
body.light-theme .player-time {
  color: #5f7078;
}

body.light-theme .player-seek {
  background: linear-gradient(to right, var(--color-primary) var(--progress), #c5d5dc var(--progress));
}

body.light-theme .player-seek::-webkit-slider-thumb {
  background: var(--color-primary);
}

body.light-theme .player-seek::-moz-range-thumb {
  background: var(--color-primary);
}

body.light-theme .player-btn-skip {
  color: #172830;
  background-color: #dce5e9;
}

body.light-theme .player-btn-skip:hover:not(:disabled) {
  background-color: #c5d5dc;
}

/* Active Episode Card Highlight */
.episode-card.is-playing {
  background-color: #2b5361 !important;
  border-color: #0dcaf0 !important; /* Cyan accent border */
}

/* Active Button (e.g. Primary accent/Cyan button with dark stop icon) */
.btn-episode-play.is-playing {
  background-color: #0dcaf0 !important; /* Standout active color */
  color: #1a343e !important;
  box-shadow: 0 0 12px rgba(13, 202, 240, 0.4); /* Subtle glow */
}

.btn-episode-play.is-playing svg {
  fill: #1a343e !important;
}
/* Default Dark Theme Episode Text Colors */
.episode-player-title,
.episodes-section-title,
.episode-title {
  color: #ffffff;
}

.episode-date {
  color: #adb5bd !important;
}

.episode-desc {
  color: #cbd5e1 !important;
}

/* Light Theme Episode Text Colors Overrides */
body.light-theme .episode-player-title,
body.light-theme .episodes-section-title,
body.light-theme .episode-title {
  color: #172830 !important; /* Dark rich text for white card surfaces */
}

body.light-theme .episode-date {
  color: #5f7078 !important; /* Muted dark gray for dates */
}

body.light-theme .episode-desc {
  color: #455a64 !important; /* Readable body color for descriptions */
}
/* =========================================
   ACTIVE PLAYING STATE: LIGHT THEME OVERRIDES
   ========================================= */

body.light-theme .episode-card.is-playing {
  background-color: #e3f2fd !important; /* Soft light-blue active card background */
  border-color: #0789bd !important;     /* Brand primary accent border */
}

body.light-theme .btn-episode-play.is-playing {
  background-color: #0789bd !important; /* Primary accent button color */
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(7, 137, 189, 0.3); /* Subtle light-mode glow */
}

body.light-theme .btn-episode-play.is-playing svg {
  fill: #ffffff !important;
}

/* Install app modal */
body.light-theme .modal-body .app-title,
body.light-theme .modal-body .app-subtitle,
body.light-theme .modal-body .app-extra-info {
  color: #172830;
}

body.light-theme #installAppModal .btn-close {
  filter: none;
}

/* Smooth color transitions for common surfaces */
body,
#header,
.radio-card,
.radio-card__info,
.main_sidebar_section .sidebar-body,
.list-group-sidebar .list-group-item,
.breadcrumbs,
#footer,
#footer .footer-top,
.podcast-card,
.podcast-hero-card,
.episode-card,
.podcast-main-player-card,
.podcast-player-card,
.modal-content {
  transition:
          background-color 0.2s ease,
          color 0.2s ease,
          border-color 0.2s ease;
}


/* =========================================
   RADIO DETAIL PAGE — LIGHT THEME
   ========================================= */

/* Related radios heading */
body.light-theme .main_content_section > .text-white {
  color: var(--color-text) !important;
}

/* Main radio player card */
body.light-theme .radio-card--playing {
  background-color: #ffffff;
}

body.light-theme .radio-card--playing .radio-card__info {
  background-color: #e8eef0;
}

body.light-theme .radio-card--playing .radio-card__info h4 {
  color: var(--color-text);
}

/* Volume icon: override Bootstrap's text-white utility */
body.light-theme .radio-card--playing .volume-icon.text-white {
  color: var(--color-text) !important;
}

/* Volume slider */
body.light-theme .radio-slider::-webkit-slider-runnable-track {
  background-color: #c5d5dc;
}

body.light-theme .radio-slider::-webkit-slider-thumb {
  border-color: var(--color-primary);
}

body.light-theme .radio-slider::-moz-range-track {
  background-color: #c5d5dc;
}

body.light-theme .radio-slider::-moz-range-thumb {
  background-color: var(--color-primary);
}

/* Radio information panel */
body.light-theme .card-radio-detail {
  color: var(--color-text) !important;
  background-color: #ffffff;
  border-color: #dce5e9;
  box-shadow: 0 2px 8px rgb(23 40 48 / 6%);
}

/* Radio name and section headings */
body.light-theme .card-radio-detail .card-title,
body.light-theme .card-radio-detail h3 {
  color: #172830;
}

/* Radio slogan, description, programs and contact information */
body.light-theme .card-radio-detail .card-body,
body.light-theme .card-radio-detail .card-body p,
body.light-theme .card-radio-detail .card-body span,
body.light-theme .card-radio-detail .card-body strong,
body.light-theme .card-radio-detail .card-body li {
  color: var(--color-text);
}

/* Dividers between detail sections */
body.light-theme .card-radio-detail hr {
  border-color: #dce5e9;
  opacity: 1;
}

/* Frequency list and show-more control */
body.light-theme .card-radio-detail .frequency-container a,
body.light-theme #frequency_show_more {
  color: var(--color-primary);
}

body.light-theme #frequency_show_more:hover {
  color: #056b91;
}

/* Links in radio information */
body.light-theme .card-radio-detail a {
  color: var(--color-primary);
  overflow-wrap: anywhere;
}

body.light-theme .card-radio-detail a:hover {
  color: #056b91;
}

/* Keep social buttons recognizable while preserving their brand colors */
body.light-theme .card-radio-detail a.btn-facebook,
body.light-theme .card-radio-detail a.btn-instagram,
body.light-theme .card-radio-detail a.btn-twitter,
body.light-theme .card-radio-detail a.btn-youtube {
  color: #ffffff;
}

/* Related radio cards */
body.light-theme .radio-card--list {
  background-color: #ffffff;
}

body.light-theme .radio-card--list .radio-card__info p,
body.light-theme .radio-card--list .radio-card__info a {
  color: var(--color-text);
}

body.light-theme .radio-card--list .radio-card__info a:hover {
  color: var(--color-primary);
}

body.light-theme .radio-card--list:hover {
  background-color: #e8eef0;
  box-shadow: 0 4px 12px rgb(0 46 59 / 10%);
}


/* =========================================
   RADIO PLAYER — THEME-AWARE ICONS
   ========================================= */

/* Keep play, stop and loading icons readable */
body.light-theme .radio-card--playing .green-audio-player .play_icon,
body.light-theme .radio-card--playing .green-audio-player .loading_icon,
body.light-theme .radio-card--playing .green-audio-player .stop_icon {
  color: #0789bd;
  background-color: #e8eef0;
}

/* Volume icon */
body.light-theme .radio-card--playing .volume-icon {
  color: #455a64;
}

/* Slider track */
body.light-theme .radio-slider::-webkit-slider-runnable-track {
  background-color: #c5d5dc;
}

body.light-theme .radio-slider::-moz-range-track {
  background-color: #c5d5dc;
}

/* Slider thumb */
body.light-theme .radio-slider::-webkit-slider-thumb {
  background-color: #0789bd;
  border-color: #0789bd;
}

body.light-theme .radio-slider::-moz-range-thumb {
  background-color: #0789bd;
  border-color: #0789bd;
}
body.light-theme .radio-card--playing .radio-card__image {
  background-color: #f5f7f8;
}

/* Load More Button Styling */
#loadMoreBtn {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
  transition: all 0.2s ease;
}

#loadMoreBtn:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

body.light-theme #loadMoreBtn {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

body.light-theme #loadMoreBtn:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}


/* Collapsible Description Styling */
.podcast-desc-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Circular Description Toggle Button */
.toggle-desc-btn {
  width: 25px;
  height: 25px;
  padding: 0 !important;
  color: var(--color-primary) !important;
  background-color: rgba(51, 180, 236, 0.12) !important;
  border: 1px solid rgba(51, 180, 236, 0.3) !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
@media (max-width: 576px) {
  .toggle-desc-btn {
    width: 18px;
    height: 18px;
  }
}
.toggle-desc-btn:hover {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  border-color: var(--color-primary) !important;
  transform: scale(1.08);
}

/* Smooth Chevron Rotation when Expanded */
.toggle-desc-btn .toggle-icon {
  transition: transform 0.25s ease;
}

.toggle-desc-btn.is-expanded .toggle-icon {
  transform: rotate(180deg);
}

/* Light Theme Overrides */
body.light-theme .toggle-desc-btn {
  background-color: rgba(7, 137, 189, 0.1) !important;
  border-color: rgba(7, 137, 189, 0.25) !important;
  color: var(--color-primary) !important;
}

body.light-theme .toggle-desc-btn:hover {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
}

/**
Fade in transitions
 */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.main_content_section,
.podcast-hero-card {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Radio detail page */
.radio-detail-card {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 1.25rem;
  background:
          radial-gradient(ellipse at top left, rgb(51 180 236 / 10%), transparent 50%),
          var(--color-surface);
  box-shadow: 0 16px 40px rgb(0 0 0 / 16%);
}

.radio-detail-card__body {
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.radio-detail-intro {
  margin-bottom: 1.5rem;
  /*padding-bottom: 1.5rem;
   border-bottom: 1px solid rgb(255 255 255 / 12%); */
}

.radio-detail-intro__title {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 750;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.radio-detail-intro__slogan {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.radio-detail-intro__genres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.radio-detail-intro__description {
  margin: 1.25rem 0 0;
  font-size: 15px;
  line-height: 1.75rem;
}

.radio-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.radio-detail-section {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 1rem;
  background-color: rgb(255 255 255 / 3%);
}

.radio-detail-section--wide {
  grid-column: 1 / -1;
}

.radio-detail-section__title {
  margin: 0 0 0.75rem;
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 700;
}

.radio-detail-section p:last-child {
  margin-bottom: 0;
}

.radio-detail-card a {
  overflow-wrap: anywhere;
}

.radio-detail-card .radio-detail-section p {
  font-size: 15px;
  line-height: 1.75rem;
}

.radio-detail-frequency-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.radio-detail-frequency-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 0.75rem;
  background-color: rgb(255 255 255 / 4%);
}

.frequency-item__city {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.frequency-item__value {
  flex-shrink: 0;
  padding: 0.15rem 0.6rem;
  color: var(--color-primary);
  background-color: rgb(51 180 236 / 12%);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

body.light-theme .frequency-item__value {
  background-color: rgb(7 137 189 / 10%);
}

@media (max-width: 575.98px) {
  .radio-detail-frequency-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem;
  }

  .radio-detail-section {
    padding: 1rem;
  }
}

.radio-detail-genres {
  margin-top: 1.25rem;
}

body.light-theme .radio-detail-card {
  border-color: #dce5e9;
  background:
          radial-gradient(ellipse at top left, rgb(7 137 189 / 7%), transparent 50%),
          var(--color-surface);
  box-shadow: 0 16px 40px rgb(23 40 48 / 8%);
}

body.light-theme .radio-detail-intro {
  border-color: #dce5e9;
}

body.light-theme .radio-detail-intro__title,
body.light-theme .radio-detail-section__title {
  color: #172830;
}

body.light-theme .radio-detail-section {
  border-color: #dce5e9;
  background-color: #f8fafb;
}

body.light-theme .radio-detail-frequency-list li {
  border-color: #dce5e9;
  background-color: #ffffff;
}

@media (max-width: 767.98px) {
  .radio-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .radio-detail-section,
  .radio-detail-section--wide {
    grid-column: auto;
  }
}

.radio-detail-card {
  color: #e2eaf0;
}

.radio-detail-card .radio-detail-section__title,
.radio-detail-card .radio-detail-intro__title {
  color: #ffffff;
}

.radio-detail-card .radio-detail-intro__slogan {
  color: #c4d0d7;
}

/* Keep readable text in the light theme */
body.light-theme .radio-detail-card {
  color: var(--color-text);
}

body.light-theme .radio-detail-card .radio-detail-section__title,
body.light-theme .radio-detail-card .radio-detail-intro__title {
  color: #172830;
}

body.light-theme .radio-detail-card .radio-detail-intro__slogan {
  color: #455a64;
}


.contact-container{
  line-height:15px;
}