/* ===========================
   La Foa — Yayınlar sayfası
   Üç alan yan yana: Haritalar / Kitap / Bilimsel Yayınlar.
   pages-style.css'in :root değişkenlerini kullanır.
   =========================== */

.yy-intro {
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 32px 0;
}
.yy-intro .page-title {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--border);
}

.yy-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 110px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.yy-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.yy-card-head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.yy-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.yy-badge {
  font-family: var(--font-sans);
  font-size: 0.68rem; font-weight: 700;
  color: var(--accent);
  background: rgba(139, 69, 19, 0.08);
  border-radius: 20px;
  padding: 3px 10px;
  font-variant-numeric: tabular-nums;
}

.yy-card-body {
  padding: 18px 24px 0;
}
.yy-card-body p {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-sec);
}

.yy-card-preview {
  margin-top: 18px;
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Haritalar — kaydırmalı şerit */
.yy-map-strip-wrap {
  position: relative;
  align-items: center;
  gap: 6px;
}
.yy-map-strip {
  flex: 1;
  min-width: 0;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.yy-map-strip::-webkit-scrollbar { display: none; }
.yy-map-strip img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 5px;
  border: 1px solid var(--border);
  cursor: zoom-in;
  background: var(--bg);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.yy-strip-arrow {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-sec);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.yy-strip-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Kitap — kapak çerçevesi */
.yy-book-frame {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.yy-book-frame img {
  max-width: 100%;
  max-height: 320px;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(44, 24, 16, 0.22);
  cursor: zoom-in;
  transition: transform .15s;
}
.yy-book-frame img:hover { transform: scale(1.02); }

/* Bilimsel Yayınlar — künye listesi */
.yy-citation-list {
  display: flex;
  flex-direction: column;
}
.yy-citation-list p {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-sec);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.yy-citation-list p:last-child { border-bottom: none; }

/* Lightbox (haritalar için) */
.yy-lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20, 12, 6, 0.92);
  align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.yy-lightbox.open { display: flex; }
.yy-lightbox img {
  max-width: 100%; max-height: 100%;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.yy-lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
.yy-lightbox-close:hover { background: rgba(255,255,255,.3); }

.yy-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: none; color: #fff;
  width: 56px; height: 56px; border-radius: 50%;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: .2s; backdrop-filter: blur(4px);
}
.yy-lightbox-nav:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.1); }
.yy-lightbox-nav:disabled { opacity: .3; cursor: default; }
.yy-lightbox-nav:disabled:hover { background: rgba(255,255,255,.1); transform: translateY(-50%); }
.yy-lightbox-prev { left: 24px; }
.yy-lightbox-next { right: 24px; }
.yy-lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.75); font-family: var(--font-sans);
  font-size: .78rem; font-variant-numeric: tabular-nums;
}

@media (max-width: 980px) {
  .yy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .yy-intro { padding: 120px 20px 0; }
  .yy-grid { padding: 0 20px 80px; }
}
