/* ============================================================
   article.css — CMS sayfa görüntüleme (sayfa.aspx)
   About Us, Terms, Services, Membership, Special Catalogs
   ============================================================ */

.article-container { padding: 32px 40px 48px; max-width: 820px; margin: 0 auto; }

.cms-article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}
.cms-article h1,
.cms-article h2,
.cms-article h3 {
  font-family: var(--font-display);
  color: var(--burgundy-dark);
  margin-top: 28px;
  margin-bottom: 12px;
}
.cms-article h1:first-child,
.cms-article h2:first-child,
.cms-article h3:first-child { margin-top: 0; }
.cms-article p { margin-bottom: 14px; }
.cms-article a { color: var(--burgundy); }
.cms-article a:hover { color: var(--burgundy-dark); text-decoration: underline; }
.cms-article ul, .cms-article ol { padding-left: 24px; margin-bottom: 16px; }
.cms-article li { margin-bottom: 6px; }
.cms-article blockquote {
  border-left: 3px solid var(--burgundy);
  padding-left: 16px;
  margin: 16px 0;
  color: var(--muted);
  font-style: italic;
}
.cms-article img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 12px 0;
}

/* CMS HTML içeriğinde kullanılabilecek section/list block'ları
   (panele yapıştırıldığında stillenir) */
.cms-article p.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--burgundy-dark);
  font-style: italic;
  border-left: 3px solid var(--burgundy);
  padding: 10px 0 10px 18px;
  margin-bottom: 28px;
}
.cms-article .terms-section { margin-bottom: 36px; }
.cms-article .terms-section:last-child { margin-bottom: 0; }
.cms-article .terms-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--burgundy-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cms-article .terms-section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: var(--burgundy);
  border-radius: 2px;
  flex-shrink: 0;
}
.cms-article .terms-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}
.cms-article .terms-list li {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.cms-article .terms-list li::before {
  content: '—';
  color: var(--burgundy);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   CMS zengin içerik blokları — About / Services (panele yapıştırılan
   HTML bu class'ları kullanır). Hepsi .cms-article altında scope'lu.
   ============================================================ */

/* Giriş alıntısı / lead */
.cms-article .cms-lead {
  background: var(--burgundy-pale);
  border-left: 3px solid var(--burgundy);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 28px;
}
.cms-article .cms-lead p {
  margin: 0;
  font-size: 17px;
  font-style: italic;
  color: var(--burgundy-dark);
  line-height: 1.6;
}

/* Kart */
.cms-article .cms-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  overflow: hidden;
}
.cms-article .cms-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  padding: 12px 18px;
}
/* Başlık ikonu: taslakta burgundy başlıkta beyaz değil, default (koyu) renkte */
.cms-article .cms-card-title .ico { font-size: 18px; line-height: 1; flex-shrink: 0; color: var(--ink); }
.cms-article .cms-card-body { padding: 18px 20px; }
.cms-article .cms-card-body > p:last-child { margin-bottom: 0; }

/* Kart içi listeler — taslak .service-list: '—' prefix + cream zemin + gold border */
.cms-article .cms-card-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 0;
  margin-bottom: 0;
}
.cms-article .cms-card-body li {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  padding: 6px 10px 6px 14px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--gold);
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 0;
}
.cms-article .cms-card-body li::before {
  content: '—';
  color: var(--burgundy);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

/* Özellik / supply grid */
.cms-article .cms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cms-article .cms-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: border-color var(--t-base), background var(--t-base);
}
.cms-article .cms-feature:hover { border-color: var(--burgundy); background: var(--burgundy-pale); }
.cms-article .cms-feature .ico {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--burgundy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.cms-article .cms-feature h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-family: var(--font-display);
  color: var(--burgundy-dark);
}
.cms-article .cms-feature p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* İstatistik şeridi */
.cms-article .cms-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.cms-article .cms-stat { text-align: center; }
.cms-article .cms-stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
}
.cms-article .cms-stat-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* Etiket listesi (subject tags) */
.cms-article .cms-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cms-article .cms-tag {
  background: var(--burgundy-pale);
  color: var(--burgundy);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 16px;
  border: 1px solid var(--gold);
}

/* İki kolonlu liste */
.cms-article .cms-collist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.cms-article .cms-collist ul { margin-bottom: 0; }

@media (max-width: 640px) {
  .article-container { padding: 16px; }
  .cms-article { padding: 20px; }
  .cms-article .cms-grid,
  .cms-article .cms-stats,
  .cms-article .cms-collist { grid-template-columns: 1fr; }
}
