/* Shared site styles (loaded after Tailwind + audio-player CSS) */

[x-cloak] { display: none !important; }

/* Always a white page, also when the visitor's browser is in dark mode */
:root { color-scheme: light; }
html, body { background: #fff; color: #000; }

/* Square corners everywhere, including the third-party audio player */
*, *::before, *::after { border-radius: 0 !important; }
/* The player's own !important rules are more specific, so beat them explicitly */
.mbMiniPlayer .playerTable,
.mbMiniPlayer .playerTable span,
.mbMiniPlayer .playerTable span.map_play,
.mbMiniPlayer .playerTable span.map_volume,
.map_pl_container .pl_item.sel { border-radius: 0 !important; }

/* Thumbnail play icon */
.play-icon { position: absolute; pointer-events: none; transition: transform 300ms ease-in-out; }
.group:hover .play-icon { transform: scale(1.1); }

/* Name, navigation, section titles (h2): Cormorant Garamond Light 300, upright.
   Weights 300 + 700 linked in each page; 700 = current menu item (font-bold).
   "body h2" beats Tailwind's reset (h2 { font-weight: inherit }), which is injected after this file */
header, body h1, body h2 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
}

/* Name: 44px from 640px up; on phones it shrinks with the screen (max 26px) so it stays on one line.
   64px = header side padding; 11.6 = name width per px of font size (measured). */
.site-name { font-size: clamp(20px, calc((100vw - 64px) / 11.6), 26px); white-space: nowrap; }
@media (min-width: 640px) { .site-name { font-size: 44px; } }
