/* PANDO | Neden Pando Medya V2 - Soft Motion
 * Source: verified V4 production layout CSS.
 * Changes only easing/timing/micro-motion; no PHP, SQL or module changes.
 */
.pwhy-section{padding:30px 0 36px;background:transparent;position:relative;z-index:1}
.pwhy-section *{box-sizing:border-box}
.pwhy-shell{display:grid;grid-template-columns:minmax(410px,30%) minmax(0,1fr);gap:28px;align-items:stretch;padding:26px 28px;border-radius:30px;overflow:hidden;position:relative;isolation:isolate;background:linear-gradient(135deg,#07182f 0%,#0a2343 38%,#0a2444 100%);border:1px solid rgba(151,187,255,.12);box-shadow:0 18px 55px rgba(2,12,28,.18)}
.pwhy-shell:before{content:"";position:absolute;inset:0;pointer-events:none;background:
radial-gradient(circle at 8% 16%, rgba(43,124,255,.22), transparent 30%),
radial-gradient(circle at 78% 78%, rgba(77,155,255,.12), transparent 26%),
linear-gradient(118deg, rgba(255,255,255,.06), rgba(255,255,255,0) 24%, rgba(255,255,255,.03) 55%, rgba(255,255,255,0) 76%);
opacity:1}
.pwhy-shell:after{content:"";position:absolute;left:0;top:0;bottom:0;width:52%;pointer-events:none;background:linear-gradient(90deg, rgba(2,10,22,.22), rgba(2,10,22,0))}
.pwhy-copy{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;padding:18px 18px 18px 4px;min-width:0;background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));border:1px solid rgba(255,255,255,.08);border-radius:26px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.pwhy-kicker{display:flex;align-items:center;gap:14px;font-size:.82rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase;color:rgba(234,241,255,.82);margin-bottom:20px}
.pwhy-kicker:before{content:"";width:42px;height:1px;background:rgba(255,255,255,.42)}
.pwhy-title{margin:0;font-size:clamp(2.45rem,3vw,3.8rem);line-height:1.02;font-weight:850;letter-spacing:-.04em;display:flex;flex-direction:column;gap:7px}
.pwhy-title-strong{color:#fff}
.pwhy-title-soft{color:#afbbd2}
.pwhy-desc{margin:22px 0 0;color:rgba(232,239,251,.88);font-size:clamp(1.02rem,1.06vw,1.14rem);line-height:1.66;max-width:470px}
.pwhy-cards{position:relative;z-index:1;display:flex;gap:14px;min-width:0;align-items:stretch;overflow:hidden}
.pwhy-card{position:relative;flex:1 1 0;min-width:92px;height:372px;border-radius:24px;overflow:hidden;display:block;color:#fff;text-decoration:none;border:1px solid rgba(162,198,255,.16);background:#091a31;transition:flex-grow .86s cubic-bezier(.21,.7,.26,1),transform .62s cubic-bezier(.21,.7,.26,1),border-color .56s ease,box-shadow .68s ease;box-shadow:0 14px 34px rgba(0,0,0,.18)}
.pwhy-card:hover{transform:translateY(-1px)}
.pwhy-cards .pwhy-card{flex:1 1 0}
.pwhy-cards .pwhy-card.is-active{flex:1.78 1 0;border-color:rgba(97,168,255,.32);box-shadow:0 18px 44px rgba(2,10,22,.27)}
.pwhy-image-wrap{position:absolute;inset:0;display:block}
.pwhy-image-wrap img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;transform:scale(1.012);transition:transform 1.1s cubic-bezier(.2,.72,.25,1),filter 1s ease}
.pwhy-card.is-active .pwhy-image-wrap img{transform:scale(1.034)}
.pwhy-image-overlay{position:absolute;inset:0;background:linear-gradient(180deg, rgba(3,10,22,.60) 0%, rgba(3,10,22,.28) 26%, rgba(3,10,22,.48) 54%, rgba(3,10,22,.90) 100%)}
.pwhy-image-wrap:after{content:"";position:absolute;left:0;right:0;bottom:0;height:56%;background:linear-gradient(180deg, rgba(7,18,34,0), rgba(7,18,34,.16) 18%, rgba(7,18,34,.82) 58%, rgba(7,18,34,.96) 100%)}
.pwhy-card-inner{position:absolute;inset:0;padding:18px;display:flex;flex-direction:column;justify-content:space-between;z-index:1}
.pwhy-card-num{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:34px;padding:0 14px;border-radius:999px;font-size:1rem;font-weight:800;color:#78b0ff;background:rgba(7,20,40,.66);border:1px solid rgba(118,176,255,.24);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.pwhy-card-title{display:block;font-size:clamp(1.02rem,1.35vw,1.5rem);font-weight:830;line-height:1.15;max-width:250px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.18)}
.pwhy-card-desc{display:block;margin-top:12px;max-width:280px;font-size:.98rem;line-height:1.5;color:rgba(238,244,255,.86);opacity:0;transform:translateY(5px);transition:opacity .54s ease,transform .66s cubic-bezier(.2,.72,.25,1),max-height .82s cubic-bezier(.2,.72,.25,1);max-height:0;overflow:hidden}
.pwhy-card-info{display:flex;flex-direction:column}
.pwhy-card.is-active .pwhy-card-desc{opacity:1;transform:translateY(0);max-height:200px}
.pwhy-arrow{position:absolute;left:18px;bottom:18px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.98);color:#0b1f39;box-shadow:0 10px 24px rgba(0,0,0,.18);transition:transform .58s cubic-bezier(.2,.72,.25,1),box-shadow .6s ease}
.pwhy-card.is-active .pwhy-arrow{transform:translateX(1px);box-shadow:0 13px 26px rgba(0,0,0,.19)}
.pwhy-card-bottom{margin-top:auto;padding:18px 18px 68px;border-radius:20px;background:linear-gradient(180deg, rgba(8,19,37,.18), rgba(8,19,37,.54) 22%, rgba(8,19,37,.72) 100%);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.pwhy-card:not(.is-active) .pwhy-card-bottom{padding-right:14px;padding-left:14px}
@media (prefers-reduced-motion: reduce){.pwhy-card,.pwhy-card img,.pwhy-card-desc,.pwhy-arrow{transition:none!important}}
@media (max-width:1450px) and (min-width:1200px){.pwhy-shell{grid-template-columns:minmax(370px,29%) minmax(0,1fr);gap:22px;padding:24px}.pwhy-title{font-size:clamp(2.25rem,3vw,3.35rem)}.pwhy-desc{font-size:1.02rem}.pwhy-card{height:358px}.pwhy-card-inner{padding:16px}.pwhy-card-bottom{padding:16px 16px 66px}.pwhy-card-title{font-size:clamp(.98rem,1.25vw,1.32rem)}}
@media (max-width:1199px){.pwhy-shell{grid-template-columns:1fr;gap:20px}.pwhy-copy{max-width:none;padding:20px}.pwhy-title{font-size:clamp(2.45rem,5vw,3.4rem)}.pwhy-desc{max-width:740px}.pwhy-card{height:350px}}
@media (max-width:991px){.pwhy-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pwhy-card,.pwhy-card.is-active{flex:unset!important}.pwhy-card{min-width:0;height:320px}.pwhy-card-desc{opacity:1;transform:none;max-height:190px}.pwhy-card-bottom{padding-bottom:64px}}
@media (max-width:575px){.pwhy-section{padding:20px 0 26px}.pwhy-shell{padding:16px;border-radius:24px}.pwhy-copy{padding:18px 16px}.pwhy-kicker{font-size:.72rem;letter-spacing:.18em}.pwhy-title{font-size:2.22rem}.pwhy-desc{font-size:.98rem;margin-top:16px}.pwhy-cards{grid-template-columns:1fr}.pwhy-card{height:292px;border-radius:20px}.pwhy-card-inner{padding:14px}.pwhy-card-bottom{padding:14px 14px 62px}.pwhy-card-title{max-width:100%}.pwhy-arrow{width:44px;height:44px;left:16px;bottom:16px}.pwhy-card-num{min-width:44px;height:32px;font-size:.95rem}}

/* The admin can switch off animations without changing the selected card. */
.pwhy-cards[data-animation="0"] .pwhy-card,
.pwhy-cards[data-animation="0"] .pwhy-image-wrap img,
.pwhy-cards[data-animation="0"] .pwhy-card-desc,
.pwhy-cards[data-animation="0"] .pwhy-arrow{
  transition:none!important;
}
/* Grid cards on touch/tablet have no flex animation; no sticky lift on tapping. */
@media (max-width:991px){
  .pwhy-card:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
  .pwhy-section .pwhy-card:hover{transform:none}
  .pwhy-section .pwhy-card-desc,
  .pwhy-section .pwhy-card-bottom,
  .pwhy-section .pwhy-image-wrap img,
  .pwhy-section .pwhy-card,
  .pwhy-section .pwhy-arrow{transition:none!important;animation:none!important}
}


/* ================================================================
 * PANDO | Neden Pando Medya V2.1 - Esit Yukseklik / Orta Hiza
 * Sol bilgi paneli ile 4 kart ayni ust ve alt cizgide biter.
 * Sadece bu modulu etkiler, animasyon ve aktif kart mantigi korunur.
 * ================================================================ */
@media (min-width: 1200px) {
  #taifun-home .pwhy-section .pwhy-shell,
  .pwhy-section .pwhy-shell {
    /* Baslik icin biraz daha ferah alan, kartlar icin kalan esnek alan. */
    grid-template-columns: minmax(0, 35%) minmax(0, 1fr);
    gap: clamp(18px, 1.9vw, 28px);
    align-items: stretch;
    margin-inline: auto;
  }

  #taifun-home .pwhy-section .pwhy-copy,
  .pwhy-section .pwhy-copy {
    align-self: stretch;
    height: auto;
    min-height: 0;
    justify-content: center;
  }

  #taifun-home .pwhy-section .pwhy-cards,
  .pwhy-section .pwhy-cards {
    display: flex;
    align-self: stretch;
    align-items: stretch;
    height: auto;
    min-height: 0;
    width: 100%;
  }

  /* Kartlar eskiden height:372px ile kilitliydi.
     O yuksekligi kaldirinca sol panelin yuksekligini otomatik izler. */
  #taifun-home .pwhy-section .pwhy-cards > .pwhy-card,
  .pwhy-section .pwhy-cards > .pwhy-card {
    height: auto !important;
    min-height: 372px;
    align-self: stretch;
  }
}
