/* ══════════════════════════════════════════════════════════════
   FATSA GAZETESİ — Premium & Spotlight Styles
   SpotlightCard → vanilla CSS/JS (no React/GSAP needed)
══════════════════════════════════════════════════════════════ */

/* ── 1. SPOTLIGHT GLOW CARD ──────────────────────────────── */
.glow-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  /* Mouse-tracked radial gradient via CSS vars */
  background-image:
    radial-gradient(
      220px 220px at var(--mx, 50%) var(--my, 50%),
      hsl(var(--glow-h, 0) 80% 65% / 0.11) 0%,
      transparent 80%
    );
  border: 1px solid rgba(0,0,0,.07);
  transition: box-shadow .3s ease, transform .3s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.glow-card:hover {
  box-shadow:
    0 20px 60px rgba(0,0,0,.12),
    0 4px 16px rgba(0,0,0,.06);
  transform: translateY(-3px);
}
/* Glow border via pseudo-element */
.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background:
    radial-gradient(
      180px 180px at var(--mx, 50%) var(--my, 50%),
      hsl(var(--glow-h, 0) 80% 60% / 0.5),
      transparent 80%
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .35s;
}
.glow-card:hover::before { opacity: 1; }


/* ── 2. INSTAGRAM POST CARD ──────────────────────────────── */
.igp-wrap {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.igp-card {
  --glow-h: 0;
  border-radius: 16px;
  overflow: visible; /* glow efekti border dışına çıkabilsin */
}

/* Post header */
.igp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.igp-logo {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h);
  font-size: 17px; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(225,6,0,.3);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.igp-logo::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366);
  z-index: -1;
}
.igp-meta { flex: 1; min-width: 0; }
.igp-handle {
  font-size: 13px; font-weight: 800; color: #0d0d0d;
  display: block; line-height: 1.2;
}
.igp-handle em { color: var(--red); font-style: normal; }
.igp-sub { font-size: 11px; color: #aaa; }
.igp-cat-chip {
  padding: 4px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800;
  color: #fff; background: var(--red);
  text-transform: uppercase; letter-spacing: .05em;
  flex-shrink: 0;
}
.igp-more {
  color: #999; font-size: 18px; cursor: pointer;
  padding: 0 4px; line-height: 1;
  flex-shrink: 0;
}

/* Görsel — 4:3 oran (kare yerine biraz daha küçük) */
.igp-image {
  position: relative;
  padding-top: 68%;
  overflow: hidden;
  background: #f0f2f5;
}
.igp-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
  display: block;
}
.igp-card:hover .igp-image img { transform: scale(1.04); }
.igp-image-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
}
/* Breaking overlay */
.igp-breaking-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(225,6,0,.85));
  padding: 20px 14px 10px;
  color: #fff; font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .12em;
  display: flex; align-items: center; gap: 6px;
  z-index: 2;
}
.igp-breaking-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; animation: blink-badge 1s infinite;
}

/* Action bar */
.igp-actions {
  display: flex;
  align-items: center;
  padding: 10px 14px 6px;
  gap: 14px;
}
.igp-action-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  color: #555; font-size: 12px; font-family: var(--font-ui);
  padding: 0;
  transition: color .18s, transform .2s cubic-bezier(.34,1.56,.64,1);
}
.igp-action-btn:hover { color: var(--red); transform: scale(1.15); }
.igp-action-btn svg { transition: fill .18s; }
.igp-action-btn:hover svg { stroke: var(--red); }
.igp-spacer { flex: 1; }
.igp-bookmark { margin-left: auto; }

/* Content */
.igp-content {
  padding: 4px 14px 14px;
}
.igp-title {
  font-size: 13.5px; font-weight: 800; line-height: 1.38;
  color: #0d0d0d; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .18s;
}
.igp-card:hover .igp-title { color: var(--red); }
.igp-title-link {
  display: -webkit-box;
  text-decoration: none;
}
.igp-title-link:focus,
.igp-title-link:hover {
  color: var(--red);
  outline: none;
}
.igp-summary {
  font-size: 12.5px; color: #777; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 5px;
}
.igp-time {
  font-size: 10.5px; color: #bbb; text-transform: uppercase; letter-spacing: .04em;
}


/* ── 3. HOMEPAGE LAYOUT ──────────────────────────────────── */
.home-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 16px 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.home-feed {
  flex: 0 0 540px;
  max-width: 540px;
  min-width: 0;
}
.home-side {
  flex: 1;
  min-width: 0;
  position: static;
  top: auto;
  height: auto;
  max-height: none;
  overflow: visible;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
  padding-top: 16px;
}
.home-side::-webkit-scrollbar { width: 3px; }
.home-side::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

/* Featured pill at top */
.home-trending-label {
  font-size: 10px; font-weight: 900; color: var(--red);
  text-transform: uppercase; letter-spacing: .18em;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 0 14px;
}
.home-trending-label::before,
.home-trending-label::after {
  content: ""; flex: 1; height: 1px; background: #e5e5e5;
}

/* Load more */
.load-more-btn {
  display: block; width: 100%; text-align: center;
  padding: 14px; border-radius: 999px;
  border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--text-2);
  background: #fff; cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
  margin-top: 8px;
}
.load-more-btn:hover {
  border-color: var(--red); color: var(--red); background: var(--red-soft);
}


/* ── 4. PREMIUM ARTICLE PAGE ─────────────────────────────── */

/* Cinematic hero header */
.art-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}
.art-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d0d0d, #1a1a2e);
}
.art-hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
  filter: saturate(0.8);
}
.art-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.3) 40%,
    rgba(0,0,0,.85) 100%
  );
}
.art-hero-content {
  position: relative; z-index: 2;
  padding: 32px 36px 36px;
  width: 100%;
}
.art-hero-cats {
  display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap;
}
.art-hero-cat {
  padding: 4px 12px; border-radius: 999px;
  font-size: 10.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .1em;
  background: var(--red); color: #fff;
}
.art-hero-cat.breaking {
  background: #ff3d00;
  animation: blink-badge 1.2s infinite;
}
.art-hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.05;
  color: #fff;
  margin: 0 0 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
  max-width: 800px;
}
.art-hero-summary {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 18px;
  font-family: var(--font-s);
}
.art-hero-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.art-hero-author {
  display: flex; align-items: center; gap: 9px;
}
.art-hero-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff; overflow: hidden;
}
.art-hero-av img { width: 100%; height: 100%; object-fit: cover; }
.art-hero-author-name { font-size: 13px; font-weight: 700; color: #fff; }
.art-hero-author-date { font-size: 11px; color: rgba(255,255,255,.55); }
.art-hero-stats {
  display: flex; gap: 14px; margin-left: auto; flex-wrap: wrap;
}
.art-hero-stat {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: rgba(255,255,255,.6);
}

/* Article body — glow card */
.art-body-wrap {
  background: #fff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
  position: relative;
  z-index: 1;
}
.art-body-inner {
  padding: 32px 40px 40px;
  max-width: 780px;
}
@media (max-width: 900px) {
  .art-body-inner { padding: 22px 20px 32px; }
  .art-hero-content { padding: 22px 20px 26px; }
}

/* Share bar premium */
.art-share-bar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}
.art-share-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; cursor: pointer;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
  border: none;
}
.art-share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.art-share-btn.x    { background: #0d0d0d; color: #fff; }
.art-share-btn.fb   { background: #1877f2; color: #fff; }
.art-share-btn.wa   { background: #25d366; color: #fff; }
.art-share-btn.cp   { background: #f5f5f5; color: #333; border: 1.5px solid #e0e0e0; }

/* Article content premium */
.art-prose {
  font-family: var(--font-s);
  font-size: 17px;
  line-height: 1.85;
  color: #1a1a1a;
}
.art-prose p { margin-bottom: 1.4em; }
.art-prose h2 {
  font-family: var(--font-h);
  font-size: clamp(20px, 2.5vw, 28px);
  margin: 1.8em 0 .6em; line-height: 1.1;
  color: var(--red);
}
.art-prose h3 {
  font-family: var(--font-h);
  font-size: clamp(18px, 2vw, 22px);
  margin: 1.5em 0 .5em; color: var(--red);
}
.art-prose blockquote {
  border-left: 4px solid var(--red);
  padding: 14px 20px;
  margin: 1.5em 0;
  background: var(--red-soft);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #444;
}
.art-prose img {
  max-width: 100%; border-radius: 12px;
  margin: 1em 0; box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.art-prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* Premium author box */
.art-author-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: linear-gradient(135deg, #fafafa, #f5f5f5);
  border: 1px solid #ebebeb;
  border-radius: 16px; padding: 20px;
  margin: 32px 0;
}
.art-author-av {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--red-soft); border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: var(--red);
  flex-shrink: 0; overflow: hidden;
}
.art-author-av img { width: 100%; height: 100%; object-fit: cover; }
.art-author-name { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.art-author-bio { font-size: 13.5px; color: #666; line-height: 1.55; margin: 0; }

/* Premium tags */
.art-tags { margin-top: 24px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.art-tags-label {
  font-size: 10px; font-weight: 900; color: #aaa;
  text-transform: uppercase; letter-spacing: .15em; margin-bottom: 10px;
}

/* Related posts */
.art-related { margin-top: 32px; }
.art-related-title {
  font-family: var(--font-h); font-size: 22px;
  padding-bottom: 10px; border-bottom: 2px solid var(--red);
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.art-related-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 12px;
}
@media(max-width:600px) { .art-related-grid { grid-template-columns: 1fr; } }
.art-related-card {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px; border-radius: 12px; border: 1px solid #f0f0f0;
  background: #fafafa; transition: background .18s, transform .2s;
}
.art-related-card:hover { background: var(--red-soft); transform: translateX(3px); }
.art-related-img {
  width: 72px; height: 56px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
}
.art-related-img-ph {
  width: 72px; height: 56px; border-radius: 8px;
  background: #e5e5e5; display: flex; align-items: center;
  justify-content: center; font-size: 22px; flex-shrink: 0;
}
.art-related-ttl {
  font-size: 13px; font-weight: 700; line-height: 1.35;
  color: var(--text); transition: color .18s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-related-card:hover .art-related-ttl { color: var(--red); }
.art-related-time { font-size: 11px; color: #aaa; margin-top: 4px; }

/* Premium comment section */
.art-comments { margin-top: 36px; }
.art-comment-head {
  font-family: var(--font-h); font-size: 22px;
  padding-bottom: 10px; border-bottom: 2px solid var(--red);
  margin-bottom: 20px;
}
.art-comment-form {
  background: linear-gradient(135deg, #fafafa, #f5f5f5);
  border: 1px solid #ebebeb;
  border-radius: 16px; padding: 22px; margin-bottom: 24px;
}
.art-comment-form h3 {
  font-size: 15px; font-weight: 800; margin-bottom: 16px; color: #0d0d0d;
}

/* Font controls */
.font-size-controls {
  display: flex; align-items: center; gap: 4px; margin-left: 6px;
}
.font-down, .font-up {
  background: #f5f5f5; border: 1px solid #e0e0e0;
  border-radius: 6px; padding: 2px 7px;
  font-size: 12px; font-weight: 700; cursor: pointer; color: #555;
  transition: background .15s, color .15s;
}
.font-down:hover, .font-up:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Widget headers */
.widget-head { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--red); }
.widget-head h3 { font-size: 14px; font-weight: 800; color: var(--text); margin: 0; }

/* Weather */
.weather-loc { font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.weather-main { display: flex; align-items: center; gap: 10px; }
.weather-icon { font-size: 36px; animation: float 3s ease-in-out infinite; }
.weather-temp { font-family: var(--font-h); font-size: 38px; color: var(--text); line-height: 1; }
.weather-desc { font-size: 13px; color: #888; margin-top: 4px; }
.weather-extra { display: flex; gap: 10px; font-size: 12px; color: #aaa; margin-top: 5px; }

/* Popular list */
.popular-list { display: flex; flex-direction: column; gap: 0; }
.popular-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 6px; border-radius: 8px;
  transition: background .18s, transform .18s; text-decoration: none;
}
.popular-item:hover { background: var(--red-soft); transform: translateX(3px); }
.popular-num {
  font-family: var(--font-h); font-size: 22px; color: var(--red);
  line-height: 1; width: 22px; text-align: center; flex-shrink: 0;
}
.popular-img { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.popular-img-ph { width: 52px; height: 40px; background: #f0f0f0; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.popular-title { font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--text); transition: color .18s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.popular-item:hover .popular-title { color: var(--red); }

/* Article grid (related) */
.article-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #f0f0f0; transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.article-card-img { width: 100%; height: 130px; object-fit: cover; }
.article-card-img-ph { height: 130px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.article-card-body { padding: 11px 12px; }
.article-card-body h3 { font-size: 13px; font-weight: 700; line-height: 1.35; margin: 5px 0 6px; color: var(--text); transition: color .18s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card:hover .article-card-body h3 { color: var(--red); }
.article-card-meta { font-size: 11px; color: #aaa; }
.articles-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media(max-width:600px) { .articles-grid { grid-template-columns: 1fr; } }

/* ── 5. SPOTLIGHT JS TRACKING ────────────────────────────── */
/* Applied via JS: card.style.setProperty('--mx', x+'px') */

/* ── 6. MOBILE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .home-layout { flex-direction: column; padding: 12px 14px 48px; }
  .home-feed { flex: unset; max-width: 100%; width: 100%; }
  .home-side { display: none; }
  .art-hero { min-height: 280px; }
  .art-body-inner { padding: 18px 16px 28px; }
  .art-prose { font-size: 15.5px; line-height: 1.75; }
}

/* ══════════════════════════════════════════════════════
   3-COLUMN LAYOUT
══════════════════════════════════════════════════════ */
.tri-layout {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 18px;
  padding: 16px 20px 48px;
  max-width: 1540px;
  margin: 0 auto;
  align-items: flex-start;
  box-sizing: border-box;
}
.tri-left  { min-width: 0; }
.tri-main  { min-width: 0; }
.tri-right { min-width: 0; }

.tri-sticky {
  position: static;
  top: auto;
  /* Bağımsız scroll YOK — sayfa ile birlikte kayar */
}

body.no-breaking .tri-sticky { top: auto; }

@media (max-width: 1200px) {
  .tri-layout { grid-template-columns: 220px 1fr 220px; gap: 14px; padding: 12px 14px 40px; }
}
@media (max-width: 960px) {
  .tri-layout { grid-template-columns: 1fr; }
  .tri-left, .tri-right { display: none; }
}

/* ── SOL SIDEBAR WIDGET STİLLERİ ─────────────────────── */
.lsb-widget { margin-bottom: 12px; }

/* Hava */
.lsb-weather { padding: 4px 0; }
.lsb-wx-loc { font-size: 10px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; display:flex;align-items:center;gap:4px; }
.lsb-wx-row { display: flex; align-items: center; gap: 8px; }
.lsb-wx-icon { font-size: 32px; animation: float 3s ease-in-out infinite; display:inline-block; }
.lsb-wx-temp { font-family: var(--font-h); font-size: 36px; color: var(--text); line-height: 1; }
.lsb-wx-desc { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.lsb-wx-extra { display: flex; gap: 10px; font-size: 11px; color: var(--text-3); margin-top: 4px; }

/* Fındık */
.lsb-findik-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid var(--border);
  gap: 8px;
}
.lsb-findik-row:last-of-type { border-bottom: none; }
.lsb-findik-tur { font-size: 12px; font-weight: 600; color: var(--text-2); }
.lsb-findik-fiyat { font-size: 13px; font-weight: 800; color: var(--text); }
.lsb-findik-deg { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 999px; }
.lsb-findik-deg.up   { background: #dcfce7; color: #16a34a; }
.lsb-findik-deg.down { background: #fef2f2; color: #dc2626; }

/* Eczane */
.lsb-eczane { padding: 4px 0; }
.lsb-ecz-name { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 5px; }
.lsb-ecz-addr { font-size: 12px; color: var(--text-3); margin-bottom: 5px; }
.lsb-ecz-tel {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 700; color: var(--red);
  background: var(--red-soft); padding: 5px 10px; border-radius: 999px;
  transition: background .18s;
}
.lsb-ecz-tel:hover { background: var(--red); color: #fff; }

/* Dolmuş */
.lsb-hat { padding: 10px 0; border-bottom: 1px solid var(--border); }
.lsb-hat:last-child { border-bottom: none; }
.lsb-hat-name { font-size: 12px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.lsb-hat-next { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.lsb-hat-label { font-size: 11px; color: var(--text-3); }
.lsb-hat-time { font-size: 13px; font-weight: 800; color: var(--red); }
.lsb-hat-time.bitti { color: var(--text-3); }
.lsb-hat-saatler { display: flex; flex-wrap: wrap; gap: 4px; }
.lsb-saat {
  font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 5px;
  background: #f3f4f6; color: var(--text-2); border: 1px solid transparent;
}
.lsb-saat.gecti { color: #bbb; background: #f9fafb; text-decoration: line-through; }

/* ── HOMEPAGE İNSTAGRAM FEED — 3 sütun içinde ─────── */
.igp-wrap { max-width: 100%; width: 100%; margin: 0; }

/* ── HABER DETAY — 3 sütun içinde ─────────────────── */
.art-hero { border-radius: 16px; overflow: hidden; margin-bottom: 0; }
.art-body-wrap { border-radius: 16px; margin-top: 0; }
.art-body-inner { padding: 28px 32px 36px; max-width: 100%; }
.art-prose { font-size: 16.5px; line-height: 1.82; }

/* Breadcrumb padding fix */
.tri-main .breadcrumb { padding: 10px 0 4px; }

/* Right sidebar — news widgets */
.rsb-wrap { padding: 0; }


/* ══ Haber sayfası: başlık-içerik arası boşluk sıfırla ══ */
.art-body-wrap {
  border-radius: 0 0 16px 16px !important;
  margin-top: -1px; /* başlık kartına yapışık */
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.art-title-card {
  border-radius: 16px 16px 0 0 !important;
}
/* iki tri-layout arasında gap yok */
.tri-layout + .tri-layout {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* Haber breadcrumb: padding flush */
.art-breadcrumb-bar {
  margin-bottom: 0;
}

/* Sidebar premium cards */
.widget-premium {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(15,23,42,.09);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,250,252,.94));
  box-shadow: 0 8px 22px rgba(15,23,42,.055), inset 0 1px 0 rgba(255,255,255,.95);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.widget-premium + .widget-premium { margin-top: 12px; }
.widget-premium::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #ff715f 60%, transparent);
  opacity: .86;
}
.widget-premium:hover {
  transform: translateY(-2px);
  border-color: rgba(225,6,0,.2);
  box-shadow: 0 14px 30px rgba(15,23,42,.095), inset 0 1px 0 rgba(255,255,255,.95);
}
.widget-premium .wdg-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -12px -12px 10px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(225,6,0,.2);
  color: var(--red);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .005em;
}
.widget-premium .wdg-title small { margin-left: auto; color: var(--text-3); font-size: 9px; font-weight: 700; }
.widget-source-card { display: flex; flex-direction: column; gap: 5px; }
.widget-source-card strong { color: var(--text); font-size: 13px; line-height: 1.32; }
.widget-source-card small, .widget-source-card p { color: var(--text-3); font-size: 10.5px; line-height: 1.5; margin: 0; }
.widget-kicker {
  color: var(--red);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.widget-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 4px;
  padding: 6px 9px;
  border: 1px solid rgba(225,6,0,.18);
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 10.5px;
  font-weight: 800;
  transition: .18s ease;
}
.widget-action:hover { border-color: var(--red); background: var(--red); color: #fff; }
.widget-source { display: block; margin-top: 7px; color: var(--text-3); font-size: 9px; line-height: 1.4; }
.widget-source:hover { color: var(--red); }
.widget-source-pad { padding-top: 7px; border-top: 1px solid var(--border); }
.widget-empty { padding: 8px 0; color: var(--text-3); font-size: 11px; line-height: 1.45; }
.pharmacy-row { padding: 2px 0 10px; }
.pharmacy-row + .pharmacy-row { padding-top: 10px; border-top: 1px solid var(--border); }
.pharmacy-name { color: var(--text); font-size: 13px; font-weight: 850; }
.pharmacy-address { margin-top: 4px; color: var(--text-3); font-size: 10.5px; line-height: 1.45; }
.pharmacy-tarif { margin-top: 2px; color: #c0392b; font-size: 10.5px; font-style: italic; font-weight: 750; line-height: 1.4; }
.pharmacy-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.pharmacy-actions a, .pharmacy-actions button {
  padding: 5px 7px;
  border: 1px solid rgba(225,6,0,.16);
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font: inherit;
  font-size: 9.5px;
  font-weight: 800;
  cursor: pointer;
}
.pharmacy-actions a:hover, .pharmacy-actions button:hover { background: var(--red); color: #fff; }
.bayram-row { display: flex; align-items: center; gap: 7px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.bayram-icon { width: 22px; text-align: center; font-size: 17px; }
.bayram-info { min-width: 0; flex: 1; }
.bayram-ad { overflow: hidden; color: var(--text); font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.bayram-tarih { margin-top: 2px; color: var(--text-3); font-size: 9.5px; }
.bayram-kalan { display: flex; flex-direction: column; align-items: center; min-width: 30px; color: var(--red); }
.bayram-gun { font-family: var(--font-h); font-size: 20px; line-height: 1; }
.bayram-gun-label { margin-top: 2px; color: var(--text-3); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.standings-source p { margin-top: 2px; }
.lsb-weather .widget-source { margin-top: 8px; }

/* Duty pharmacy map modal */
body.modal-open { overflow: auto; }
.pharmacy-map-modal { position: fixed; inset: 0; z-index: 9999; display: none; place-items: center; padding: 18px; }
.pharmacy-map-modal.open { display: grid; }
.pharmacy-map-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.62); backdrop-filter: none; }
.pharmacy-map-dialog {
  position: relative;
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(2,6,23,.38);
}
.pharmacy-map-head { display: flex; justify-content: space-between; gap: 14px; padding: 16px 18px 13px; }
.pharmacy-map-head h3 { margin: 4px 0 2px; color: var(--text); font-size: 18px; }
.pharmacy-map-head p { margin: 0; color: var(--text-3); font-size: 11.5px; line-height: 1.45; }
.pharmacy-map-close { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%; background: var(--bg); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.pharmacy-map-dialog iframe { display: block; width: 100%; height: min(52vh, 390px); border: 0; background: #eef2f7; }
.pharmacy-map-foot { padding: 10px 18px 14px; }
[data-theme="dark"] .widget-premium { border-color: rgba(255,255,255,.08); background: linear-gradient(145deg, rgba(29,34,43,.98), rgba(19,23,30,.96)); box-shadow: 0 10px 26px rgba(0,0,0,.22); }
[data-theme="dark"] .pharmacy-map-dialog { border-color: rgba(255,255,255,.1); background: #171b23; }

/* Sidebar hareketi: ana sayfa scroll'una bağlı sticky takip. Ayrı iç scrollbar yok. */
.tri-layout {
  align-items: stretch;
}
.tri-left,
.tri-right {
  align-self: stretch;
  min-height: 100%;
}
.tri-main {
  align-self: start;
}
.tri-sticky {
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
  padding-right: 0;
  scrollbar-width: auto;
}
.guide-mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.guide-mini-actions .widget-action {
  margin-top: 0;
  padding-inline: 10px;
}

/* Kullanıcı tercihi: sidebar kartları oldukları yerde kalsın, takip etmesin. */
.tri-layout {
  align-items: flex-start !important;
}
.tri-left,
.tri-right,
.tri-main {
  align-self: auto !important;
  min-height: 0 !important;
}
.tri-sticky {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Mobile story/category buttons: remove browser tap square, keep only circular state. */
.story-btn,
.home-stories .story-btn,
.stories-bar .story-btn {
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  outline: none;
  box-shadow: none;
}
.story-btn:focus,
.story-btn:active,
.story-btn:focus-visible,
.home-stories .story-btn:focus,
.home-stories .story-btn:active,
.home-stories .story-btn:focus-visible,
.stories-bar .story-btn:focus,
.stories-bar .story-btn:active,
.stories-bar .story-btn:focus-visible {
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}
.story-btn::-moz-focus-inner,
.home-stories .story-btn::-moz-focus-inner,
.stories-bar .story-btn::-moz-focus-inner {
  border: 0;
}

/* Feed action buttons and share sheet */
.igp-action-btn.is-liked {
  color: var(--red);
}
.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.share-sheet.open {
  display: flex;
}
.share-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, .56);
  backdrop-filter: none;
}
.share-sheet-card {
  position: relative;
  width: min(420px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(225,6,0,.18), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,250,252,.94));
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
  padding: 22px;
  color: var(--text);
  transform: translateY(8px);
  animation: share-sheet-in .22s ease forwards;
}
@keyframes share-sheet-in {
  to { transform: translateY(0); }
}
.share-sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.share-sheet-kicker {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.share-sheet-card h3 {
  margin: 7px 40px 6px 0;
  font-family: var(--font-h);
  font-size: 26px;
  line-height: 1;
  color: var(--text);
}
.share-sheet-card p {
  margin: 0 0 15px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.45;
}
.share-sheet-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}
.share-option,
.share-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15,23,42,.12);
}
.share-option.whatsapp { background: linear-gradient(135deg, #18b957, #0f8f42); }
.share-option.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af); }
.share-option.x { background: linear-gradient(135deg, #111827, #020617); }
.share-copy {
  width: 100%;
  margin-top: 9px;
  border: 1px solid rgba(225,6,0,.16);
  background: var(--red-soft);
  color: var(--red);
}
.mini-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 10030;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(13,13,13,.88);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
  transition: opacity .18s ease, transform .18s ease;
}
.mini-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
[data-theme="dark"] .share-sheet-card {
  background:
    radial-gradient(circle at 20% 0%, rgba(225,6,0,.18), transparent 34%),
    linear-gradient(145deg, #1d222b, #121722);
  border-color: rgba(255,255,255,.1);
}
[data-theme="dark"] .share-sheet-close {
  background: rgba(255,255,255,.08);
}
@media (max-width: 640px) {
  .share-sheet {
    align-items: flex-end;
    padding: 10px;
  }
  .share-sheet-card {
    border-radius: 24px 24px 18px 18px;
    padding: 20px;
  }
  .share-sheet-card h3 {
    font-size: 24px;
  }
}

/* Article cards: shared image/video media layer */
.has-video-media {
  cursor: default;
}
.igp-image video,
.ig-card-img video,
.rel-img video,
.art-hero-img video,
.card-video,
.art-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #070707;
}
.art-hero-video {
  border: 0;
  outline: 0;
}
.media-video-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 13, 23, .78);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
  backdrop-filter: none;
  box-shadow: 0 8px 18px rgba(0,0,0,.24);
}
.media-video-badge.small {
  left: 8px;
  bottom: 8px;
  padding: 4px 7px;
  font-size: 9px;
}
.video-card-read {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 2px 0 6px;
  padding: 5px 9px;
  border: 1px solid rgba(225,6,0,.18);
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 10.5px;
  font-weight: 850;
  text-decoration: none;
}
.video-card-read:hover {
  background: var(--red);
  color: #fff;
}
.has-video-media .igp-image img,
.has-video-media .ig-card-img img {
  transform: none !important;
}

/* ── Video Thumbnail Overlay (igp-video-thumb) ── */
.igp-video-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: filter .2s;
}
.igp-video-thumb:hover { filter: brightness(.92); }
.igp-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  background: rgba(255,255,255,.93);
  border-radius: 50%;
  box-shadow: 0 4px 22px rgba(0,0,0,.28);
  transition: transform .18s;
  position: relative; z-index: 2;
  flex-shrink: 0;
}
.igp-video-thumb:hover .igp-play-icon { transform: scale(1.1); }
.igp-play-icon svg { width: 26px; height: 26px; display: block; }
/* Video başlamadan önce gizli, JS ile gösterilir */
.igp-image .card-video { display: none; }

@media (max-width: 760px) {
  .igp-image video,
  .ig-card-img video,
  .card-video {
    object-fit: contain;
  }
}

/* Scroll performance guard: tek ana sayfa kaydirmasi, dusuk maliyetli efektler. */
html { scroll-behavior: auto; }

@media (min-width: 901px) {
  .home-side,
  .right-sidebar,
  .tri-sticky {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
  }
}

.pharmacy-map-backdrop,
.share-sheet,
.share-sheet-backdrop,
.media-video-badge {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
