/* Traditional media queries keep navigation usable on older TV browsers. */
.cq-mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; }
@media screen and (min-width: 1024px) {
    .cq-mobile-nav { display: none !important; }
}
@media screen and (max-width: 1023px) {
    .cq-mobile-nav { display: flex; background: #fffef9; border-top: 1px solid #dce5df; }
    .dark .cq-mobile-nav { background: #10261e; }
    .cq-mobile-nav > a, .cq-mobile-nav > button { display: flex; flex: 1 1 20%; min-width: 0; flex-direction: column; align-items: center; justify-content: center; padding: 6px 2px; color: #426258; text-align: center; }
    .cq-mobile-nav > a > div, .cq-mobile-nav > button > div { display: flex; align-items: center; justify-content: center; }
    .cq-mobile-nav svg { width: 21px; height: 21px; }
    .cq-app { padding-bottom: 80px; }
}
@media screen and (min-width: 768px) {
    .cq-surah-banner { padding: 24px 32px 32px; }
    .cq-surah-navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 18px; }
    .cq-surah-navigation > div { display: flex; flex-wrap: wrap; }
    .cq-surah-navigation a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; margin: 3px; font-size: 15px; }
    .cq-surah-player { max-width: 1050px; margin: 20px auto 0; padding: 20px; background: #073c30; border: 1px solid #a88b48; border-radius: 20px; }
    .cq-surah-player-layout, .cq-surah-player-fields, .cq-surah-player-actions { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; }
    .cq-surah-player-fields { flex: 1 1 520px; }
    .cq-surah-player-fields > div { flex: 1 1 130px; min-width: 130px; margin: 6px; }
    .cq-surah-player-fields > div:first-child { flex-basis: 260px; }
    .cq-surah-player-fields select { display: block; width: 100%; min-height: 48px; padding: 8px; color: #fff; background: #075546; font-size: 16px; }
    .cq-surah-player-fields > div > div { text-align: left; }
    .cq-surah-player-actions { flex: 1 1 280px; }
    .cq-surah-player-actions button { min-height: 48px; margin: 6px; padding: 8px 14px; font-size: 15px; }
    .cq-surah-player-actions svg, .cq-surah-navigation svg { width: 18px; height: 18px; }
}
