/* Alongside+ 24/7/365 Side-by-Side Bilingual Program Guide (Self-Hosted Cormorant + Figtree) */
.al-pg {
  width: 100%;
  max-width: 1280px;
  margin: 34px auto 16px;
  background: rgba(11, 24, 43, 0.95);
  border: 1.5px solid rgba(212, 168, 75, 0.52);
  border-radius: 22px;
  padding: 28px 26px 28px;
  color: #f8f4ea;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.52);
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: left;
  position: relative;
  z-index: 2;
}
.al-pg-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(212, 168, 75, 0.28);
}
.al-pg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4d57f;
  background: rgba(212, 168, 75, 0.14);
  border: 1px solid rgba(244, 213, 127, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.al-pg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.25);
}
.al-pg h2 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 6px;
}
.al-pg h2 span { color: #f0d284; }
.al-pg-sub {
  font-size: 15.5px;
  line-height: 1.52;
  color: #d6e2f2;
  max-width: 720px;
  margin: 0;
}
.al-pg-clock {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 168, 75, 0.35);
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 13px;
  color: #e4ecf8;
  min-width: 230px;
}
.al-pg-clock strong {
  display: block;
  color: #f4d57f;
  font-size: 15px;
  margin-bottom: 2px;
}
.al-pg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 16px;
}
.al-pg-tab {
  appearance: none;
  border: 1.5px solid rgba(212, 168, 75, 0.45);
  background: rgba(255, 255, 255, 0.05);
  color: #f4e6c0;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 12px;
  cursor: pointer;
  min-height: 46px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.al-pg-tab:hover { background: rgba(212, 168, 75, 0.18); }
.al-pg-tab.is-active {
  background: linear-gradient(135deg, #f0d284, #c8a24e);
  color: #0b1b30;
  border-color: #f0d284;
}
.al-pg-banner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  color: #dce6f5;
}
.al-pg-banner strong { color: #f4d57f; }
.al-pg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
.al-pg-grid.is-both {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.al-pg-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Channel Column Hero Card */
.al-ch-card {
  background: linear-gradient(180deg, rgba(22, 43, 76, 0.92), rgba(12, 26, 46, 0.96));
  border: 1.5px solid rgba(212, 168, 75, 0.48);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}
.al-ch-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #081325;
  overflow: hidden;
}
.al-ch-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}
.al-ch-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(9, 20, 38, 0.86);
  border: 1px solid rgba(244, 213, 127, 0.72);
  color: #f4d57f;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.al-ch-body {
  padding: 16px 18px 18px;
}
.al-pg-col-hdr {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 27px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
  line-height: 1.12;
}
.al-ch-status {
  font-size: 12.5px;
  font-weight: 700;
  color: #f4d57f;
  margin-bottom: 6px;
}
.al-ch-tag {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.45;
  color: #d1def0;
}
.al-pg-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
/* Time Slot Card with 16:9 Thumbnail */
.al-slot {
  display: grid;
  grid-template-columns: 184px 1fr;
  gap: 15px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  padding: 12px;
  transition: border-color 0.18s, background 0.18s;
}
.al-slot:hover {
  border-color: rgba(240, 210, 132, 0.52);
  background: rgba(255, 255, 255, 0.075);
}
.al-pg-list.is-single .al-slot {
  grid-template-columns: 240px 1fr;
  padding: 14px 16px;
}
.al-slot.is-now {
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.22), rgba(17, 41, 74, 0.94));
  border: 1.5px solid #e6c675;
}
.al-slot.is-sponsor {
  border-left: 4px solid #c8a24e;
}
.al-slot-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 11px;
  overflow: hidden;
  background: #081325;
  border: 1px solid rgba(255, 255, 255, 0.14);
  align-self: center;
}
.al-slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}
.al-slot-dur {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(7, 16, 31, 0.86);
  color: #f8f4ea;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.al-now-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: #25d366;
  color: #062311;
  padding: 3px 7px;
  border-radius: 999px;
}
.al-now-on-thumb {
  position: absolute;
  top: 6px;
  left: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}
.al-thumb-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(12, 26, 46, 0.82);
  border: 1.5px solid #f0d284;
  color: #f0d284;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  transition: transform 0.16s ease, background 0.16s ease;
}
.al-thumb-play:hover {
  transform: scale(1.08);
  background: rgba(212, 168, 75, 0.95);
  color: #0b1b30;
}
.al-play-tri {
  font-size: 15px;
  margin-left: 2px;
}
.al-slot-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.al-slot-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}
.al-slot-time {
  font-weight: 800;
  font-size: 13.5px;
  color: #f4d57f;
  line-height: 1.3;
}
.al-slot-time small {
  font-size: 11.5px;
  font-weight: 600;
  color: #b7c7de;
  margin-left: 4px;
}
.al-slot-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e6c675;
}
.al-slot-title {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 21.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 4px;
}
.al-slot-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: #d6e2f2;
  margin: 0 0 9px;
}
.al-slot-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.al-btn-prev, .al-btn-spon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 13px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  min-height: 38px;
  white-space: nowrap;
}
button.al-btn-prev:not(.al-thumb-play), a.al-btn-prev {
  background: linear-gradient(135deg, #f0d284, #c8a24e);
  color: #0b1b30;
  border: none;
}
.al-btn-spon {
  background: rgba(212, 168, 75, 0.14);
  color: #f4d57f;
  border: 1px solid rgba(244, 213, 127, 0.5);
}
.al-status-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 11px;
  border-radius: 8px;
}
.al-pg-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 168, 75, 0.28);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}
.al-pg-foot-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.al-modal-back {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 20, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}
.al-modal-back.is-open { display: flex; }
.al-modal {
  width: 100%;
  max-width: 820px;
  background: #0d1f38;
  border: 1.5px solid #d4a84b;
  border-radius: 18px;
  padding: 18px;
  color: #f8f4ea;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65);
}
.al-modal-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.al-modal-hdr h3 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 24px;
  margin: 0;
  color: #f4d57f;
}
.al-modal-close {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  cursor: pointer;
}
.al-modal video, .al-modal audio {
  width: 100%;
  border-radius: 10px;
  background: #000000;
}
@media (max-width: 1040px) {
  .al-pg-grid.is-both {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .al-pg { padding: 20px 14px; }
  .al-slot, .al-pg-list.is-single .al-slot {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
