/* ===== Hero (YS style) ===== */
.hero-ys { padding: 26px 0 8px; }
.hero-ys-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px 160px;
  gap: 18px;
  align-items: start;
}

/* Tabs */
.hys-tabs {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 0;
}
.hys-tab {
  background: transparent;
  border: 0;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: oklch(58% 0.014 260);
  padding: 6px 0;
  cursor: pointer;
  position: relative;
  transition: color .15s;
}
.hys-tab.active { color: var(--ink); }
.hys-tab.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 4px; background: var(--accent); border-radius: 2px;
}
.hys-tab-dot { color: var(--ink-3); font-weight: 700; font-size: 18px; }
.hys-tab-spor::after { background: oklch(64% 0.16 152); }

/* Poster slider */
.poster { position: relative; }
.poster-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 5;
}
.poster-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 700ms cubic-bezier(.2,.8,.2,1);
}
.poster-slide.active { opacity: 1; }
.poster-photo { position: absolute !important; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; border-radius: 0; }
.poster-grad {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0) 30%,
      rgba(0,0,0,0.35) 55%,
      rgba(0,0,0,0.88) 88%,
      rgba(0,0,0,0.98) 100%);
}
.poster-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 38px 38px;
  z-index: 2;
  color: #fff;
}
.poster-title {
  font-family: "Archivo Black", "Inter Tight", sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 4.6vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
  text-transform: uppercase;
}
.poster-title .pt-line { display: block; }
.poster-title-sm { font-size: clamp(22px, 2.4vw, 36px); }
.poster-sub {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
  margin: 0;
  max-width: 92%;
  letter-spacing: -0.005em;
}
.poster-sub-sm { font-size: 13.5px; }

/* Poster controls (bottom strip with pagination) */
.poster-controls {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: stretch;
  gap: 4px;
  margin-top: 8px;
  height: 36px;
}
.poster-pages {
  display: flex; gap: 2px;
  overflow: hidden;
  min-width: 0;
}
.ppg {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  background: oklch(96% 0.005 250);
  color: oklch(58% 0.014 260);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: background .12s, color .12s;
  display: flex; align-items: center; justify-content: center;
}
.ppg:hover:not(:disabled) { background: oklch(92% 0.006 250); color: var(--ink); }
.ppg.on { background: var(--ink); color: #fff; }
.ppg.muted { color: oklch(72% 0.010 260); }
.poster-tm {
  width: 56px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 2px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 13px;
  cursor: pointer;
}
.poster-arrows {
  display: flex; align-items: center; gap: 0;
  background: var(--ink);
  border-radius: 2px;
  padding: 0 4px;
}
.parr {
  background: transparent;
  border: 0;
  color: #fff;
  width: 28px; height: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: opacity .15s;
}
.parr:hover { opacity: 0.7; }
.parr-dot { color: rgba(255,255,255,0.3); padding: 0 2px; }

/* Small poster dots (spor) */
.poster-dots {
  display: flex; gap: 6px; justify-content: center;
  margin-top: 10px;
}
.pdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: oklch(86% 0.008 250);
  border: 0;
  cursor: pointer;
  transition: background .15s, transform .15s;
  padding: 0;
}
.pdot.on { background: var(--ink); transform: scale(1.2); }

/* === Right side === */
.hys-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hys-rightad { display: flex; justify-content: center; padding: 12px 0; }
.hys-rightad .ad-slot { width: 100%; max-width: 360px; aspect-ratio: 300/250; height: auto; }
.hys-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* Widget card base */
.wcard {
  position: relative;
  border-radius: 6px;
  padding: 14px 14px 14px;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
}
.wc-head { z-index: 2; position: relative; }
.wc-title { font-family: var(--font-sans); font-size: 15.5px; font-weight: 800; letter-spacing: -0.018em; line-height: 1.2; }
.wc-sub { font-size: 13px; font-weight: 500; opacity: 0.92; margin-top: 2px; }

/* WEATHER */
.wcard-weather {
  background: linear-gradient(155deg, oklch(54% 0.16 250) 0%, oklch(40% 0.16 255) 100%);
}
.wc-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.7; }
.wc-mid {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  flex: 1;
  margin-top: 6px;
}
.wc-temp {
  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.wc-icon { flex-shrink: 0; }
.wc-foot {
  position: relative; z-index: 2;
  font-size: 11.5px;
  font-weight: 500;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0.95;
  margin-top: 8px;
}

/* PRAYER */
.wcard-prayer {
  background: linear-gradient(155deg, oklch(34% 0.10 290) 0%, oklch(24% 0.08 285) 100%);
}
.prc-remaining {
  position: relative; z-index: 2;
  background: oklch(28% 0.10 290);
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 6px;
  text-align: center;
}
.prc-remaining-label { font-size: 11px; opacity: 0.75; margin-bottom: 2px; }
.prc-remaining-val {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.022em;
}
.prc-times {
  margin-top: 8px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative; z-index: 2;
}
.prc-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 2px 0;
  opacity: 0.82;
}
.prc-row.active {
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 4px 8px;
  margin: 0 -8px;
  opacity: 1;
}
.prc-row.active .prc-row-time {
  background: var(--accent);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
}
.prc-row-name { letter-spacing: 0.02em; }
.prc-more {
  text-align: center;
  margin-top: 4px;
  font-size: 16px;
  opacity: 0.7;
  letter-spacing: 0.1em;
}

/* MATCH */
.wcard-match {
  background: linear-gradient(155deg, oklch(48% 0.18 152) 0%, oklch(34% 0.14 152) 100%);
}
.mch-inner {
  background: oklch(24% 0.10 152);
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 6px;
  position: relative; z-index: 2;
}
.mch-teams {
  display: flex; flex-direction: column; gap: 2px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.mch-team { line-height: 1.2; }
.mch-time { display: flex; align-items: baseline; gap: 6px; }
.mch-time-val {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.022em;
}
.mch-time-ch { font-size: 11px; opacity: 0.8; }
.mch-links {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: auto;
  padding-top: 8px;
  position: relative; z-index: 2;
}
.mch-link {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: opacity .15s;
}
.mch-link:hover { opacity: 0.85; color: #fff; }
.mch-link:last-child { border-bottom: 0; }
.mch-link span { font-size: 11px; opacity: 0.7; }

/* Hover/touch arrows on small spor poster */
.poster-sm-arr {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 48px;
  background: rgba(255,255,255,0.92);
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 3;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity .2s, transform .15s, background .15s;
  pointer-events: none;
}
.poster-sm .poster-frame:hover .poster-sm-arr,
.poster-sm .poster-frame:focus-within .poster-sm-arr {
  opacity: 1;
  pointer-events: auto;
}
.poster-sm-arr:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.poster-sm-prev { left: 10px; }
.poster-sm-next { right: 10px; }
@media (hover: none) {
  .poster-sm-arr { opacity: 0.85; pointer-events: auto; }
}
.poster-sm .poster-frame { aspect-ratio: 4 / 4.5; }
.poster-sm .poster-overlay { padding: 22px 24px 24px; }

/* Skyscraper ad */
.hys-sky { display: flex; justify-content: center; }
.skyscraper {
  display: block;
  width: 160px;
  background: linear-gradient(180deg, #1976D2 0%, #0D47A1 60%, #fff 60%, #fff 100%);
  border-radius: 4px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  position: sticky;
  top: 240px;
}
.sky-top { padding: 16px 12px 12px; }
.sky-brand {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: right;
  margin-bottom: 8px;
  color: #FFB627;
}
.sky-head { font-size: 13px; font-weight: 500; line-height: 1.3; margin: 0 0 4px; color: #FFD86C; }
.sky-head-big {
  font-family: "Archivo Black", "Inter Tight", sans-serif;
  font-weight: 900;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: #FFD86C;
  margin: 0;
  text-transform: uppercase;
}
.sky-phone { padding: 8px 0; display: flex; justify-content: center; }
.sky-options {
  background: #fff;
  color: #0A1F4E;
  padding: 8px 12px 4px;
  display: flex; flex-direction: column; gap: 4px;
}
.sky-opt {
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  padding: 6px 8px;
  text-align: center;
}
.sky-opt-name { font-size: 11px; font-weight: 800; letter-spacing: 0.02em; color: #0A1F4E; }
.sky-opt-spec { font-size: 10px; color: #666; margin-top: 1px; }
.sky-foot {
  background: #fff;
  color: #666;
  font-size: 8.5px;
  line-height: 1.4;
  padding: 6px 12px 10px;
  text-align: left;
}
.sky-url { color: #FFB627; font-weight: 700; }

/* Responsive */
@media (max-width: 1280px) {
  .hero-ys-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .hys-sky { display: none; }
}
@media (max-width: 1100px) {
  .hero-ys-grid { grid-template-columns: 1fr; gap: 22px; }
  .poster-frame { aspect-ratio: 4 / 3; }
  .poster-title { font-size: clamp(32px, 6vw, 56px); }
}
@media (max-width: 720px) {
  .hys-widgets { grid-template-columns: 1fr; }
  .wcard { min-height: 0; }
}
