/* test9 Atelier 3.6: the 3.6 page parts (name fonts, «بدون عکس», guest name on the invitation, clips, box colours)
   in the atelier look. card-3.0.css styles these parts for test4's garden; the rules here put the atelier back. */
@font-face { font-family: "Wedding Script"; src: url("../fonts/candlescript.otf") format("opentype"); font-display: swap; }
:where(.names-font-atelier) { font-family: AtelierNaskh, "Vazirmatn", serif; }

/* --- The names on the garden: one under the other, «و» small and gold between them (as in 2.7) --- */
html body.theme-atelier .hero-content h1.names-fa {
  display: grid !important; gap: 2px !important; justify-items: center;
  font-size: clamp(30px, 6svh, 56px) !important; line-height: 1.4 !important; font-weight: 500; padding: 0 !important;
}
html body.theme-atelier .hero-content h1.names-fa.long-names { font-size: clamp(23px, 4.5svh, 42px) !important; line-height: 1.5 !important; }
html body.theme-atelier .hero-content h1.names-fa span { display: block; }
html body.theme-atelier .hero-content h1.names-fa b { font: 400 16px/1.5 var(--fa) !important; margin: 0 !important; color: var(--gold) !important; }
html body.theme-atelier .hero-content h1.names-fa.names-font-atelier, html body.theme-atelier .hero-content h1.names-fa.names-font-atelier span { font-family: AtelierNaskh, var(--fa) !important; }
/* The couple's other name fonts keep their own family; nastaliq needs room above and below. */
html body.theme-atelier .hero-content h1.names-fa.names-font-nastaliq { line-height: 1.7 !important; }
html body.theme-atelier .hero-content h1.names-fa.names-font-lalezar { font-size: clamp(26px, 5.2svh, 48px) !important; }
@media (max-width: 979px) and (max-height: 650px) { html body.theme-atelier .hero-content h1.names-fa b { font-size: 13px !important; } }
@media (max-width: 979px) and (max-height: 450px) {
  html body.theme-atelier .hero-content h1.names-fa { font-size: 24px !important; line-height: 1.3 !important; gap: 0 !important; }
  html body.theme-atelier .hero-content h1.names-fa.long-names { font-size: 19px !important; }
}
/* English names (other languages, or «English letters» in the panel): «دست‌خط ظریف» is the atelier's own script. */
html body.theme-atelier .hero-content h1.names-en { display: grid !important; gap: 0 !important; justify-items: center; font-size: clamp(34px, 6.6svh, 60px) !important; line-height: 1.25 !important; padding: 0 !important; }
html body.theme-atelier .hero-content h1.names-en.names-centered { display: flex !important; flex-wrap: wrap; justify-content: center !important; gap: 0 .22em !important; }
html body.theme-atelier .hero-content h1.names-en b { font: 400 .55em/1.2 Georgia, serif !important; margin: 0 !important; color: var(--gold) !important; }
html body.theme-atelier :is(.hero-content h1, .footer-couple).names-en.names-font-script,
html body.theme-atelier :is(.hero-content h1, .footer-couple).names-en.names-font-script span { font-family: "Wedding Script", WeddingScript, Georgia, serif !important; font-weight: 400; }

/* --- Footer names as in 2.7 --- */
html body.theme-atelier .site-footer .footer-couple.names-fa { display: block !important; font-size: 40px !important; line-height: 1.9 !important; }
html body.theme-atelier .site-footer .footer-couple.names-fa b { font: 400 25px/1 var(--fa) !important; margin: 0 .2em !important; color: inherit !important; }
html body.theme-atelier .site-footer .footer-couple.names-fa.names-font-atelier, html body.theme-atelier .site-footer .footer-couple.names-fa.names-font-atelier span { font-family: var(--display) !important; }
html body.theme-atelier .site-footer .footer-couple.names-en { display: block !important; font-size: 44px !important; line-height: 1.5 !important; }
@media (max-width: 520px) { html body.theme-atelier .site-footer .footer-couple.names-fa { font-size: 34px !important; } }

/* --- Venue: «add to calendar» under the route buttons --- */
.theme-atelier .venue-actions { display: flex; justify-content: center; margin-top: 14px; }
.theme-atelier .venue-action { color: var(--deep); font-size: 13px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); }
.theme-atelier .venue-action:hover, .theme-atelier .venue-action:focus-visible { color: var(--ink); }
