/*
 * PANDO | Anasayfa V4: Tek içerik hiza standardı
 * Based on the supplied 2026-10-15 PHP/CSS archive and full-page PDF.
 * Scope limited to #taifun-home. Navbar, footer, admin and inner pages excluded.
 * FULL BLEED = section BACKGROUND. CONTENT = max 1480px; never force global .container.
 */
#taifun-home {
  --pando-home-max: 1480px;
  --pando-home-gutter: clamp(18px, 3.2vw, 48px);
  --pando-home-pad-y: clamp(44px, 4.2vw, 68px);
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}
#taifun-home,
#taifun-home > section {
  box-sizing: border-box;
}

/* ALL selected home modules: identical outer content edges, separate backgrounds.
   Preserve each module's grid, typography, images and hover effects. */
#taifun-home :is(
  .s14-inner,
  .about13-container,
  .pando-team-container,
  .pando-home-services .phs-wrap,
  .pwm-shell,
  .pwhy-section .pwhy-shell,
  .phc-shell,
  .pht-shell,
  .pando-faq-shell
) {
  width: min(var(--pando-home-max), calc(100% - var(--pando-home-gutter) - var(--pando-home-gutter))) !important;
  max-width: var(--pando-home-max) !important;
  margin-inline: auto !important;
  box-sizing: border-box;
}

/* Cinematic slider: background already reaches the edges.
   Align copy/visual boundaries without forcing fixed columns to overflow. */
@media (min-width: 851px) {
  #taifun-home .s14-inner {
    grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr) !important;
    column-gap: clamp(36px, 5vw, 90px) !important;
  }
  #taifun-home .s14-nav {
    left: max(var(--pando-home-gutter), calc((100% - var(--pando-home-max)) / 2)) !important;
    right: max(var(--pando-home-gutter), calc((100% - var(--pando-home-max)) / 2)) !important;
  }
}

/* Brand strip and numbers remain fluid inside the shared content canvas. */
#taifun-home .about13-section {
  width: 100%;
  background: #fff;
}

/* Team: photo collage does not stretch wider than the other sections.
   Original 48%+52% grid PLUS gap was wider than 100%: replace with fr units. */
#taifun-home .pando-team-section {
  width: 100%;
  margin-inline: 0;
}
#taifun-home .pando-team-container {
  padding-block: var(--pando-home-pad-y) !important;
  padding-inline: 0 !important;
}
@media (min-width: 971px) {
  #taifun-home .pando-team-container {
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr) !important;
    gap: clamp(20px, 2.5vw, 36px) !important;
  }
}

/* Services: dark photo covers viewport; headings and cards share the left edge. */
#taifun-home .pando-home-services { width: 100%; }
#taifun-home .pando-home-services .phs-wrap {
  padding-block: var(--pando-home-pad-y) !important;
}

/* Working model: keep SVG connectors, central orbit and desktop/mobile grid. */
#taifun-home .pwm-section {
  width: 100%;
  padding-block: var(--pando-home-pad-y) !important;
}

/* Why Pando: background is on the ROOT, never on an expanding shell or
   a ::before layer behind a negative z-index. This prevents disappearing. */
#taifun-home .pwhy-section {
  width: 100%;
  margin-inline: 0;
  padding: 0 !important;
  position: relative;
  isolation: isolate;
  background: linear-gradient(125deg, #07182f 0%, #0a2343 52%, #081c35 100%) !important;
}
#taifun-home .pwhy-section::before {
  content: none !important;
  display: none !important;
}
#taifun-home .pwhy-section > .pwhy-fullwidth {
  width: 100%;
  margin: 0;
  padding: 0 !important;
  max-width: none;
}
#taifun-home .pwhy-section .pwhy-shell {
  padding: var(--pando-home-pad-y) 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
#taifun-home .pwhy-section .pwhy-copy {
  min-width: 0;
  padding: clamp(20px, 2.2vw, 30px) !important;
}
/* Keep ONLY .is-active wide; do not touch hover/flex transition logic. */
#taifun-home .pwhy-card { min-width: 0; }
#taifun-home .pwhy-cards { min-width: 0; }

/* Consultation: white background full width, the original white card centered. */
#taifun-home .phc-section {
  width: 100%;
  padding: var(--pando-home-pad-y) 0 !important;
  background: #fff !important;
}

/* Products: full-screen dark band behind the original two feature cards. */
#taifun-home .pht-section {
  width: 100%;
  margin: 0;
  padding: var(--pando-home-pad-y) 0 !important;
  background: radial-gradient(ellipse at 15% 5%, #102b4b 0%, #09192e 48%, #061325 100%) !important;
}
#taifun-home .pht-section .pht-shell {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}
#taifun-home .pht-section .pht-intro {
  padding-left: 0 !important;
}

/* References14 is an intentionally full-bleed moving logo strip.
   Do NOT constrain its marquee to 1480px. */
#taifun-home .refs14-section {
  width: 100%;
  padding-block: var(--pando-home-pad-y) !important;
}

/* FAQ: outer background full-screen; inner question columns use common width. */
#taifun-home .pando-home-faq {
  width: 100%;
  padding: var(--pando-home-pad-y) 0 !important;
}

/* All text/images are allowed to shrink inside their own module grids. */
#taifun-home :is(.pwhy-copy,.pht-intro,.pht-products,.pwm-diagram,.pwm-intro,.pando-faq-columns,.pando-team-copy,.pando-team-art) {
  min-width: 0;
}

@media (max-width: 970px) {
  #taifun-home .pando-team-container {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 850px) {
  /* Keep Slider 14's existing single-column/tablet logic. */
  #taifun-home .s14-inner {
    display: block;
  }
}
@media (max-width: 650px) {
  #taifun-home { --pando-home-pad-y: 34px; }
  #taifun-home .pwhy-section .pwhy-shell { padding-block: 34px !important; }
  #taifun-home .pht-section .pht-intro { padding: 10px 0 17px !important; }
  #taifun-home .pht-section .pht-shell { gap: 16px; }
  #taifun-home .pando-team-container { gap: 22px; }
}
