/**
 * Cakmak Law — Gündem (gundem.css)
 * Başlık bandı, sekmeler ve kartlar blog-archive.css'ten gelir (Akademi/Blog ile aynı);
 * burada yalnızca Gündem'e özgü parçalar var: tarih satırı, PDF işareti, bilgi notu kutusu,
 * kapak/galeri ve kurucu profilindeki "Son etkinlikler" bölümü.
 */

/* ── Kartlar ── */
.gd-card--bilgi-notu { --catc: #8a6a2a; --catc-light: #c9a76a; }

/* Görselsiz paylaşım (çoğunlukla bilgi notu): fotoğraf yerine koyu bordo belge başlığı */
.gd-doc-thumb {
  display: grid;
  place-items: center;
  color: rgba(230, 197, 137, 0.85);
  background:
    radial-gradient(circle at 72% 28%, rgba(201, 167, 106, 0.22), transparent 55%),
    linear-gradient(135deg, #1a0605 0%, #3a0c09 55%, #5d0000 100%);
}

.gd-doc-thumb svg {
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
  transition: transform 0.45s var(--b-ease, ease);
}

.dl-card:hover .gd-doc-thumb svg {
  transform: scale(1.07);
}

.gd-doc-thumb .gd-pdf-chip {
  position: absolute;
  top: 14px;
  right: 14px;
}

.gd-pdf-chip {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  background: #910000;
  border-radius: 4px;
  padding: 3px 7px;
}

.gd-card-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6a2a;
}

.gd-card-date .sep { opacity: 0.5; }

.gd-card .dl-card-meta svg {
  flex-shrink: 0;
  color: #910000;
}

.gd-card .dl-card-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gd-empty {
  text-align: center;
  padding: 56px 20px;
  color: #746b64;
  font-size: 15px;
}

/* ── Tekil sayfa ── */
.gd-pdf-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  margin: 0 0 32px;
  background: linear-gradient(135deg, #fbf7ef, #f6efe2);
  border: 1px solid rgba(201, 167, 106, 0.45);
  border-left: 4px solid #910000;
  border-radius: 12px;
}

.gd-pdf-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  color: #910000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gd-pdf-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.gd-pdf-text strong {
  font-size: 15px;
  color: #1c1917;
}

.gd-pdf-text span {
  font-size: 12.5px;
  color: #746b64;
}

.gd-pdf-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 8px;
  background: #910000;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(145, 0, 0, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}

.gd-pdf-btn:hover {
  background: #6e0000;
  transform: translateY(-1px);
}

.gd-cover {
  margin: 0 0 28px;
  border-radius: 14px;
  overflow: hidden;
  background: #180907;
}

.gd-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.gd-paper .wp-block-gallery {
  gap: 10px;
  margin: 28px 0;
}

.gd-paper .wp-block-gallery img,
.gd-paper .wp-block-image img {
  border-radius: 10px;
}

/* Tek sayıda fotoğrafta son kare tam genişliğe yayılınca boyu sınırlı kalsın */
.gd-paper .wp-block-gallery.has-nested-images figure.wp-block-image img {
  max-height: 360px;
  object-fit: cover;
}

.gd-paper-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(21, 21, 21, 0.08);
  font-size: 13.5px;
  font-weight: 700;
}

.gd-paper-foot a {
  color: #910000;
  text-decoration: none;
}

.gd-paper-foot a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .gd-pdf-box { flex-wrap: wrap; }
  .gd-pdf-btn { width: 100%; justify-content: center; }
}

/* ── Kurucu profili: Son etkinlikler ve bilgi notları ── */
.gd-profile {
  padding: 70px 0;
  background: #fbf9f6;
  border-top: 1px solid rgba(120, 90, 40, 0.12);
}

.gd-profile .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.gd-profile-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.gd-profile-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8a6a2a;
  margin-bottom: 10px;
}

.gd-profile-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3.2vw, 32px);
  color: #1d1612;
  margin: 0;
}

.gd-profile-all {
  color: #910000;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}

.gd-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gd-profile-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(120, 90, 40, 0.12);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gd-profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.gd-profile-thumb {
  height: 180px;
  background: #180907;
  overflow: hidden;
}

.gd-profile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gd-profile-body {
  padding: 20px 22px 22px;
}

.gd-profile-meta {
  font-size: 11px;
  font-weight: 600;
  color: #8a6a2a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.gd-profile-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #1d1612;
}

.gd-profile-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #5a4d3e;
  margin: 0;
}
