/* Desktop and wide-screen layout for the Glas de Romanie website. */
@media (min-width: 760px) {
  body { background: var(--paper); padding: 0; }
  .app { width: min(100%, 1440px); min-height: 100dvh; padding-bottom: 48px; overflow: visible; border-radius: 0; box-shadow: none; background: var(--paper); }
  .top { min-height: 86px; padding: 18px clamp(28px, 5vw, 72px); border-bottom: 1px solid var(--line); }
  .mark { width: 50px; height: 50px; font-size: 23px; }
  .brand { font-size: 18px; }
  .sub { font-size: 11px; }
  .lang-toggle { margin-left: auto; }
  .nav { position: sticky; z-index: 8; top: 0; bottom: auto; left: auto; transform: none; width: 100%; min-height: 62px; padding: 7px clamp(28px, 5vw, 72px); grid-template-columns: repeat(6, minmax(92px, 136px)); justify-content: center; gap: 10px; border-top: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fffdf8ed; box-shadow: 0 5px 18px #142b350d; backdrop-filter: blur(14px); }
  .nav label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 7px 11px; border-radius: 999px; font-size: 12px; }
  .nav-icon { display: inline-block; margin: 0; font-size: 17px; }
  .page-home:checked ~ .nav label[for="page-home"], .page-music:checked ~ .nav label[for="page-music"], .page-discover:checked ~ .nav label[for="page-discover"], .page-quiz:checked ~ .nav label[for="page-quiz"], .page-passport:checked ~ .nav label[for="page-passport"], .page-support:checked ~ .nav label[for="page-support"] { background: #f3e7d1; color: var(--terra); }
  .pages { max-width: 1320px; margin: 0 auto; padding: 34px clamp(28px, 5vw, 72px) 60px; }
  .screen { width: 100%; }
  .page-title { font-size: 38px; }
  .intro { max-width: 760px; font-size: 15px; }
  .hero { min-height: 390px; padding: clamp(36px, 5vw, 68px); border-radius: 30px; }
  .hero h1 { max-width: 620px; font-size: clamp(42px, 5vw, 66px); }
  .hero p { max-width: 520px; font-size: 17px; }
  .daily-story, .calendar-card { min-height: 210px; }
  .section-head { margin-top: 36px; }
  .section-head h2 { font-size: 29px; }
  .home-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .home-video .thumb, .home-video .video-thumb, .home-video img { min-height: 190px; }
  .features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .feature { min-height: 185px; padding: 22px; }
  .feature h3 { font-size: 21px; }
  .feature p { font-size: 14px; }
  .home-audio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .home-audio .track { margin: 0; }
  .video-list, .videos-list, .video-page-list, #video-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .video-list .video, .videos-list .video, .video-page-list .video, #video-list .video { margin: 0; align-self: start; }
  .video-list .player, .videos-list .player, .video-page-list .player, #video-list .player { grid-column: 1 / -1; }
  #music, #videos, #quiz-screen, #passport-screen, #support-screen { max-width: 1120px; margin: 0 auto; }
  .audio-playlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
  .discover-gallery { padding: 24px; }
  .discover-photo-card { height: min(58vw, 570px); }
  .place-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 480px; }
  .passport-stats, .passport-badge-grid, .passport-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quiz { padding: clamp(24px, 4vw, 48px); }
  .mini-player { right: 24px; bottom: 24px; width: min(390px, calc(100vw - 48px)); }
}

@media (min-width: 1180px) {
  .page-home:checked ~ .pages #home { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); column-gap: 22px; align-items: start; }
  #home > .hero, #home > .section-head, #home > .home-audio, #home > .home-videos, #home > .features, #home > .home-promo, #home > .home-support, #home > .home-about { grid-column: 1 / -1; }
  #home > .daily-story, #home > .calendar-card { margin-top: 18px; align-self: stretch; }
}

@media (max-width: 759px) {
  .nav { position: fixed; bottom: 0; top: auto; }
}




.home-about-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 9px; }
.home-about-social a { color: var(--muted); font-size: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.home-about-social a:hover { color: var(--terra); }
.support-facebook { background: #1877f2; }

.home-music-cta { display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin: 2px 0 8px; padding: 12px 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fffaf0; font: 750 12px system-ui, sans-serif; cursor: pointer; }
.home-music-cta:hover { background: var(--terra); }
.home-music-cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.home-music-icon { font-size: 17px; line-height: 1; }
@media (min-width: 1180px) { #home > .home-music-cta { grid-column: 1 / -1; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hero-actions .pill { margin-top: 0; }
.hero-shortcut { display: inline-flex; align-items: center; min-height: 38px; padding: 9px 12px; border: 1px solid #fff8; border-radius: 999px; background: #142b356b; color: #fffaf0; font: 750 10px system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.hero-shortcut:hover { background: #fff2; }
.hero-shortcut:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
