/* ============================================================
   SiberTenis — içerik sayfaları (blog/, kulupler/) — 29.10.2026
   Tüm sınıflar "cp-" önekli; body.cp-page kapsamında çalışır.
   Renkler custom.css paletinden (--st-*) gelir.
   Üreteçler: SEO_Generator/_run-blog.js, _run-seo.js
   ============================================================ */

/* main.css "section { padding:60px 0; overflow:hidden }" içerik bölümlerine uygulanmasın */
.cp-page main section { padding: 0; overflow: visible; }
.cp-page { overflow-x: hidden; }

/* ---------- Üst bant (hero) ---------- */
.cp-page .cp-hero {
  background: linear-gradient(135deg, #054d3f 0%, #0a6e5c 55%, #0d8a6f 100%);
  color: #fff;
  padding: 48px 0 36px;
  overflow: hidden;
}
.cp-hero h1 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.cp-hero .cp-lead { color: rgba(255,255,255,.85); margin-bottom: 0; }
.cp-crumbs { font-size: .85rem; margin: 0 0 14px; color: rgba(255,255,255,.6); overflow-wrap: anywhere; }
.cp-crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.cp-crumbs a:hover { color: #fff; text-decoration: underline; }
.cp-crumbs .cp-current { color: #fff; }
.cp-meta { color: rgba(255,255,255,.8); font-size: .9rem; }
.cp-club-logo { width: 80px; height: 80px; flex: 0 0 80px; object-fit: contain; border-radius: 12px; background: #fff; padding: 6px; }

/* ---------- Ana içerik ---------- */
.cp-main { padding: 48px 0; }
.cp-title { font-family: var(--font-primary); font-weight: 700; color: var(--st-dark, #1a1a2e); font-size: 1.5rem; margin-bottom: 18px; }
.cp-title .bi { color: var(--st-primary, #0a6e5c); }

/* ---------- Makale gövdesi ---------- */
.cp-article { font-size: 1.05rem; line-height: 1.8; color: #2d3748; overflow-wrap: break-word; }
.cp-article h2 { font-family: var(--font-primary); font-weight: 700; color: var(--st-dark, #1a1a2e); margin: 2rem 0 1rem; font-size: 1.45rem; }
.cp-article h3 { font-family: var(--font-primary); font-weight: 600; color: var(--st-primary-dark, #054d3f); margin: 1.5rem 0 .8rem; font-size: 1.15rem; }
.cp-article blockquote { border-left: 4px solid var(--st-accent, #f7941d); padding: 12px 20px; background: #fff8ef; margin: 1.5rem 0; font-style: italic; }
.cp-article ul, .cp-article ol { padding-left: 1.3rem; }
.cp-article li { margin-bottom: .4rem; }

/* WhatsApp benzeri örnek mesaj kutuları */
.cp-chat { background: #efeae2; border-radius: 14px; padding: 14px; margin: 1rem 0 1.4rem; }
.cp-msg { max-width: 92%; border-radius: 10px; padding: 9px 12px; font-size: .95rem; line-height: 1.55; box-shadow: 0 1px 1px rgba(0,0,0,.08); margin-bottom: 8px; }
.cp-msg:last-child { margin-bottom: 0; }
.cp-msg-in { background: #d9fdd3; margin-left: auto; }
.cp-msg-out { background: #fff; }
.cp-msg small { display: block; font-size: .72rem; color: #667781; margin-bottom: 2px; font-weight: 600; }

/* ---------- Etiket, CTA, ilgili kutusu ---------- */
.cp-tag { display: inline-block; background: var(--st-primary-light, #e6f5f1); color: var(--st-primary-dark, #054d3f); padding: 4px 12px; border-radius: 16px; font-size: .8rem; margin: 2px; text-decoration: none; }
a.cp-tag:hover { background: var(--st-primary, #0a6e5c); color: #fff; }
.cp-tag-new { background: var(--st-accent, #f7941d); color: #fff; font-weight: 700; letter-spacing: .4px; }

.cp-page main section.cp-cta,
.cp-cta {
  background: linear-gradient(135deg, #0a6e5c, #054d3f);
  border-radius: 16px;
  padding: 32px 24px;
  color: #fff;
  text-align: center;
  margin: 2rem 0;
}
.cp-cta h2, .cp-cta h3 { font-family: var(--font-primary); font-weight: 700; color: #fff; }
.cp-cta p { color: rgba(255,255,255,.9); }
.cp-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.cp-btn {
  display: inline-block;
  background: var(--st-accent, #f7941d);
  color: #fff;
  font-weight: 700;
  border-radius: 24px;
  padding: 10px 26px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.cp-btn:hover { background: var(--st-accent-hover, #e07f08); color: #fff; transform: translateY(-1px); }
.cp-btn-ghost { background: transparent; border: 2px solid #fff; color: #fff; padding: 8px 24px; }
.cp-btn-ghost:hover { background: rgba(255,255,255,.12); }

.cp-related { border: 1px solid #e2e8f0; border-left: 4px solid var(--st-accent, #f7941d); border-radius: 12px; padding: 16px 20px; margin: 1.5rem 0; background: #fff; }
.cp-related h4 { font-family: var(--font-primary); font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--st-dark, #1a1a2e); }
.cp-related ul { list-style: none; padding: 0; margin: 0; }
.cp-related li { padding: 4px 0; }
.cp-related a { color: var(--st-primary, #0a6e5c); font-weight: 600; }

/* ---------- Kenar çubuğu ---------- */
.cp-side { background: #f8f9fc; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.cp-side h4 { font-family: var(--font-primary); font-weight: 700; font-size: 1rem; color: var(--st-dark, #1a1a2e); margin-bottom: 12px; }
.cp-side ul { list-style: none; padding: 0; margin: 0; }
.cp-side ul li { padding: 6px 0; border-bottom: 1px solid #e9ecef; }
.cp-side ul li:last-child { border-bottom: none; }
.cp-side ul li a { color: var(--st-primary, #0a6e5c); text-decoration: none; }
.cp-side ul li a:hover { text-decoration: underline; }

/* ---------- Blog listesi ---------- */
.cp-post { border: 0; border-radius: 12px; box-shadow: var(--st-shadow-sm, 0 2px 8px rgba(0,0,0,.06)); transition: box-shadow .2s, transform .2s; }
.cp-post:hover { box-shadow: var(--st-shadow-md, 0 4px 20px rgba(0,0,0,.08)); transform: translateY(-2px); }
.cp-post-new { border-top: 4px solid var(--st-accent, #f7941d); }
.cp-post h3 { font-family: var(--font-primary); font-weight: 700; font-size: 1.1rem; color: var(--st-dark, #1a1a2e); }
.cp-post h3 a { color: inherit; text-decoration: none; }
.cp-post h3 a:hover { color: var(--st-primary, #0a6e5c); }
.cp-post p { font-size: .9rem; color: #6b7280; margin-bottom: 12px; }
.cp-date, .cp-read { font-size: .8rem; color: #6b7280; }
.cp-date { margin-left: 8px; }
.cp-more { color: var(--st-primary, #0a6e5c); font-weight: 600; font-size: .9rem; text-decoration: none; }

/* ---------- Kulüp sayfası ---------- */
.cp-stat { background: #f8f9fc; border-radius: 12px; padding: 20px 12px; text-align: center; height: 100%; transition: transform .2s, box-shadow .2s; }
.cp-stat:hover { transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0,0,0,.08); }
.cp-stat .num { font-size: 2rem; font-weight: 700; color: var(--st-primary, #0a6e5c); font-family: var(--font-primary); line-height: 1.2; overflow-wrap: anywhere; }
.cp-stat .label { color: #6b7280; font-size: .9rem; }
.cp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--st-primary-light, #e6f5f1); color: var(--st-primary-dark, #054d3f); border-radius: 20px; font-size: .85rem; font-weight: 500; margin: 4px; }
.cp-hero .cp-badge { background: rgba(255,255,255,.15); color: #fff; }
.cp-venue-table th { background: var(--st-primary, #0a6e5c); color: #fff; font-weight: 600; white-space: nowrap; }
.cp-venue-table td { vertical-align: middle; }
.cp-faq { border: 1px solid #e9ecef; border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
.cp-faq h3 { font-size: 1rem; font-weight: 600; color: var(--st-dark, #1a1a2e); margin-bottom: 8px; }
.cp-faq p { color: #495057; margin: 0; font-size: .92rem; }

/* Kulüp kartı (dizin + "diğer kulüpler") */
.cp-card { border: 1px solid #e9ecef; border-radius: 12px; padding: 16px 10px; text-align: center; text-decoration: none; color: inherit; display: block; height: 100%; background: #fff; transition: box-shadow .2s, border-color .2s; }
.cp-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,.1); border-color: var(--st-primary, #0a6e5c); color: inherit; }
.cp-card img, .cp-card .cp-noimg { width: 50px; height: 50px; object-fit: contain; margin: 0 auto 8px; display: block; }
.cp-card .cp-card-name { font-weight: 600; overflow-wrap: anywhere; }
.cp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; background: rgba(255,255,255,.15); border-radius: 24px; color: #fff; font-weight: 500; margin: 4px; }

/* ---------- Mobil ---------- */
@media (max-width: 575.98px) {
  .cp-hero { padding: 32px 0 26px; }
  .cp-hero h1 { font-size: 1.5rem; }
  .cp-main { padding: 32px 0; }
  .cp-title { font-size: 1.25rem; }
  .cp-article { font-size: 1rem; }
  .cp-article h2 { font-size: 1.25rem; }
  .cp-stat .num { font-size: 1.5rem; }
  .cp-page main section.cp-cta, .cp-cta { padding: 24px 16px; }
  .cp-pill { padding: 6px 12px; font-size: .85rem; }
}
