/* MASAÜSTÜNDE ALT BAR GİZLİ */
.elek-mobile-bar {
  display: none !important;
}

/* SADECE MOBİL DÜZEN */
@media (max-width: 768px) {

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    font-size: 15px;
    line-height: 1.55;
    padding-bottom: 78px;
  }

  main,
  .wp-site-blocks,
  .entry-content,
  .wp-block-post-content {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .wp-site-blocks,
  main {
    background: #f8fafc;
  }

  h1 {
    font-size: 25px !important;
    line-height: 1.16 !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.35px !important;
  }

  h2 {
    font-size: 21px !important;
    line-height: 1.25 !important;
    margin-top: 24px !important;
    margin-bottom: 12px !important;
    text-align: left !important;
    letter-spacing: -0.25px !important;
    padding-left: 11px !important;
    border-left: 4px solid #f5b700 !important;
  }

  h2::after {
    display: none !important;
  }

  h3 {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  p {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .wp-block-group,
  .wp-block-cover {
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .entry-content > *,
  .wp-block-post-content > * {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  main .wp-block-group:first-child,
  main .wp-block-cover:first-child {
    margin-top: 0 !important;
    padding-top: 14px !important;
    padding-bottom: 16px !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  }

  main .wp-block-group:first-child p,
  main .wp-block-cover:first-child p {
    font-size: 14.5px !important;
    line-height: 1.45 !important;
    margin-top: 6px !important;
    margin-bottom: 8px !important;
  }

  main .wp-block-group:first-child .wp-block-buttons,
  main .wp-block-cover:first-child .wp-block-buttons {
    gap: 6px !important;
    margin-top: 8px !important;
  }

  main .wp-block-group:first-child .wp-block-button__link,
  main .wp-block-cover:first-child .wp-block-button__link {
    min-height: 38px !important;
    padding: 7px 12px !important;
    font-size: 13.5px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.10) !important;
  }

  .wp-block-buttons {
    gap: 8px !important;
  }

  .wp-block-button {
    width: 100% !important;
  }

  .wp-block-button__link {
    width: 100% !important;
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 7px 12px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.10) !important;
  }

  .wp-block-columns {
    display: block !important;
    max-width: 100% !important;
  }

  .wp-block-column {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 12px !important;
  }

  .wp-block-column:not(:empty) {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 15px !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-left: 5px solid #f5b700 !important;
  }

  .wp-block-column h2,
  .wp-block-column h3 {
    text-align: left !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    border-left: none !important;
  }

  .wp-block-column h2::after {
    display: none !important;
  }

  img,
  iframe,
  .wp-block-image,
  .wp-block-media-text {
    max-width: 100% !important;
    height: auto !important;
  }

  img,
  iframe {
    border-radius: 12px;
  }

  /* FOOTER MOBİLDE GİZLİ */
  footer .desktop-footer,
  footer .mobile-footer {
    display: none !important;
  }

  footer {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  /* PREMIUM SABİT ALT ARA + WHATSAPP BARI */
  .elek-mobile-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 99999;
    display: flex !important;
    gap: 8px;
    background: rgba(16, 24, 32, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 7px;
    border-radius: 20px;
    box-shadow: 0 -4px 22px rgba(0,0,0,0.26);
  }

  .elek-mobile-bar a {
    flex: 1;
    text-align: center;
    text-decoration: none !important;
    padding: 12px 8px !important;
    border-radius: 14px !important;
    font-size: 14.5px !important;
    line-height: 1.2;
    font-weight: 800;
  }

  .elek-mobile-bar .elek-call {
    background: #facc15;
    color: #111827 !important;
  }

  .elek-mobile-bar .elek-whatsapp {
    background: #25D366;
    color: #ffffff !important;
  }
}