/* =========================================================
   OZD Radyo Teması - Responsive
========================================================= */

@media (max-width: 1100px) {
  .ozd-front-grid {
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.25fr);
  }
}

@media (max-width: 980px) {
  :root {
    --ozd-player-height: 132px;
  }

  .ozd-nav-primary {
    min-height: 68px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .ozd-site-title {
    white-space: normal;
  }

  .ozd-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .ozd-nav-primary .ozd-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--ozd-radius-lg);
    background: rgba(255, 255, 255, 0.08);
  }

  .ozd-nav-primary.is-open .ozd-menu {
    display: flex;
  }

  .ozd-nav-primary .ozd-menu a {
    justify-content: flex-start;
    width: 100%;
    border-radius: var(--ozd-radius-md);
  }

  .ozd-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    margin: 4px 0 0 12px;
    padding: 4px;
    border: 0;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
  }

  .ozd-main-grid,
  .ozd-front-grid {
    grid-template-columns: 1fr;
  }

  .ozd-dj-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ozd-player__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ozd-player__head {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --ozd-player-height: 160px;
  }

  .ozd-site-main {
    padding-top: 22px;
  }

  .ozd-card {
    padding: 18px;
    border-radius: 18px;
  }

  .ozd-player.ozd-module--player {
    padding: 10px 0 !important;
  }

  .ozd-player__head {
    align-items: flex-start;
  }

  .ozd-player__heading-text,
  .ozd-player__dj,
  .ozd-player__live-text {
    white-space: normal;
  }

  .ozd-broadcast-item {
    flex-direction: column;
    gap: 4px;
  }

  .ozd-broadcast-time {
    min-width: 0;
  }

  .ozd-dj-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --ozd-player-height: 172px;
  }

  .ozd-container,
  .ozd-container-wide,
  .ozd-content-narrow,
  .ozd-nav-primary,
  .ozd-nav-footer,
  .ozd-footer-inner,
  .ozd-player.ozd-module--player .ozd-container {
    width: min(100% - 22px, var(--ozd-container));
  }

  .ozd-page-title {
    font-size: 1.7rem;
  }

  .ozd-request-panel__title,
  .ozd-top10__title {
    font-size: 1.35rem;
  }

  .ozd-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ozd-btn,
  .ozd-button,
  .ozd-footer-poll__btn {
    width: 100%;
  }
}

/* Ana sayfa responsive tasarım */
@media (max-width: 1100px) {
  .ozd-home-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  }
}

@media (max-width: 980px) {
  .ozd-home-hero {
    margin-top: -22px;
    padding: 36px 0 30px;
  }

  .ozd-home-hero__inner,
  .ozd-home-layout {
    grid-template-columns: 1fr;
  }

  .ozd-home-hero__panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ozd-home-hero__panel {
    grid-template-columns: 1fr;
  }

  .ozd-home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ozd-home-hero__actions .ozd-btn {
    width: 100%;
  }

  .ozd-front-request,
  .ozd-front-today,
  .ozd-front-news,
  .ozd-front-top10 {
    padding: 18px;
  }

  .ozd-front-request {
    border-left-width: 0;
    border-top: 5px solid var(--ozd-accent);
  }
}

@media (max-width: 560px) {
  .ozd-home-hero__title {
    font-size: 2rem;
  }

  .ozd-player__inner {
    grid-template-columns: 1fr;
  }

  .ozd-player__head {
    padding: 6px 8px;
  }
}

/* Ana sayfa 0.9.7 ek responsive düzeltmeler */
@media (max-width: 980px) {
  .ozd-home-hero__inner,
  .ozd-home-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .ozd-home-hero {
    min-height: auto;
    padding: 32px 0 28px !important;
  }
}


/* Ana sayfa 0.9.9 responsive düzenlemeler */
@media (max-width: 1100px) {
  .ozd-home-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  }

  .ozd-home-dj-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --ozd-player-height: 112px;
  }

  .ozd-home-hero {
    padding: 30px 0 28px !important;
  }

  .ozd-home-layout {
    grid-template-columns: 1fr !important;
  }

  .ozd-player__inner {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  :root {
    --ozd-player-height: 132px;
  }

  .ozd-home-program {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ozd-home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ozd-home-dj-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --ozd-player-height: 146px;
  }
}


/* Mobil ince ayarlar - 1.0.0 */
@media (max-width: 900px) {
  .ozd-home-hero {
    margin-bottom: 16px !important;
    padding: 24px 0 22px !important;
  }

  .ozd-home-hero__panel {
    max-width: none;
    justify-self: stretch;
  }

  .ozd-player__inner {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .ozd-player__head {
    min-height: 38px;
  }

  .ozd-player__embed audio {
    height: 38px !important;
    max-height: 38px !important;
  }
}

@media (max-width: 600px) {
  .ozd-front-request,
  .ozd-front-today,
  .ozd-front-news,
  .ozd-front-top10,
  .ozd-home-programs,
  .ozd-home-djs {
    padding: 16px !important;
  }
}


/* Ana sayfa istek yönlendirme kartı responsive - 1.0.2 */
@media (max-width: 768px) {
  .ozd-request-cta {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ozd-request-cta__action {
    justify-content: stretch;
    min-width: 0;
  }

  .ozd-request-cta__btn,
  .ozd-request-cta__closed {
    width: 100%;
    max-width: none;
  }
}


/* Özel JS Player responsive - 1.0.3 */
@media (max-width: 980px) {
  :root {
    --ozd-player-height: 104px;
  }

  .ozd-js-player .ozd-player__inner {
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
    gap: 10px 14px;
  }

  .ozd-player__now {
    grid-column: 1 / -1;
    order: 3;
  }

  .ozd-player__controls {
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  :root {
    --ozd-player-height: 136px;
  }

  .ozd-js-player .ozd-player__inner {
    grid-template-columns: 1fr;
  }

  .ozd-player__brand {
    justify-content: flex-start;
  }

  .ozd-player__now {
    order: 0;
  }

  .ozd-player__controls {
    justify-content: space-between;
  }

  .ozd-player__volume {
    width: 100%;
    max-width: none;
  }
}

/* Footer responsive */
@media (max-width: 760px) {
  .ozd-site-footer {
    margin-top: 26px;
    padding-top: 20px;
    padding-bottom: calc(var(--ozd-player-height) + 32px);
  }

  .ozd-footer-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    width: min(100% - 22px, var(--ozd-container));
  }

  .ozd-footer-col {
    padding: 15px;
    border-radius: 16px;
  }

  .ozd-footer-links {
    grid-template-columns: 1fr;
  }

  .ozd-footer-social__list {
    gap: 8px;
  }
}


/* Footer mobil son rötuşları - 1.0.8 */
@media (max-width: 760px) {
  .ozd-site-footer {
    padding-bottom: calc(var(--ozd-player-height) + 46px);
  }

  .ozd-footer-bottom {
    padding-top: 11px;
  }
}

/* İkonlu alan mobil düzeltmeleri - 1.0.9 */
@media (max-width: 700px) {
  .ozd-request-cta {
    grid-template-columns: 1fr;
  }

  .ozd-request-cta__icon {
    width: 46px;
    height: 46px;
  }

  .ozd-home-stat {
    grid-template-columns: auto minmax(0, 1fr);
  }
}


/* =========================================================
   Ana sayfa hero mobil düzenlemesi - 1.1.0
========================================================= */

@media (max-width: 980px) {
  .ozd-home-hero {
    margin-top: -22px !important;
    padding: 30px 0 30px !important;
  }

  .ozd-home-hero__inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .ozd-home-hero__content {
    max-width: none !important;
  }

  .ozd-home-hero__panel {
    max-width: none !important;
    justify-self: stretch !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .ozd-home-hero {
    padding: 28px 0 26px !important;
  }

  .ozd-home-hero__title {
    font-size: clamp(2rem, 1.45rem + 2.6vw, 2.75rem) !important;
    line-height: 1.1 !important;
  }

  .ozd-home-hero__desc {
    font-size: 1rem !important;
    line-height: 1.52 !important;
  }

  .ozd-home-hero__actions {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .ozd-home-hero__actions .ozd-btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  .ozd-home-hero__panel {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .ozd-home-stat {
    grid-template-columns: auto minmax(0, 1fr) !important;
    justify-items: start !important;
    align-items: center !important;
    text-align: left !important;
    padding: 12px 14px !important;
  }

  .ozd-home-stat__label {
    font-size: 0.92rem !important;
  }
}

@media (max-width: 480px) {
  .ozd-home-hero {
    margin-top: -18px !important;
    padding: 24px 0 24px !important;
  }

  .ozd-home-hero__eyebrow {
    font-size: 0.82rem !important;
  }

  .ozd-home-hero__title {
    font-size: 1.95rem !important;
    letter-spacing: -0.035em !important;
  }
}


/* =========================================================
   Mobil ana sayfa son düzeltmeler - 1.1.3
   Hero başlık, buton taşması, DJ kart başlığı ve mobil boşluklar
========================================================= */
@media (max-width: 680px) {
  .ozd-home-hero {
    margin-bottom: 22px !important;
    padding: 24px 0 30px !important;
  }

  .ozd-home-hero > .ozd-container-wide {
    width: min(100% - 30px, var(--ozd-container-wide)) !important;
    max-width: 100% !important;
  }

  .ozd-home-hero__inner {
    gap: 22px !important;
  }

  .ozd-home-hero__eyebrow {
    max-width: 100% !important;
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
  }

  .ozd-home-hero__title {
    max-width: 11.5em !important;
    font-size: clamp(1.58rem, 1.22rem + 1.8vw, 1.9rem) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.032em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .ozd-home-hero__desc {
    max-width: 30ch !important;
    font-size: 0.94rem !important;
    line-height: 1.5 !important;
  }

  .ozd-home-hero__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px !important;
  }

  .ozd-home-hero__actions .ozd-btn,
  .ozd-home-hero__actions .ozd-button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
  }

  .ozd-home-hero__panel {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    padding: 10px !important;
  }

  .ozd-home-stat {
    grid-template-columns: auto minmax(0, 1fr) !important;
    justify-items: start !important;
    min-height: 0 !important;
    padding: 10px 12px !important;
    text-align: left !important;
  }

  .ozd-home-stat__value,
  .ozd-home-stat__label {
    min-width: 0 !important;
  }

  .ozd-home-section-head {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  .ozd-home-djs .ozd-home-section-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
  }

  .ozd-home-djs .ozd-section-title {
    margin: 0 !important;
    font-size: 1.22rem !important;
  }

  .ozd-home-djs .ozd-home-section-link {
    flex: 0 0 auto !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
  }

  .ozd-home-djs .ozd-home-empty {
    margin-top: 4px !important;
  }
}

@media (max-width: 420px) {
  .ozd-home-hero__title {
    max-width: 10.8em !important;
    font-size: 1.58rem !important;
  }

  .ozd-home-hero__desc {
    max-width: 28ch !important;
  }

  .ozd-front-request,
  .ozd-front-today,
  .ozd-front-news,
  .ozd-front-top10,
  .ozd-home-programs,
  .ozd-home-djs {
    padding: 15px !important;
  }
}


/* DJ arşivi mobil düzeni */
@media (max-width: 768px) {
  .ozd-dj-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ozd-dj-card {
    padding: 12px;
    border-radius: 20px;
  }

  .ozd-dj-thumb {
    height: 120px;
    border-radius: 16px;
  }

  .ozd-dj-card__body {
    min-height: 0;
    padding-top: 12px;
  }
}

@media (max-width: 420px) {
  .ozd-dj-thumb {
    height: 110px;
  }

  .ozd-dj-thumb__placeholder {
    width: 62px;
    height: 62px;
    font-size: 1.7rem;
  }

  .ozd-dj-card__title,
  .ozd-dj-card h2 {
    font-size: 1.28rem;
  }
}
