/* =========================
   BASE CONTENT
========================= */

.page-wrapper{
  padding-top:24px;
  padding-bottom:40px;
}

.pageTitle{
  display:none;
}

.page-wrapper > h1{
  display:none;
}

.small{
  color:#6b7280;
  font-size:14px;
  line-height:1.7;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.card{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:26px;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.card h2,
.card h3{
  margin-top:0;
  color:#111827;
}

.btn2{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.1);
  background:#fff;
  color:#111827;
  font-weight:700;
  text-decoration:none;
}

/* =========================
   BREADCRUMB
========================= */

.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:20px;
  font-size:15px;
  color:rgba(15,23,42,.65);
}

.breadcrumb a{
  color:inherit;
  text-decoration:none;
}

.breadcrumb a:hover{
  color:var(--ackg-green);
}

.breadcrumb .sep{
  opacity:.45;
}

/* =========================
   POSTS
========================= */

.postsList{
  margin-top:6px;
}

.postCard{
  margin-bottom:18px;
}

.postCard h2{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.2;
  font-weight:800;
}

.postExcerpt{
  margin-bottom:12px;
}

.postBody{
  font-size:16px;
  line-height:1.8;
  color:#1f2937;
}

.postBody p{
  margin-top:0;
  margin-bottom:1em;
}

.postCardImage{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:12px;
  display:block;
}

/* =========================
   CHILD PAGES
========================= */

.childPagesSection{
  margin-top:28px;
}

.childPagesSection .sectionTitle{
  text-align:left;
  font-size:28px;
  margin-bottom:18px;
}

.childPageCard{
  display:block;
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease, box-shadow .18s ease;
}

.childPageCard:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 36px rgba(0,0,0,.08);
}

/* =========================
   MISSION
========================= */

.missionPremium{
  padding:72px 0 24px;
}

.missionTitle{
  text-align:center;
  font-size:44px;
  font-weight:800;
  margin:0 0 34px;
}

.missionGrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}

.missionCard{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:34px 28px 30px;
  text-align:center;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.missionCard h3{
  margin:0 0 14px;
  font-size:28px;
  font-weight:800;
}

.missionCard p{
  margin:0;
  font-size:17px;
  line-height:1.75;
  color:#6b7280;
}

.missionIconWrap{
  width:72px;
  height:72px;
  margin:0 auto 18px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.missionIconWrap-people{ background:var(--ackg-red-light); color:var(--ackg-red); }
.missionIconWrap-book{ background:var(--ackg-gold-light); color:var(--ackg-gold-hover); }
.missionIconWrap-heart{ background:var(--ackg-green-light); color:var(--ackg-green); }

.missionIcon{
  font-size:31px;
  line-height:1;
  font-weight:700;
}

/* =========================
   EVENTS
========================= */

.homeEvents{
  padding:70px 0 24px;
}

.eventsGrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.eventCard{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  padding:26px;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.eventDate{
  font-size:14px;
  color:var(--ackg-green);
  font-weight:700;
  margin-bottom:8px;
}

.eventCard h3{ margin:0 0 10px; font-size:20px; }
.eventCard p{ margin:0; color:#6b7280; line-height:1.6; }

/* =========================
   COURSES
========================= */

.courseHomeTop{ margin-top:8px; }

.courseInfoGrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.courseInfoCard{
  background:#fff;
  border:1px solid #E2E8F0;
  border-radius:14px;
  padding:22px 18px;
  text-align:center;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
  position:relative;
  overflow:hidden;
  transition:transform .25s, box-shadow .25s, border-color .25s;
}
.courseInfoCard::before{
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg,#15803D,#22C55E,#FACC15);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s;
}
.courseInfoCard:hover{ transform:translateY(-4px); box-shadow:0 12px 28px rgba(21,128,61,.10); border-color:#BBF7D0; }
.courseInfoCard:hover::before{ transform:scaleX(1); }

.courseInfoCard h3{ margin:0 0 8px; font-size:18px; }
.courseInfoCard p{ margin:0; font-size:14px; color:#6b7280; }

.courseRegisterBox{
  margin-top:34px;
  background:linear-gradient(90deg,var(--ackg-red-light) 0%,var(--ackg-gold-light) 50%,var(--ackg-green-light) 100%);
  border:1px solid rgba(15,23,42,.06);
  border-radius:16px;
  padding:34px 24px;
}

.courseRegisterInner{ max-width:920px; margin:0 auto; text-align:center; }
.courseRegisterInner h2{ margin:0 0 12px; font-size:32px; }
.courseRegisterInner p{ margin:0; font-size:16px; line-height:1.8; color:#4b5563; }

.courseMoreInfo{ margin-top:30px; }
.courseMoreInfo h2{ margin:0 0 12px; font-size:30px; }
.courseMoreInfo p{ margin:0; font-size:16px; line-height:1.8; color:#4b5563; }

.courseActions{
  margin-top:22px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.courseBtnPrimary,
.courseBtnSecondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  transition:transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.courseBtnPrimary{ background:var(--ackg-green); color:#fff; box-shadow:0 10px 24px rgba(221,64,82,.22); }
.courseBtnSecondary{ background:var(--ackg-green); color:#fff; box-shadow:0 10px 24px rgba(221,64,82,.18); }
.courseBtnPrimary:hover, .courseBtnSecondary:hover{ transform:translateY(-1px); opacity:.96; }
.courseMoreInfo .courseActions{ justify-content:flex-start; }

/* =========================
   HERO
========================= */

.heroPremium{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  border-radius:20px;
  overflow:hidden;
  margin-bottom:40px;
  background-image:var(--hero-img);
  background-size:cover;
  background-position:center top;
  width:100vw;
  margin-left:calc(50% - 50vw);
}

.heroPremium::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.25));
}

.heroPremiumInner{ position:relative; z-index:2; width:100%; }
.heroPremiumContent{ max-width:700px; padding:60px 30px; color:#fff; }
.heroPremiumTitle{ font-size:42px; font-weight:800; margin-bottom:14px; }
.heroPremiumSubtitle{ font-size:18px; opacity:.9; margin-bottom:20px; }
.heroPremiumBtn{ display:inline-block; padding:10px 18px; border-radius:10px; background:#fff; color:#111; font-weight:700; }

/* =========================
   HERO SLIDER
========================= */

.heroSlider{
  position:relative;
  height:520px;
  overflow:hidden;
  border-radius:20px;
  width:100vw;
  margin-left:calc(50% - 50vw);
}

.heroSlide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  display:none;
}

.heroSlide.active{ display:flex; align-items:center; }

.heroSlide .heroPremiumContent{
  max-width:700px;
  padding:60px;
  color:#fff;
  z-index:2;
}

.heroSlide::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.25));
}

/* =========================
   HOME CARDS
========================= */

.homeCardsGrid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
}

.homeCard{
  background:#fff;
  border:1px solid #E2E8F0;
  border-radius:16px;
  padding:22px;
  text-align:center;
  transition:transform .25s, box-shadow .25s, border-color .25s;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}
.homeCard::before{
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg,#15803D,#22C55E,#FACC15);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s;
}
.homeCard:hover{ transform:translateY(-4px); box-shadow:0 12px 28px rgba(21,128,61,.10); border-color:#BBF7D0; }
.homeCard:hover::before{ transform:scaleX(1); }
.homeCard.small{ grid-column:span 3; }
.homeCard.medium{ grid-column:span 4; }
.homeCard.big{ grid-column:span 12; }
.homeCard h3{ margin:0 0 8px; font-size:18px; }
.homeCard p{ margin:0; font-size:14px; color:#6b7280; }
.homeCard .courseInfoIcon{ font-size:24px; margin-bottom:10px; }

.courseInfoIcon{
  width:64px;
  height:64px;
  border-radius:16px;
  background:#f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 16px;
}

.courseInfoIcon img{ width:32px; height:32px; }

/* =========================
   HOME SECTIONS
========================= */

.homeSections{ display:flex; flex-direction:column; gap:30px; margin-top:40px; }

.homeSection{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:40px;
  margin:20px 0;
  align-items:center;
  opacity:0;
  transform:translateY(40px);
  transition:.6s ease;
}

.homeSection.show{ opacity:1; transform:translateY(0); }
.homeSection.reverse{ direction:rtl; }
.homeSection.reverse *{ direction:ltr; }

.homeSectionImage{ overflow:hidden; border-radius:20px; }
.homeSectionImage img{ width:100%; border-radius:20px; box-shadow:0 20px 50px rgba(0,0,0,.1); transition:transform .6s ease; }
.homeSection:hover .homeSectionImage img{ transform:scale(1.05); }
.homeSectionText p{ color:#555; line-height:1.7; font-size:16px; }
.homeSectionText h3{ font-size:28px; font-weight:800; margin-bottom:15px; transition:.3s; }
.homeSection:hover h3{ color:var(--ackg-green); }

.sectionBtn{
  display:inline-block;
  margin-top:20px;
  padding:12px 20px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--ackg-green),var(--ackg-green));
  color:#fff;
  font-weight:600;
  transition:.3s;
  text-decoration:none;
}

.sectionBtn:hover{ transform:translateY(-2px); box-shadow:0 10px 25px rgba(0,0,0,.15); }

/* =========================
   MINI SECTIONS
========================= */

.homeSectionsMini{ margin-top:40px; }
.miniRow{ display:flex; gap:16px; overflow:hidden; }

.miniCard{
  min-width:180px;
  max-width:220px;
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  border:1px solid #eee;
  flex-shrink:0;
  transition:transform .2s ease, box-shadow .2s ease;
}

.miniCard img{ width:100%; height:100px; object-fit:cover; }
.miniCard span{ display:block; padding:10px; font-size:14px; font-weight:600; }
.miniCard:hover{ transform:translateY(-3px); box-shadow:0 6px 18px rgba(0,0,0,.08); }

/* =========================
   SHARE BAR
========================= */

.shareBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:24px 0 42px;
  padding:14px 18px;
  border-radius:16px;
  background:#f8f9fb;
  border:1px solid #eee;
  flex-wrap:wrap;
}

.shareText{ font-weight:600; font-size:14px; color:#555; }
.shareIcons{ display:flex; gap:10px; flex-wrap:wrap; }

.shareBtn{
  width:40px;
  height:40px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:18px;
  border:0;
  cursor:pointer;
  transition:all .25s ease;
  text-decoration:none;
  flex-shrink:0;
}

.shareBtn.fb{ background:#1877f2; }
.shareBtn.x{ background:#000; }
.shareBtn.wa{ background:#25d366; }
.shareBtn.tg{ background:#229ed9; }
.shareBtn.li{ background:#0077b5; }
.shareBtn.copy{ background:#6b7280; }
.shareBtn:hover{ transform:translateY(-3px) scale(1.1); box-shadow:0 10px 25px rgba(0,0,0,.2); }

/* =========================
   ANIMATIONS
========================= */

.fadeUp{ opacity:0; transform:translateY(20px); transition:.6s ease; }
.fadeUp.show{ opacity:1; transform:translateY(0); }
.card{ transition:.25s; }
.card:hover{ transform:translateY(-2px); box-shadow:0 10px 25px rgba(0,0,0,.08); }
.card.dragging{ opacity:.6; transform:scale(1.05); box-shadow:0 20px 40px rgba(0,0,0,.25); }
.dragHandle{ user-select:none; cursor:grab; }

/* =========================
   MOBILE — 768px
========================= */

@media(max-width:768px){

  /* Hero slider */
  .heroSlider{ height:300px; border-radius:0; }
  .heroSlide .heroPremiumContent{ padding:30px 20px; }
  .heroPremiumTitle{ font-size:24px; }
  .heroPremiumSubtitle{ font-size:14px; }

  /* Home cards — tek sütun */
  .homeCardsGrid{ grid-template-columns:1fr 1fr; gap:12px; }
  .homeCard.small,
  .homeCard.medium,
  .homeCard.big{ grid-column:span 1; }
  .homeCard{ padding:16px; }
  .homeCard h3{ font-size:14px; }

  /* Home sections — alt alta */
  .homeSection{ grid-template-columns:1fr; gap:20px; }
  .homeSection.reverse{ direction:ltr; }
  .homeSectionText h3{ font-size:20px; }
  .homeSectionText p{ font-size:14px; }

  /* Mini cards scroll */
  .miniRow{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .miniCard{ min-width:140px; }

  /* Grids */
  .grid,
  .missionGrid,
  .eventsGrid{ grid-template-columns:1fr; }
  .missionTitle{ font-size:28px; }
  .missionCard h3{ font-size:20px; }
  .missionCard p{ font-size:15px; }

  /* Course */
  .courseInfoGrid{ grid-template-columns:1fr 1fr; }
  .courseRegisterInner h2,
  .courseMoreInfo h2{ font-size:22px; }

  /* Share bar */
  .shareBar{ flex-direction:column; align-items:flex-start; gap:10px; }
  .shareIcons{ flex-wrap:wrap; }

  /* Post */
  .postCard h2{ font-size:22px; }
  .postBody{ font-size:15px; }

  /* Page wrapper */
  .page-wrapper{ padding-top:16px; padding-bottom:24px; }

  /* Section article */
  .sectionArticle{ padding-bottom:32px; }
  .sectionArticleTitle{ font-size:24px !important; }
  .sectionPostBody{ font-size:15px !important; }
  .sectionHeroImg img{ height:200px !important; }
}

/* =========================
   MOBILE — 480px
========================= */

@media(max-width:480px){
  .homeCardsGrid{ grid-template-columns:1fr; }
  .homeCard.small,
  .homeCard.medium,
  .homeCard.big{ grid-column:span 1; }
  .courseInfoGrid{ grid-template-columns:1fr; }
  .heroSlider{ height:240px; }
  .heroPremiumTitle{ font-size:20px; }
}
/* ============================================================
   KURS GALERİSİ — cgal
   ============================================================ */
.cgal-section {
  margin: 48px 0 32px;
}
.cgal-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--color-dark, #1a1a1a);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #15803D;
  display: inline-block;
}
.cgal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.cgal-item {
  border-radius: 12px;
  overflow: hidden;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.cgal-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
.cgal-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.cgal-item:hover .cgal-img { transform: scale(1.04); }
.cgal-caption {
  padding: 8px 12px;
  font-size: 13px;
  color: #555;
  font-style: italic;
  background: white;
}

/* Lightbox */
.cgal-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cgal-lightbox.open { display: flex; }
.cgal-lb-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cgal-lb-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.cgal-lb-caption {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
  font-style: italic;
}
.cgal-lb-counter {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  margin-top: 6px;
}
.cgal-lb-close,
.cgal-lb-prev,
.cgal-lb-next {
  position: fixed;
  background: rgba(255,255,255,.15);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10000;
}
.cgal-lb-close { top: 16px; right: 16px; font-size: 18px; }
.cgal-lb-prev  { left: 16px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.cgal-lb-next  { right: 16px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.cgal-lb-close:hover,
.cgal-lb-prev:hover,
.cgal-lb-next:hover { background: rgba(255,255,255,.3); }

@media(max-width:600px){
  .cgal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cgal-lb-prev { left: 6px; }
  .cgal-lb-next { right: 6px; }
}
