/* Bilgi Köşesi only: shared news, header and other homepage sections are untouched. */
.blog-premium-page { background: #f8fafc; }
.blog-premium-page .blog-filter-bar { background: #fff; }
.blog-premium-page .blog-filter-bar .blog-subnav-item { border-radius: 12px; }
.blog-premium-page .blog-filter-bar .blog-filter-trigger { background: #fff; border-color: #cbd5e1; }
.blog-premium-page .archive-content-container { margin-top: 32px !important; }
.blog-premium-page .section-title-wrap { gap: 12px; }
.blog-premium-page .content-cards-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) !important; }
.blog-premium-page .content-card,
.blog-premium-page .analysis-featured-card,
.blog-premium-page .analysis-sub-card { border-radius: 16px; border-color: #e2e8f0; box-shadow: 0 4px 20px #0f172a06; }
.blog-premium-page .content-card { min-width: 0; }
.blog-premium-page .blog-card { border-radius: 16px !important; box-shadow: 0 4px 20px #0f172a06 !important; min-width: 0; }
.blog-premium-page .blog-card .card-body > div:first-child { flex-wrap: wrap; }
.blog-premium-page .blog-card .badge { white-space: normal; }
.blog-premium-page .blog-card .card-footer-meta { flex-wrap: wrap; gap: 10px; }
.blog-premium-page .blog-popular-topics-row { flex-wrap: wrap; overflow: visible; mask-image: none; -webkit-mask-image: none; }
.blog-premium-page .blog-popular-topic-chip { min-height: 44px; white-space: normal; }

/* Searchable category directory: names have their own row, no competing badges. */
.blog-directory-content { padding-top: 32px; padding-bottom: 56px; }
.blog-directory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.blog-directory-toolbar h2 { margin: 0 0 6px; font-size: 1.35rem; letter-spacing: -.025em; color: #0f172a; }
.blog-directory-toolbar p { margin: 0; color: #64748b; font-size: .9rem; line-height: 1.6; }
.blog-directory-search { display: flex; align-items: center; gap: 10px; width: 360px; max-width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #cbd5e1; border-radius: 14px; background: #fff; color: #64748b; box-shadow: 0 2px 8px #0f172a03; }
.blog-directory-search:focus-within { border-color: #e30613; box-shadow: 0 0 0 3px #e306130c; }
.blog-directory-search input { width: 100%; min-width: 0; border: 0; background: transparent; outline: 0; font: inherit; font-size: 16px; color: #0f172a; }
.blog-directory-status { margin: 20px 0 12px; color: #64748b; font-size: .8rem; }
.blog-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; }
.blog-directory-category { min-width: 0; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; box-shadow: 0 4px 16px #0f172a04; overflow: hidden; }
.blog-directory-category > summary { display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 20px; list-style: none; cursor: pointer; }
.blog-directory-category > summary::-webkit-details-marker { display: none; }
.blog-directory-icon { width: 44px; height: 44px; flex: 0 0 44px; display: flex; align-items: center; justify-content: center; border-radius: 13px; color: #d30b1a; background: #fff1f2; }
.blog-directory-heading { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.blog-directory-name { font-size: 1rem; font-weight: 700; line-height: 1.4; color: #0f172a; overflow-wrap: anywhere; }
.blog-directory-meta { color: #64748b; font-size: .75rem; }
.blog-directory-meta > span { color: #15803d; }
.blog-directory-chevron { flex-shrink: 0; color: #94a3b8; transition: transform .18s; }
.blog-directory-category[open] { border-color: #fecdd3; }
.blog-directory-category[open] .blog-directory-chevron { transform: rotate(90deg); color: #e30613; }
.blog-directory-category-body { padding: 0 20px 20px; }
.blog-directory-category-body > p { margin: 0 0 12px; color: #64748b; font-size: .85rem; line-height: 1.7; }
.blog-directory-all { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; margin-bottom: 10px; border-top: 1px solid #f1f5f9; font-size: .8rem; font-weight: 700; color: #d30b1a; min-height: 44px; }
.blog-directory-all svg { flex-shrink: 0; }
.blog-directory-topics { display: grid; gap: 6px; }
.blog-directory-topics a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 12px; color: #334155; background: #f8fafc; border: 1px solid #eef2f6; border-radius: 10px; font-size: .85rem; line-height: 1.45; }
.blog-directory-topics a svg { flex-shrink: 0; color: #94a3b8; }
.blog-directory-topics a:hover { background: #fff1f2; border-color: #fecdd3; color: #be123c; }
.blog-directory-empty { padding: 40px 20px; text-align: center; border: 1px dashed #cbd5e1; border-radius: 18px; color: #64748b; background: #fff; }
.blog-directory-empty h3 { margin: 12px 0 8px; color: #0f172a; }
.blog-directory-empty p { font-size: .9rem; }
.blog-directory-empty button { min-height: 44px; padding: 10px 18px; background: #e30613; border: 0; border-radius: 12px; color: #fff; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.blog-directory-content [hidden] { display: none !important; }

/* Homepage discovery: one search entry point plus four quick destinations. */
.blog-home-discovery { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.blog-home-search { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; min-height: 72px; padding: 14px 18px; border: 1px solid #dce4ef; border-radius: 16px; background: #fff; text-align: left; font: inherit; color: #0f172a; cursor: pointer; box-shadow: 0 4px 16px #0f172a03; }
.blog-home-search-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #fff1f2; color: #e30613; }
.blog-home-search-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
.blog-home-search-copy strong { font-size: .95rem; line-height: 1.4; }
.blog-home-search-copy > span { color: #64748b; font-size: .75rem; line-height: 1.5; }
.blog-home-search > svg { flex-shrink: 0; color: #64748b; }
.blog-home-section .blog-home-discovery .analysis-category-bar { flex-shrink: 0; gap: 8px; margin: 0; }
.blog-home-section .blog-home-discovery .analysis-chip { min-height: 44px; padding: 10px 14px; border-radius: 12px; color: #475569; }
.blog-home-section .blog-home-discovery .analysis-chip.active { color: #fff; }
.blog-home-section .analysis-featured-card,
.blog-home-section .analysis-sub-card { box-shadow: 0 4px 20px #0f172a06; border-radius: 16px; }

/* Writing and reading: calmer rhythm without changing article content. */
.article-blog-detail .blog-badges-group { gap: 8px; flex-wrap: wrap; }
.article-blog-detail .article-h1 { letter-spacing: -.035em; }
.article-blog-detail .article-spot { color: #64748b; }
/* Kapak: yuvarlatma/kırpma yalnız GÖRSELE uygulanır. Daha önce figure'da olan overflow:hidden
   figcaption'ı da kırpıyor, caption/credit satırı kesiliyordu. */
.article-blog-detail .article-cover-figure { margin: 0 0 1.5rem; max-width: 100%; }
.article-blog-detail .article-cover-figure .blog-topic-art { min-height: 280px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
.article-blog-detail .article-cover-figure .blog-cover-image { aspect-ratio: 16 / 9; width: 100%; height: auto; max-width: 100%; object-fit: cover; border-radius: 18px; display: block; }
/* Caption + credit: container içinde kalır, sarar, kesilmez. */
.article-blog-detail .article-cover-caption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 0.75rem;
  max-width: 100%; margin-top: 0.4rem; font-size: 0.8rem; line-height: 1.5; color: #64748b;
  overflow: visible; overflow-wrap: anywhere; word-break: break-word; hyphens: auto;
}
.article-blog-detail .article-cover-caption .cover-caption-text { flex: 1 1 260px; min-width: 0; }
.article-blog-detail .article-cover-caption .cover-credit { flex: 0 1 auto; min-width: 0; text-align: right; }
@media (max-width: 575.98px) {
  .article-blog-detail .article-cover-caption { flex-direction: column; }
  .article-blog-detail .article-cover-caption .cover-credit { text-align: left; }
}
.article-blog-detail .article-body { overflow-wrap: anywhere; line-height: 1.85; }
.article-blog-detail .article-body h2 { letter-spacing: -.025em; line-height: 1.4; margin-top: 32px; }
.article-blog-detail .article-body img { max-width: 100%; height: auto; border-radius: 12px; }
.article-blog-detail .article-body table { display: block; max-width: 100%; overflow-x: auto; }
.article-blog-detail .direct-answer-card,
.article-blog-detail .key-takeaways-card,
.article-blog-detail .recipe-card-box,
.article-blog-detail .faq-item,
.article-blog-detail .article-sources-box { border-radius: 16px !important; }
.article-blog-detail .recipe-card-box { border-width: 1px !important; padding: 24px !important; }
.article-blog-detail .recipe-card-box .badge { display: inline-flex; align-items: center; gap: 6px; white-space: normal; line-height: 1.5; padding: 6px 10px; }
.article-blog-detail .blog-detail-icon { vertical-align: middle; flex-shrink: 0; }
.article-blog-detail .recipe-card-box h4 { display: flex; align-items: center; gap: 8px; }
.article-blog-detail .faq-item summary { min-height: 44px; padding: 10px 0; line-height: 1.6; }
.article-blog-detail .article-sources-box { display: block; line-height: 1.8; overflow-wrap: anywhere; }
.article-blog-detail .related-grid > * { min-width: 0; }
.article-blog-detail .related-card { border-radius: 14px; overflow: hidden; }

/* Shared discovery sheet, rendered only for blog and its homepage module. */
.blog-explorer-panel:not(.is-open) { visibility: hidden; }
.blog-explorer-panel.is-open { visibility: visible; }
.blog-explorer-panel .blog-explorer-search-input { font-size: 16px; }
.blog-explorer-panel .blog-explorer-search-box { min-height: 48px; border-radius: 12px; }
.blog-explorer-panel .blog-explorer-close { width: 44px; height: 44px; }
.blog-explorer-panel .blog-explorer-search-clear { width: 44px; height: 44px; flex-shrink: 0; }
.blog-explorer-panel .blog-explorer-root-name { white-space: normal; line-height: 1.5; }
.blog-explorer-panel .blog-explorer-sub-chip { min-height: 44px; }
:is(.blog-premium-page, .blog-home-section, .article-blog-detail, .blog-explorer-panel) :is(a, button, summary, input):focus-visible { outline: 2px solid #e30613; outline-offset: 3px; }
.blog-explorer-panel .blog-explorer-search-input:focus-visible,
.blog-directory-search input:focus-visible { outline: none; }

@media (max-width: 1000px) {
  .blog-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-home-discovery { flex-direction: column; align-items: stretch; gap: 12px; }
}
@media (max-width: 768px) {
  .blog-premium-page .container { width: calc(100% - 28px); padding-left: 0 !important; padding-right: 0 !important; }
  .blog-premium-page :is(.blog-cat-hero, .blog-directory-hero, .archive-header-banner) { padding: 28px 0 !important; }
  .blog-premium-page .blog-cat-hero > .container > div > div { min-width: 0 !important; }
  .blog-premium-page .archive-h1 { font-size: 1.75rem !important; line-height: 1.3 !important; letter-spacing: -.03em !important; }
  .blog-premium-page :is(.archive-desc, .blog-hero-desc) { font-size: .95rem !important; line-height: 1.75 !important; }
  .blog-premium-page .archive-content-container { margin-top: 24px !important; }
  .blog-premium-page .section-title-wrap { flex-direction: column; align-items: flex-start !important; }
  .blog-premium-page .section-title { line-height: 1.4; font-size: 1.1rem !important; }
  .blog-premium-page .blog-popular-topics-row { gap: 8px; }
  .blog-premium-page .blog-popular-topics-label { width: 100%; }
  .blog-premium-page .blog-category-explorer-bar { padding: 16px 0; }
  .blog-directory-content { padding-top: 24px; padding-bottom: 36px; }
  .blog-directory-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
  .blog-directory-toolbar h2 { font-size: 1.2rem; }
  .blog-directory-search { width: 100%; }
  .blog-directory-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .blog-directory-category > summary { min-height: 96px; padding: 16px; gap: 12px; }
  .blog-directory-category-body { padding: 0 16px 16px; }
  .blog-directory-name { font-size: .95rem; }
  .blog-home-section .blog-home-discovery .analysis-category-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .blog-home-section .blog-home-discovery .analysis-chip { justify-content: center; gap: 5px; padding: 10px 4px; font-size: .75rem; }
  .blog-home-section .analysis-featured-footer { align-items: flex-start; gap: 10px; }
  .blog-explorer-panel { max-height: calc(100dvh - 20px); border-radius: 22px 22px 0 0; }
  .blog-explorer-panel .blog-explorer-header { padding: 18px 16px 12px; }
  .blog-explorer-panel .blog-explorer-search-wrap { padding: 0 16px 12px; }
  .blog-explorer-panel .blog-explorer-body { padding: 0 16px 16px; }
  .blog-explorer-panel .blog-explorer-mobile-root { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 3px; padding: 14px; border-radius: 14px; }
  .blog-explorer-panel .blog-explorer-mobile-root-main { grid-row: 1; gap: 12px; min-width: 0; }
  .blog-explorer-panel .blog-explorer-mobile-root-name { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.5; }
  .blog-explorer-panel .blog-explorer-mobile-root-meta { grid-column: 1; margin-left: 48px; }
  .blog-explorer-panel .blog-explorer-mobile-root-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .blog-explorer-panel .blog-explorer-mobile-sub-link { min-height: 48px; border-radius: 12px; line-height: 1.5; }
  .blog-explorer-panel .blog-explorer-mobile-search-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; row-gap: 4px; padding: 12px; min-height: 64px; border-radius: 12px; }
  .blog-explorer-panel .blog-explorer-mobile-search-kind { grid-column: 2; margin: 0; white-space: normal; text-align: left; }
  .blog-explorer-panel .blog-explorer-footer { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .article-blog-detail .article-layout-container { padding-top: 24px; padding-bottom: 36px; }
  .article-blog-detail .article-h1 { font-size: 1.8rem; line-height: 1.35; }
  .article-blog-detail .article-spot { font-size: 1rem; line-height: 1.8; }
  .article-blog-detail .article-meta-bar { gap: 12px; padding: 16px 0; }
  .article-blog-detail .article-meta-left { flex-wrap: wrap; gap: 10px; min-width: 0; }
  .article-blog-detail .article-cover-figure .blog-topic-art { min-height: 180px; }
  .article-blog-detail .article-body { font-size: 1rem; }
  .article-blog-detail .article-body h2 { font-size: 1.3rem; }
  .article-blog-detail :is(.recipe-card-box, .direct-answer-card, .key-takeaways-card) { padding: 18px !important; }
  .article-blog-detail .recipe-card-box h3 { font-size: 1.2rem !important; line-height: 1.5; }
  .article-blog-detail .recipe-card-box :is(ul, ol) { font-size: .95rem; }
  .article-blog-detail .recipe-card-box li { margin-bottom: 8px; }
  .article-blog-detail .author-box { flex-wrap: wrap; }
  .article-blog-detail .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .blog-premium-page .content-cards-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .blog-home-search { padding: 12px; gap: 10px; }
  .blog-home-search-copy strong { font-size: .85rem; }
  .blog-home-search-copy > span { font-size: .7rem; }
  .blog-home-section .analysis-featured-img-wrap { height: 170px; min-height: 170px; }
  .blog-home-section .analysis-featured-body { padding: 18px; }
  .blog-premium-page .analysis-featured-body { padding: 18px; }
  .blog-premium-page .analysis-featured-title { font-size: 1.1rem; }
  .blog-premium-page .analysis-sub-card { padding: 14px; }
  .blog-premium-page .blog-empty-state { padding: 28px 18px !important; }
  .article-blog-detail .related-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .blog-directory-chevron, .blog-explorer-panel, .blog-explorer-backdrop { transition: none !important; }
}
