/* =========================
   Florenza Hero Components
   ========================= */

/* Hero olan sayfalarda GeneratePress featured image'ı gizle */
body.flz-has-hero .featured-image,
body.flz-has-hero .page-header-image-single,
body.flz-has-hero .post-image,
body.flz-has-hero .inside-article .wp-post-image,
body.flz-has-hero .inside-article .post-thumbnail {
  display: none !important;
}

/* HERO */
.flz-hero{
  position: relative;
  overflow: hidden;

  text-align: center;
  color: #fff;

  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: var(--flz-hero-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0f1c2e; /* fallback */
}

/* Pseudo elementleri tamamen kapat (gradient vb. yok) */
.flz-hero::before,
.flz-hero::after{
  content: none !important;
  display: none !important;
  background: none !important;
}

/* İçerik */
.flz-hero__container{
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Başlık */
.flz-hero h1{
  font-size: 44px;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow:
    0 4px 18px rgba(0,0,0,0.65),
    0 2px 6px rgba(0,0,0,0.55);
}

/* Alt başlık */
.flz-hero__subtitle{
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  font-weight: 500;
  text-shadow:
    0 3px 12px rgba(0,0,0,0.65),
    0 1px 4px rgba(0,0,0,0.50);
}

/* Responsive */
@media (max-width:768px){
  .flz-hero{ min-height: 260px; }
  .flz-hero h1{ font-size: 34px; }
}
.wp-block-preformatted {
  background: transparent !important;
}
.flz-hero pre{
  background: transparent !important;
}

/* =========================
   Hero full-width reset
   ========================= */

/* Hero olan sayfalarda üst boşlukları kaldır */
body.flz-has-hero .site-content{
  padding-top: 0 !important;
}

body.flz-has-hero .inside-article{
  padding-top: 0 !important;
}

body.flz-has-hero .content-area{
  margin-top: 0 !important;
}

body.flz-has-hero .separate-containers .inside-article{
  padding-top: 0 !important;
}

/* Hero tam kenara dayansın */
body.flz-has-hero .flz-hero{
  margin-top: 0 !important;
}

.flz-section{ padding: 56px 0; }
.flz-section--muted{ background: rgba(0,0,0,.03); }
.flz-grid{ display: grid; gap: 18px; }
.flz-grid--2{ grid-template-columns: 1.2fr .8fr; }
.flz-grid--3{ grid-template-columns: repeat(3, 1fr); }

.flz-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.flz-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px; border-radius: 12px;
  text-decoration:none; font-weight:600;
  border: 1px solid rgba(0,0,0,.18);
}
.flz-btn--primary{ border-color: transparent; }
.flz-hero-actions, .flz-cta-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }

.flz-checklist, .flz-bullets{ padding-left: 18px; }
.flz-note{ margin-top: 14px; opacity:.85; }
.flz-faq details{ border:1px solid rgba(0,0,0,.1); border-radius:12px; padding:12px 14px; margin:10px 0; background:#fff; }
.flz-faq summary{ cursor:pointer; font-weight:700; }

@media(max-width: 900px){
  .flz-grid--2, .flz-grid--3{ grid-template-columns: 1fr; }
}
