/* LF_HOME_HUB_V1 — anasayfa Bilgi Merkezi (Yazılar · Lens TV · Sesli Sözlük) */
.lfh { --x-ink: #10231d; --x-muted: #5b6d66; --x-brand: #087e69; --x-brand-d: #056451; --x-soft: #eef7f2; --x-line: #e2ece7; --x-yellow: #f5d800;
  position: relative; margin: 40px 0; padding: 34px 34px 30px; border: 1px solid #dcebe3; border-radius: 28px;
  background: radial-gradient(120% 120% at 100% 0%, #e7f5ee 0%, #f6fbf8 45%, #fff 100%); color: var(--x-ink); overflow: hidden; overflow: clip; }
.lfh::before { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 216, 0, .18), transparent); pointer-events: none; }
.lfh [hidden] { display: none !important; }
.lfh-head { float: none; width: auto; position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 22px 32px; flex-wrap: wrap; margin-bottom: 22px; }
.lfh-intro { max-width: 560px; }
.lfh-eyebrow { display: block; margin: 0 0 8px; color: var(--x-brand); font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.lfh-heading { margin: 0 0 8px !important; color: var(--x-ink) !important; font-size: clamp(26px, 2.6vw, 36px) !important; font-weight: 800 !important; line-height: 1.12; letter-spacing: -.02em; text-transform: none !important; }
.lfh-mark { background: linear-gradient(transparent 60%, #ffe14d 60%, #ffe14d 92%, transparent 92%); padding: 0 2px; }
.lfh-lead { margin: 0; color: var(--x-muted); font-size: 15px; line-height: 1.6; }

/* Sekmeler — açık tema: beyaz zemin, nane ikonlar, aktif sekme marka sarısı vurgusu */
.lfh-tabs { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; padding: 6px; border: 1px solid #d6e8df; border-radius: 22px;
  background: #fff; box-shadow: 0 14px 34px -24px rgba(8, 126, 105, .55), 0 2px 6px rgba(16, 35, 29, .04); }
.lfh-tabs button { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 18px 10px 10px; border: 1px solid transparent; border-radius: 16px; background: transparent; color: var(--x-ink); text-align: left; cursor: pointer; overflow: hidden; transition: background .2s, border-color .2s, box-shadow .2s, transform .15s; }
.lfh-tabs button svg { flex: none; width: 42px; height: 42px; padding: 9px; border-radius: 13px; background: var(--x-soft); border: 1px solid #d3eadf; fill: none; stroke: var(--x-brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: background .2s, stroke .2s, border-color .2s, transform .2s; }
.lfh-tabs button svg .fill { fill: var(--x-brand); stroke: none; }
.lfh-tab-txt { display: grid; gap: 2px; line-height: 1.15; }
.lfh-tab-txt strong { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; }
.lfh-tab-txt small { color: var(--x-muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.lfh-tabs button:hover:not(.is-active) { background: #f5fbf8; border-color: #dcefe6; }
.lfh-tabs button:hover:not(.is-active) svg { transform: translateY(-1px); border-color: #a9d9c5; }
.lfh-tabs button:focus-visible { outline: 3px solid rgba(245, 216, 0, .9); outline-offset: 2px; }
.lfh-tabs button.is-active { background: linear-gradient(180deg, #fffbe0 0%, #fff4b8 100%); border-color: #f2dc5c; box-shadow: 0 10px 22px -14px rgba(196, 160, 0, .65); }
.lfh-tabs button.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--x-yellow); }
.lfh-tabs button.is-active svg { background: var(--x-yellow); border-color: #e8c900; stroke: var(--x-ink); }
.lfh-tabs button.is-active svg .fill { fill: var(--x-ink); }
.lfh-tabs button.is-active strong { color: var(--x-ink); }
.lfh-tabs button.is-active small { color: #6b5a00; }

/* Kategori kısayolları */
.lfh-chips { float: none; width: auto; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.lfh-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border: 1px solid var(--x-line); border-radius: 999px; background: #fff; color: var(--x-ink) !important; font-size: 13px; font-weight: 650; text-decoration: none !important; transition: border-color .15s, background .15s; }
.lfh-chip span { color: var(--x-muted); font-size: 11.5px; }
.lfh-chip { cursor: pointer; font-family: inherit; }
.lfh-chip:hover { border-color: var(--x-brand); background: var(--x-soft); }
.lfh-chip.is-active { border-color: var(--x-ink); background: var(--x-ink) !important; color: #fff !important; box-shadow: 0 8px 18px -12px rgba(16, 35, 29, .6); }
.lfh-chip.is-active span { color: rgba(255, 255, 255, .7); }
.lfh-chip:focus-visible { outline: 3px solid rgba(245, 216, 0, .9); outline-offset: 2px; }
.lfh-fade > :not([hidden]) { animation: lfhIn .3s ease both; }
.lfh-cta b { font-weight: inherit; }

/* Kart şeridi */
.lfh-rail { position: relative; }
.lfh-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
.lfh-track::-webkit-scrollbar { display: none; }
.lfh-track:focus-visible { outline: 3px solid rgba(245, 216, 0, .9); outline-offset: 4px; border-radius: 12px; }
.lfh-card { scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--x-line); border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 35, 29, .04); transition: transform .18s, box-shadow .18s, border-color .18s; }
.lfh-card:hover { transform: translateY(-3px); border-color: #bfe1d1; box-shadow: 0 18px 34px -22px rgba(8, 126, 105, .55); }
.lfh-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; border-bottom: 1px solid #edf1ec; }
.lfh-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 10px; box-sizing: border-box; transition: transform .35s; }
.lfh-card:hover .lfh-media img { transform: scale(1.03); }
.lfh-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--x-brand); font-weight: 800; background: var(--x-soft); }
.lfh-media--video { aspect-ratio: 16 / 9; background: #0b2f27; }
.lfh-media--video img { object-fit: cover; padding: 0; }
.lfh-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: var(--x-yellow); box-shadow: 0 8px 22px rgba(0, 0, 0, .3); transition: transform .2s; }
.lfh-play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--x-ink); }
.lfh-card:hover .lfh-play { transform: scale(1.08); }
.lfh-dur { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(10, 36, 30, .82); color: #fff; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lfh-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.lfh-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #7b8880; font-size: 11.5px; }
.lfh-tag { display: inline-block; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: var(--x-soft); color: var(--x-brand-d); font-size: 10.5px; font-weight: 750; letter-spacing: .3px; }
.lfh-c--renk { background: #fdecef; color: #9b2c48; } .lfh-c--marka, .lfh-v--inceleme { background: #fff4d6; color: #7a5400; }
.lfh-c--secim, .lfh-v--secim { background: #f3e9fb; color: #6b3a91; } .lfh-c--kullanim, .lfh-v--kullanim { background: #e5f1fb; color: #1f5a8a; }
.lfh-c--sorun { background: #fff0e6; color: #9a4a12; } .lfh-c--olcu { background: #eef0f3; color: #3c4a5a; }
.lfh-c--saglik, .lfh-v--saglik { background: #e6f5ee; color: #0b6b4f; } .lfh-c--gozluk { background: #e9f3f6; color: #1d5f70; }
.lfh-title { margin: 0 !important; font-size: 15.5px !important; font-weight: 750 !important; line-height: 1.35 !important; text-transform: none !important; }
.lfh-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--x-ink) !important; text-decoration: none !important; }
.lfh-title a:hover { color: var(--x-brand) !important; }
.lfh-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: var(--x-muted); font-size: 13.5px; line-height: 1.55; }

/* Sözlük kartları */
.lfh-note { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; color: var(--x-brand-d); font-size: 12.5px; font-weight: 700; }
.lfh-note svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lfh-term { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px; border: 1px solid var(--x-line); border-radius: 20px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.lfh-term:hover { border-color: #bfe1d1; box-shadow: 0 16px 30px -24px rgba(8, 126, 105, .6); }
.lfh-term-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lfh-term h3 { margin: 0 !important; font-size: 17px !important; font-weight: 800 !important; line-height: 1.25 !important; text-transform: none !important; color: var(--x-ink) !important; }
.lfh-term p { flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: var(--x-muted); font-size: 13.5px; line-height: 1.55; }
.lfh-listen { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 9px; border: 0; border-radius: 999px; background: var(--x-ink); color: #fff; font-size: 12.5px; font-weight: 750; cursor: pointer; transition: background .15s; }
.lfh-listen svg { width: 17px; height: 17px; fill: none; stroke: var(--x-yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lfh-listen .i-stop { display: none; fill: var(--x-yellow); stroke: none; }
.lfh-listen.is-playing { background: var(--x-brand); }
.lfh-listen.is-playing .i-play { display: none; } .lfh-listen.is-playing .i-stop { display: block; }
.lfh-listen:focus-visible { outline: 3px solid rgba(245, 216, 0, .9); outline-offset: 2px; }
.lfh-term-link { display: inline-flex; align-items: center; gap: 5px; color: var(--x-brand) !important; font-size: 13px; font-weight: 750; text-decoration: none !important; }
.lfh-term-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.lfh-term-link:hover svg { transform: translateX(3px); }

/* Ok düğmeleri ve alt bağlantı */
.lfh-nav { position: absolute; right: 0; bottom: -58px; display: flex; gap: 8px; }
.lfh-nav button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--x-line); border-radius: 50%; background: #fff; color: var(--x-ink); transition: border-color .15s, background .15s; }
.lfh-nav button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lfh-nav button:hover:not(:disabled) { border-color: var(--x-brand); background: var(--x-soft); }
.lfh-nav button:disabled { opacity: .35; cursor: default; }
.lfh-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 11px 18px; border-radius: 14px; background: var(--x-ink); color: #fff !important; font-size: 14px; font-weight: 750; text-decoration: none !important; transition: background .15s; }
.lfh-cta span { padding: 1px 8px; border-radius: 999px; background: var(--x-yellow); color: var(--x-ink); font-size: 12px; font-weight: 800; }
.lfh-cta svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lfh-cta:hover { background: var(--x-brand); }
.lfh-panel { position: relative; animation: lfhIn .25s ease; }
@keyframes lfhIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lfh-panel { animation: none; } .lfh-track { scroll-behavior: auto; } }

@media (max-width: 1199px) { .lfh-track { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (max-width: 991px) {
  .lfh-head { align-items: stretch; }
  .lfh-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .lfh-tabs button { justify-content: center; }
  .lfh-nav { display: none !important; }
}
@media (max-width: 767px) {
  .lfh { margin: 28px -4px; padding: 22px 16px 20px; border-radius: 22px; }
  .lfh-heading { font-size: 25px !important; }
  .lfh-lead { font-size: 14px; }
  .lfh-tabs { gap: 4px; padding: 5px; border-radius: 20px; }
  .lfh-tabs button { flex-direction: column; justify-content: center; gap: 7px; padding: 12px 4px 11px; border-radius: 15px; text-align: center; }
  .lfh-tabs button svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; }
  .lfh-tab-txt { justify-items: center; }
  .lfh-tab-txt strong { font-size: 14px; }
  .lfh-tab-txt small { font-size: 11.5px; }
  .lfh-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px 2px; scrollbar-width: none; }
  .lfh-chips::-webkit-scrollbar { display: none; }
  .lfh-chip { flex: none; }
  .lfh-track { grid-auto-columns: 78%; gap: 12px; margin: 0 -16px; padding: 4px 16px 10px; scroll-padding: 0 16px; }
  .lfh-card--video { }
  .lfh-track--terms { grid-auto-columns: 82%; }
  .lfh-cta { width: 100%; justify-content: center; }
}
