/*
Theme Name: Betifa Child
Theme URI: https://betifa.online
Description: Understrap child theme - Betifa. Beyaz-kırmızı, hafif, SEO odaklı.
Author: Betifa
Template: understrap
Version: 2.0.0
Text Domain: betifa-child
*/

/* Critical CSS header.php içinde inline.
   Burada sadece fold-altı (below the fold) stiller var. */

/* ---- Makale içi tipografi ---- */
.entry-content h2 { font-size: 1.6rem; margin: 2rem 0 .75rem; color: #c8102e; }
.entry-content h3 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; color: #8f0b21; }
.entry-content p { line-height: 1.75; margin-bottom: 1.1rem; color: #1c1f26; }
.entry-content ul, .entry-content ol { line-height: 1.7; margin: 0 0 1.2rem 1.2rem; color: #1c1f26; }
.entry-content a { color: #c8102e; text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: #8f0b21; }
.entry-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 1rem 0; }
.entry-content blockquote { border-left: 4px solid #c8102e; background: #fdf2f4; padding: 1rem 1.25rem; margin: 1.25rem 0; border-radius: 0 8px 8px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .95rem; }
.entry-content th { background: #c8102e; color: #ffffff; padding: .6rem .8rem; text-align: left; }
.entry-content td { padding: .55rem .8rem; border-bottom: 1px solid #e6e8ee; color: #1c1f26; }
.entry-content tr:nth-child(even) td { background: #f8f9fb; }

/* ---- SSS (FAQ) accordion ---- */
.faq-item { border: 1px solid #e6e8ee; border-radius: 10px; margin-bottom: .6rem; background: #ffffff; }
.faq-item summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 600; color: #1c1f26; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: #c8102e; font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] { border-color: #c8102e; }
.faq-item p { padding: 0 1.1rem 1rem; margin: 0; color: #5a616e; }

/* ---- Kart grid ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.info-card { background: #ffffff; border: 1px solid #e6e8ee; border-radius: 12px; padding: 1.25rem; transition: border-color .15s, box-shadow .15s; }
.info-card:hover { border-color: #c8102e; box-shadow: 0 2px 12px rgba(200,16,46,.08); }
.info-card h3 { color: #c8102e; font-size: 1.1rem; margin-bottom: .5rem; }
.info-card h3 a { color: inherit; text-decoration: none; }
.info-card p { color: #5a616e; font-size: .95rem; line-height: 1.6; margin: 0; }

/* ---- Bölüm başlıkları ---- */
.section-title { color: #1c1f26; font-size: 1.5rem; margin: 2rem 0 1rem; padding-bottom: .5rem; border-bottom: 3px solid #c8102e; display: inline-block; }

/* ---- Breadcrumb ---- */
.breadcrumb-nav { font-size: .85rem; color: #8a909d; margin-bottom: 1rem; }
.breadcrumb-nav a { color: #8a909d; text-decoration: none; }
.breadcrumb-nav a:hover { color: #c8102e; }

/* ---- Sayfalama ---- */
.pagination .page-numbers { display: inline-block; padding: .45rem .85rem; border: 1px solid #e6e8ee; border-radius: 8px; color: #1c1f26; text-decoration: none; margin-right: .3rem; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: #c8102e; color: #fff; border-color: #c8102e; }

/* ---- Footer ---- */
.site-footer { background: #1c1f26; padding: 2rem 0; margin-top: 3rem; font-size: .9rem; color: #b9bec9; }
.site-footer a { color: #e6e8ee; text-decoration: none; }
.site-footer a:hover { color: #ff9daa; }

@media (max-width: 576px) {
  .entry-content h2 { font-size: 1.35rem; }
  .card-grid { grid-template-columns: 1fr; }
}

/* ---- Kullanıcı yorum kartları ---- */
.review-card { display: flex; flex-direction: column; }
.review-text { color: #1c1f26 !important; font-size: .95rem; line-height: 1.65; font-style: italic; flex: 1; }
.review-author { color: #c8102e !important; font-weight: 700; font-size: .9rem; margin-top: .75rem !important; }
