
/*
 * Yaşamboyu V1.2 – Anasayfa Mobil Düzeltme
 * Yalnızca 782px ve altı.
 * Sadece .ybu-home kapsamını etkiler.
 */
@media (max-width: 782px) {

  /* Genel ritim */
  .ybu-home .ybu-section {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  .ybu-home .ybu-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .ybu-home .ybu-heading {
    margin-bottom: 26px !important;
  }

  .ybu-home .ybu-heading h2,
  .ybu-home .ybu-learning-copy h2,
  .ybu-home .ybu-why-copy h2,
  .ybu-home .ybu-process-copy h2,
  .ybu-home .ybu-faq-copy h2 {
    font-size: 28px !important;
    line-height: 1.16 !important;
  }

  .ybu-home .ybu-heading p,
  .ybu-home .ybu-learning-copy p,
  .ybu-home .ybu-why-copy p,
  .ybu-home .ybu-process-copy p,
  .ybu-home .ybu-faq-copy p {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  /* HERO */
  .ybu-home .ybu-hero {
    padding-top: 38px !important;
    padding-bottom: 28px !important;
  }

  .ybu-home .ybu-hero-grid {
    gap: 24px !important;
  }

  .ybu-home .ybu-hero-copy h1 {
    font-size: 33px !important;
    line-height: 1.11 !important;
    letter-spacing: -0.045em !important;
    margin-bottom: 16px !important;
  }

  .ybu-home .ybu-hero-copy p {
    font-size: 14px !important;
    line-height: 1.66 !important;
    margin-bottom: 21px !important;
  }

  .ybu-home .ybu-buttons {
    gap: 9px !important;
  }

  .ybu-home .ybu-btn {
    min-height: 45px !important;
    font-size: 12px !important;
  }

  /* Hero fotoğrafı + 2x2 istatistik kartı */
  .ybu-home .ybu-home-visual {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .ybu-home .ybu-home-image {
    grid-column: 1 / -1 !important;
    height: 245px !important;
    border-radius: 19px !important;
    margin-bottom: 1px !important;
  }

  .ybu-home .ybu-float {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 13px 14px !important;
    border-radius: 14px !important;
    animation: none !important;
    box-shadow: 0 8px 22px rgba(6,42,82,.07) !important;
  }

  .ybu-home .ybu-float b {
    font-size: 20px !important;
  }

  .ybu-home .ybu-float span {
    font-size: 10px !important;
  }

  /* Aynı istatistiklerin ikinci kez tekrarını mobilde kaldır */
  .ybu-home > .ybu-stat-strip {
    display: none !important;
  }

  /* "Doğru yönlendirme" */
  .ybu-home .ybu-guidance-section {
    padding-top: 52px !important;
  }

  .ybu-home .ybu-guidance-grid {
    gap: 11px !important;
  }

  .ybu-home .ybu-guidance-card {
    min-height: 0 !important;
    padding: 20px 18px !important;
    border-radius: 17px !important;
  }

  .ybu-home .ybu-guidance-card .ybu-line-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 15px !important;
    border-radius: 14px !important;
    font-size: 22px !important;
  }

  .ybu-home .ybu-guidance-card small {
    margin-bottom: 5px !important;
    font-size: 9px !important;
  }

  .ybu-home .ybu-guidance-card h3 {
    font-size: 19px !important;
    margin-bottom: 8px !important;
  }

  .ybu-home .ybu-guidance-card p {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
  }

  .ybu-home .ybu-guidance-card > b {
    font-size: 10px !important;
  }

  /* Marka kartlarını mobilde yatay, kompakt yap */
  .ybu-home .ybu-brand-grid {
    grid-template-columns: 1fr !important;
    gap: 11px !important;
  }

  .ybu-home .ybu-brand-card {
    display: grid !important;
    grid-template-columns: 92px minmax(0,1fr) !important;
    grid-template-areas:
      "logo model"
      "logo title"
      "logo text"
      "logo link" !important;
    column-gap: 15px !important;
    row-gap: 3px !important;
    align-items: center !important;
    min-height: 138px !important;
    padding: 17px 18px !important;
    border-radius: 16px !important;
    text-align: left !important;
  }

  .ybu-home .ybu-brand-logo {
    grid-area: logo !important;
    width: 92px !important;
    height: 66px !important;
    margin: 0 !important;
  }

  .ybu-home .ybu-brand-logo img {
    max-width: 88px !important;
    max-height: 60px !important;
  }

  .ybu-home .ybu-brand-model {
    grid-area: model !important;
    margin: 0 !important;
    font-size: 8.5px !important;
  }

  .ybu-home .ybu-brand-card h3 {
    grid-area: title !important;
    margin: 1px 0 3px !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  .ybu-home .ybu-brand-card p {
    grid-area: text !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }

  .ybu-home .ybu-brand-link {
    grid-area: link !important;
    margin-top: 7px !important;
    font-size: 9px !important;
  }

  .ybu-home .ybu-brand-bottom {
    margin-top: 11px !important;
  }

  .ybu-home .ybu-brand-featured {
    max-width: none !important;
  }

  /* 3 temel alan: daha kısa kartlar */
  .ybu-home .ybu-learning-layout {
    gap: 23px !important;
  }

  .ybu-home .ybu-learning-grid {
    gap: 10px !important;
  }

  .ybu-home .ybu-dark-card {
    display: grid !important;
    grid-template-columns: 52px 1fr !important;
    column-gap: 14px !important;
    min-height: 0 !important;
    padding: 18px !important;
    border-radius: 17px !important;
  }

  .ybu-home .ybu-dark-card .ybu-line-icon {
    grid-row: 1 / 3 !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    font-size: 23px !important;
  }

  .ybu-home .ybu-dark-card h3 {
    margin: 2px 0 5px !important;
    font-size: 18px !important;
  }

  .ybu-home .ybu-dark-card p {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }

  /* Neden Yaşamboyu: 2x2 */
  .ybu-home .ybu-why-layout {
    gap: 25px !important;
  }

  .ybu-home .ybu-why-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
  }

  .ybu-home .ybu-why-card {
    min-height: 165px !important;
    padding: 17px 14px !important;
    border-radius: 15px !important;
  }

  .ybu-home .ybu-why-card > b {
    margin-bottom: 17px !important;
    font-size: 10px !important;
  }

  .ybu-home .ybu-why-card h3 {
    font-size: 15px !important;
    line-height: 1.22 !important;
    margin-bottom: 6px !important;
  }

  .ybu-home .ybu-why-card p {
    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }

  /* Süreç: 2x2 */
  .ybu-home .ybu-process-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .ybu-home .ybu-process-layout {
    gap: 24px !important;
  }

  .ybu-home .ybu-process-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
  }

  .ybu-home .ybu-step {
    min-height: 172px !important;
    padding: 16px 14px !important;
    border-radius: 15px !important;
  }

  .ybu-home .ybu-step > b {
    width: 37px !important;
    height: 37px !important;
    margin-bottom: 14px !important;
    font-size: 10px !important;
  }

  .ybu-home .ybu-step h3 {
    font-size: 14px !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }

  .ybu-home .ybu-step p {
    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }

  /* FAQ */
  .ybu-home .ybu-faq-layout {
    gap: 23px !important;
  }

  .ybu-home .ybu-accordion {
    gap: 8px !important;
  }

  .ybu-home .ybu-faq-item {
    border-radius: 14px !important;
  }

  .ybu-home .ybu-faq-item button {
    padding: 15px 16px !important;
    font-size: 12.5px !important;
  }

  .ybu-home .ybu-faq-item button b {
    width: 26px !important;
    height: 26px !important;
    flex-basis: 26px !important;
  }

  .ybu-home .ybu-faq-item.is-open .ybu-faq-answer > p {
    padding: 0 16px 16px !important;
    font-size: 11.5px !important;
  }

  /* Son CTA */
  .ybu-home .ybu-cta-section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .ybu-home .ybu-cta {
    gap: 18px !important;
    padding: 22px 18px !important;
    border-radius: 18px !important;
  }

  .ybu-home .ybu-cta h2 {
    font-size: 25px !important;
  }

  .ybu-home .ybu-cta p {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }
}


/* FAQ V1.1 – daha kurumsal ve premium mobil görünüm */
@media (max-width: 782px) {

  .ybu-home .ybu-faq-section {
    background:
      radial-gradient(circle at 100% 0%, rgba(6,42,82,.035), transparent 34%),
      #f7faff !important;
  }

  .ybu-home .ybu-faq-layout {
    gap: 24px !important;
  }

  .ybu-home .ybu-faq-copy {
    max-width: 100% !important;
  }

  .ybu-home .ybu-faq-copy .ybu-eyebrow {
    margin-bottom: 12px !important;
    color: var(--ybu-accent) !important;
  }

  .ybu-home .ybu-faq-copy h2 {
    margin: 0 0 12px !important;
    color: var(--ybu-navy) !important;
    font-size: 27px !important;
    line-height: 1.16 !important;
    letter-spacing: -.035em !important;
  }

  .ybu-home .ybu-faq-copy p {
    max-width: 330px !important;
    margin: 0 !important;
    color: #64768b !important;
    font-size: 13.5px !important;
    line-height: 1.68 !important;
  }

  .ybu-home .ybu-accordion {
    gap: 10px !important;
  }

  .ybu-home .ybu-faq-item {
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 17px !important;
    background: #fff !important;
    box-shadow: 0 9px 24px rgba(6,42,82,.045) !important;
    transition:
      border-color .25s ease,
      box-shadow .25s ease,
      transform .25s ease !important;
  }

  .ybu-home .ybu-faq-item::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 3px !important;
    background: transparent !important;
    transition: background .25s ease !important;
  }

  .ybu-home .ybu-faq-item.is-open {
    border-color: #d7e2ee !important;
    background: #fff !important;
    box-shadow: 0 16px 36px rgba(6,42,82,.085) !important;
    transform: none !important;
  }

  .ybu-home .ybu-faq-item.is-open::before {
    background: var(--ybu-accent) !important;
  }

  .ybu-home .ybu-faq-item button,
  .ybu-home .ybu-faq-item.is-open button {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 36px !important;
    gap: 14px !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 68px !important;
    margin: 0 !important;
    padding: 17px 16px 17px 19px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--ybu-navy) !important;
    box-shadow: none !important;
    text-align: left !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .ybu-home .ybu-faq-item button > span {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    color: var(--ybu-navy) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.42 !important;
    letter-spacing: -.01em !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .ybu-home .ybu-faq-item button > b {
    position: relative !important;
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex: 0 0 36px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    border: 1px solid rgba(255,122,24,.11) !important;
    border-radius: 50% !important;
    background: #fff4ea !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    transform: none !important;
    transition:
      background .2s ease,
      color .2s ease,
      border-color .2s ease !important;
  }

  .ybu-home .ybu-faq-item button > b::before {
    content: "+" !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--ybu-accent) !important;
    font-size: 21px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
  }

  .ybu-home .ybu-faq-item.is-open button > b {
    border-color: var(--ybu-navy) !important;
    background: var(--ybu-navy) !important;
    transform: none !important;
  }

  .ybu-home .ybu-faq-item.is-open button > b::before {
    content: "−" !important;
    color: #fff !important;
    font-size: 22px !important;
  }

  .ybu-home .ybu-faq-answer {
    display: grid !important;
    grid-template-rows: 0fr !important;
    background: #fff !important;
    transition: grid-template-rows .28s ease !important;
  }

  .ybu-home .ybu-faq-item.is-open .ybu-faq-answer {
    grid-template-rows: 1fr !important;
  }

  .ybu-home .ybu-faq-answer > p {
    min-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 19px !important;
    border-top: 1px solid transparent !important;
    background: #fff !important;
    color: #65778c !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.68 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    transition:
      padding .28s ease,
      border-color .28s ease !important;
  }

  .ybu-home .ybu-faq-item.is-open .ybu-faq-answer > p {
    padding: 16px 19px 19px !important;
    border-top-color: #edf1f5 !important;
  }

  /* Tema/Elementor kaynaklı aktif pembe arka planlarını tamamen geçersiz kıl */
  .ybu-home .ybu-faq-section .ybu-faq-item *,
  .ybu-home .ybu-faq-section .ybu-faq-item.is-open * {
    text-shadow: none !important;
  }

  .ybu-home .ybu-faq-section .ybu-faq-item button:focus,
  .ybu-home .ybu-faq-section .ybu-faq-item button:active {
    background: #fff !important;
    color: var(--ybu-navy) !important;
    outline: none !important;
  }
}
