/*
 * Türkoğlu Mega Navigation - Mobile layer
 * Yalnızca 767px ve altındaki ekranları etkiler.
 */
@media (max-width: 767px) {
  .turkoglu-mega__inner {
    width: calc(100% - 20px);
    max-width: 1320px;
  }

  .turkoglu-mega .turkoglu-mega__grid {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    border-spacing: 0 !important;
    border-collapse: separate !important;
    table-layout: auto !important;
  }

  .turkoglu-mega .turkoglu-mega__grid > .turkoglu-mega__group {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    vertical-align: top !important;
    border-bottom: 1px solid var(--tm-border);
  }

  .turkoglu-mega__toggle {
    min-height: 44px;
    padding: 10px 6px;
    margin-bottom: 0;
  }

  .turkoglu-mega__chevron {
    display: block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
  }

  .turkoglu-mega__group.is-open .turkoglu-mega__chevron {
    transform: rotate(225deg);
  }

  .turkoglu-mega__group .turkoglu-mega__list {
    display: none;
    padding: 0 4px 10px;
  }

  .turkoglu-mega__group.is-open .turkoglu-mega__list,
  .turkoglu-mega__group.no-title .turkoglu-mega__list {
    display: grid;
  }

  .turkoglu-mega__link {
    min-height: 42px;
    overflow-wrap: anywhere;
  }

  .turkoglu-mega__social {
    justify-content: flex-start;
  }

  .turkoglu-mega__social-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(var(--tm-social-mobile-columns, 1), minmax(0, 1fr));
    gap: var(--tm-social-card-gap, 10px);
    justify-content: stretch;
  }

  .turkoglu-mega__social-link {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    justify-content: flex-start;
    gap: 14px;
  }

  .turkoglu-mega__social-name {
    display: block;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
  }
}
