:root {
  --hermad-bg: #0D0D0F;
  --hermad-panel: rgba(27, 27, 31, .92);
  --hermad-panel-solid: #1b1b1f;
  --hermad-border: rgba(255,255,255,.07);
  --hermad-text: #f4f6ff;
  --hermad-muted: #d7dbe7;
  --hermad-purple: #5F258D;
  --hermad-purple-deep: #571F63;
  --hermad-purple-outline: #A10FD3;
  --hermad-blue: #0055ff;
  --hermad-pink: #cb1a60;
  --hermad-red: #f8422d;
  --hermad-green: #1db954;
  --hermad-shadow: 0 12px 30px rgba(0,0,0,.28);
  --hermad-radius: 18px;
  --hermad-max: 1100px;
  --hermad-header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hermad-header-h) + 18px); }
body {
  margin: 0;
  background: var(--hermad-bg);
  color: var(--hermad-text);
  font-family: "Source Sans Pro", Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body.hermad-menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, iframe:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.screen-reader-text,
.hermad-skip-link:not(:focus) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.hermad-skip-link:focus {
  position: fixed;
  z-index: 99999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  border-radius: 6px;
}
.site-shell {
  min-height: 100vh;
  background: linear-gradient(to bottom, rgba(13,13,15,.16), rgba(13,13,15,.76) 32%, #0D0D0F 70%);
}

/* Header / navigation */
.hermad-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--hermad-header-h);
  background: rgba(18,18,20,.92);
  border-bottom: 1px solid var(--hermad-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.admin-bar .hermad-site-header { top: 32px; }
.hermad-header-inner {
  width: min(100% - 32px, 1280px);
  min-height: var(--hermad-header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hermad-brand {
  display: inline-flex;
  align-items: center;
  width: 112px;
  flex: 0 0 auto;
  text-decoration: none;
}
.hermad-brand img { display: block; width: 100%; max-height: 54px; object-fit: contain; }
.hermad-primary-nav { margin-left: auto; }
.hermad-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.hermad-nav-list > li { margin: 0; }
.hermad-nav-list a {
  display: block;
  padding: 10px 10px;
  border-radius: 9px;
  color: var(--hermad-muted);
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.hermad-nav-list a:hover,
.hermad-nav-list .current-menu-item > a,
.hermad-nav-list a.is-active { color: #fff; background: rgba(95,37,141,.16); }
.hermad-nav-list .hermad-menu-pro a { border: 1px solid rgba(95,37,141,.58); }
.hermad-language-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--hermad-border);
}
.hermad-language-switcher a {
  color: #9ea4b4;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  padding: 6px 5px;
  border-radius: 6px;
}
.hermad-language-switcher a:hover,
.hermad-language-switcher a.is-current { color: #fff; background: rgba(255,255,255,.06); }
.hermad-mobile-language-slot { display: none; }
.hermad-menu-toggle { display: none; }

/* Main layout */
.hermad-main { min-height: 60vh; }
.hermad-content-wrap {
  width: min(100% - 32px, var(--hermad-max));
  margin: 0 auto;
}
.hermad-front-page .hermad-content-wrap { padding-bottom: 28px; }
.hermad-page .hermad-content-wrap,
.hermad-pro-page .hermad-content-wrap { padding-top: 28px; padding-bottom: 36px; }
.hermad-section { scroll-margin-top: calc(var(--hermad-header-h) + 18px); }
.hermad-panel {
  background: var(--hermad-panel);
  border: 1px solid var(--hermad-border);
  border-radius: var(--hermad-radius);
  box-shadow: var(--hermad-shadow);
  padding: 24px;
  margin: 22px 0 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hermad-panel > :first-child { margin-top: 0; }
.hermad-panel > :last-child { margin-bottom: 0; }
.hermad-section-title {
  margin: 0 0 14px !important;
  color: var(--hermad-purple) !important;
  font-size: clamp(1.55rem, 2.6vw, 1.9rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.hermad-section-lead { color: var(--hermad-muted); margin-top: 0; font-size: 1.08rem; }
.hermad-kicker {
  margin: 0 0 8px !important;
  color: var(--hermad-purple);
  font-size: .88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* Hero */
.hermad-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vh, 40px) 16px clamp(30px, 6vh, 52px);
  background: #0D0D0F;
  border-bottom: 1px solid var(--hermad-border);
  overflow: hidden;
}
.hermad-hero-inner { width: min(100%, 820px); text-align: center; }
.hermad-hero-logo { margin: 0 auto !important; }
.hermad-hero-logo img { display: block; width: min(100%, 680px) !important; margin: 0 auto; }
.hermad-hero-subtitle {
  margin: 10px 0 0 !important;
  color: #fff !important;
  font-size: clamp(1.05rem, 1.8vw, 1.65rem) !important;
  line-height: 1.06 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}

/* Group intro */
.hermad-intro-columns { gap: 24px !important; align-items: flex-start !important; }
.hermad-intro-copy { flex-basis: 60% !important; }
.hermad-intro-media { flex-basis: 40% !important; }
.hermad-intro-title {
  margin: 0 0 16px !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: .98 !important;
  color: #fff !important;
}
.hermad-intro-copy p,
.hermad-intro-bottom p { color: var(--hermad-muted); font-size: 1.08rem; line-height: 1.55; }
.hermad-intro-copy .hermad-emphasis { color: #fff; font-weight: 800; font-size: 1.25rem; line-height: 1.5; }
.hermad-intro-photo { margin: 0 !important; border-radius: 18px; overflow: hidden; box-shadow: var(--hermad-shadow); border: 1px solid rgba(255,255,255,.08); }
.hermad-intro-photo img { width: 100%; display: block; }
.hermad-intro-bottom { margin-top: 18px; }
.hermad-video { margin: 20px 0 0 !important; }
.hermad-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.hermad-video .wp-block-embed__wrapper,
.hermad-video iframe { border-radius: 18px; overflow: hidden; }
.hermad-video iframe { width: 100%; height: 100%; border: 0; display: block; box-shadow: var(--hermad-shadow); }

/* Streaming and socials */
.hermad-listen { display: grid; gap: 16px; }
.hermad-listen-video { margin: 28px 0 0 !important; }
.hermad-spotify-embed iframe { width: 100%; height: 352px; border: 0; border-radius: 0; display: block; }
.hermad-platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.hermad-platform-button,
.hermad-social-button {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.hermad-platform-button:hover,
.hermad-social-button:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 24px rgba(0,0,0,.24); }
.hermad-platform-button--spotify { background: #1db954; color: #fff; }
.hermad-platform-button--deezer { background: #a238ff; color: #fff; }
.hermad-social-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.hermad-social-button--youtube { background: #7502fb; }
.hermad-social-button--facebook { background: #278eea; }
.hermad-social-button--instagram { background: #cb1a60; }
.hermad-social-button--spotify { background: #1db954; }
.hermad-social-button--deezer { background: #a238ff; }

/* Members */
.hermad-members-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px;
  justify-items: center;
  align-items: start;
  width: min(100%, 1080px);
  margin: 0 auto !important;
}
.hermad-member-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  width: 100%;
  max-width: 220px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  text-align: center;
}
.hermad-member-image {
  width: 100% !important;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  height: auto !important;
  margin: 0 auto !important;
  border-radius: 0;
  overflow: hidden;
  background: rgba(255,255,255,.05);
}
.hermad-member-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
.hermad-member-image--placeholder { position: relative; }
.hermad-member-image--mystery img { object-fit: cover; }
.hermad-member-image--placeholder::before {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(116,27,140,.30), rgba(0,85,255,.18));
}
.hermad-member-copy { margin: 0 !important; width: 100%; text-align: center; }
.hermad-member-name { margin: 0 !important; font-size: 1.18rem !important; color: #fff !important; font-weight: 800 !important; }
.hermad-member-role { margin: 5px 0 0 !important; color: var(--hermad-purple); font-size: 1rem; line-height: 1.45; font-weight: 700; }
.hermad-member-card--mystery { opacity: .86; }

/* Concerts */
.hermad-concerts-block { display: grid; gap: 20px; }
.hermad-subsection-title { margin: 0 0 10px; color: #fff; font-size: 1.22rem; text-transform: uppercase; letter-spacing: .025em; }
.hermad-subsection-note { color: #9ea4b4; margin: -4px 0 12px; font-size: .94rem; }
.hermad-concert-list { display: grid; gap: 10px; }
.hermad-concert-card {
  display: grid;
  grid-template-columns: 170px minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(116,27,140,.10);
  border: 1px solid rgba(116,27,140,.26);
}
.hermad-concert-card.is-featured { border-color: rgba(161,15,211,.78); box-shadow: inset 4px 0 0 var(--hermad-purple); }
.hermad-concert-card.is-past { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.07); }
.hermad-concert-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 11px;
  background: #121214;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}
.hermad-concert-date small { color: var(--hermad-muted); font-weight: 600; }
.hermad-concert-main h3 { margin: 0 0 3px; color: #fff; font-size: 1.15rem; }
.hermad-concert-main p { margin: 0; color: var(--hermad-muted); line-height: 1.4; }
.hermad-concert-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.hermad-ticket-button,
.hermad-outline-button,
.hermad-event-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
}
.hermad-ticket-button { background: var(--hermad-purple-deep); color: #fff; border: 1px solid var(--hermad-purple-deep); }
.hermad-ticket-button:hover { filter: brightness(1.1); }
.hermad-outline-button,
.hermad-event-link { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.03); }
.hermad-outline-button:hover,
.hermad-event-link:hover { background: rgba(255,255,255,.08); }
.hermad-status { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: .82rem; font-weight: 800; background: rgba(255,255,255,.08); }
.hermad-status--cancelled { color: #ff9a8f; border: 1px solid rgba(248,66,45,.4); }
.hermad-status--postponed { color: #ffcf6b; border: 1px solid rgba(255,207,107,.35); }
.hermad-status--sold_out { color: #fff; background: rgba(203,26,96,.45); }
.hermad-recent-concerts { padding-top: 2px; }
.hermad-empty { color: #aeb4c4; font-style: italic; }
.hermad-archive-year + .hermad-archive-year { margin-top: 28px; }
.hermad-archive-year > h2 { color: var(--hermad-purple); }

/* Contact */
.hermad-contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.hermad-contact-label { display: block; color: var(--hermad-purple); text-transform: uppercase; font-size: 1rem; font-weight: 900; letter-spacing: .04em; }
.hermad-contact-value { color: #fff; font-size: 1.12rem; font-weight: 700; text-decoration: none; word-break: break-word; }
.hermad-contact-value:hover { text-decoration: underline; }

/* Generic pages */
.hermad-page-panel { padding: 28px; }
.hermad-page-title { margin-top: 0; font-size: clamp(2rem, 5vw, 3.4rem); }
.hermad-entry-content { color: var(--hermad-muted); }
.hermad-entry-content a { color: #fff; }
.hermad-entry-content img { border-radius: 14px; }
.hermad-bio-copy { width: min(100%, 860px); margin: 0 auto; }
.hermad-bio-copy p { margin: 0 0 22px; font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.72; }
.hermad-bio-copy p:first-child { color: #fff; font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; }
.hermad-bio-copy .hermad-bio-emphasis { color: #fff; font-weight: 700; line-height: 1.55; }

/* Pro */
.hermad-pro-editable > .hermad-panel:first-child { margin-top: 0; }
.hermad-pro-intro-grid { gap: 24px !important; align-items: center !important; }
.hermad-pro-intro h1 { font-size: clamp(2rem, 4.5vw, 3.4rem) !important; margin-top: 0; }
.hermad-pro-origin { color: var(--hermad-purple); font-weight: 900; text-transform: uppercase; }
.hermad-pro-photo { margin: 0 !important; border-radius: 16px; overflow: hidden; }
.hermad-pro-photo img { width: 100%; display: block; }
.hermad-facts-grid { gap: 12px !important; }
.hermad-facts-grid > .wp-block-column { padding: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; }
.hermad-fact-label { margin: 0 !important; color: #9ea4b4; font-size: .83rem; font-weight: 800; text-transform: uppercase; }
.hermad-fact-value { margin: 4px 0 0 !important; color: #fff; font-size: 1.2rem; font-weight: 800; }
.hermad-pro-contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.hermad-pro-contact-card { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.hermad-pro-contact-card h3 { margin: 0 0 10px; color: var(--hermad-purple); font-size: 1.05rem; }
.hermad-pro-contact-card p { margin: 5px 0; }
.hermad-pro-contact-card a { color: #fff; text-decoration: none; word-break: break-word; }
.hermad-pro-contact-card a:hover { text-decoration: underline; }
.hermad-document-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.hermad-document-button { min-height: 88px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px; border-radius: 14px; color: #fff; text-decoration: none; background: linear-gradient(135deg, rgba(87,31,99,.94), rgba(0,85,255,.30)); border: 1px solid rgba(161,15,211,.44); }
.hermad-document-button span { font-weight: 900; }
.hermad-document-button small { color: #d9dce8; }
.hermad-document-button:hover { filter: brightness(1.08); }
.hermad-document-button.is-missing { opacity: .45; filter: grayscale(1); }
.hermad-password-panel { max-width: 650px; margin: 60px auto 0; }
.hermad-password-panel input[type="password"] { width: min(100%, 340px); padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: #111; color: #fff; }
.hermad-password-panel input[type="submit"] { margin-left: 8px; padding: 10px 16px; border: 0; border-radius: 8px; background: var(--hermad-purple-deep); color: #fff; font-weight: 800; cursor: pointer; }

/* Single concert */
.hermad-single-concert h1 { margin: 0 0 6px; font-size: clamp(2rem, 5vw, 3.4rem); }
.hermad-single-concert-date { margin: 0 0 20px; color: var(--hermad-purple); font-size: 1.2rem; font-weight: 800; }
.hermad-single-concert-image { margin: 20px 0; }
.hermad-single-concert-image img { border-radius: 16px; display: block; }
.hermad-single-concert-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 16px; margin: 20px 0; }
.hermad-single-concert-meta p { margin: 0; color: var(--hermad-muted); }
.hermad-single-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* Footer */
.hermad-site-footer { margin-top: 26px; background: var(--hermad-purple-deep); color: #f4f6ff; text-align: center; padding: 18px 0 22px; }
.hermad-footer-inner { width: min(100% - 32px, var(--hermad-max)); margin: 0 auto; }
.hermad-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 14px; }
.hermad-footer-links a { color: #fff; text-decoration: none; font-size: .9rem; font-weight: 800; }
.hermad-footer-links a:hover { text-decoration: underline; }
.hermad-site-footer p { margin: 0; line-height: 1.5; }

/* WordPress alignment safeguards inside the fixed site shell */
.hermad-content-wrap > .alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.hermad-content-wrap > .alignwide { width: min(100vw - 32px, 1320px); max-width: none; margin-left: 50%; transform: translateX(-50%); }

@media (max-width: 1080px) {
  .hermad-nav-list a { padding-inline: 7px; font-size: .88rem; }
  .hermad-language-switcher { padding-left: 6px; }
}

@media (max-width: 900px) {
  :root { --hermad-header-h: 64px; }
  .admin-bar .hermad-site-header { top: 46px; }
  .hermad-header-inner { min-height: var(--hermad-header-h); }
  .hermad-brand { width: 96px; }
  .hermad-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    color: #fff;
    background: rgba(255,255,255,.04);
    cursor: pointer;
  }
  .hermad-menu-toggle-lines { width: 20px; display: grid; gap: 4px; }
  .hermad-menu-toggle-lines span { height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .hermad-menu-toggle[aria-expanded="true"] .hermad-menu-toggle-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hermad-menu-toggle[aria-expanded="true"] .hermad-menu-toggle-lines span:nth-child(2) { opacity: 0; }
  .hermad-menu-toggle[aria-expanded="true"] .hermad-menu-toggle-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hermad-primary-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--hermad-header-h);
    max-height: calc(100vh - var(--hermad-header-h));
    overflow: auto;
    padding: 18px 16px 24px;
    background: rgba(18,18,20,.985);
    border-bottom: 1px solid var(--hermad-border);
  }
  .admin-bar .hermad-primary-nav { top: calc(var(--hermad-header-h) + 46px); }
  .hermad-primary-nav.is-open { display: block; }
  .hermad-nav-list { display: grid; gap: 5px; }
  .hermad-nav-list a { padding: 13px 14px; font-size: 1.03rem; }
  .hermad-language-switcher { margin-left: 4px; padding-left: 8px; }
  .hermad-members-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
  .hermad-concert-card { grid-template-columns: 150px 1fr; }
  .hermad-concert-actions { grid-column: 2; justify-content: flex-start; }
  .hermad-pro-contact-grid,
  .hermad-document-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 782px) {
  .admin-bar .hermad-site-header { top: 46px; }
}

@media (max-width: 720px) {
  .hermad-panel { padding: 18px; border-radius: 15px; }
  .hermad-intro-columns,
  .hermad-pro-intro-grid { display: grid !important; grid-template-columns: 1fr !important; }
  .hermad-intro-photo { max-width: 340px; }
  .hermad-hero { min-height: calc(100svh - 74px); padding: 24px 16px 24px; }
  .hermad-hero-logo img { width: min(84vw, 560px) !important; }
  .hermad-hero-subtitle { font-size: .94rem !important; }
  .hermad-platform-grid,
  .hermad-social-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hermad-member-card { max-width: 210px; }
  .hermad-member-image { max-width: 210px; }
  .hermad-concert-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "date actions"
      "main actions";
    column-gap: 14px;
    row-gap: 10px;
  }
  .hermad-concert-date { grid-area: date; width: fit-content; flex-direction: row; align-items: baseline; gap: 8px; }
  .hermad-concert-main { grid-area: main; }
  .hermad-concert-actions {
    grid-area: actions;
    align-self: center;
    justify-self: end;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    flex-wrap: nowrap;
  }
  .hermad-contact-box { align-items: flex-start; flex-direction: column; }
  .hermad-pro-contact-grid,
  .hermad-document-grid,
  .hermad-single-concert-meta { grid-template-columns: 1fr; }
  .hermad-facts-grid { display: grid !important; grid-template-columns: 1fr !important; }
}

@media (max-width: 520px) {
  .hermad-content-wrap { width: min(100% - 22px, var(--hermad-max)); }
  .hermad-header-inner { width: calc(100% - 22px); }
  .hermad-brand { width: 86px; }
  .hermad-language-switcher a { font-size: .72rem; padding: 5px 4px; }
  .hermad-panel { padding: 16px; }
  .hermad-hero { min-height: calc(100svh - 66px); padding: 20px 12px 18px; }
  .hermad-hero-logo img { width: min(82vw, 390px) !important; }
  .hermad-hero-subtitle { margin-top: 7px !important; font-size: .80rem !important; }
  .hermad-intro-title { font-size: 2.15rem !important; }
  .hermad-intro-photo { max-width: 270px; }
  .hermad-platform-grid,
  .hermad-social-grid { grid-template-columns: 1fr; }
  .hermad-platform-button,
  .hermad-social-button { min-height: 58px; }
  .hermad-members-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .hermad-member-card { max-width: 160px; gap: 10px; }
  .hermad-member-image { max-width: 160px; }
  .hermad-member-image--placeholder::before { font-size: 2.2rem; }
  .hermad-concert-dept { display: block; margin-top: 3px; }
  .hermad-password-panel input[type="submit"] { margin: 8px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ================================================================
   HerMad 0.2.0 — flat visual system + centered branded navigation
   ================================================================ */
.site-shell {
  background: var(--hermad-bg);
}

/* Flat page: sections share one continuous background instead of cards. */
.hermad-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 58px 0 0;
  margin: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hermad-hero {
  border-bottom: 0;
}
.hermad-intro-photo,
.hermad-video .wp-block-embed__wrapper,
.hermad-video iframe,
.hermad-pro-photo,
.hermad-single-concert-image img,
.hermad-entry-content img {
  border-radius: 0;
  box-shadow: none;
  border: 0;
}
.hermad-front-page .hermad-content-wrap { padding-bottom: 56px; }

/* Member blocks are now simple content rows, not cards. */
.hermad-member-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.hermad-member-card--mystery {
  border: 0;
  opacity: .86;
}

/* Concerts use quiet list separators instead of elevated cards. */
.hermad-concert-card {
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  background: transparent;
}
.hermad-concert-card:first-child { border-top: 1px solid rgba(255,255,255,.10); }
.hermad-concert-card.is-featured {
  border-color: rgba(255,255,255,.10);
  box-shadow: none;
  padding-left: 14px;
  border-left: 3px solid var(--hermad-purple);
}
.hermad-concert-card.is-past {
  background: transparent;
  border-color: rgba(255,255,255,.08);
}
.hermad-concert-date {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.hermad-contact-box {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.hermad-page-panel { padding: 0; }
.hermad-pro-editable > .hermad-panel:first-child { padding-top: 0; }
.hermad-facts-grid > .wp-block-column,
.hermad-pro-contact-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Footer follows the same uniform background. */
.hermad-site-footer {
  margin-top: 58px;
  background: var(--hermad-bg);
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 24px 0 28px;
}

/* Desktop header: logo + central links form one centered group.
   Contact and Espace Pro live independently on the far right. */
.hermad-header-inner {
  width: min(100% - 32px, 1380px);
  min-height: var(--hermad-header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.hermad-nav-center {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 7px;
  min-width: 0;
}
.hermad-brand {
  width: 74px;
  min-width: 74px;
  height: 52px;
  padding: 4px 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  transition: background .18s ease, opacity .18s ease;
}
.hermad-brand:hover { background: rgba(255,255,255,.05); }
.hermad-brand img {
  width: 100%;
  max-height: 44px;
  object-fit: contain;
  display: block;
}
.hermad-primary-nav { margin: 0; }
.hermad-nav-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.hermad-utility-nav { display: block; }
.hermad-nav-list {
  gap: 2px;
}
.hermad-nav-list a {
  padding: 10px 9px;
  border-radius: 7px;
  font-family: "Michroma", "Source Sans Pro", Arial, sans-serif;
  font-size: .876rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.hermad-nav-list .hermad-menu-pro a {
  border: 1px solid rgba(95,37,141,.62);
}
.hermad-nav-list .hermad-menu-contact a {
  color: #fff;
}
.hermad-nav-list--utility { gap: 5px; }
.hermad-language-switcher {
  margin-left: 3px;
  padding-left: 9px;
}

@media (max-width: 1160px) and (min-width: 901px) {
  .hermad-header-inner { width: min(100% - 24px, 1380px); gap: 10px; }
  .hermad-brand { width: 64px; min-width: 64px; padding-inline: 5px; }
  .hermad-nav-list a { padding-inline: 6px; font-size: .792rem; letter-spacing: .035em; }
  .hermad-language-switcher { padding-left: 6px; }
  .hermad-language-switcher a { padding-inline: 3px; }
}

@media (max-width: 900px) {
  body.hermad-menu-open { overflow-x: hidden; overflow-y: auto; }
  .hermad-header-inner {
    width: min(100% - 26px, 1380px);
    min-height: var(--hermad-header-h);
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0 10px;
  }
  .hermad-nav-center { display: contents; }
  .hermad-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 72px;
    min-width: 72px;
    height: 56px;
    padding: 4px 0;
  }
  .hermad-mobile-language-slot {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-self: end;
  }
  .hermad-mobile-language-slot .hermad-language-switcher {
    margin: 0;
    padding: 0;
    border: 0;
    gap: 10px;
  }
  .hermad-mobile-language-slot .hermad-language-switcher a {
    min-width: 32px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: .76rem;
    padding: 6px 7px;
  }
  .hermad-mobile-language-slot .hermad-language-switcher a.is-current {
    color: var(--hermad-purple);
    background: rgba(95,37,141,.16);
  }
  .hermad-mobile-language-slot .hermad-language-switcher a.is-current .hermad-language-code {
    display: inline;
    color: inherit;
  }
  .hermad-nav-right > .hermad-language-switcher {
    display: none;
  }
  .hermad-menu-toggle {
    grid-column: 3;
    grid-row: 1;
    margin-left: 0;
  }
  .hermad-primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    display: none;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 12px 0 2px;
    background: transparent;
    border: 0;
  }
  .hermad-primary-nav.is-open { display: block; }
  .admin-bar .hermad-primary-nav { top: auto; }
  .hermad-nav-right {
    grid-column: 1 / -1;
    grid-row: 3;
    display: none;
    width: 100%;
    justify-self: stretch;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 0 0 14px;
  }
  body.hermad-menu-open .hermad-nav-right { display: flex; }
  .hermad-nav-list {
    display: grid;
    gap: 2px;
  }
  .hermad-nav-list a {
    padding: 12px 0;
    border-radius: 0;
    font-size: .984rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .hermad-nav-list .hermad-menu-pro a {
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: var(--hermad-purple);
  }
  .hermad-language-switcher {
    margin: 2px 0 0;
    padding: 10px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .hermad-panel { padding: 46px 0 0; }
}

@media (max-width: 520px) {
  .hermad-header-inner { width: calc(100% - 22px); gap: 0 8px; }
  .hermad-brand { width: 64px; min-width: 64px; }
  .hermad-mobile-language-slot .hermad-language-switcher { gap: 8px; }
  .hermad-mobile-language-slot .hermad-language-switcher a { font-size: .72rem; padding: 5px 6px; }
  .hermad-panel { padding: 40px 0 0; }
}

/* ================================================================
   HerMad 0.3.0 — home intro order: large photo, text, streaming, video
   ================================================================ */
.hermad-front-page .hermad-intro {
  padding-top: 24px;
}
.hermad-front-page .hermad-intro > .hermad-intro-photo {
  width: 100%;
  max-width: none;
  margin: 0 0 34px !important;
}
.hermad-front-page .hermad-intro > .hermad-intro-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.hermad-front-page .hermad-intro-copy--stacked {
  width: 100%;
  max-width: none;
  margin: 0;
}
.hermad-front-page .hermad-intro-copy--stacked p {
  color: var(--hermad-muted);
  font-size: 1.08rem;
  line-height: 1.55;
}
.hermad-front-page .hermad-intro-copy--stacked .hermad-emphasis {
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.5;
}
.hermad-video-section {
  padding-top: 30px;
}
.hermad-video-section .hermad-video {
  margin: 0 !important;
}

@media (max-width: 720px) {
  .hermad-front-page .hermad-intro > .hermad-intro-photo {
    max-width: none;
    margin-bottom: 26px !important;
  }
  .hermad-video-section { padding-top: 22px; }
}

/* ================================================================
   HerMad 0.4.0 — centered editorial introduction
   ================================================================ */
.hermad-front-page .hermad-intro-copy--stacked {
  width: min(100%, 920px);
  max-width: 920px;
  margin: 0 auto;
  padding-inline: 18px;
}

.hermad-front-page .hermad-intro-title {
  max-width: 690px;
  margin: 0 auto 24px !important;
  color: #fff !important;
  font-size: clamp(1.7rem, 2.7vw, 2.45rem) !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  letter-spacing: -.018em;
  text-align: center;
  text-wrap: balance;
}

.hermad-front-page .hermad-intro-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--hermad-purple);
  border-radius: 999px;
}

.hermad-front-page .hermad-intro-copy--stacked p {
  max-width: 860px;
  margin: 0 auto 22px;
  color: var(--hermad-muted);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.72;
  text-align: left;
}

.hermad-front-page .hermad-intro-title + p {
  max-width: 720px;
  margin-bottom: 26px;
  text-align: center;
  text-wrap: balance;
}

.hermad-front-page .hermad-intro-copy--stacked .hermad-emphasis {
  max-width: 620px;
  margin: 26px auto 30px;
  color: #fff;
  font-size: clamp(1.05rem, 1.35vw, 1.16rem);
  line-height: 1.65;
  font-weight: 800;
  letter-spacing: .005em;
  text-align: center;
  text-wrap: balance;
}

.hermad-front-page .hermad-intro-copy--stacked p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .hermad-front-page .hermad-intro-copy--stacked {
    padding-inline: 4px;
  }
  .hermad-front-page .hermad-intro-title {
    max-width: 540px;
    font-size: clamp(1.6rem, 8vw, 2.05rem) !important;
    margin-bottom: 20px !important;
  }
  .hermad-front-page .hermad-intro-title::after {
    margin-top: 15px;
  }
  .hermad-front-page .hermad-intro-copy--stacked p {
    line-height: 1.66;
  }
}


/* ================================================================
   HerMad 0.4.1 — wide, left-aligned editorial introduction
   ================================================================ */
.hermad-front-page .hermad-intro-copy--stacked {
  width: 100%;
  max-width: 1180px;
  margin: 0;
  padding-inline: 0;
}

.hermad-front-page .hermad-intro-title {
  max-width: none;
  width: 100%;
  margin: 0 0 22px !important;
  color: #fff !important;
  font-size: clamp(1.38rem, 1.85vw, 1.82rem) !important;
  line-height: 1.14 !important;
  font-weight: 800 !important;
  letter-spacing: -.012em;
  text-align: left;
  white-space: nowrap;
}

.hermad-front-page .hermad-intro-title::after {
  content: none !important;
  display: none !important;
}

.hermad-front-page .hermad-intro-copy--stacked p {
  max-width: 1100px;
  margin: 0 0 22px;
  color: var(--hermad-muted);
  font-size: clamp(1rem, 1.08vw, 1.07rem);
  line-height: 1.72;
  text-align: left;
}

.hermad-front-page .hermad-intro-title + p {
  max-width: 1040px;
  margin: 0 0 26px;
  text-align: left;
  text-wrap: pretty;
}

.hermad-front-page .hermad-intro-copy--stacked .hermad-emphasis {
  max-width: 900px;
  margin: 26px 0 30px;
  color: #fff;
  font-size: clamp(1.03rem, 1.18vw, 1.12rem);
  line-height: 1.7;
  font-weight: 800;
  letter-spacing: .002em;
  text-align: left;
  text-wrap: pretty;
}

.hermad-front-page .hermad-intro-copy--stacked p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .hermad-front-page .hermad-intro-copy--stacked {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }
  .hermad-front-page .hermad-intro-title {
    max-width: 100%;
    width: 100%;
    white-space: normal;
    font-size: clamp(1.48rem, 7vw, 1.85rem) !important;
    margin-bottom: 18px !important;
  }
  .hermad-front-page .hermad-intro-copy--stacked p,
  .hermad-front-page .hermad-intro-copy--stacked .hermad-emphasis {
    max-width: 100%;
    line-height: 1.66;
  }
}

/* ================================================================
   HerMad 0.4.3 — intro: one-line title + strict left alignment
   ================================================================ */
.hermad-front-page .hermad-intro-copy--stacked > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.hermad-front-page .hermad-intro-title {
  width: 100%;
  max-width: none !important;
  white-space: nowrap;
  font-size: clamp(1.28rem, 1.7vw, 1.72rem) !important;
}

.hermad-front-page .hermad-intro-title + p,
.hermad-front-page .hermad-intro-copy--stacked .hermad-emphasis,
.hermad-front-page .hermad-intro-copy--stacked p {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

@media (max-width: 900px) {
  .hermad-front-page .hermad-intro-title {
    white-space: normal;
  }
}


/* ================================================================
   HerMad 0.4.7 — hero social icons
   ================================================================ */
.hermad-hero-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin: 12px auto 0;
}

.hermad-hero-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  text-decoration: none;
  opacity: .94;
  transition: opacity .16s ease, transform .16s ease;
}

.hermad-hero-social img {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.hermad-hero-social:hover,
.hermad-hero-social:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.hermad-hero-social:focus-visible {
  outline: 2px solid var(--hermad-purple);
  outline-offset: 4px;
  border-radius: 4px;
}


/* ================================================================
   HerMad 0.5.0 — first screen hero only
   ================================================================ */
@media (min-width: 981px) {
  .hermad-hero {
    min-height: calc(100svh - 78px);
    padding-top: clamp(34px, 6vh, 56px);
    padding-bottom: clamp(36px, 8vh, 68px);
  }

  .hermad-hero-logo img {
    width: min(100%, 720px) !important;
  }
}

/* ================================================================
   HerMad 0.5.1 — home spacing + neutral intro emphasis
   ================================================================ */
.hermad-front-page .hermad-intro-copy--stacked .hermad-emphasis {
  max-width: 1100px;
  margin: 0 0 22px !important;
  color: var(--hermad-muted) !important;
  font-size: clamp(1rem, 1.08vw, 1.07rem) !important;
  line-height: 1.72 !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
}

/* Give each major home section a little more breathing room. */
.hermad-front-page .hermad-panel {
  padding-top: 88px;
}

.hermad-front-page .hermad-video-section {
  padding-top: 88px;
}

@media (max-width: 720px) {
  .hermad-front-page .hermad-panel,
  .hermad-front-page .hermad-video-section {
    padding-top: 62px;
  }
}

/* ================================================================
   HerMad 0.5.4 — streaming platform icon row
   ================================================================ */
.hermad-streaming-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  width: 100%;
  margin: 24px auto 0;
  padding: 4px 0;
}

.hermad-streaming-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0;
  color: #fff;
  text-decoration: none;
  opacity: .94;
  transition: opacity .16s ease, transform .16s ease;
}

.hermad-streaming-icon img {
  display: block;
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.hermad-streaming-icon:hover,
.hermad-streaming-icon:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.hermad-streaming-icon:focus-visible {
  outline: 2px solid var(--hermad-purple);
  outline-offset: 5px;
  border-radius: 5px;
}

@media (max-width: 640px) {
  .hermad-listen-video { margin-top: 22px !important; }

  .hermad-streaming-icons {
    display: grid;
    grid-template-columns: 45px 45px 72px 45px 45px;
    column-gap: 12px;
    row-gap: 18px;
    justify-content: center;
    align-items: center;
  }

  .hermad-streaming-icon {
    justify-self: center;
  }

  .hermad-streaming-icon--tidal { grid-column: 2; }
  .hermad-streaming-icon--amazon_music { grid-column: 3; }
  .hermad-streaming-icon--youtube_music { grid-column: 4; }
}

.hermad-streaming-icon--amazon_music { width: 72px; }
.hermad-streaming-icon--amazon_music img { width: 72px; height: 45px; }

/* ================================================================
   HerMad 0.5.15 — social icons in Contact
   ================================================================ */
.hermad-contact-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
}

.hermad-contact-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  text-decoration: none;
  opacity: .96;
  transition: opacity .16s ease, transform .16s ease;
}

.hermad-contact-social img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.hermad-contact-social--facebook img { width: 37px; height: 37px; }
.hermad-contact-social--instagram img { width: 36px; height: 36px; }
.hermad-contact-social--tiktok img { width: 36px; height: 36px; }

.hermad-contact-social:hover,
.hermad-contact-social:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.hermad-contact-social:focus-visible {
  outline: 2px solid var(--hermad-purple);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .hermad-contact-socials {
    margin-left: 0;
    justify-content: flex-start;
  }
}


/* ================================================================
   HerMad 0.5.20 — phone-only neutral headers
   No purple accents or framed items in either mobile navigation area.
   ================================================================ */
@media (max-width: 520px) {
  :root {
    --hermad-purple: #4A368A;
  }
}

@media (max-width: 520px) {
  .hermad-site-header {
    border-bottom: 0;
  }

  .hermad-site-header .hermad-menu-toggle {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .hermad-site-header .hermad-primary-nav,
  .hermad-site-header .hermad-nav-right,
  .hermad-site-header .hermad-utility-nav,
  .hermad-site-header .hermad-language-switcher {
    border: 0;
  }

  .hermad-site-header .hermad-nav-list a,
  .hermad-site-header .hermad-nav-list .hermad-menu-pro a,
  .hermad-site-header .hermad-nav-list .hermad-menu-contact a {
    color: #fff;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hermad-site-header .hermad-nav-list a:hover,
  .hermad-site-header .hermad-nav-list a:focus-visible,
  .hermad-site-header .hermad-nav-list .current-menu-item > a,
  .hermad-site-header .hermad-nav-list a.is-active {
    color: #fff;
    background: transparent;
    border: 0;
    box-shadow: none;
    outline-color: #fff;
  }

  .hermad-site-header .hermad-language-switcher a,
  .hermad-site-header .hermad-language-switcher a:hover,
  .hermad-site-header .hermad-language-switcher a:focus-visible,
  .hermad-site-header .hermad-language-switcher a.is-current {
    color: #fff;
    background: transparent;
    border: 0;
    box-shadow: none;
    outline-color: #fff;
  }
}


/* HerMad 0.5.21 — square member portraits. */
.hermad-member-image,
.hermad-member-image img {
  border-radius: 0 !important;
}


/* HerMad 0.5.22 — square mystery member block. */
.hermad-member-card--mystery,
.hermad-member-card--mystery .hermad-member-image,
.hermad-member-card--mystery .hermad-member-image img {
  border-radius: 0 !important;
}

/* HerMad 0.5.25 — force a visually square Spotify embed.
   Spotify draws its own rounded card inside the cross-origin iframe, so the
   dark player background is also applied to the iframe box and wrapper. */
.hermad-spotify-embed {
  background: #121212;
  border-radius: 0 !important;
  overflow: hidden;
}
.hermad-spotify-embed iframe {
  background: #121212 !important;
  border-radius: 0 !important;
  clip-path: inset(0 round 0) !important;
}

/* ================================================================
   HerMad 0.5.26 — slightly tighter spacing between intro paragraphs
   ================================================================ */
.hermad-front-page .hermad-intro-copy--stacked p {
  margin-bottom: 16px;
}

.hermad-front-page .hermad-intro-title + p {
  margin-bottom: 18px;
}

.hermad-front-page .hermad-intro-copy--stacked .hermad-emphasis {
  margin-bottom: 16px !important;
}

.hermad-front-page .hermad-intro-copy--stacked p:last-child {
  margin-bottom: 0;
}

#contact .hermad-section-lead { display: none !important; }

#ecouter .hermad-section-lead { display: none !important; }

/* 0.5.33 — Header typeface only on the four main section titles. */
#ecouter .hermad-section-title,
#concerts .hermad-section-title,
#membres .hermad-section-title,
#contact .hermad-section-title {
  font-family: "Michroma", "Source Sans Pro", Arial, sans-serif !important;
}

/* 0.5.35 — Slightly more breathing room below Écoute and Membres titles. */
#ecouter > .hermad-section-title,
#membres > .hermad-section-title {
  margin-bottom: 22px !important;
}

/* 0.5.36 — Center the four main section titles only. */
#ecouter .hermad-section-title,
#concerts .hermad-section-title,
#membres .hermad-section-title,
#contact .hermad-section-title {
  text-align: center !important;
}

/* HerMad 0.5.38 — slightly lighter intro manifesto title. */
.hermad-front-page .hermad-intro-title {
  font-size: clamp(1.20rem, 1.55vw, 1.58rem) !important;
  font-weight: 700 !important;
}


/* ================================================================
   HerMad 0.5.80 — dedicated Bio title + definitive Home cleanup
   ================================================================ */
.hermad-bio-page-title {
  font-family: "Michroma", "Source Sans Pro", Arial, sans-serif !important;
  color: var(--hermad-purple) !important;
  text-align: center !important;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.hermad-front-page .hermad-intro-copy--stacked,
.hermad-front-page .hermad-bio-copy,
.hermad-front-page .hermad-video-section,
.hermad-front-page .hermad-video {
  display: none !important;
}

/* The optional YouTube video configured in HerMad Core lives inside the
   listening block and must remain visible. This deliberately overrides the
   legacy Home cleanup rule above without reviving the old standalone video. */
.hermad-front-page .hermad-listen .hermad-listen-video {
  display: block !important;
}


/* ================================================================
   HerMad 0.5.81 — refined dedicated Bio typography
   ================================================================ */
.hermad-page .hermad-bio-copy {
  width: min(100%, 780px);
  margin: 26px auto 0;
}

.hermad-page .hermad-bio-copy p {
  margin: 0 0 24px;
  color: var(--hermad-muted);
  font-size: clamp(1.02rem, 1.12vw, 1.09rem);
  line-height: 1.82;
  letter-spacing: .002em;
}

.hermad-page .hermad-bio-copy p:first-child {
  width: 100%;
  max-width: none;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(1.24rem, 1.75vw, 1.48rem);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -.012em;
  text-align: left;
}

.hermad-page .hermad-bio-copy p:nth-child(2) {
  margin-bottom: 34px;
}

.hermad-page .hermad-bio-copy .hermad-bio-emphasis {
  margin: 32px 0 38px;
  padding: 2px 0 2px 22px;
  border-left: 2px solid var(--hermad-purple);
  color: #fff;
  font-size: clamp(1.08rem, 1.3vw, 1.18rem);
  line-height: 1.82;
  font-weight: 650;
  letter-spacing: .006em;
}

.hermad-page .hermad-bio-copy p:nth-child(5) {
  margin: 34px 0 28px;
  color: #fff;
  font-size: clamp(1.08rem, 1.25vw, 1.16rem);
  line-height: 1.68;
  font-weight: 650;
}

.hermad-page .hermad-bio-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .hermad-page .hermad-bio-copy {
    margin-top: 18px;
  }

  .hermad-page .hermad-bio-copy p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.72;
  }

  .hermad-page .hermad-bio-copy p:first-child {
    font-size: 1.18rem;
    line-height: 1.5;
  }

  .hermad-page .hermad-bio-copy p:nth-child(2) {
    margin-bottom: 28px;
  }

  .hermad-page .hermad-bio-copy .hermad-bio-emphasis {
    margin: 28px 0 32px;
    padding-left: 17px;
    font-size: 1.06rem;
    line-height: 1.75;
  }

  .hermad-page .hermad-bio-copy p:nth-child(5) {
    margin: 30px 0 24px;
    font-size: 1.06rem;
  }
}


/* ================================================================
   HerMad 0.5.83 — Espace Pro aligned with the main site
   ================================================================ */
.hermad-pro-page .hermad-content-wrap {
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: 64px;
}
.hermad-pro-header {
  margin: 0 0 72px;
  text-align: center;
}
.hermad-pro-page .hermad-pro-title,
.hermad-pro-page .hermad-pro-section > .hermad-section-title {
  font-family: "Michroma", "Source Sans Pro", Arial, sans-serif;
  color: var(--hermad-purple) !important;
  text-align: center;
  font-weight: 400 !important;
}
.hermad-pro-page .hermad-pro-title {
  margin-bottom: 0 !important;
}
.hermad-pro-page .hermad-pro-section {
  padding: 0;
  margin: 0 0 82px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hermad-pro-page .hermad-pro-section:last-child {
  margin-bottom: 0;
}
.hermad-pro-page .hermad-pro-section > .hermad-section-title {
  margin-bottom: 42px !important;
  font-size: clamp(1.18rem, 1.8vw, 1.42rem) !important;
}
.hermad-pro-page .hermad-pro-contact-grid {
  gap: 18px;
}
.hermad-pro-page .hermad-pro-contact-card {
  position: relative;
  padding: 18px 20px 18px 22px;
  background: linear-gradient(110deg, rgba(95,37,141,.075), rgba(255,255,255,.012) 72%);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 10px;
  overflow: hidden;
}
.hermad-pro-page .hermad-pro-contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--hermad-purple);
  opacity: .85;
}
.hermad-pro-page .hermad-pro-contact-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.hermad-pro-page .hermad-pro-contact-card p {
  margin: 5px 0;
  color: var(--hermad-muted);
}
.hermad-pro-page .hermad-pro-contact-card a {
  color: var(--hermad-muted);
  text-decoration-color: transparent;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.hermad-pro-page .hermad-pro-contact-card a:hover,
.hermad-pro-page .hermad-pro-contact-card a:focus-visible {
  color: #fff;
  text-decoration-color: rgba(255,255,255,.35);
}
.hermad-pro-page .hermad-pro-social-section {
  margin-top: -18px;
}
.hermad-pro-page .hermad-pro-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}
.hermad-pro-page .hermad-pro-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 8px;
  text-decoration: none;
  opacity: .96;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.hermad-pro-page .hermad-pro-social img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.hermad-pro-page .hermad-pro-social:hover,
.hermad-pro-page .hermad-pro-social:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(95,37,141,.08);
}
.hermad-pro-page .hermad-document-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hermad-pro-page .hermad-document-button {
  position: relative;
  min-height: 94px;
  padding: 18px 46px 18px 20px;
  background: linear-gradient(135deg, rgba(95,37,141,.18), rgba(95,37,141,.055) 58%, rgba(255,255,255,.018));
  border: 1px solid rgba(95,37,141,.40);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.hermad-pro-page .hermad-document-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--hermad-purple);
}
.hermad-pro-page .hermad-document-button::after {
  content: "↓";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hermad-purple);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  opacity: .88;
}
.hermad-pro-page .hermad-document-button span {
  color: #fff;
  font-weight: 700;
  letter-spacing: .01em;
}
.hermad-pro-page .hermad-document-button small {
  margin-top: 3px;
  color: #b79acb;
  font-weight: 600;
  letter-spacing: .025em;
}
.hermad-pro-page .hermad-document-button:hover,
.hermad-pro-page .hermad-document-button:focus-visible {
  filter: none;
  transform: translateY(-2px);
  border-color: rgba(95,37,141,.82);
  background: linear-gradient(135deg, rgba(95,37,141,.27), rgba(95,37,141,.09) 60%, rgba(255,255,255,.025));
  box-shadow: 0 10px 24px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.035);
}
.hermad-pro-page .hermad-document-button:hover::after,
.hermad-pro-page .hermad-document-button:focus-visible::after {
  color: #fff;
}
.hermad-pro-page .hermad-document-button.is-missing {
  opacity: .42;
  filter: none;
}

@media (max-width: 760px) {
  .hermad-pro-header { margin-bottom: 54px; }
  .hermad-pro-page .hermad-pro-social-section { margin-top: -10px; }
  .hermad-pro-page .hermad-pro-socials { gap: 18px; }
  .hermad-pro-page .hermad-pro-section { margin-bottom: 64px; }
  .hermad-pro-page .hermad-pro-section > .hermad-section-title { margin-bottom: 30px !important; }
  .hermad-pro-page .hermad-pro-contact-grid,
  .hermad-pro-page .hermad-document-grid { grid-template-columns: 1fr; }
  .hermad-pro-page .hermad-pro-contact-grid { gap: 16px; }
  .hermad-pro-page .hermad-document-button { min-height: 82px; padding: 16px 44px 16px 18px; }
}


/* ================================================================
   HerMad 0.5.88 — Espace Pro password access, aligned with site UI
   ================================================================ */
.hermad-pro-page .hermad-password-panel {
  width: min(100%, 720px);
  max-width: 720px;
  margin: clamp(56px, 8vw, 96px) auto 0;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hermad-pro-page .hermad-password-title {
  margin: 0 0 24px !important;
  color: var(--hermad-purple) !important;
  font-family: "Michroma", "Source Sans Pro", Arial, sans-serif;
  font-size: clamp(1.65rem, 3.1vw, 2.25rem) !important;
  font-weight: 400 !important;
  line-height: 1.18;
  text-align: center;
}
.hermad-pro-page .hermad-password-lead {
  max-width: 620px;
  margin: 0 auto;
  color: var(--hermad-muted);
  font-size: 1.04rem;
  line-height: 1.7;
  text-wrap: balance;
}
.hermad-pro-page .hermad-password-instruction {
  margin: 28px 0 14px;
  color: #fff;
  font-size: .96rem;
  line-height: 1.5;
}
.hermad-pro-page .hermad-password-form {
  width: min(100%, 560px);
  margin: 0 auto;
}
.hermad-pro-page .hermad-password-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
.hermad-pro-page .hermad-password-form input[type="password"] {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 9px;
  outline: 0;
  background: rgba(255,255,255,.025);
  color: #fff;
  font: inherit;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.hermad-pro-page .hermad-password-form input[type="password"]::placeholder {
  color: #8e939f;
}
.hermad-pro-page .hermad-password-form input[type="password"]:focus {
  border-color: rgba(95,37,141,.78);
  background: rgba(255,255,255,.04);
  box-shadow: 0 0 0 3px rgba(95,37,141,.10);
}
.hermad-pro-page .hermad-password-form button[type="submit"] {
  position: relative;
  min-height: 50px;
  min-width: 138px;
  padding: 0 42px 0 20px;
  border: 1px solid rgba(95,37,141,.42);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(95,37,141,.18), rgba(95,37,141,.055) 58%, rgba(255,255,255,.018));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font: inherit;
  font-weight: 800;
  letter-spacing: .015em;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.hermad-pro-page .hermad-password-form button[type="submit"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--hermad-purple);
}
.hermad-pro-page .hermad-password-form button[type="submit"]::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hermad-purple);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1;
  opacity: .9;
  transition: color .18s ease, transform .18s ease;
}
.hermad-pro-page .hermad-password-form button[type="submit"]:hover,
.hermad-pro-page .hermad-password-form button[type="submit"]:focus-visible {
  background: linear-gradient(135deg, rgba(95,37,141,.27), rgba(95,37,141,.09) 60%, rgba(255,255,255,.025));
  border-color: rgba(95,37,141,.82);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.035);
}
.hermad-pro-page .hermad-password-form button[type="submit"]:hover::after,
.hermad-pro-page .hermad-password-form button[type="submit"]:focus-visible::after {
  color: #fff;
  transform: translate(2px, -50%);
}

@media (max-width: 560px) {
  .hermad-pro-page .hermad-password-panel {
    margin-top: 44px;
    text-align: left;
  }
  .hermad-pro-page .hermad-password-title {
    text-align: left;
    font-size: 1.52rem !important;
  }
  .hermad-pro-page .hermad-password-lead {
    text-wrap: pretty;
  }
  .hermad-pro-page .hermad-password-instruction {
    margin-top: 24px;
  }
  .hermad-pro-page .hermad-password-form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hermad-pro-page .hermad-password-form button[type="submit"] {
    width: 100%;
  }
}


/* ================================================================
   HerMad 0.5.94 — Espace Pro password submit only
   Merch/WooCommerce styling lives in the HerMad Merch plugin.
   ================================================================ */
.hermad-pro-page .hermad-password-submit {
  position: relative;
  min-width: 166px;
  min-height: 54px;
  padding: 0 17px 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(95,37,141,.58) !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, rgba(95,37,141,.22), rgba(95,37,141,.075) 62%, rgba(255,255,255,.018)) !important;
  color: #fff !important;
  font: inherit;
  font-weight: 800;
  letter-spacing: .015em;
  text-decoration: none !important;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 6px 18px rgba(0,0,0,.10);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.hermad-pro-page .hermad-password-submit::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--hermad-purple);
}
.hermad-pro-page .hermad-password-submit::after { content: none !important; }
.hermad-pro-page .hermad-password-submit .hermad-button-arrow {
  flex: 0 0 auto;
  color: var(--hermad-purple);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1;
  transition: color .18s ease, transform .18s ease;
}
.hermad-pro-page .hermad-password-submit:hover,
.hermad-pro-page .hermad-password-submit:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(95,37,141,.88) !important;
  background: linear-gradient(135deg, rgba(95,37,141,.30), rgba(95,37,141,.11) 62%, rgba(255,255,255,.026)) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.045);
}
.hermad-pro-page .hermad-password-submit:hover .hermad-button-arrow,
.hermad-pro-page .hermad-password-submit:focus-visible .hermad-button-arrow {
  color: #fff;
  transform: translateX(3px);
}

@media (max-width: 560px) {
  .hermad-pro-page .hermad-password-submit {
    width: 100%;
  }
}


/* ================================================================
   HerMad 0.5.97 — Members live on the dedicated Bio page
   ================================================================ */
.hermad-page .hermad-bio-members {
  padding-top: 74px;
}

@media (max-width: 720px) {
  .hermad-page .hermad-bio-members {
    padding-top: 58px;
  }
}


/* ================================================================
   HerMad 0.6.1 — Concert action buttons
   Match the refined Pro/Documents language without changing layout.
   ================================================================ */
.hermad-concert-card .hermad-ticket-button,
.hermad-concert-card .hermad-event-link {
  position: relative;
  min-height: 44px;
  min-width: 132px;
  padding: 10px 40px 10px 16px;
  border: 1px solid rgba(95,37,141,.42);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(95,37,141,.18), rgba(95,37,141,.055) 58%, rgba(255,255,255,.018));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  filter: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.hermad-concert-card .hermad-ticket-button::before,
.hermad-concert-card .hermad-event-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--hermad-purple);
}
.hermad-concert-card .hermad-ticket-button::after,
.hermad-concert-card .hermad-event-link::after {
  content: "→";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hermad-purple);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1;
  opacity: .9;
  transition: color .18s ease, transform .18s ease;
}
.hermad-concert-card .hermad-ticket-button:hover,
.hermad-concert-card .hermad-ticket-button:focus-visible,
.hermad-concert-card .hermad-event-link:hover,
.hermad-concert-card .hermad-event-link:focus-visible {
  filter: none;
  background: linear-gradient(135deg, rgba(95,37,141,.27), rgba(95,37,141,.09) 60%, rgba(255,255,255,.025));
  border-color: rgba(95,37,141,.82);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.035);
}
.hermad-concert-card .hermad-ticket-button:hover::after,
.hermad-concert-card .hermad-ticket-button:focus-visible::after,
.hermad-concert-card .hermad-event-link:hover::after,
.hermad-concert-card .hermad-event-link:focus-visible::after {
  color: #fff;
  transform: translate(2px, -50%);
}

@media (max-width: 720px) {
  .hermad-concert-card .hermad-ticket-button,
  .hermad-concert-card .hermad-event-link {
    width: 132px;
    min-width: 132px;
    min-height: 42px;
    padding: 9px 36px 9px 14px;
    font-size: .92rem;
  }
  .hermad-concert-card .hermad-ticket-button::after,
  .hermad-concert-card .hermad-event-link::after {
    right: 12px;
  }
}


/* ================================================================
   HerMad 0.6.2 — unlocked Pro page title in white
   ================================================================ */
.hermad-pro-page .hermad-pro-title {
  color: #fff !important;
}

/* HerMad 0.6.18 — mobile language switcher: active language in HerMad purple. */
@media (max-width: 900px) {
  .hermad-site-header .hermad-mobile-language-slot .hermad-language-switcher a.is-current,
  .hermad-site-header .hermad-mobile-language-slot .hermad-language-switcher a.is-current:hover,
  .hermad-site-header .hermad-mobile-language-slot .hermad-language-switcher a.is-current:focus-visible {
    color: var(--hermad-purple) !important;
    background: rgba(95, 37, 141, .16) !important;
  }

  .hermad-site-header .hermad-mobile-language-slot .hermad-language-switcher a.is-current .hermad-language-code {
    color: inherit !important;
  }
}


/* ================================================================
   HerMad 0.6.21 — desktop language switcher: active language in HerMad purple.
   ================================================================ */
@media (min-width: 901px) {
  .hermad-site-header .hermad-nav-right > .hermad-language-switcher a.is-current,
  .hermad-site-header .hermad-nav-right > .hermad-language-switcher a.is-current:hover,
  .hermad-site-header .hermad-nav-right > .hermad-language-switcher a.is-current:focus-visible {
    color: var(--hermad-purple) !important;
    background: rgba(95, 37, 141, .16) !important;
  }

  .hermad-site-header .hermad-nav-right > .hermad-language-switcher a.is-current .hermad-language-code {
    color: inherit !important;
  }
}


/* ================================================================
   HerMad 0.6.23 — minimal concert venue address popover
   ================================================================ */
.hermad-concert-location { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.hermad-concert-address { position: relative; display: inline-flex; align-items: center; margin-left: 8px; vertical-align: middle; }
.hermad-concert-address__trigger {
  appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center;
  width: 19px; height: 19px; margin: 0; padding: 0; border: 1px solid rgba(95,37,141,.72); border-radius: 50%;
  background: rgba(95,37,141,.10); color: var(--hermad-purple); font: 700 12px/1 Georgia, serif; cursor: help;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.hermad-concert-address__trigger:hover, .hermad-concert-address__trigger:focus-visible, .hermad-concert-address.is-open .hermad-concert-address__trigger {
  color: #fff; border-color: var(--hermad-purple); background: rgba(95,37,141,.28); transform: translateY(-1px);
}
.hermad-concert-address__trigger:focus-visible { outline: 2px solid rgba(95,37,141,.45); outline-offset: 3px; }
.hermad-concert-address__tooltip {
  position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 30; width: max-content; max-width: min(300px, 72vw);
  padding: 9px 11px; border: 1px solid rgba(95,37,141,.38); border-radius: 8px; background: #17171a; color: #fff;
  font-size: .84rem; font-weight: 500; line-height: 1.4; text-align: left; white-space: normal; box-shadow: 0 10px 28px rgba(0,0,0,.34);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.hermad-concert-address__tooltip::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: 8px; background: #17171a;
  border-right: 1px solid rgba(95,37,141,.38); border-bottom: 1px solid rgba(95,37,141,.38); transform: translate(-50%, -4px) rotate(45deg);
}
.hermad-concert-address:hover .hermad-concert-address__tooltip, .hermad-concert-address:focus-within .hermad-concert-address__tooltip, .hermad-concert-address.is-open .hermad-concert-address__tooltip {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
@media (max-width: 720px) {
  .hermad-concert-address__trigger { cursor: pointer; }
  .hermad-concert-address__tooltip { left: 0; max-width: min(260px, calc(100vw - 44px)); transform: translate(0, 4px); }
  .hermad-concert-address__tooltip::after { left: 10px; transform: translate(0, -4px) rotate(45deg); }
  .hermad-concert-address:hover .hermad-concert-address__tooltip, .hermad-concert-address:focus-within .hermad-concert-address__tooltip, .hermad-concert-address.is-open .hermad-concert-address__tooltip { transform: translate(0, 0); }
}


/* ================================================================
   HerMad 0.6.25 — lock mobile viewport to vertical scrolling only.
   Prevent iOS horizontal drift/rubber-band caused by full-width elements.
   ================================================================ */
@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  body {
    touch-action: pan-y;
  }

  .site-shell,
  .hermad-main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  /* Keep the page contained while restoring real side gutters. */
  .hermad-content-wrap,
  .hermad-footer-inner {
    width: calc(100% - 40px);
    max-width: var(--hermad-max);
  }

  .hermad-hero,
  .hermad-content-wrap > .alignfull {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hermad-concerts-block,
  .hermad-concert-list,
  .hermad-concert-card,
  .hermad-concert-main {
    min-width: 0;
    max-width: 100%;
  }
}


/* HerMad 0.6.29 - mobile content gutters and overflow safeguards. */
@media (max-width: 900px) {
  .hermad-content-wrap > .alignwide {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    transform: none;
  }

  .hermad-listen {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .hermad-spotify-embed,
  .hermad-spotify-embed iframe {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hermad-contact-email {
    min-width: 0;
    max-width: 100%;
  }

  .hermad-contact-value {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 720px) {
  .hermad-concert-date {
    max-width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }

  .hermad-concert-main {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .hermad-streaming-icons {
    width: 100%;
    max-width: 300px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(8px, 3vw, 12px);
  }

  .hermad-streaming-icon,
  .hermad-streaming-icon img {
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .hermad-concert-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "date" "main" "actions";
  }

  .hermad-concert-actions {
    justify-self: start;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

/* HerMad 0.6.30 - consistent mobile concert alignment. */
@media (max-width: 720px) {
  .hermad-concert-card {
    grid-template-areas: "date date" "title actions" "location location";
    align-items: center;
  }
  .hermad-concert-main { display: contents; }
  .hermad-concert-main h3 {
    grid-area: title;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .hermad-concert-main .hermad-concert-location {
    display: block;
    grid-area: location;
    min-width: 0;
    margin: 0;
  }
  .hermad-concert-location .hermad-concert-dept {
    display: inline;
    margin: 0;
    vertical-align: baseline;
  }
  .hermad-concert-actions { align-self: center; }
}
@media (max-width: 360px) {
  .hermad-concert-card {
    grid-template-areas: "date" "title" "location" "actions";
  }
}

/* HerMad 0.6.32 - restore the space before the desktop location separator. */
@media (min-width: 721px) {
  .hermad-concert-location .hermad-concert-dept::before {
    content: " ";
    white-space: pre;
  }
}

/* HerMad 0.6.33 - hide only the home group photo caption. */
.hermad-front-page .hermad-intro-photo > figcaption {
  display: none;
}

/* HerMad 0.6.35 - keep the mobile viewport steady during touch gestures.
   Apply to the root scroller as well as the body; keep vertical scrolling. */
@media (pointer: coarse) {
  html,
  body {
    touch-action: pan-y;
  }
}

/* HerMad 0.6.38 - featured photo on the left, desktop only. */
.hermad-concert-photo { display: none; }

@media (min-width: 901px) {
  .hermad-concert-card.has-concert-photo {
    grid-template-columns: 180px minmax(0, 1fr) auto;
    grid-template-areas: "photo date actions" "photo title actions" "photo location actions";
    column-gap: 20px;
    row-gap: 6px;
  }
  .has-concert-photo > .hermad-concert-photo {
    display: block;
    grid-area: photo;
    width: 180px;
    max-width: 100%;
    aspect-ratio: 3 / 2;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(95, 37, 141, .28);
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
  }
  .hermad-concert-photo > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .has-concert-photo > .hermad-concert-date {
    grid-area: date;
    min-width: 0;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    white-space: normal;
  }
  .has-concert-photo > .hermad-concert-main { display: contents; }
  .has-concert-photo > .hermad-concert-main > h3 {
    grid-area: title;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .has-concert-photo > .hermad-concert-main > .hermad-concert-location {
    display: block;
    grid-area: location;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .has-concert-photo .hermad-concert-location .hermad-concert-dept {
    display: inline;
    margin: 0;
    vertical-align: baseline;
  }
  .has-concert-photo > .hermad-concert-actions {
    grid-area: actions;
    align-self: center;
    justify-self: end;
    flex-direction: column;
    align-items: stretch;
  }
}
