/* ═══════════════ HERO ═══════════════ */
    .kr-hero {
      position: relative;
      padding: 190px 0 110px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(8,36,20,0.88) 0%, rgba(28,90,52,0.80) 100%),
        url("../../assets/images/egitimvegenclik/kitaplik.jpg") center/cover no-repeat;
      color: #fff;
    }

    .kr-hero .container { position: relative; z-index: 2; }

    .kr-hero h1 {
      font-size: clamp(2.6rem, 6vw, 4.5rem);
      line-height: 1.08;
      margin-bottom: 18px;
      color: #fff;
      max-width: 860px;
    }

    .kr-hero p {
      max-width: 740px;
      font-size: 1.1rem;
      line-height: 1.8;
      color: rgba(255,255,255,0.92);
    }

    .kr-hero .section-tag {
      background: rgba(255,255,255,0.14);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.22);
      margin-bottom: 18px;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 32px;
    }

    .hero-meta-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.2);
      backdrop-filter: blur(8px);
      padding: 10px 18px;
      border-radius: 999px;
      font-size: 0.9rem;
      font-weight: 600;
      color: #fff;
    }

    /* ── TAB NAV (Kitaplık / Resim Köşesi) ── */
    .tab-nav-wrap {
      background: #fff;
      border-bottom: 1px solid #e5f0e8;
      position: sticky;
      top: 88px;
      z-index: 90;
    }

    .tab-nav {
      display: flex;
      gap: 0;
    }

    .tab-btn {
      flex: 1;
      max-width: 260px;
      padding: 20px 24px;
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-medium);
      background: transparent;
      border: none;
      border-bottom: 3px solid transparent;
      cursor: pointer;
      transition: all 0.25s ease;
      font-family: "Poppins", sans-serif;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .tab-btn:hover { color: var(--green-700); }

    .tab-btn.active {
      color: var(--green-800);
      border-bottom-color: var(--green-500);
    }

    .tab-btn .tab-emoji { font-size: 1.2rem; line-height: 1; }

    /* ── SECTION BLOCKS ── */
    .kr-block { padding: 80px 0; }

    .kr-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .kr-row.reverse { direction: rtl; }
    .kr-row.reverse > * { direction: ltr; }

    .kr-image-card {
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(15,77,44,0.10);
      min-height: 360px;
      background: #e8f5ec;
    }

    .kr-image-card img {
      width: 100%; height: 100%;
      min-height: 360px;
      object-fit: cover; display: block;
    }

    .kr-image-placeholder {
      width: 100%; min-height: 360px;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      background: linear-gradient(135deg, #dff5e5 0%, #b9e7c4 100%);
      gap: 14px;
    }

    .kr-image-placeholder .ph-emoji {
      font-size: 4.5rem; line-height: 1; opacity: 0.5;
    }

    .kr-image-placeholder span {
      color: var(--green-700); font-weight: 600;
      font-size: 0.9rem; text-align: center; padding: 0 24px;
    }

    /* ── TEXT ── */
    .kr-text h2 {
      font-size: clamp(1.9rem, 3.5vw, 2.8rem);
      line-height: 1.15; margin-bottom: 16px;
      color: var(--text-dark);
    }

    .kr-text p {
      font-size: 1.04rem; line-height: 1.9;
      color: var(--text-medium); margin-bottom: 14px;
    }

    /* ── LIST ITEMS ── */
    .kr-list {
      display: grid; gap: 13px; margin-top: 20px;
    }

    .kr-list-item {
      display: flex; align-items: flex-start; gap: 14px;
      background: #fff; border-radius: 16px;
      padding: 16px 20px;
      box-shadow: 0 8px 22px rgba(15,77,44,0.07);
    }

    .kr-list-icon {
      flex-shrink: 0; width: 36px; height: 36px;
      border-radius: 10px; background: var(--green-200);
      display: grid; place-items: center;
      font-size: 1.15rem; line-height: 1;
    }

    .kr-list-item strong {
      display: block; color: var(--text-dark);
      font-size: 0.96rem; margin-bottom: 2px;
    }

    .kr-list-item span {
      font-size: 0.86rem; color: var(--text-medium);
    }

    /* ── BOOK CATEGORY CARDS ── */
    .book-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      margin-top: 12px;
    }

    .book-card {
      background: #fff;
      border-radius: 22px;
      padding: 28px 22px;
      box-shadow: 0 10px 30px rgba(15,77,44,0.07);
      text-align: center;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      border-top: 4px solid var(--green-300);
    }

    .book-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 45px rgba(15,77,44,0.13);
    }

    .book-card .bc-emoji {
      font-size: 2.8rem; line-height: 1;
      display: block; margin-bottom: 14px;
    }

    .book-card h3 {
      font-size: 1.05rem; color: var(--text-dark); margin-bottom: 8px;
    }

    .book-card p {
      font-size: 0.88rem; color: var(--text-medium);
      line-height: 1.7; margin: 0;
    }

    .book-card .bc-count {
      display: inline-block; margin-top: 14px;
      padding: 4px 14px; border-radius: 999px;
      background: var(--green-200); color: var(--green-800);
      font-size: 0.78rem; font-weight: 700;
    }

    /* ── DIVIDER between sections ── */
    .section-divider {
      border: none;
      border-top: 2px dashed var(--green-200);
      margin: 0;
    }

    /* ── RESIM KÖŞESI — gallery showcase ── */
    .gallery-masonry {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-auto-rows: 200px;
      gap: 16px;
      margin-top: 32px;
    }

    .gallery-slot {
      border-radius: 18px;
      overflow: hidden;
      background: linear-gradient(135deg, #dff5e5 0%, #b9e7c4 100%);
      box-shadow: 0 8px 24px rgba(15,77,44,0.08);
      transition: transform 0.25s ease;
    }

    .gallery-slot:hover { transform: scale(1.02); }

    .gallery-slot.tall { grid-row: span 2; }
    .gallery-slot.wide { grid-column: span 2; }

    .gallery-slot img {
      width: 100%; height: 100%;
      object-fit: cover; display: block;
    }

    .gallery-slot-empty {
      width: 100%; height: 100%;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 8px;
    }

    .gallery-slot-empty .ph-emoji {
      font-size: 2rem; opacity: 0.4; line-height: 1;
    }

    .gallery-slot-empty span {
      font-size: 0.78rem; color: var(--green-700);
      font-weight: 600; text-align: center; padding: 0 10px;
    }

    /* ── COMPETITION CARDS ── */
    .comp-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 22px;
      margin-top: 20px;
    }

    .comp-card {
      background: #fff;
      border-radius: 20px;
      padding: 26px 24px;
      box-shadow: 0 10px 28px rgba(15,77,44,0.07);
      display: flex; gap: 18px; align-items: flex-start;
    }

    .comp-card .comp-icon {
      flex-shrink: 0;
      width: 48px; height: 48px;
      border-radius: 14px;
      background: var(--green-100);
      display: grid; place-items: center;
      font-size: 1.5rem; line-height: 1;
    }

    .comp-card h4 {
      font-size: 1rem; color: var(--text-dark); margin-bottom: 6px;
    }

    .comp-card p {
      font-size: 0.87rem; color: var(--text-medium);
      line-height: 1.7; margin: 0;
    }

    /* ── STATS ── */
    .stats-band {
      background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
      padding: 56px 0;
    }

    .stats-band-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px; text-align: center;
    }

    .stats-band-item strong {
      display: block; font-size: 2.6rem;
      font-weight: 800; color: #fff; line-height: 1;
    }

    .stats-band-item .si-emoji {
      display: block; font-size: 1.6rem; margin-bottom: 6px;
    }

    .stats-band-item span {
      display: block; margin-top: 6px;
      color: rgba(255,255,255,0.82); font-size: 0.92rem;
    }

    /* ── CTA CARD ── */
    .kr-apply-card {
      background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
      border-radius: 28px;
      padding: 52px 48px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 32px; color: #fff;
    }

    .kr-apply-card h2 {
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      color: #fff; margin-bottom: 10px;
    }

    .kr-apply-card p {
      color: rgba(255,255,255,0.85); max-width: 560px; margin: 0;
    }

    .kr-apply-card .btn-apply {
      white-space: nowrap; background: #fff;
      color: var(--green-800); padding: 16px 28px;
      border-radius: 999px; font-weight: 700;
      transition: var(--transition); display: inline-block;
    }

    .kr-apply-card .btn-apply:hover {
      transform: translateY(-2px); background: var(--green-100);
    }

    .soft-kr { background: #f3f8f3; }

    /* ═══════════════ RESPONSIVE ═══════════════ */
    @media (max-width: 960px) {
      .kr-row, .kr-row.reverse {
        grid-template-columns: 1fr; direction: ltr;
      }
      .kr-hero { padding: 150px 0 80px; }
      .book-grid { grid-template-columns: 1fr 1fr; }
      .gallery-masonry { grid-template-columns: 1fr 1fr; }
      .gallery-slot.wide { grid-column: span 1; }
      .gallery-slot.tall { grid-row: span 1; }
      .stats-band-grid { grid-template-columns: repeat(2, 1fr); }
      .comp-grid { grid-template-columns: 1fr; }
      .kr-apply-card { grid-template-columns: 1fr; padding: 36px 28px; }
      .tab-nav { overflow-x: auto; }
    }

    @media (max-width: 600px) {
      .book-grid { grid-template-columns: 1fr; }
      .gallery-masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
      .hero-meta { flex-direction: column; }
    }