/* =========================================================
   Lindom homepage compact weekly schedule
   Prefix: lhc-
   ========================================================= */

#lindom-home-schedule-compact,
#lindom-home-schedule-compact * {
  box-sizing: border-box;
}

#lindom-home-schedule-compact {
  --lhc-bg: #080204;
  --lhc-card: rgba(255,255,255,.065);
  --lhc-text: #ffffff;
  --lhc-muted: rgba(255,255,255,.74);
  --lhc-soft: rgba(255,255,255,.56);
  --lhc-line: rgba(255,255,255,.14);
  --lhc-line-2: rgba(255,255,255,.24);
  --lhc-rose: #ebb6c8;
  --lhc-rose-2: #c98397;
  --lhc-gold: #e5c06b;
  --lhc-red: #ef4056;
  --lhc-radius: 22px;
  --lhc-shadow: 0 18px 54px rgba(0,0,0,.36);

  width: 100%;
  max-width: 100%;
  color: var(--lhc-text);
  padding: clamp(24px, 4vw, 44px) 0;
}

#lindom-home-schedule-compact a {
  color: inherit;
  text-decoration: none;
}

#lindom-home-schedule-compact p {
  margin: 0;
}

#lindom-home-schedule-compact .lhc-wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

#lindom-home-schedule-compact .lhc-card {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--lhc-radius);
  background:
    radial-gradient(circle at 8% 0%, rgba(229,192,107,.12), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(193,76,141,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.18));
  box-shadow: var(--lhc-shadow);
  overflow: hidden;
}

#lindom-home-schedule-compact .lhc-card[open] {
  box-shadow: 0 24px 74px rgba(0,0,0,.46);
}

#lindom-home-schedule-compact .lhc-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: clamp(16px, 2.4vw, 24px);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

#lindom-home-schedule-compact .lhc-summary::-webkit-details-marker {
  display: none;
}

#lindom-home-schedule-compact .lhc-summary-main {
  min-width: 0;
}

#lindom-home-schedule-compact .lhc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--lhc-rose);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}

#lindom-home-schedule-compact .lhc-kicker::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: .8;
}

#lindom-home-schedule-compact .lhc-title {
  display: block;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 900;
}

#lindom-home-schedule-compact .lhc-sub {
  display: block;
  max-width: 720px;
  margin-top: 7px;
  color: var(--lhc-muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 750;
}

#lindom-home-schedule-compact .lhc-summary-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

#lindom-home-schedule-compact .lhc-range {
  color: rgba(255,255,255,.66);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 850;
  white-space: nowrap;
}

#lindom-home-schedule-compact .lhc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

#lindom-home-schedule-compact .lhc-card[open] .lhc-toggle-icon {
  transform: rotate(180deg);
}

#lindom-home-schedule-compact .lhc-toggle-icon {
  display: inline-block;
  transition: transform .2s ease;
}

#lindom-home-schedule-compact .lhc-body {
  padding: 0 clamp(14px, 2.2vw, 22px) clamp(14px, 2.2vw, 22px);
}

#lindom-home-schedule-compact .lhc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 14px;
}

#lindom-home-schedule-compact .lhc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform .2s ease,
    opacity .2s ease,
    border-color .2s ease,
    background-color .2s ease;
}

#lindom-home-schedule-compact .lhc-btn:hover {
  transform: translateY(-1px);
  opacity: .94;
}

#lindom-home-schedule-compact .lhc-btn--primary {
  color: #170008;
  background: linear-gradient(135deg, #f1c2cf 0%, #bf7a8e 100%);
  box-shadow: 0 12px 26px rgba(191,122,142,.20);
}

#lindom-home-schedule-compact .lhc-btn--ghost {
  color: #fff;
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.24);
}

#lindom-home-schedule-compact .lhc-loading,
#lindom-home-schedule-compact .lhc-error {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  color: var(--lhc-muted);
  background: rgba(0,0,0,.14);
  font-weight: 850;
}

#lindom-home-schedule-compact .lhc-loading {
  display: flex;
  align-items: center;
  gap: 10px;
}

#lindom-home-schedule-compact .lhc-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.22);
  border-top-color: var(--lhc-gold);
  border-radius: 999px;
  animation: lhcSpin .8s linear infinite;
}

@keyframes lhcSpin {
  to {
    transform: rotate(360deg);
  }
}


/* DESKTOP TABLE */

#lindom-home-schedule-compact .lhc-desktop {
  display: block;
}

#lindom-home-schedule-compact .lhc-scroller {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(0,0,0,.10);
  scroll-behavior: smooth;
}

#lindom-home-schedule-compact .lhc-table {
  width: 100%;
  min-width: 1020px;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}

#lindom-home-schedule-compact .lhc-table th,
#lindom-home-schedule-compact .lhc-table td {
  padding: 11px 9px;
  border-right: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  text-align: center;
  vertical-align: middle;
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(0,0,0,.16));
}

#lindom-home-schedule-compact .lhc-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(120,10,24,.62), rgba(0,0,0,.24));
  backdrop-filter: blur(8px);
  font-weight: 1000;
}

#lindom-home-schedule-compact .lhc-corner {
  z-index: 7 !important;
  background:
    linear-gradient(180deg, rgba(74,12,84,.58), rgba(0,0,0,.26)) !important;
}

#lindom-home-schedule-compact .lhc-sticky-left {
  position: sticky;
  left: 0;
  z-index: 5;
  min-width: 120px;
  text-align: left !important;
  padding-left: 13px !important;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(74,12,84,.58), rgba(0,0,0,.26)) !important;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-weight: 1000;
  white-space: nowrap;
}

#lindom-home-schedule-compact .lhc-sticky-left a {
  color: #fff;
}

#lindom-home-schedule-compact .lhc-day-date {
  display: block;
  font-weight: 1000;
}

#lindom-home-schedule-compact .lhc-day-name {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.82);
  font-size: .92em;
  font-weight: 850;
}

#lindom-home-schedule-compact .is-today {
  box-shadow: inset 0 0 0 2px rgba(229,192,107,.34);
}

#lindom-home-schedule-compact thead .is-today {
  background:
    radial-gradient(circle at 50% 0%, rgba(229,192,107,.24), transparent 60%),
    linear-gradient(180deg, rgba(120,10,24,.62), rgba(0,0,0,.24)) !important;
}

#lindom-home-schedule-compact .lhc-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,245,225,.96);
  background: rgba(0,0,0,.16);
  font-weight: 1000;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

#lindom-home-schedule-compact .lhc-x {
  width: 30px;
  height: 30px;
  display: inline-block;
  position: relative;
  border-radius: 999px;
  background: rgba(255,55,75,.88);
  border: 1px solid rgba(255,255,255,.14);
}

#lindom-home-schedule-compact .lhc-x::before,
#lindom-home-schedule-compact .lhc-x::after,
#lindom-home-schedule-compact .lhc-mini-x::before,
#lindom-home-schedule-compact .lhc-mini-x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  transform-origin: center;
}

#lindom-home-schedule-compact .lhc-x::before {
  width: 17px;
  height: 3px;
  transform: translate(-50%, -50%) rotate(45deg);
}

#lindom-home-schedule-compact .lhc-x::after {
  width: 17px;
  height: 3px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

#lindom-home-schedule-compact .lhc-q {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #1a1405;
  background: rgba(229,192,107,.92);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 1100;
  font-size: 18px;
  line-height: 1;
}

#lindom-home-schedule-compact .lhc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px 2px 0;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  font-size: 13px;
}

#lindom-home-schedule-compact .lhc-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#lindom-home-schedule-compact .lhc-mini-x,
#lindom-home-schedule-compact .lhc-mini-q {
  width: 19px;
  height: 19px;
  position: relative;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
}

#lindom-home-schedule-compact .lhc-mini-x {
  background: rgba(255,55,75,.88);
}

#lindom-home-schedule-compact .lhc-mini-x::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
}

#lindom-home-schedule-compact .lhc-mini-x::after {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

#lindom-home-schedule-compact .lhc-mini-q {
  color: #1a1405;
  background: rgba(229,192,107,.92);
  font-size: 12px;
  font-weight: 1100;
  line-height: 1;
}


/* MOBILE */

#lindom-home-schedule-compact .lhc-mobile {
  display: none;
}

#lindom-home-schedule-compact .lhc-day-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 10px;
  scroll-behavior: smooth;
}

#lindom-home-schedule-compact .lhc-day-tab {
  appearance: none;
  flex: 0 0 auto;
  min-width: 86px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: var(--lhc-text);
  background: rgba(0,0,0,.14);
  cursor: pointer;
  font-weight: 950;
  line-height: 1.05;
  white-space: nowrap;
}

#lindom-home-schedule-compact .lhc-day-tab small {
  display: block;
  margin-top: 4px;
  font-size: .83em;
  font-weight: 850;
  opacity: .85;
}

#lindom-home-schedule-compact .lhc-day-tab.is-on {
  color: #1a1405;
  background: var(--lhc-gold);
  border-color: var(--lhc-gold);
}

#lindom-home-schedule-compact .lhc-day-tab.is-today:not(.is-on) {
  border-color: rgba(229,192,107,.56);
}

#lindom-home-schedule-compact .lhc-day-panel {
  display: grid;
  gap: 9px;
  padding-top: 2px;
}

#lindom-home-schedule-compact .lhc-mobile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  background: rgba(0,0,0,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

#lindom-home-schedule-compact .lhc-mobile-name {
  color: #fff;
  font-weight: 1000;
  letter-spacing: .5px;
  text-transform: uppercase;
}

#lindom-home-schedule-compact .lhc-mobile-name a {
  color: #fff;
}

#lindom-home-schedule-compact .lhc-mobile-off {
  opacity: .55;
}


/* RESPONSIVE */

@media (max-width: 720px) {
  #lindom-home-schedule-compact .lhc-desktop {
    display: none;
  }

  #lindom-home-schedule-compact .lhc-mobile {
    display: block;
  }
}

@media (max-width: 560px) {
  #lindom-home-schedule-compact {
    padding: 22px 0;
  }

  #lindom-home-schedule-compact .lhc-wrap {
    width: min(100% - 22px, 1120px);
  }

  #lindom-home-schedule-compact .lhc-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #lindom-home-schedule-compact .lhc-summary-side {
    justify-items: stretch;
  }

  #lindom-home-schedule-compact .lhc-range {
    white-space: normal;
  }

  #lindom-home-schedule-compact .lhc-toggle,
  #lindom-home-schedule-compact .lhc-btn {
    width: 100%;
    justify-content: center;
  }

  #lindom-home-schedule-compact .lhc-actions {
    flex-direction: column;
  }

  #lindom-home-schedule-compact .lhc-title {
    font-size: clamp(24px, 7vw, 34px);
  }
}