/*
Theme Name: One Hit Wonders
Description: Tema de bloques para la banda One Hit Wonders.
Version: 1.2.2
Text Domain: one-hit-wonders
*/
:root {
  --ohw-bg: #121019;
  --ohw-ink: #f6eff7;
  --ohw-muted: #d6c9dc;
  --ohw-line: #48374f;
  --ohw-accent: #eabaf5;
  --ohw-media-radius: 1.15rem;
  --ohw-serif: Georgia, 'Times New Roman', serif;
}
body { margin: 0; }
.ohw-nav a, .ohw-footer a, .ohw-section a { text-underline-offset: .25em; }
:focus-visible { outline: 2px solid var(--ohw-accent); outline-offset: 5px; }
.ohw-nav, .ohw-footer {
  display: flex; align-items: center; justify-content: space-between; gap: .9rem 2rem;
  flex-wrap: wrap; padding: .9rem clamp(1.25rem, 5vw, 5rem);
  background: #16121d; color: var(--ohw-ink);
}
.ohw-nav { border-bottom: 1px solid var(--ohw-line); }
.ohw-nav p, .ohw-nav figure, .ohw-footer p { margin: 0; }
.ohw-nav a, .ohw-footer a { color: inherit; }
.ohw-nav .ohw-logo img { display: block; width: 76px; height: 76px; border-radius: 50%; }
.ohw-links { display: flex; flex-wrap: wrap; gap: .45rem clamp(.9rem, 2vw, 1.75rem); font-size: .93rem; }
.ohw-links a { text-decoration: none; }
.ohw-links a:hover { color: var(--ohw-accent); text-decoration: underline; }

.ohw-hero {
  box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr); align-items: center;
  gap: clamp(1.5rem, 4vw, 4.25rem); padding: clamp(2rem, 5vw, 5.5rem) clamp(1.25rem, 5vw, 5rem);
  background: radial-gradient(ellipse at 85% 0%, #32203f, transparent 60%), #17121e;
  color: var(--ohw-ink); border-bottom: 1px solid var(--ohw-line);
}
.ohw-hero-copy { min-width: 0; padding-block: .5rem; }
.ohw-hero h1 {
  font-family: var(--ohw-serif); font-size: clamp(2.75rem, 6.3vw, 7rem);
  line-height: .97; letter-spacing: -.055em; font-weight: 400; margin: .24em 0 .35em;
}
.ohw-hero p { max-width: 36ch; color: var(--ohw-muted); }
.ohw-hero .ohw-kicker { color: var(--ohw-accent); font-size: .79rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.wp-block-image img, .wp-block-post-featured-image img, .wp-block-gallery img,
.wp-block-video video, .wp-block-embed iframe, main video { border-radius: var(--ohw-media-radius); }
.wp-block-embed__wrapper { border-radius: var(--ohw-media-radius); overflow: hidden; }
.ohw-hero-photo { border-radius: calc(var(--ohw-media-radius) + .45rem); min-width: 0; margin: 0; border: 1px solid #675271; padding: .45rem; }
.ohw-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

.ohw-section {
  width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 5.25rem);
}
.ohw-section h2, .ohw-booking h2 {
  font-family: var(--ohw-serif); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.06; letter-spacing: -.035em; margin: 0 0 .6em;
}
.ohw-section > p, .ohw-booking p { max-width: 64ch; }
.ohw-section a { color: var(--ohw-accent); }
.ohw-songs, .ohw-diary .wp-block-post-template {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem;
}
.ohw-songs > *, .ohw-diary .wp-block-post {
  background: #1e1726; border-radius: var(--ohw-media-radius); border: 1px solid var(--ohw-line); padding: 1.25rem; min-width: 0; overflow-wrap: anywhere;
}
.ohw-songs h3 { font: 400 1.35rem var(--ohw-serif); margin-top: 0; color: var(--ohw-accent); }
.ohw-songs ul { padding-left: 1.1rem; }
.ohw-songs li + li { margin-top: .5rem; }
.ohw-booking {
  background: #22182d; padding: clamp(2.5rem, 6vw, 5.25rem) clamp(1.25rem, 6vw, 6rem);
  border-block: 1px solid var(--ohw-line);
}
.ohw-hero .wp-block-buttons, .ohw-booking .wp-block-buttons, .ohw-market .wp-block-buttons { margin-top: 1.5rem; gap: .8rem; }
.ohw-hero .wp-block-button__link, .ohw-booking .wp-block-button__link, .ohw-market .wp-block-button__link {
  display: inline-block; border-radius: 999px; background: var(--ohw-accent); color: #25172d;
  padding: .75em 1.15em; font-weight: 700; text-decoration: none;
}
.ohw-hero .wp-block-button__link:hover, .ohw-booking .wp-block-button__link:hover, .ohw-market .wp-block-button__link:hover { background: #f7d8ff; }
.ohw-section.ohw-market { max-width: 46rem; }
.wp-block-button__link, .wp-block-search__button, main button { border-radius: 999px; }
@media (max-width: 760px) {
  .ohw-nav .ohw-logo img { width: 64px; height: 64px; }
  .ohw-hero, .ohw-songs, .ohw-diary .wp-block-post-template { grid-template-columns: minmax(0, 1fr); }
  .ohw-hero-photo img { aspect-ratio: 16 / 9; }
}

/* The native repertoire selector follows the One Hit Wonders palette. */
.ohw-section .tsr-repertorio-list { background: #1e1726; border-color: var(--ohw-line); }
.ohw-section .tsr-repertorio-list-head { background: #392645; color: var(--ohw-ink); }
.ohw-section .tsr-repertorio-item { background: #1e1726; color: var(--ohw-ink); border-color: var(--ohw-line); }
.ohw-section .tsr-repertorio-item:nth-of-type(odd) { background: #231a2c; }
.ohw-section .tsr-repertorio-item:hover { background: #2d2038; }
.ohw-section .tsr-repertorio-item[hidden], .ohw-section .tsr-selection-bar[hidden] { display: none !important; }
.ohw-section .tsr-repertorio-artist { color: var(--ohw-muted) !important; overflow-wrap: anywhere; }
.ohw-section .tsr-repertorio-cover { background: #382749; color: var(--ohw-accent); }
.ohw-section .tsr-repertorio-tags span { background: #3a2549; border-color: #5a4469; color: var(--ohw-accent); }
.ohw-section .tsr-repertorio-search, .ohw-section .tsr-repertorio-filter {
  background: #22182d; border: 1px solid #776382; color: var(--ohw-ink); border-radius: 999px;
}
.ohw-section .tsr-repertorio-search::placeholder { color: var(--ohw-muted); }
.ohw-section .tsr-repertorio button, .ohw-section .tsr-repertorio .tsr-selection-action { border-radius: 999px; }
.ohw-section .tsr-repertorio .tsr-song-select { background: var(--ohw-accent); color: #291832; border-color: var(--ohw-accent); }
.ohw-section .tsr-repertorio .tsr-song-select.is-selected { background: #7a3b92; color: white; border-color: #d69deb; }
