/* WordPress-only additions: nothing here changes how the public site looks. */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media screen and (max-width: 600px) { body.admin-bar .site-header { top: 0; } }
@font-face {
  font-family: "HoomanTitleFa";
  src: url("../fonts/hooman-title-fa.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html[lang="fa"] #hero-title,
html[lang="fa"] #hero-title * {
  font-family: "HoomanTitleFa", serif;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Ray";
  src: url("../fonts/RAY.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ray";
  src: url("../fonts/RAY-BOLD.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* متن‌های نسخهٔ فارسی */
html[lang="fa"] body {
  font-family: "Ray", sans-serif;
  font-weight: 400;
}

html[lang="fa"] body :where(
  p, a, li, span, small, label, input,
  textarea, select, button, blockquote, dt, dd
) {
  font-family: "Ray", sans-serif;
  font-weight: 400;
}

/* تیترهای نسخهٔ فارسی و متن داخل آن‌ها */
html[lang="fa"] body :is(h1, h2, h3, h4, h5, h6),
html[lang="fa"] body :is(h1, h2, h3, h4, h5, h6) * {
  font-family: "Ray", sans-serif;
  font-weight: 700;
}

/* حفظ فونت اختصاصی نام صفحهٔ اول */
html[lang="fa"] body #hero-title,
html[lang="fa"] body #hero-title * {
  font-family: "HoomanTitleFa", serif;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "HoomanGolpayegani";
  src: url("../fonts/hooman-golpayegani-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html[lang="fa"] body #hero-title,
html[lang="fa"] body #hero-title * {
  font-family: "HoomanGolpayegani", serif;
  font-weight: 700;
  font-style: normal;
}
/* Hide the note below the concert list */
#concerts .tour-note {
  display: none;
}

/* Persian albums: cover before title */
html[lang="fa"] .disco-main > .disco-cover {
  order: -1;
}

@media (max-width: 640px) {
  html[lang="fa"] .disco-item a .disco-cover {
    order: -1;
  }
}

/* Video gallery */
.wrap:has(> .video-grid) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.wrap > .video-grid {
  display: contents;
}

/* One heading above all videos */
.wrap > .video-grid > .h2 {
  grid-column: 1 / -1;
  margin: 0 0 8px;
}

/* Remove empty heading placeholders */
.wrap > .video-grid > div[aria-hidden="true"] {
  display: none;
}

/* Equal-sized video cards */
.wrap > .video-grid > .video-frame {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

.wrap > .video-grid > .video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 640px) {
  .wrap:has(> .video-grid) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
