/* AstroTema — ana sayfa yerleşimi ve tipografi */

/* Masaüstünde yalnızca danışmanlık kartlarından yazılara geçiş. */
@media(min-width:981px){
  html body:is(.home,.front-page,.page-template-front-page) .az-site-main > .az-home-services:has(+ .az-home-blog-section){
    padding-bottom:0!important;margin-bottom:0!important;
  }
  html body:is(.home,.front-page,.page-template-front-page) .az-site-main > .az-home-services + .az-home-blog-section{
    padding-top:0!important;margin-top:16px!important;
  }
  html body:is(.home,.front-page,.page-template-front-page) .az-site-main > .az-home-services + .az-home-blog-section > .az-section-head,
  html body:is(.home,.front-page,.page-template-front-page) .az-site-main > .az-home-services + .az-home-blog-section > .az-section-head h2{
    margin-top:0!important;
  }
}


/* İki aktif danışmanlık hizmeti masaüstünde alanı eşit paylaşır. */
html body:is(.home,.front-page,.page-template-front-page) .az-home-services .az-cards{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
@media(max-width:900px){
  html body:is(.home,.front-page,.page-template-front-page) .az-home-services .az-cards{grid-template-columns:1fr!important;}
}

body.home,
body.front-page,
body.page-template-front-page{
  background-color:var(--az-color-background,var(--az-bg,#43385D))!important;
  background-image:none!important;
}

/* Referans düzen: ilk sırada iki büyük, ikinci sırada üç küçük 16:9 yazı kartı. */
body.home .az-home-post-grid,
body.front-page .az-home-post-grid,
body.page-template-front-page .az-home-post-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}

body.home .az-home-post-grid > .az-post-card,
body.front-page .az-home-post-grid > .az-post-card,
body.page-template-front-page .az-home-post-grid > .az-post-card{
  position:relative!important;
  display:block!important;
  grid-column:span 2;
  min-width:0!important;
  aspect-ratio:16/9!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:rgba(var(--az-card-bg-rgb,81,67,106),.28)!important;
  background-image:none!important;
  border:0!important;
  border-radius:10px!important;
  box-shadow:none!important;
}

body.home .az-home-post-grid > .az-post-card:nth-child(-n+2),
body.front-page .az-home-post-grid > .az-post-card:nth-child(-n+2),
body.page-template-front-page .az-home-post-grid > .az-post-card:nth-child(-n+2){grid-column:span 3}

body.home .az-home-post-grid > .az-post-card:only-child,
body.front-page .az-home-post-grid > .az-post-card:only-child,
body.page-template-front-page .az-home-post-grid > .az-post-card:only-child,
body.home .az-home-post-grid > .az-post-card:nth-child(3):last-child,
body.front-page .az-home-post-grid > .az-post-card:nth-child(3):last-child,
body.page-template-front-page .az-home-post-grid > .az-post-card:nth-child(3):last-child{grid-column:1/-1}

body.home .az-home-post-grid > .az-post-card:nth-child(3):nth-last-child(2),
body.home .az-home-post-grid > .az-post-card:nth-child(4):last-child,
body.front-page .az-home-post-grid > .az-post-card:nth-child(3):nth-last-child(2),
body.front-page .az-home-post-grid > .az-post-card:nth-child(4):last-child,
body.page-template-front-page .az-home-post-grid > .az-post-card:nth-child(3):nth-last-child(2),
body.page-template-front-page .az-home-post-grid > .az-post-card:nth-child(4):last-child{grid-column:span 3}

body.home .az-home-post-grid .az-thumb,
body.front-page .az-home-post-grid .az-thumb,
body.page-template-front-page .az-home-post-grid .az-thumb{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:16/9!important;
  margin:0!important;
  overflow:hidden!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
}

body.home .az-home-post-grid .az-thumb img,
body.front-page .az-home-post-grid .az-thumb img,
body.page-template-front-page .az-home-post-grid .az-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  object-fit:cover!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

body.home .az-home-post-grid .az-card-image-shade,
body.front-page .az-home-post-grid .az-card-image-shade,
body.page-template-front-page .az-home-post-grid .az-card-image-shade{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:block!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,transparent 48%,rgba(12,7,18,.84) 100%)!important;
}

body.home .az-home-post-grid .az-card-image-title,
body.front-page .az-home-post-grid .az-card-image-title,
body.page-template-front-page .az-home-post-grid .az-card-image-title{
  position:absolute!important;
  right:clamp(18px,2.3vw,30px)!important;
  bottom:clamp(18px,2.3vw,28px)!important;
  left:clamp(18px,2.3vw,30px)!important;
  z-index:2!important;
  margin:0!important;
  color:var(--az-color-card-title,var(--az-color-heading,#F5F7FF))!important;
  font-size:clamp(21px,2vw,29px)!important;
  line-height:1.13!important;
  letter-spacing:-.025em!important;
  text-align:left!important;
  text-shadow:none!important;
  pointer-events:none!important;
}

body.home .az-home-post-grid > .az-post-card:nth-child(-n+2) .az-card-image-title,
body.front-page .az-home-post-grid > .az-post-card:nth-child(-n+2) .az-card-image-title,
body.page-template-front-page .az-home-post-grid > .az-post-card:nth-child(-n+2) .az-card-image-title{
  font-size:clamp(28px,2.8vw,40px)!important;
}

body.home .az-home-post-grid .az-post-card-body,
body.front-page .az-home-post-grid .az-post-card-body,
body.page-template-front-page .az-home-post-grid .az-post-card-body{display:none!important}

@media(max-width:900px){
  body.home .az-home-post-grid,
  body.front-page .az-home-post-grid,
  body.page-template-front-page .az-home-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.home .az-home-post-grid > .az-post-card,
  body.front-page .az-home-post-grid > .az-post-card,
  body.page-template-front-page .az-home-post-grid > .az-post-card{grid-column:span 1!important}
  body.home .az-home-post-grid > .az-post-card:last-child:nth-child(odd),
  body.front-page .az-home-post-grid > .az-post-card:last-child:nth-child(odd),
  body.page-template-front-page .az-home-post-grid > .az-post-card:last-child:nth-child(odd){grid-column:1/-1!important}
  body.home .az-home-post-grid .az-card-image-title,
  body.front-page .az-home-post-grid .az-card-image-title,
  body.page-template-front-page .az-home-post-grid .az-card-image-title,
  body.home .az-home-post-grid > .az-post-card:nth-child(-n+2) .az-card-image-title,
  body.front-page .az-home-post-grid > .az-post-card:nth-child(-n+2) .az-card-image-title,
  body.page-template-front-page .az-home-post-grid > .az-post-card:nth-child(-n+2) .az-card-image-title{font-size:clamp(21px,3.2vw,28px)!important}
}

@media(max-width:620px){
  body.home .az-home-post-grid,
  body.front-page .az-home-post-grid,
  body.page-template-front-page .az-home-post-grid{grid-template-columns:1fr!important;gap:10px!important}
  body.home .az-home-post-grid > .az-post-card,
  body.front-page .az-home-post-grid > .az-post-card,
  body.page-template-front-page .az-home-post-grid > .az-post-card{grid-column:1/-1!important;border-radius:8px!important}
  body.home .az-home-post-grid .az-card-image-title,
  body.front-page .az-home-post-grid .az-card-image-title,
  body.page-template-front-page .az-home-post-grid .az-card-image-title,
  body.home .az-home-post-grid > .az-post-card:nth-child(-n+2) .az-card-image-title,
  body.front-page .az-home-post-grid > .az-post-card:nth-child(-n+2) .az-card-image-title,
  body.page-template-front-page .az-home-post-grid > .az-post-card:nth-child(-n+2) .az-card-image-title{right:18px!important;bottom:17px!important;left:18px!important;font-size:clamp(21px,6vw,27px)!important}
}

/* Slider: mor aura/bulut katmanları olmadan düz ve temiz yüzey. */
body.home .az-premium-slider,
body.front-page .az-premium-slider,
body.page-template-front-page .az-premium-slider{
  background-color:var(--az-color-background,var(--az-bg,#43385D))!important;
  background-image:none!important;
  box-shadow:none!important;
}

body.home .az-premium-slider.az-slider-text-shadow .az-slide h1,
body.front-page .az-premium-slider.az-slider-text-shadow .az-slide h1,
body.page-template-front-page .az-premium-slider.az-slider-text-shadow .az-slide h1{
  text-shadow:0 2px 10px rgba(22,14,34,.22)!important;
}

body.home .az-premium-slider.az-slider-text-shadow .az-slide p,
body.front-page .az-premium-slider.az-slider-text-shadow .az-slide p,
body.page-template-front-page .az-premium-slider.az-slider-text-shadow .az-slide p{
  text-shadow:none!important;
}

/* Danışmanlık ve etkinlik kartları tema arka planını doğrudan kullanır. */
body.home .az-cards .az-card,
body.front-page .az-cards .az-card,
body.page-template-front-page .az-cards .az-card,
body.home .az-events-grid .az-home-event-card,
body.front-page .az-events-grid .az-home-event-card,
body.page-template-front-page .az-events-grid .az-home-event-card{
  background:var(--az-color-background,#43385D)!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}

body.home .az-service-card-link,
body.front-page .az-service-card-link,
body.page-template-front-page .az-service-card-link{
  display:block!important;
  padding:0 0 22px!important;
  overflow:hidden!important;
  color:inherit!important;
  text-decoration:none!important;
  border-radius:0!important;
  filter:none!important;
}

body.home .az-service-card-link:focus-visible,
body.front-page .az-service-card-link:focus-visible,
body.page-template-front-page .az-service-card-link:focus-visible{
  outline:2px solid var(--az-color-secondary,#AC74AF)!important;
  outline-offset:4px!important;
}

body.home .az-service-card-meta,
body.front-page .az-service-card-meta,
body.page-template-front-page .az-service-card-meta{
  display:block!important;
  margin-top:18px!important;
  color:var(--az-color-secondary,#AC74AF)!important;
  font-size:1rem!important;
  font-weight:700!important;
}

body.home .az-service-card-visual,
body.front-page .az-service-card-visual,
body.page-template-front-page .az-service-card-visual{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:250px!important;
  margin:0 0 18px!important;
  overflow:hidden!important;
  background:var(--az-color-background,#43385D)!important;
  background:color-mix(in srgb,var(--az-color-background,#43385D) 88%,#160E22 12%)!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
}

body.home .az-service-card-visual > img,
body.front-page .az-service-card-visual > img,
body.page-template-front-page .az-service-card-visual > img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:18px 28px 62px!important;
  object-fit:contain!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
}

body.home .az-service-card-visual h3,
body.front-page .az-service-card-visual h3,
body.page-template-front-page .az-service-card-visual h3{
  position:absolute!important;
  right:12px!important;
  bottom:18px!important;
  left:12px!important;
  z-index:2!important;
  margin:0!important;
  padding:0!important;
  color:var(--az-color-heading,#F5F7FF)!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-size:clamp(20px,2vw,26px)!important;
  line-height:1.2!important;
  text-align:center!important;
  text-shadow:none!important;
}

body.home .az-home-event-card h3,
body.home .az-home-event-card h3 a,
body.front-page .az-home-event-card h3,
body.front-page .az-home-event-card h3 a,
body.page-template-front-page .az-home-event-card h3,
body.page-template-front-page .az-home-event-card h3 a{
  color:var(--az-color-heading,#F5F7FF)!important;
}

body.home .az-service-card-link > p,
body.front-page .az-service-card-link > p,
body.page-template-front-page .az-service-card-link > p,
body.home .az-service-card-link > .az-service-card-meta,
body.front-page .az-service-card-link > .az-service-card-meta,
body.page-template-front-page .az-service-card-link > .az-service-card-meta{
  margin-right:18px!important;
  margin-left:18px!important;
}

body.home .az-cards .az-card p,
body.front-page .az-cards .az-card p,
body.page-template-front-page .az-cards .az-card p,
body.home .az-home-event-card .az-event-meta-line,
body.home .az-home-event-card .az-event-info,
body.front-page .az-home-event-card .az-event-meta-line,
body.front-page .az-home-event-card .az-event-info,
body.page-template-front-page .az-home-event-card .az-event-meta-line,
body.page-template-front-page .az-home-event-card .az-event-info{
  color:var(--az-color-soft-text,#D4CEE1)!important;
}

body.home .az-home-event-card .az-event-body,
body.front-page .az-home-event-card .az-event-body,
body.page-template-front-page .az-home-event-card .az-event-body{
  background:transparent!important;
  background-image:none!important;
}

/* Bireysel Dönüşüm Programı: masaüstünde tek satırlık, düz ve bütünüyle tıklanabilir alan. */
.az-home-transformation{
  padding-block:24px!important;
}

.az-home-transformation-strip{
  position:relative;
  display:grid;
  grid-template-columns:184px minmax(0,1fr) max-content;
  grid-template-rows:auto auto;
  align-items:center;
  gap:10px clamp(32px,3.6vw,52px);
  min-height:220px;
  padding:24px clamp(38px,4.2vw,52px);
  overflow:hidden;
  color:var(--az-color-body-text,#D8D2E3);
  text-decoration:none;
  background:var(--az-color-background,#43385D);
  background:color-mix(in srgb,var(--az-color-background,#43385D) 88%,#160E22 12%);
  border:0!important;
  border-radius:0;
  box-shadow:none;
}

.az-home-transformation-symbol{
  position:relative;
  display:block;
  grid-column:1;
  grid-row:1 / 3;
  width:184px;
  height:184px;
  color:var(--az-color-secondary,#AC74AF);
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}

.az-home-transformation-symbol .az-transformation-symbol-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:transparent;
  border:0;
  box-shadow:none;
  filter:none;
}

.az-home-transformation-strip h2{
  grid-column:2;
  grid-row:1;
  align-self:end;
  margin:0!important;
  color:var(--az-color-heading,#F5F7FF)!important;
  font-size:clamp(54px,4.2vw,64px)!important;
  line-height:1.08!important;
  white-space:nowrap;
}

.az-home-transformation-strip p{
  grid-column:2;
  grid-row:2;
  align-self:start;
  min-width:0;
  max-width:760px;
  margin:0!important;
  color:var(--az-color-heading,#F5F7FF)!important;
  font-size:20px;
  opacity:.86;
  line-height:1.7;
  white-space:normal;
}

.az-home-transformation-more{
  display:inline-flex;
  grid-column:3;
  grid-row:1 / 3;
  align-items:center;
  gap:8px;
  padding:5px 0 4px;
  color:var(--az-color-heading,#F5F7FF);
  font-weight:700;
  font-size:18px;
  line-height:1.2;
  white-space:nowrap;
  border-bottom:2px solid var(--az-color-secondary,#AC74AF);
}

.az-home-transformation-more svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.5;
}

.az-home-transformation-strip:hover .az-home-transformation-more,
.az-home-transformation-strip:focus-visible .az-home-transformation-more{
  color:var(--az-color-secondary,#AC74AF);
}

.az-home-transformation-strip:focus-visible{
  outline:2px solid var(--az-color-secondary,#AC74AF);
  outline-offset:4px;
}

@media(max-width:980px){
  .az-home-transformation-strip{
    grid-template-columns:148px minmax(0,1fr);
    grid-template-rows:auto auto auto;
  }

  .az-home-transformation-symbol{
    width:148px;
    height:148px;
  }

  .az-home-transformation-strip p{
    grid-column:2;
    grid-row:2;
  }

  .az-home-transformation-more{
    grid-column:2;
    grid-row:3;
    width:max-content;
    margin-top:8px;
  }
}

@media(max-width:700px){

  .az-home-transformation-symbol{
    width:112px;
    height:112px;
  }

  body.home .az-service-card-visual,
  body.front-page .az-service-card-visual,
  body.page-template-front-page .az-service-card-visual{
    height:230px!important;
  }

  body.home .az-service-card-visual > img,
  body.front-page .az-service-card-visual > img,
  body.page-template-front-page .az-service-card-visual > img{
    padding:16px 22px 60px!important;
  }
}

/* Slider masaüstü hizası: içerik header'a yakın, Meral görseli site kabının sağ sınırında. */
@media(min-width:901px){
  body.home .az-premium-slider .az-hero-inner,
  body.front-page .az-premium-slider .az-hero-inner,
  body.page-template-front-page .az-premium-slider .az-hero-inner{
    padding-top:24px!important;
  }

  body.home .az-premium-slider .az-slider-profile,
  body.front-page .az-premium-slider .az-slider-profile,
  body.page-template-front-page .az-premium-slider .az-slider-profile{
    flex:0 0 auto!important;
    margin-right:0!important;
    margin-left:auto!important;
  }
}

/* Mobil ana sayfa: bölüm arası 24 px, başlık ve içerik arası 12 px. */
@media(max-width:900px){
  html body:is(.home,.front-page,.page-template-front-page) .az-site-main > .az-section{
    padding-top:0!important;padding-bottom:0!important;min-height:0!important;
    margin-top:24px!important;margin-bottom:0!important;
  }
  html body:is(.home,.front-page,.page-template-front-page) .az-site-main > .az-section:first-child{margin-top:0!important}
  html body:is(.home,.front-page,.page-template-front-page) .az-site-main > .az-premium-slider{
    min-height:0!important;height:auto!important;margin-bottom:0!important;padding-bottom:0!important;
  }
  html body:is(.home,.front-page,.page-template-front-page) .az-site-main > .az-premium-slider .az-hero-inner{min-height:0!important}
  html body:is(.home,.front-page,.page-template-front-page) .az-site-main > .az-section .az-section-head{
    min-width:0!important;margin:0 0 12px!important;padding:0!important;
  }
  html body:is(.home,.front-page,.page-template-front-page) .az-site-main > .az-section .az-section-head h2,
  html body:is(.home,.front-page,.page-template-front-page) .az-home-transformation-strip h2,
  html body:is(.home,.front-page,.page-template-front-page) .az-home-contact-cta h2{
    width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;
    white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;
    font-size:var(--az-mobile-fit-size,clamp(24px,7vw,32px))!important;line-height:1.22!important;
  }
  html body:is(.home,.front-page,.page-template-front-page) .az-service-card-link > p{display:none!important}
  html body:is(.home,.front-page,.page-template-front-page) .az-service-card-link{padding-bottom:0!important}
  html body:is(.home,.front-page,.page-template-front-page) .az-service-card-visual{margin-bottom:0!important}

  /* Uzun program başlığına telefon genişliğinin tamamını ver. */
  html body:is(.home,.front-page,.page-template-front-page) .az-home-transformation-strip{
    grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:12px;
    min-height:0;padding:20px;
  }
  html body:is(.home,.front-page,.page-template-front-page) .az-home-transformation-symbol{grid-column:1;grid-row:1;justify-self:center}
  html body:is(.home,.front-page,.page-template-front-page) .az-home-transformation-strip h2{grid-column:1;grid-row:2;text-align:center}
  html body:is(.home,.front-page,.page-template-front-page) .az-home-transformation-strip p{grid-column:1;grid-row:3}
  html body:is(.home,.front-page,.page-template-front-page) .az-home-transformation-more{grid-column:1;grid-row:4;margin-top:0}
  html body:is(.home,.front-page,.page-template-front-page) .az-home-contact-cta .az-cta-box{display:block!important;min-width:0!important}
  html body:is(.home,.front-page,.page-template-front-page) .az-home-contact-cta .az-cta-box > div{width:100%!important;min-width:0!important}
}
