@charset "UTF-8";
/* mixin per inserire border con i colori di default */
/* mixin per inserire border con i colori di default */
body {
  font-size: 18px !important;
}

.breadcrumbs .breadcrumb:first-child .breadcrumb__name {
  font-weight: 700 !important;
}

.breadcrumbs .breadcrumb .breadcrumb__name {
  text-transform: none !important;
}

@media (max-width: 767px) {
  .section-title-container {
    padding: 0 !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
  .faqs-title {
    padding-left: 1rem;
  }
}
.guidatv,
.guidatv * {
  font-family: "Roboto Condensed", "AvenirNextCondensed-Medium", "Futura-CondensedMedium", "HelveticaNeue-Thin", "Ubuntu Condensed", "Liberation Sans Narrow", "Franklin Gothic Demi Cond", "Arial Narrow", sans-serif-condensed, Arial, "Trebuchet MS", "Lucida Grande", Tahoma, Verdana, sans-serif;
  font-stretch: condensed;
}
.guidatv .main-column {
  background-color: #ffffff;
}
.guidatv .section-title-container.justify-center {
  justify-content: center;
}
.guidatv .section-title-container.justify-left {
  justify-content: start;
}
.guidatv .section-title-container {
  display: flex;
  flex-direction: row;
}
.guidatv .section-title-container .breadcrumbs {
  margin-bottom: 15px;
  text-align: center;
  width: 100%;
  overflow: hidden;
}
.guidatv .section-title-container .breadcrumbs .breadcrumbs__container {
  border-left: 0 none;
  padding-left: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
.guidatv .section-title-container .breadcrumbs .breadcrumb {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 12px;
  flex: 0 0 auto;
}
.guidatv .section-title-container .breadcrumbs .breadcrumb:last-child {
  margin-right: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.guidatv .section-title-container .breadcrumbs .breadcrumb .breadcrumb__logo {
  display: none;
}
.guidatv .section-title-container .breadcrumbs .breadcrumb__link,
.guidatv .section-title-container .breadcrumbs .breadcrumb__name {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 1.25rem;
}
.guidatv .section-title-container .breadcrumbs .breadcrumb:last-child .breadcrumb__link,
.guidatv .section-title-container .breadcrumbs .breadcrumb:last-child .breadcrumb__name {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.guidatv .section-title-container.justify-left .breadcrumbs {
  text-align: left !important;
}

@media (max-width: 768px) {
  .guida-tv-title,
  .guida-tv-subtitle {
    margin-left: 20px;
  }
}
.guida-tv-content .guida-tv-title {
  margin: 0 15px 20px 0px;
  font-size: 1.5rem;
}
.guida-tv-content .channels-section-title {
  margin-top: 2rem;
  font-family: "Roboto Condensed", "AvenirNextCondensed-Medium", "Futura-CondensedMedium", "HelveticaNeue-Thin", "Ubuntu Condensed", "Liberation Sans Narrow", "Franklin Gothic Demi Cond", "Arial Narrow", sans-serif-condensed, Arial, "Trebuchet MS", "Lucida Grande", Tahoma, Verdana, sans-serif;
  font-stretch: condensed;
  font-size: 1.5rem;
}
.guida-tv-content .guida-tv-description {
  margin: 0 15px 20px 15px;
}
.guida-tv-content .guida-tv-subtitle {
  margin: 0 15px 15px 0px;
  font-size: 1.1rem;
  color: #6b6b6b;
  font-weight: 400;
}
.guida-tv-content .channel-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 20px 20px 0px;
  padding: 10px 0;
}
.guida-tv-content .channel-header-row .channel-logo-container {
  display: flex;
  align-items: center;
}
.guida-tv-content .channel-header-row .channel-logo-container img {
  width: auto !important;
  height: auto;
  max-width: 8rem !important;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 768px) {
  .guida-tv-content .channel-header-row .channel-logo-container img {
    max-width: 5rem !important;
    max-height: 32px;
  }
}
.guida-tv-content .channel-header-row .channel-schedule-link-container {
  display: flex;
  align-items: center;
}
.guida-tv-content .channel-header-row .channel-schedule-link-container .channel-schedule-link {
  color: #e91701;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.guida-tv-content .channel-header-row .channel-schedule-link-container .channel-schedule-link:hover {
  color: rgb(182.2179487179, 17.9871794872, 0.7820512821);
  text-decoration: underline;
}
@media (max-width: 768px) {
  .guida-tv-content .channel-header-row.channel-schedule-page {
    margin: 0 20px 20px 20px;
  }
}
.guida-tv-content .filters .filters-title {
  margin: 0;
}
@media (max-width: 768px) {
  .guida-tv-content .guida-tv-title,
  .guida-tv-content .guida-tv-subtitle {
    margin-left: 20px;
  }
  .guida-tv-content .filters,
  .guida-tv-content .date-selector,
  .guida-tv-content .program-details {
    margin-left: 20px;
    margin-right: 20px;
  }
  .guida-tv-content .search-bar-container {
    padding: 0 20px;
  }
  .guida-tv-content .section-title-container {
    width: calc(100% - 40px);
    box-sizing: border-box;
    padding: 0;
    margin: 0 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .guida-tv-content .section-title-container .breadcrumbs {
    width: 100%;
    margin-bottom: 12px;
  }
  .guida-tv-content .section-title-container .breadcrumbs .breadcrumbs__container {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
  }
  .guida-tv-content .section-title-container .breadcrumbs .breadcrumb,
  .guida-tv-content .section-title-container .breadcrumbs .breadcrumb__link,
  .guida-tv-content .section-title-container .breadcrumbs .breadcrumb__name {
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }
  .guida-tv-content .section-title-container.justify-left {
    align-items: flex-start;
  }
  .guida-tv-content .section-title-container.justify-left .breadcrumbs {
    margin-bottom: 12px;
  }
}

@media (max-width: 767px) {
  /*
  .day-content-section a {
    margin-left: 12px !important;
    margin-right: 12px!important;
  } */
  body {
    margin-top: 0px !important;
  }
  /* Prevent horizontal overflow on mobile */
  .header-wrapper {
    max-width: 100%;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  /* Ensure containers don't overflow */
  .container,
  .wrapper-skin-qn,
  .main-content,
  .main-column,
  .guida-tv-content {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
}
.footer-info {
  color: lightgray !important;
}

.footer-info a {
  color: lightgray !important;
}
.footer-info a:hover {
  color: white;
  font-weight: bold;
}

.trends-menu-inner {
  max-height: 50px;
}

.header-wrapper {
  width: 1024px;
  margin: auto;
}

.svg-sprite--hidden {
  display: none;
}

.header-wrapper--compact {
  max-width: 600px;
  margin: 0 auto;
}

.svg--mobile-logo {
  height: 30px;
  display: inline-flex;
  align-items: center;
}

.about-nav--no-float {
  float: none;
}

.sidebar-related__link {
  color: #000000;
  text-decoration: none;
}
.sidebar-related__link:hover {
  text-decoration: underline;
}

.chili-sidebar-iframe {
  border: 0;
  width: 100%;
  min-width: 100%;
  display: block;
}

.status-heading--success {
  margin-top: 0;
  color: #28a745;
}

.upgrade-note {
  text-align: center;
  margin-top: 30px;
  color: #6c757d;
}

#faqs .faqs-container {
  border: 1px solid #eeeeee;
}
#faqs .faqs-question {
  display: flex;
}
#faqs input {
  display: none;
}
#faqs label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em 1em;
  cursor: pointer;
  background: #f7f8fa;
  transition: ease 0.5s;
  border-bottom: 1px solid #eeeeee;
  margin: 0;
}
#faqs label:hover {
  background: #eeeeee;
}
#faqs label .toggle-icon {
  border-right: 2px solid #6b6b6b;
  border-bottom: 2px solid #6b6b6b;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  transition: ease 0.5s;
  margin-top: -2.5px;
}
#faqs .content {
  padding: 0.8em 1em;
  transition: visibility 0.3s linear, opacity 0.3s linear;
  max-height: 20em;
  overflow: auto;
}
#faqs input + label + .content {
  display: none;
}
#faqs input:checked + label + .content {
  display: block;
}
#faqs input:checked + label > .toggle-icon {
  transform: rotate(225deg);
  margin-top: 2.5px;
}
#faqs table {
  width: 100%;
}
#faqs table tr {
  line-height: 2em;
}
#faqs table tr > * + * {
  padding-left: 1em;
}

*[id^=div-gpt-ad-] {
  text-align: center;
}
*[id^=div-gpt-ad-] > * {
  margin-right: auto;
  margin-left: auto;
}
*[id^=div-gpt-ad-] iframe {
  margin: 5px 0;
}

#div-gpt-ad-leaderboard-728-or-skin,
#div-gpt-ad-masthead-990,
#div-gpt-ad-50-mobile {
  display: none !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}
#div-gpt-ad-leaderboard-728-or-skin.sticky,
#div-gpt-ad-masthead-990.sticky,
#div-gpt-ad-50-mobile.sticky {
  position: sticky !important;
  top: 50px;
  z-index: 900;
}

#div-gpt-ad-1739287419494-0 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#div-gpt-ad-1739287419494-1 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#div-gpt-ad-1739287419494-2 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#div-gpt-ad-1739287419494-3 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#div-gpt-ad-1739287419494-4 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#div-gpt-ad-1739287419494-5 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#div-gpt-ad-1739287419494-6 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#div-gpt-ad-1739287419494-7 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#div-gpt-ad-1739287419494-8 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#div-gpt-ad-1739287419494-9 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#div-gpt-ad-1739287419494-10 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#div-gpt-ad-leaderboard-728-or-skin {
  min-height: 116px;
}

#div-gpt-ad-videobox-top-300 {
  display: flex !important;
  justify-content: center;
  width: 100%;
  min-height: 300px;
}

#div-gpt-ad-masthead-990 {
  min-height: 260px;
}
#div-gpt-ad-masthead-990 iframe {
  margin-bottom: 24px;
}

#div-gpt-ad-50-mobile {
  min-height: 140px;
  margin-top: 30px;
  padding-top: 10px;
}

amp-ad {
  display: block !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
amp-ad.top {
  margin-top: 100px !important;
}
amp-ad.middle {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

amp-fx-flying-carpet amp-ad {
  margin-top: 50%;
}

#div-video-dm-ad {
  margin-bottom: 20px;
  aspect-ratio: 16/9;
}

#div-video-dm-ad:empty {
  display: none;
}

.gpt-ad-container {
  display: none !important;
}

@media (max-width: 767px) {
  .gpt-ad-container {
    display: block !important;
    min-width: 300px;
    min-height: 270px;
  }
  #div-video-dm-ad {
    margin: 0 15px 20px 15px;
  }
  .program-details > #div-video-dm-ad {
    margin: 0 0 20px 0;
  }
}
@media (max-width: 767px) {
  .guidatv .side-column {
    display: block;
    margin: 20px 10px;
  }
}

.guidatv .filters {
  font-size: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  margin-bottom: 20px;
}
.guidatv .filters .filters-header {
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 12px 12px 0 0;
  transition: background-color 0.3s ease-in-out;
}
.guidatv .filters .filters-header .filters-title {
  font-size: inherit;
  letter-spacing: 0.3px;
}
.guidatv .filters .filters-header.open {
  background-color: #f3f4f6;
}
.guidatv .filters .filters-header.open .filters-toggle {
  transform: rotate(225deg);
}
.guidatv .filters .filters-header .filters-toggle {
  float: right;
  margin: 7px;
  border-right: 3px solid #e91701;
  border-bottom: 3px solid #e91701;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  transition: transform 0.5s;
}
.guidatv .filters .filters-header:hover {
  cursor: pointer;
  background-color: #f3f4f6;
}
.guidatv .filters .filters-toggling-body {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  display: none;
}
.guidatv .filters .open + .filters-toggling-body {
  display: block;
  max-height: 1000px;
}
.guidatv .filters .filters-body {
  padding: 20px;
}
.guidatv .filters .filters-body .filter:last-child {
  margin-bottom: 0;
}
.guidatv .filter {
  margin-bottom: 20px;
  padding-bottom: 0;
}
.guidatv .filter .filter-label {
  padding-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.guidatv .filter-input-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 768px) {
  .guidatv .filter-input-container {
    gap: 4px;
  }
}
.guidatv .channels-container {
  justify-content: space-between;
}
.guidatv .filter-pill {
  float: left;
  background-color: #f9fafb;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
  margin-right: 8px;
  margin-bottom: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid #e5e7eb;
  transition: all 0.2s ease;
  display: inline-block;
}
.guidatv .filter-pill a {
  color: #4b5563;
  letter-spacing: 0.3px;
  text-decoration: none;
}
.guidatv .filter-pill.active {
  background-color: #e91701;
  border-color: #e91701;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.2);
  transform: translateY(-1px);
}
.guidatv .filter-pill.active a {
  color: #ffffff;
}
.guidatv .filter-pill.active:hover {
  background-color: rgb(207.608974359, 20.4935897436, 0.891025641);
  box-shadow: 0 6px 16px rgba(227, 6, 19, 0.3);
}
.guidatv .filter-pill:hover {
  cursor: pointer;
  background-color: #f3f4f6;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.guidatv .channel-filter {
  height: 70px;
  width: 70px;
  background-color: #ffffff;
  border-radius: 12px;
  float: left;
  position: relative;
  cursor: pointer;
  border: 2px solid #e5e7eb;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
@media (max-width: 767px) {
  .guidatv .channel-filter {
    height: 65px;
    width: 65px;
  }
}
.guidatv .channel-filter:active, .guidatv .channel-filter:focus {
  border-color: #e91701;
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.2);
  transform: translateY(-2px);
}
.guidatv .channel-filter:hover {
  border-color: #e91701;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.guidatv .channel-filter img {
  max-width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  font-size: 0.5rem;
  line-height: normal;
  text-align: center;
}
.guidatv .channel-filter a {
  display: block;
  height: 100%;
}
.guidatv .tv-type-filters {
  display: flex;
}

.date-selector {
  margin-bottom: 10px;
}
.date-selector .week-view {
  display: table;
  width: 100%;
  margin-bottom: 10px;
}
.date-selector .week-view .week-days {
  display: flex;
  justify-content: space-between;
}
.date-selector .week-view .week-days .day {
  text-align: center;
}
.date-selector .week-view .week-days .day:hover .day-number a {
  background-color: #000000;
  color: white;
  cursor: pointer;
  border-color: #000000;
}
.date-selector .week-view .week-days .day.active .day-number a {
  background-color: #e91701;
  color: #ffffff;
  border: 0;
}
.date-selector .week-view .week-days .day .day-number a {
  display: block;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #6b6b6b;
  background-color: #f7f8fa;
  line-height: 50px;
  font-weight: 700;
  border: 1px solid #dddddd;
  text-decoration: none;
}
@media (max-width: 767px) {
  .date-selector .week-view .week-days .day .day-number a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1rem;
  }
}
.date-selector .week-view .week-days .day .day-name {
  color: #6b6b6b;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 300;
}
@media (max-width: 767px) {
  .date-selector .week-view .week-days .day .day-name {
    display: none;
  }
}
.date-selector .current-date {
  margin-bottom: 20px;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
}
.date-selector .current-date div {
  flex: 1;
  -webkit-flex: 1;
  margin: auto;
  border: solid 1px #dddddd;
  background-color: white;
  text-align: center;
  cursor: pointer;
  border-radius: 20px;
}
.date-selector .current-date div.placeholder {
  background-color: #e91701;
  border: 0;
  color: white;
  cursor: default;
  pointer-events: none;
  margin-left: 12%;
  margin-right: 12%;
}
.date-selector .current-date div:hover {
  background-color: #f7f8fa;
}
.date-selector .current-date div:focus {
  border-color: #dddddd;
}
.date-selector .current-date div:active {
  border-color: #dddddd;
  background-color: #eeeeee;
}
.date-selector .current-date div:first-child {
  margin-left: 0;
  margin-right: 12%;
}
@media (max-width: 767px) {
  .date-selector .current-date div:first-child {
    margin-right: 2%;
  }
}
.date-selector .current-date div:first-child.single-right {
  margin-left: 80%;
  margin-right: 0;
}
.date-selector .current-date div:first-child.single-left {
  margin-left: 0;
  margin-right: 80%;
}
.date-selector .current-date div:last-child {
  margin-left: 12%;
  margin-right: 0;
}
@media (max-width: 767px) {
  .date-selector .current-date div:last-child {
    margin-left: 2%;
  }
}
.date-selector .current-date a {
  color: #575757;
}
.date-selector .current-date a.select-prev {
  padding-left: 6px;
  float: left;
}
.date-selector .current-date a.select-next {
  padding-right: 6px;
  float: right;
}
@media (max-width: 767px) {
  .date-selector .current-day {
    clear: both;
  }
}
.date-selector .current-day .day {
  font-weight: 700;
  color: #000000;
}
.date-selector .current-day .hour {
  font-weight: 300;
  color: #6b6b6b;
}

.time-selector:after {
  content: "";
  display: table;
  clear: both;
}
.time-selector {
  text-align: center;
  margin-top: 20px;
  position: sticky;
  top: -1px;
  z-index: 100;
}
@media (max-width: 767px) {
  .time-selector {
    top: 50px;
    background-color: #ffffff;
  }
}
.time-selector.closed .schedule-time.active.all, .time-selector.closed .schedule-time.active .mattina, .time-selector.closed .schedule-time.active .pomeriggio, .time-selector.closed .schedule-time.active .sera, .time-selector.closed .schedule-time.active .notte {
  border-color: #dddddd;
}
.time-selector .schedule-time {
  border: 1px solid #dddddd;
  transition: background-color 0.3s ease-in-out;
  width: 20%;
  float: left;
  background-color: #f7f8fa;
  padding: 10px 0;
  cursor: pointer;
  display: block;
}
.time-selector .schedule-time:hover {
  text-decoration: none;
  background-color: #eeeeee;
  outline: none;
}
.time-selector .schedule-time:focus {
  border-color: #dddddd;
}
.time-selector .schedule-time:active {
  border-color: #dddddd;
  background-color: #eeeeee;
}
.time-selector .schedule-time.active {
  background-color: #ffffff;
  border-bottom-color: #ffffff;
  font-weight: 700;
}
.time-selector .schedule-time.active .schedule-text {
  color: #000000;
}
.time-selector .schedule-time.active .schedule-icon .svg {
  fill: #e91701;
}
@media (max-width: 767px) {
  .time-selector .schedule-time {
    border: none;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    background-color: #ffffff;
    padding: 20px 0;
  }
  .time-selector .schedule-time.active {
    border-bottom-color: #eeeeee;
  }
}
.time-selector .schedule-time.mattina, .time-selector .schedule-time.pomeriggio, .time-selector .schedule-time.sera, .time-selector .schedule-time.notte {
  border-left: none;
}
.time-selector .schedule-time .schedule-icon {
  margin: 6px;
  width: 24px;
  height: 24px;
  display: inline-block;
}
.time-selector .schedule-time .schedule-icon .svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #666666;
}
.time-selector .schedule-time .schedule-text {
  color: #6b6b6b;
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .time-selector .schedule-time .schedule-text {
    font-size: 0.9rem;
  }
}
@media (max-width: 320px) {
  .time-selector .schedule-time .schedule-text {
    font-size: 0.625rem;
  }
}

.channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  align-content: flex-start;
}
@media (max-width: 767px) {
  .channels {
    margin: 0 10px;
  }
}
.channels .channel-thumbnail {
  transition: all 0.3s ease-in-out;
  position: relative;
  margin-bottom: 5%;
  padding: 0;
  width: 30%;
  text-align: center;
  border-radius: 3px;
  border: 1px solid #dddddd;
  box-shadow: 1px 1px 1px #eeeeee;
  box-shadow: none;
}
.channels .channel-thumbnail:nth-child(1), .channels .channel-thumbnail:nth-child(2), .channels .channel-thumbnail:nth-child(3) {
  margin-top: 30px;
}
@media (min-width: 768px) {
  .channels .channel-thumbnail:hover {
    border-color: #dddddd;
    transform: scale(1.05);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
  }
}
.channels .channel-thumbnail .channel-header {
  display: block;
  text-align: center;
  border: 0;
  width: 100%;
}
.channels .channel-thumbnail .channel-header a {
  display: block;
  padding: 10px 0;
  width: 100%;
  height: 100%;
}
.channels .channel-thumbnail .channel-header a:hover {
  text-decoration: none;
}
.channels .channel-thumbnail .channel-header img {
  object-fit: contain;
  width: 100px;
  height: 100px;
}
@media (max-width: 767px) {
  .channels .channel-thumbnail .channel-header img {
    width: 75px;
    height: 75px;
  }
}
.channels .channel-thumbnail .channel-header .channel-name {
  display: block;
  padding: 10px 0;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1rem;
  line-height: normal;
  color: #000000;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.85rem;
}

.program-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.category-badge.category-default, .category-badge.category-programma-tv {
  background-color: #7A7A7A;
  color: white;
}
.category-badge.category-film {
  background-color: #B32430;
  color: white;
}
.category-badge.category-sport, .category-badge.category-evento-sportivo {
  background-color: #28A745;
  color: white;
}
.category-badge.category-serie-tv, .category-badge.category-telefilm {
  background-color: #6C43A3;
  color: white;
}
.category-badge.category-talk-show {
  background-color: #DA7A35;
  color: white;
}
.category-badge.category-show {
  background-color: #F28C28;
  color: white;
}
.category-badge.category-documentario, .category-badge.category-documentari {
  background-color: #2BAF9A;
  color: white;
}
.category-badge.category-informazione, .category-badge.category-inchiesta {
  background-color: #004B9B;
  color: white;
}
.category-badge.category-rubrica {
  background-color: #8896A5;
  color: white;
}
.category-badge.category-reality, .category-badge.category-real-tv {
  background-color: #C74264;
  color: white;
}
.category-badge.category-eventi, .category-badge.category-musica, .category-badge.category-concerto, .category-badge.category-evento {
  background-color: #006EC7;
  color: white;
}
.category-badge.category-soap-opera {
  background-color: #F6A8B9;
  color: #333;
}
.category-badge.category-ragazzi, .category-badge.category-bambini, .category-badge.category-cartoni, .category-badge.category-cartoni-animati {
  background-color: #F4D43C;
  color: #333;
}
.category-badge.category-teatro, .category-badge.category-cultura {
  background-color: #d946ef;
  color: white;
}
.category-badge.category-religione {
  background-color: #6366f1;
  color: white;
}
.category-badge.category-attualita, .category-badge.category-cronaca {
  background-color: #dc2626;
  color: white;
}
.category-badge.category-intrattenimento, .category-badge.category-varieta {
  background-color: #D63384;
  color: white;
}
.category-badge.category-meteo {
  background-color: #4DA6FF;
  color: white;
}
.category-badge.category-gioco-a-quiz, .category-badge.category-quiz {
  background-color: #F2C94C;
  color: #333;
}
.category-badge.category-sitcom {
  background-color: #7386FF;
  color: white;
}
.category-badge.category-telenovelas {
  background-color: #C75D8B;
  color: white;
}
.category-badge.category-fiction {
  background-color: #7E2E6A;
  color: white;
}
.category-badge:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.program-year,
.program-duration {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 15px;
  color: #6b6b6b;
  font-weight: 500;
}
.program-year::before,
.program-duration::before {
  margin-right: 3px;
}

.program-year::before {
  content: "📅";
}

.program-duration::before {
  content: "🕐";
}

.program {
  transition: background-color 0.2s ease;
}
.program:has(.program-image-wrapper), .program:has(.program-time) {
  display: flex;
  align-items: stretch;
}
.program:has(.program-image-wrapper) .program-image-wrapper, .program:has(.program-time) .program-image-wrapper {
  order: 2 !important;
}
.program:has(.program-image-wrapper) .program-info, .program:has(.program-time) .program-info {
  order: 3 !important;
}
.program:hover {
  background-color: #f9f9f9;
}

@media (max-width: 767px) {
  .category-badge {
    font-size: 15px;
    padding: 3px 8px;
  }
  .category-badge .program-categories span, .category-badge .program-year span {
    font-size: 15px !important;
  }
  .program-meta {
    gap: 5px;
  }
}
.infinite-scroll-loader {
  display: none;
  text-align: center;
  padding: 40px 20px;
  margin: 20px 0;
}
@media (max-width: 767px) {
  .infinite-scroll-loader {
    padding: 30px 16px;
  }
}

.loader-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #e91701;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader-text {
  font-size: 1rem;
  color: #6b6b6b;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.infinite-scroll-info {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 20px;
  margin: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #6b6b6b;
}
@media (max-width: 767px) {
  .infinite-scroll-info {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}
.infinite-scroll-info .info-highlight {
  color: #e91701;
  font-weight: 600;
}

.infinite-scroll-active .scroll-to-top {
  display: block;
}

.channel-day-loader {
  display: none;
  text-align: center;
  padding: 30px 20px;
  margin: 20px 0;
  background-color: #f9fafb;
  border-radius: 8px;
}
@media (max-width: 767px) {
  .channel-day-loader {
    padding: 24px 16px;
  }
}
.channel-day-loader .loader-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #e91701;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.channel-day-loader .loader-text {
  font-size: 1rem;
  color: #6b6b6b;
  font-weight: 500;
}

.channel-scroll-end {
  text-align: center;
  padding: 30px 20px;
  margin: 30px 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #86efac;
  border-radius: 12px;
}
@media (max-width: 767px) {
  .channel-scroll-end {
    padding: 24px 16px;
    margin: 20px 0;
  }
}
.channel-scroll-end .scroll-end-icon {
  font-size: 2.5rem;
  color: #22c55e;
  margin-bottom: 12px;
}
.channel-scroll-end .scroll-end-text {
  font-size: 1rem;
  color: #166534;
  font-weight: 600;
}
@media (max-width: 767px) {
  .channel-scroll-end .scroll-end-text {
    font-size: 0.9rem;
  }
}
