/* PRIGLO421: concatenated in original HTML cascade order; regenerate when a source changes. */
/* source: /frontend/addons/templates/qyz-uzatu-ivory/v2/catalog.css */
/* Stage 1: Ivory art direction only on its own catalogue card.
   Preserve the currently configured demo/hero photo set in the admin panel. */
.template-card-qyz-uzatu-ivory .qyz-thumb-qyz-uzatu-ivory {
  background: #f0e6d6;
  color: #5d4f40;
}
.template-card-qyz-uzatu-ivory .qyz-thumb-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(.70) contrast(.96) brightness(1.035);
  object-fit: cover;
}
.template-card-qyz-uzatu-ivory .qyz-thumb-art {
  background: linear-gradient(180deg, rgba(251,247,238,.88) 0%, rgba(251,247,238,.11) 31%, rgba(241,230,210,.04) 45%, rgba(246,238,224,.92) 100%);
}
.template-card-qyz-uzatu-ivory .qyz-thumb-art::before,
.template-card-qyz-uzatu-ivory .qyz-thumb-art::after {
  content: "";
  position: absolute;
  inset: 5.5%;
  border: 1px solid rgba(139, 116, 82, .57);
  border-radius: 46% 46% 8px 8px / 25% 25% 8px 8px;
}
.template-card-qyz-uzatu-ivory .qyz-thumb-art::after {
  inset: 7.7%;
  border-color: rgba(250, 246, 236, .68);
}
.template-card-qyz-uzatu-ivory .qyz-thumb-copy {
  inset: 9% 11% 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: #514637;
  text-shadow: 0 1px 12px rgba(251, 247, 238, .85);
}
.template-card-qyz-uzatu-ivory .qyz-thumb-copy span {
  font-size: clamp(9px, .8vw, 12px);
  font-weight: 600;
  letter-spacing: .24em;
  color: #76634b;
}
.template-card-qyz-uzatu-ivory .qyz-thumb-copy strong {
  margin-top: auto;
  margin-bottom: 8px;
  max-width: 100%;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 5.3vw, 74px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.02;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.template-card-qyz-uzatu-ivory .qyz-thumb-copy small {
  display: none;
}
.template-card-qyz-uzatu-ivory .qyz-thumb-copy em {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  color: #806b4e;
}
@media (prefers-reduced-motion: reduce) {
  .template-card-qyz-uzatu-ivory .qyz-thumb-photo {
    transition: none;
    transform: none !important;
  }
}

/* source: /frontend/addons/templates/qyz-stage2-catalog.css */
/* Stage 2: distinct selection-card art for the two Qyz uzatu adaptations.
   This stylesheet also applies to the public catalogue and category picker.
   An admin-configured demo photo remains visible beneath the design layers. */

/* Sakura Mist: blossom-pink paper, translucent petals and centered calligraphy. */
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-qyz-uzatu-sakura-mist {
  background: #f5dfde;
  color: #674b52;
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(.67) sepia(.11) brightness(1.09);
  object-fit: cover;
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-art {
  background:
    radial-gradient(ellipse 29% 12% at 18% 13%, rgba(255,232,239,.84), transparent 83%),
    radial-gradient(ellipse 16% 12% at 83% 26%, rgba(255,221,234,.75), transparent 88%),
    radial-gradient(ellipse 27% 18% at 11% 66%, rgba(250,193,211,.46), transparent 86%),
    linear-gradient(180deg, rgba(255,243,240,.91), rgba(245,221,221,.08) 34%, rgba(246,220,228,.24) 54%, rgba(255,241,235,.96) 100%);
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-art::before {
  content: "";
  position: absolute;
  inset: 4.7%;
  border: 1px solid rgba(190,124,140,.56);
  border-radius: 49% 49% 2% 2% / 21% 21% 2% 2%;
  box-shadow: inset 0 0 0 4px rgba(255,246,243,.19);
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-art::after {
  content: "✿";
  position: absolute;
  top: 16%;
  right: 7%;
  color: #c9869e;
  font-family: Georgia, serif;
  font-size: clamp(27px, 3vw, 42px);
  opacity: .85;
  text-shadow: -23px -18px 0 rgba(198,112,143,.52), -34px 15px 0 rgba(246,202,215,.84), -11px 39px 0 rgba(222,145,166,.47);
  transform: rotate(-22deg);
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-copy {
  inset: 9% 9% 9%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: #63464e;
  text-shadow: 0 1px 13px rgba(255,240,236,.88);
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-copy span {
  font: 600 9px/1.4 "Noto Sans", sans-serif;
  letter-spacing: .25em;
  color: #956876;
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-copy strong {
  margin-top: auto;
  margin-bottom: 7px;
  max-width: 100%;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(43px, 5.2vw, 75px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-copy small { display: none; }
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-copy em {
  font: 500 10px/1.4 "Noto Sans", sans-serif;
  letter-spacing: .12em;
  color: #845c6b;
}

/* Aurelia: sculpted ivory portrait, double golden orbit and fine print. */
.template-card-qyz-uzatu-aurelia .qyz-thumb-qyz-uzatu-aurelia {
  background: linear-gradient(135deg, #f8f1e6, #e9d9bf);
  color: #66533d;
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-photo {
  left: 13%;
  top: 14%;
  width: 74%;
  height: 63%;
  border-radius: 48% 48% 45% 45% / 38% 38% 55% 55%;
  object-fit: cover;
  filter: saturate(.60) sepia(.13) brightness(1.04);
  box-shadow: 0 15px 35px rgba(103,74,49,.17);
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-art {
  background:
    radial-gradient(ellipse 83% 59% at 50% 42%, transparent 46%, rgba(248,241,228,.48) 89%),
    linear-gradient(180deg, rgba(251,245,235,.46), transparent 29%, rgba(247,238,222,.03) 53%, rgba(245,235,217,.96) 91%);
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-art::before,
.template-card-qyz-uzatu-aurelia .qyz-thumb-art::after {
  content: "";
  position: absolute;
  inset: 5.5% 8%;
  border: 1px solid rgba(164,129,77,.69);
  border-radius: 50%;
  transform: rotate(-13deg);
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-art::after {
  inset: 7% 6%;
  border-color: rgba(186,152,98,.43);
  transform: rotate(13deg);
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-copy {
  inset: 9% 8% 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #5c4936;
  text-shadow: 0 1px 13px rgba(249,242,229,.94);
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-copy span {
  font: 600 8px/1.4 "Noto Sans", sans-serif;
  letter-spacing: .26em;
  color: #977543;
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-copy strong {
  margin-top: auto;
  margin-bottom: 9px;
  max-width: 100%;
  font: italic 500 clamp(42px, 5.3vw, 73px)/1.04 "Cormorant Garamond", "Playfair Display", Georgia, serif;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-copy small { display: none; }
.template-card-qyz-uzatu-aurelia .qyz-thumb-copy em {
  font: 500 10px/1.4 "Noto Sans", sans-serif;
  letter-spacing: .13em;
  color: #8d6c42;
}

@media (prefers-reduced-motion: reduce) {
  .template-card-qyz-uzatu-sakura-mist .qyz-thumb-photo,
  .template-card-qyz-uzatu-aurelia .qyz-thumb-photo {
    transition: none;
    transform: none !important;
  }
}

/* source: /frontend/addons/templates/qyz-stage3-catalog.css */
/* Stage 3: design-specific catalogue/category cards for Qyz Herbarium & Hydrangea.
   The administrator's chosen demo photograph is preserved below the artwork. */

/* Herbarium — pressed leaves, aged ivory stock and botanical typography. */
.template-card-qyz-uzatu-herbarium .qyz-thumb-qyz-uzatu-herbarium {
  background: #eee9d9;
  color: #3e4d38;
}
.template-card-qyz-uzatu-herbarium .qyz-thumb-photo {
  inset: 8% 10% 13%;
  width: 80%;
  height: 79%;
  border-radius: 46% 46% 4px 4px / 30% 30% 4px 4px;
  object-fit: cover;
  filter: saturate(.62) sepia(.13) brightness(1.03);
  box-shadow: 0 18px 34px rgba(49,68,45,.2);
}
.template-card-qyz-uzatu-herbarium .qyz-thumb-art {
  background:
    radial-gradient(ellipse 24% 44% at 2% 36%, rgba(90,114,75,.38), transparent 92%),
    radial-gradient(ellipse 23% 48% at 98% 65%, rgba(91,117,81,.4), transparent 89%),
    linear-gradient(180deg, rgba(244,240,226,.94) 0%, rgba(244,240,226,.11) 30%, rgba(244,240,226,.09) 53%, rgba(244,240,226,.95) 100%);
}
.template-card-qyz-uzatu-herbarium .qyz-thumb-art::before {
  content: "";
  position: absolute;
  inset: 4.5%;
  border: 1px solid rgba(105,119,77,.52);
  border-radius: 48% 48% 2px 2px / 19% 19% 2px 2px;
}
.template-card-qyz-uzatu-herbarium .qyz-thumb-art::after {
  content: "❦";
  position: absolute;
  top: 14%;
  right: 2%;
  color: #71875a;
  font: 400 clamp(35px,4vw,55px)/1 Georgia,serif;
  opacity: .82;
  text-shadow: -20px 42px 0 rgba(112,139,99,.55), -6px 87px 0 rgba(155,164,118,.45);
  transform: rotate(-16deg);
}
.template-card-qyz-uzatu-herbarium .qyz-thumb-copy {
  inset: 8% 8% 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #46533e;
  text-shadow: 0 1px 13px rgba(247,244,229,.95);
}
.template-card-qyz-uzatu-herbarium .qyz-thumb-copy span {
  font: 600 9px/1.4 "Noto Sans",sans-serif;
  letter-spacing: .23em;
  color: #68774f;
}
.template-card-qyz-uzatu-herbarium .qyz-thumb-copy strong {
  margin-top: auto;
  margin-bottom: 9px;
  max-width: 100%;
  font: italic 500 clamp(42px,5.15vw,72px)/1.04 "Cormorant Garamond",Georgia,serif;
  letter-spacing: -.047em;
  overflow-wrap: anywhere;
}
.template-card-qyz-uzatu-herbarium .qyz-thumb-copy small { display: none; }
.template-card-qyz-uzatu-herbarium .qyz-thumb-copy em {
  font: 500 10px/1.35 "Noto Sans",sans-serif;
  letter-spacing: .14em;
  color: #68774f;
}

/* Hydrangea — deep evergreen, soft white blooms and a botanical photo window. */
.template-card-qyz-uzatu-hydrangea .qyz-thumb-qyz-uzatu-hydrangea {
  background: linear-gradient(155deg,#36533b,#153923);
  color: #f8f6e9;
}
.template-card-qyz-uzatu-hydrangea .qyz-thumb-photo {
  left: 10%;
  top: 10%;
  width: 80%;
  height: 72%;
  border: 3px solid rgba(247,246,236,.66);
  border-radius: 46% 46% 9px 9px / 25% 25% 9px 9px;
  object-fit: cover;
  filter: saturate(.76) contrast(.97);
  box-shadow: 0 19px 36px rgba(6,32,19,.3);
}
.template-card-qyz-uzatu-hydrangea .qyz-thumb-art {
  background:
    radial-gradient(circle at 3% 12%, #f8f8edec 0 4.2%, transparent 4.5%),
    radial-gradient(circle at 11% 9%, #edf2e5e9 0 3.6%, transparent 4%),
    radial-gradient(circle at 95% 22%, #f9f8efee 0 4%, transparent 4.4%),
    radial-gradient(circle at 88% 17%, #dbe9d9e5 0 4%, transparent 4.3%),
    radial-gradient(circle at 10% 79%, #f7f8e9e6 0 4%, transparent 4.4%),
    radial-gradient(circle at 92% 77%, #eaf2e8ed 0 4.5%, transparent 4.9%),
    linear-gradient(180deg, rgba(23,54,32,.27), transparent 29%, rgba(17,51,29,.08) 46%, rgba(19,55,31,.96) 90%);
}
.template-card-qyz-uzatu-hydrangea .qyz-thumb-art::before {
  content: "";
  position: absolute;
  inset: 4.5%;
  border: 1px solid rgba(244,246,231,.46);
  border-radius: 46% 46% 4px 4px / 22% 22% 4px 4px;
}
.template-card-qyz-uzatu-hydrangea .qyz-thumb-art::after {
  content: "✿";
  position: absolute;
  top: 16%;
  left: 3%;
  color: #f9f8ee;
  font: 400 clamp(34px,3.3vw,49px)/1 Georgia,serif;
  text-shadow: 17px -19px 0 #d4e5d1, 32px 2px 0 #f1f3e5, 9px 25px 0 #e5eee0;
  transform: rotate(-16deg);
}
.template-card-qyz-uzatu-hydrangea .qyz-thumb-copy {
  inset: 8% 9% 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #faf8ee;
  text-shadow: 0 2px 15px rgba(10,32,17,.88);
}
.template-card-qyz-uzatu-hydrangea .qyz-thumb-copy span {
  font: 600 9px/1.4 "Noto Sans",sans-serif;
  letter-spacing: .24em;
  color: #f0ebd6;
}
.template-card-qyz-uzatu-hydrangea .qyz-thumb-copy strong {
  margin-top: auto;
  margin-bottom: 8px;
  max-width: 100%;
  font: italic 500 clamp(42px,5vw,71px)/1.04 "Cormorant Garamond",Georgia,serif;
  overflow-wrap: anywhere;
}
.template-card-qyz-uzatu-hydrangea .qyz-thumb-copy small { display: none; }
.template-card-qyz-uzatu-hydrangea .qyz-thumb-copy em {
  font: 500 10px/1.4 "Noto Sans",sans-serif;
  letter-spacing: .14em;
  color: #d8e3d1;
}

@media (prefers-reduced-motion: reduce) {
  .template-card-qyz-uzatu-herbarium .qyz-thumb-photo,
  .template-card-qyz-uzatu-hydrangea .qyz-thumb-photo {
    transition: none;
    transform: none !important;
  }
}

/* source: /frontend/addons/templates/syrga-stage4-catalog.css */
/* Stage 4 / Syrga salu: distinct cards in the public catalogue and category
   picker. The event/category or administrator's demo image remains visible. */

/* IVORY — architectural paper arch and muted champagne-gold linework. */
.template-card-syrga-salu-ivory .syrga-thumb-syrga-salu-ivory {
  background: linear-gradient(144deg,#fffdf8 0%,#f5edde 58%,#e3d5c0 100%);
  color: #695745;
}
.template-card-syrga-salu-ivory .syrga-thumb-photo {
  inset: 11% 11% 17%; width: 78%; height: 72%;
  border-radius: 48% 48% 4px 4px / 29% 29% 4px 4px;
  object-fit: cover; filter: saturate(.65) sepia(.1) brightness(1.05);
  box-shadow: 0 17px 33px rgba(100,80,51,.15);
}
.template-card-syrga-salu-ivory .syrga-thumb-art {
  background: linear-gradient(180deg,rgba(252,249,241,.93) 0%,rgba(252,249,241,.04) 28%,rgba(247,241,231,.13) 55%,rgba(247,241,231,.98) 100%);
}
.template-card-syrga-salu-ivory .syrga-thumb-art::before {
  content:""; position:absolute; inset:5.4% 7.8% 6%;
  border:1px solid rgba(167,143,105,.66); border-radius:48% 48% 1px 1px / 27% 27% 1px 1px;
  box-shadow: inset 0 0 0 6px rgba(252,249,239,.12);
}
.template-card-syrga-salu-ivory .syrga-thumb-art::after {
  content:"✧";position:absolute;top:12%;left:50%;transform:translateX(-50%);
  color:#ac9068;font:400 28px/1 Georgia,serif;
}
.template-card-syrga-salu-ivory .syrga-thumb-copy {
  inset:9% 10% 8%;display:flex;flex-direction:column;align-items:center;text-align:center;
  color:#65523e;text-shadow:0 1px 11px rgba(255,251,241,.95);
}
.template-card-syrga-salu-ivory .syrga-thumb-copy span {
  color:#9c835e;font:600 9px/1.4 "Noto Sans",sans-serif;letter-spacing:.21em;
}
.template-card-syrga-salu-ivory .syrga-thumb-copy strong {
  margin:auto 0 7px;max-width:100%;font:italic 500 clamp(26px,3.1vw,40px)/1.16 "Cormorant Garamond",Georgia,serif;
  letter-spacing:-.035em;overflow-wrap:anywhere;
}
.template-card-syrga-salu-ivory .syrga-thumb-copy small{display:none}
.template-card-syrga-salu-ivory .syrga-thumb-copy em{font:500 10px/1.4 Georgia,serif;color:#a48b66;letter-spacing:.16em}

/* SAKURA MIST — airy blush, fine branches and scattered petals. */
.template-card-syrga-salu-sakura-mist .syrga-thumb-syrga-salu-sakura-mist {
  background:linear-gradient(165deg,#fff7f9,#f4e5e9 61%,#ead2db);color:#654650;
}
.template-card-syrga-salu-sakura-mist .syrga-thumb-photo {
  inset:12% 11% 15%;width:78%;height:73%;border-radius:47% 47% 7px 7px / 30% 30% 7px 7px;
  object-fit:cover;filter:saturate(.75) contrast(.93) brightness(1.08);
  box-shadow:0 16px 35px rgba(116,62,83,.18);
}
.template-card-syrga-salu-sakura-mist .syrga-thumb-art {
  background:
    radial-gradient(ellipse 6% 2.4% at 10% 25%,rgba(224,155,183,.88) 95%,transparent 100%),
    radial-gradient(ellipse 5.5% 2.2% at 91% 36%,rgba(232,170,191,.8) 95%,transparent 100%),
    radial-gradient(ellipse 5% 2% at 17% 76%,rgba(222,147,177,.75) 95%,transparent 100%),
    radial-gradient(ellipse 5% 2% at 87% 83%,rgba(230,165,187,.85) 95%,transparent 100%),
    linear-gradient(180deg,rgba(255,248,251,.92),rgba(255,248,251,.04) 33%,rgba(252,237,242,.13) 55%,rgba(249,235,242,.98) 100%);
}
.template-card-syrga-salu-sakura-mist .syrga-thumb-art::before {
  content:"";position:absolute;inset:5%;border:1px solid rgba(207,168,183,.64);border-radius:48% 48% 8px 8px / 22% 22% 8px 8px;
}
.template-card-syrga-salu-sakura-mist .syrga-thumb-art::after {
  content:"✿";position:absolute;top:12%;left:6%;color:#dfa4b8;font:400 clamp(29px,3.3vw,47px)/1 Georgia,serif;
  text-shadow:11px -9px 0 rgba(240,188,206,.68);transform:rotate(-23deg);
}
.template-card-syrga-salu-sakura-mist .syrga-thumb-copy {
  inset:9% 8% 7%;display:flex;flex-direction:column;align-items:center;text-align:center;
  color:#583e49;text-shadow:0 1px 13px rgba(255,247,249,.95);
}
.template-card-syrga-salu-sakura-mist .syrga-thumb-copy span{color:#aa7a8b;font:600 9px/1.4 "Noto Sans",sans-serif;letter-spacing:.22em}
.template-card-syrga-salu-sakura-mist .syrga-thumb-copy strong {
  margin:auto 0 7px;max-width:100%;font:italic 500 clamp(26px,3.15vw,41px)/1.16 "Cormorant Garamond",Georgia,serif;
  letter-spacing:-.03em;overflow-wrap:anywhere;
}
.template-card-syrga-salu-sakura-mist .syrga-thumb-copy small{display:none}
.template-card-syrga-salu-sakura-mist .syrga-thumb-copy em{color:#ab8293;font:500 10px/1.4 Georgia,serif;letter-spacing:.16em}

/* AURELIA — pearlescent ground and intertwined golden ellipse threads. */
.template-card-syrga-salu-aurelia .syrga-thumb-syrga-salu-aurelia {
  background:linear-gradient(145deg,#fffaf0,#f4e5ce 60%,#e7d3b2);color:#755a39;
}
.template-card-syrga-salu-aurelia .syrga-thumb-photo {
  inset:9% 16% 13%;width:68%;height:78%;object-fit:cover;
  border-radius:49% 49% 49% 49% / 32% 32% 32% 32%;
  filter:saturate(.69) sepia(.1) brightness(1.07);
  box-shadow:0 18px 35px rgba(111,84,50,.21);
}
.template-card-syrga-salu-aurelia .syrga-thumb-art {
  background:linear-gradient(180deg,rgba(254,250,241,.92),rgba(254,250,241,.13) 35%,rgba(245,232,213,.16) 50%,rgba(244,229,208,.96) 100%);
}
.template-card-syrga-salu-aurelia .syrga-thumb-art::before {
  content:"";position:absolute;left:15%;top:7%;width:70%;height:86%;
  border:1.1px solid rgba(173,139,82,.8);border-radius:50%;transform:rotate(-11deg);
}
.template-card-syrga-salu-aurelia .syrga-thumb-art::after {
  content:"";position:absolute;left:15%;top:7%;width:70%;height:86%;
  border:1px solid rgba(197,163,110,.66);border-radius:50%;transform:rotate(11deg);
}
.template-card-syrga-salu-aurelia .syrga-thumb-copy {
  inset:9% 8% 7%;display:flex;flex-direction:column;align-items:center;text-align:center;
  color:#674f34;text-shadow:0 1px 13px rgba(255,248,235,.95);
}
.template-card-syrga-salu-aurelia .syrga-thumb-copy span{color:#9a7a4f;font:600 9px/1.4 "Noto Sans",sans-serif;letter-spacing:.23em}
.template-card-syrga-salu-aurelia .syrga-thumb-copy strong {
  margin:auto 0 8px;max-width:100%;font:italic 500 clamp(26px,3.1vw,41px)/1.15 "Cormorant Garamond",Georgia,serif;
  letter-spacing:-.035em;overflow-wrap:anywhere;
}
.template-card-syrga-salu-aurelia .syrga-thumb-copy small{display:none}
.template-card-syrga-salu-aurelia .syrga-thumb-copy em{color:#94734c;font:500 10px/1.4 Georgia,serif;letter-spacing:.14em}

@media (prefers-reduced-motion:reduce) {
  .template-card-syrga-salu-ivory .syrga-thumb-photo,
  .template-card-syrga-salu-sakura-mist .syrga-thumb-photo,
  .template-card-syrga-salu-aurelia .syrga-thumb-photo {transition:none;transform:none !important}
}

/* Stage 4 catalogue fallback: the addon bridge does not provide previewNames
   to SyrgaTemplateThumbnail, whose stock fallback otherwise reads PRIGLO.
   This changes only decorative sample card lettering, never invite data. */
.template-card-syrga-salu-ivory .syrga-thumb-copy strong,
.template-card-syrga-salu-sakura-mist .syrga-thumb-copy strong,
.template-card-syrga-salu-aurelia .syrga-thumb-copy strong {font-size:0}
.template-card-syrga-salu-ivory .syrga-thumb-copy strong::before,
.template-card-syrga-salu-sakura-mist .syrga-thumb-copy strong::before,
.template-card-syrga-salu-aurelia .syrga-thumb-copy strong::before {
  content:"Аружан & Әлихан";display:block;font:italic 500 clamp(26px,3vw,40px)/1.13 "Cormorant Garamond",Georgia,serif;
}

/* source: /frontend/addons/templates/anniversary-stage5-catalog.css */
/* Stage 5: visual counterparts of three wedding designs in the anniversary
   category. Works with both the admin's demo photo and the built-in fallback
   WebP cover, which is also used in the Create Invitation editor. */

/* Ivory — ceremonial ivory-paper arch, ivory photograph, gold-line contour. */
.template-card-anniversary-ivory .anniversary-thumb-anniversary-ivory {
  background:linear-gradient(146deg,#fffdfa,#f5ecdd 59%,#e7d9c2);color:#635440;
}
.template-card-anniversary-ivory .anniversary-thumb-photo {
  inset:12% 12% 16%;width:76%;height:72%;object-fit:cover;
  border-radius:48% 48% 5px 5px / 27% 27% 5px 5px;
  filter:saturate(.66) sepia(.12) brightness(1.05);
  box-shadow:0 17px 35px rgba(101,82,56,.2);
}
.template-card-anniversary-ivory .anniversary-thumb-art {
  background:linear-gradient(180deg,rgba(254,250,244,.92),rgba(254,250,244,.03) 32%,rgba(246,237,223,.12) 50%,rgba(243,231,213,.98) 100%);
}
.template-card-anniversary-ivory .anniversary-thumb-art::before {
  content:"";position:absolute;inset:4% 7% 6%;border:1px solid rgba(159,132,95,.7);
  border-radius:48% 48% 3px 3px / 25% 25% 3px 3px;
}
.template-card-anniversary-ivory .anniversary-thumb-art::after {
  content:"✧";position:absolute;top:12%;left:50%;transform:translateX(-50%);
  font:400 30px/1 Georgia,serif;color:#b49a75;
}
.template-card-anniversary-ivory .anniversary-thumb-copy {
  inset:9% 9% 7%;display:flex;align-items:center;flex-direction:column;text-align:center;
  color:#66513c;text-shadow:0 1px 13px rgba(255,251,243,.94);
}
.template-card-anniversary-ivory .anniversary-thumb-copy strong {
  margin:auto 0 7px;max-width:100%;display:flex;flex-direction:column;align-items:center;
  font:italic 500 clamp(29px,3.45vw,43px)/1.05 "Cormorant Garamond",Georgia,serif;
  letter-spacing:-.034em;overflow-wrap:anywhere;
}
.template-card-anniversary-ivory .anniversary-thumb-copy strong em {font-size:.64em;margin:.1em 0;color:#ae9773}
.template-card-anniversary-ivory .anniversary-thumb-copy span{font:600 9px/1.4 "Noto Sans",sans-serif;letter-spacing:.2em;color:#897352}
.template-card-anniversary-ivory .anniversary-thumb-copy small{font:500 9px/1.35 "Noto Sans",sans-serif;letter-spacing:.08em;color:#947c5d}
.template-card-anniversary-ivory .anniversary-thumb-copy b{display:none}
.template-card-anniversary-ivory .anniversary-thumb-copy i{font:400 10px/1.4 Georgia,serif;letter-spacing:.13em;color:#9f8767;margin-top:8px}

/* Sakura Mist — blush silk, petal silhouettes and softly veiled photo. */
.template-card-anniversary-sakura-mist .anniversary-thumb-anniversary-sakura-mist {
  background:linear-gradient(156deg,#fff9fb,#f4e6eb 58%,#edd8df);color:#634650;
}
.template-card-anniversary-sakura-mist .anniversary-thumb-photo {
  inset:12% 12% 16%;width:76%;height:72%;object-fit:cover;
  border-radius:46% 46% 7px 7px / 30% 30% 7px 7px;
  filter:saturate(.72) contrast(.94) brightness(1.07);
  box-shadow:0 16px 34px rgba(118,66,85,.18);
}
.template-card-anniversary-sakura-mist .anniversary-thumb-art {
  background:
    radial-gradient(ellipse 5% 2.2% at 12% 26%,rgba(220,144,173,.8) 95%,transparent 100%),
    radial-gradient(ellipse 4% 2% at 89% 34%,rgba(234,173,193,.8) 95%,transparent 100%),
    radial-gradient(ellipse 5% 2.2% at 18% 78%,rgba(219,144,173,.7) 95%,transparent 100%),
    radial-gradient(ellipse 4% 1.8% at 83% 81%,rgba(234,173,193,.8) 95%,transparent 100%),
    linear-gradient(180deg,rgba(255,248,250,.94),transparent 31%,rgba(254,242,247,.12) 50%,rgba(247,230,237,.98) 100%);
}
.template-card-anniversary-sakura-mist .anniversary-thumb-art::before {
  content:"";position:absolute;inset:5%;border:1px solid rgba(204,158,177,.68);
  border-radius:48% 48% 8px 8px / 22% 22% 8px 8px;
}
.template-card-anniversary-sakura-mist .anniversary-thumb-art::after {
  content:"✿";position:absolute;left:6%;top:13%;font:400 clamp(30px,3.7vw,48px)/1 Georgia,serif;
  color:#dca0b6;text-shadow:16px -11px 0 rgba(243,198,215,.83);transform:rotate(-16deg);
}
.template-card-anniversary-sakura-mist .anniversary-thumb-copy {
  inset:9% 8% 7%;display:flex;align-items:center;flex-direction:column;text-align:center;
  color:#5e3d4a;text-shadow:0 1px 14px rgba(255,246,251,.96);
}
.template-card-anniversary-sakura-mist .anniversary-thumb-copy strong {
  margin:auto 0 6px;max-width:100%;display:flex;flex-direction:column;align-items:center;
  font:italic 500 clamp(29px,3.5vw,44px)/1.07 "Cormorant Garamond",Georgia,serif;
  letter-spacing:-.028em;overflow-wrap:anywhere;
}
.template-card-anniversary-sakura-mist .anniversary-thumb-copy strong em{font-size:.65em;margin:.12em 0;color:#bf8d9f}
.template-card-anniversary-sakura-mist .anniversary-thumb-copy span{font:600 9px/1.4 "Noto Sans",sans-serif;letter-spacing:.2em;color:#9e7183}
.template-card-anniversary-sakura-mist .anniversary-thumb-copy small{font:500 9px/1.4 "Noto Sans",sans-serif;letter-spacing:.08em;color:#ad7e90}
.template-card-anniversary-sakura-mist .anniversary-thumb-copy b{display:none}
.template-card-anniversary-sakura-mist .anniversary-thumb-copy i{font:400 10px/1.4 Georgia,serif;letter-spacing:.13em;color:#a78191;margin-top:8px}

/* Aurelia — champagne-gold luminous threads and polished portrait oval. */
.template-card-anniversary-aurelia .anniversary-thumb-anniversary-aurelia {
  background:linear-gradient(138deg,#fffaf1,#f1e3ce 58%,#e8d1af);color:#705639;
}
.template-card-anniversary-aurelia .anniversary-thumb-photo {
  inset:9% 16% 15%;width:68%;height:76%;object-fit:cover;border-radius:50%;
  filter:saturate(.66) sepia(.12) brightness(1.08);
  box-shadow:0 19px 34px rgba(109,81,43,.2);
}
.template-card-anniversary-aurelia .anniversary-thumb-art {
  background:linear-gradient(180deg,rgba(254,249,239,.94),rgba(254,249,239,.1) 33%,rgba(248,233,212,.15) 52%,rgba(239,223,197,.98) 100%);
}
.template-card-anniversary-aurelia .anniversary-thumb-art::before,
.template-card-anniversary-aurelia .anniversary-thumb-art::after {
  content:"";position:absolute;left:14%;top:6%;width:72%;height:88%;
  border:1px solid rgba(174,136,78,.81);border-radius:50%;transform:rotate(-11deg);
}
.template-card-anniversary-aurelia .anniversary-thumb-art::after {
  border-color:rgba(202,170,117,.69);transform:rotate(11deg);
}
.template-card-anniversary-aurelia .anniversary-thumb-copy {
  inset:9% 9% 7%;display:flex;align-items:center;flex-direction:column;text-align:center;
  color:#654c30;text-shadow:0 1px 14px rgba(255,249,238,.98);
}
.template-card-anniversary-aurelia .anniversary-thumb-copy strong {
  margin:auto 0 8px;max-width:100%;display:flex;flex-direction:column;align-items:center;
  font:italic 500 clamp(29px,3.5vw,44px)/1.08 "Cormorant Garamond",Georgia,serif;
  letter-spacing:-.034em;overflow-wrap:anywhere;
}
.template-card-anniversary-aurelia .anniversary-thumb-copy strong em{font-size:.63em;margin:.12em 0;color:#b28d58}
.template-card-anniversary-aurelia .anniversary-thumb-copy span{font:600 9px/1.4 "Noto Sans",sans-serif;letter-spacing:.2em;color:#94734b}
.template-card-anniversary-aurelia .anniversary-thumb-copy small{font:500 9px/1.4 "Noto Sans",sans-serif;letter-spacing:.08em;color:#9d7e56}
.template-card-anniversary-aurelia .anniversary-thumb-copy b{display:none}
.template-card-anniversary-aurelia .anniversary-thumb-copy i{font:400 10px/1.4 Georgia,serif;letter-spacing:.12em;color:#9d7d53;margin-top:8px}

@media (prefers-reduced-motion:reduce) {
  .template-card-anniversary-ivory .anniversary-thumb-photo,
  .template-card-anniversary-sakura-mist .anniversary-thumb-photo,
  .template-card-anniversary-aurelia .anniversary-thumb-photo {transition:none;transform:none !important}
}

/* The legacy addon registry does not forward previewNames from metadata.
   Supply sample names only when the catalogue thumbnail is actually empty;
   if a future registry forwards names, these placeholders disappear. */
.template-card-anniversary-ivory .anniversary-thumb-copy strong:empty::before,
.template-card-anniversary-sakura-mist .anniversary-thumb-copy strong:empty::before,
.template-card-anniversary-aurelia .anniversary-thumb-copy strong:empty::before {
  content:"Азамат";
}
.template-card-anniversary-ivory .anniversary-thumb-copy strong:empty::after,
.template-card-anniversary-sakura-mist .anniversary-thumb-copy strong:empty::after,
.template-card-anniversary-aurelia .anniversary-thumb-copy strong:empty::after {
  content:"& Сания";font-size:.77em;line-height:1.5;
}

/* source: /frontend/addons/templates/jubilee-stage6-catalog.css */
/* Stage 6: matching catalogue artwork for the three jubilee adaptations.
   The Create Invitation picker uses their own designed cover.webp files.
   These rules style the public JubileeTemplateThumbnail when demo photos exist. */

/* Midnight Reserve — asymmetric graphite editorial photo and copper numerals. */
.template-card-jubilee-midnight-reserve .jubilee-thumb-jubilee-midnight-reserve {
  background:linear-gradient(128deg,#0c1215 0%,#1e2a30 68%,#080d10 100%);
  color:#f1e9df;
}
.template-card-jubilee-midnight-reserve .jubilee-thumb-photo {
  left:42%;top:7%;width:54%;height:83%;object-fit:cover;
  filter:grayscale(.26) saturate(.72) contrast(1.04) brightness(.79);
  box-shadow:12px 20px 36px rgba(0,0,0,.28);
}
.template-card-jubilee-midnight-reserve .jubilee-thumb-art {
  background:linear-gradient(90deg,#0c1215 0 32%,rgba(12,18,21,.87) 48%,transparent 76%),
    linear-gradient(0deg,#0c1215 0%,transparent 45%);
}
.template-card-jubilee-midnight-reserve .jubilee-thumb-art::before {
  content:"";position:absolute;inset:6%;border:1px solid rgba(196,137,80,.48);
}
.template-card-jubilee-midnight-reserve .jubilee-thumb-art::after {
  content:"";position:absolute;top:14%;left:9%;height:26%;border-left:2px solid #c88d57;
}
.template-card-jubilee-midnight-reserve .jubilee-thumb-copy {
  inset:0;width:100%;padding:12% 9% 10%;align-items:flex-start;
  justify-content:flex-end;text-shadow:0 2px 16px #0b1014;
}
.template-card-jubilee-midnight-reserve .jubilee-thumb-copy span {
  position:absolute;top:12%;left:13%;color:#d5a574;font:600 9px/1.4 "DM Sans",sans-serif;
  letter-spacing:.22em;
}
.template-card-jubilee-midnight-reserve .jubilee-thumb-copy strong {
  color:#dcac7e;font:600 clamp(62px,8vw,96px)/.86 "Playfair Display",Georgia,serif;
  letter-spacing:-.06em;
}
.template-card-jubilee-midnight-reserve .jubilee-thumb-copy small {
  margin-top:13px;color:#f4eadd;letter-spacing:.19em;font-size:10px;
}
.template-card-jubilee-midnight-reserve .jubilee-thumb-copy em {
  margin-top:11px;color:#dcb48b;font-size:9px;letter-spacing:.13em;
}

/* Velvet Bloom — porcelain blush arch with layered floral specks. */
.template-card-jubilee-velvet-bloom .jubilee-thumb-jubilee-velvet-bloom {
  background:radial-gradient(circle at 8% 12%,#fffdfd,#f1e0e6 57%,#e4cbd5);
  color:#693d51;
}
.template-card-jubilee-velvet-bloom .jubilee-thumb-photo {
  inset:13% 13% 22%;width:74%;height:65%;object-fit:cover;
  border:7px solid #fff9f9;border-radius:48% 48% 8px 8px / 27% 27% 8px 8px;
  filter:saturate(.72) brightness(1.07) contrast(.96);
  box-shadow:0 22px 42px rgba(91,49,69,.18);
}
.template-card-jubilee-velvet-bloom .jubilee-thumb-art {
  background:radial-gradient(ellipse 5% 2% at 13% 30%,rgba(203,129,159,.72) 95%,transparent),
    radial-gradient(ellipse 5% 2% at 90% 28%,rgba(203,129,159,.78) 95%,transparent),
    radial-gradient(ellipse 4% 1.8% at 10% 75%,rgba(235,166,188,.72) 95%,transparent),
    linear-gradient(0deg,#f1dee5 1%,rgba(255,247,250,.64) 25%,transparent 52%);
}
.template-card-jubilee-velvet-bloom .jubilee-thumb-art::before {
  content:"";position:absolute;inset:5%;border:1px solid rgba(162,93,124,.43);
  border-radius:48% 48% 10px 10px / 25% 25% 10px 10px;
}
.template-card-jubilee-velvet-bloom .jubilee-thumb-art::after {
  content:"✿";position:absolute;top:14%;right:6%;font:400 35px/1 Georgia,serif;
  color:#c88fa7;text-shadow:-12px 12px 0 #f1c7d5;
}
.template-card-jubilee-velvet-bloom .jubilee-thumb-copy {
  inset:0;justify-content:flex-end;align-items:center;text-align:center;
  padding:10% 9% 9%;color:#60384b;text-shadow:0 1px 10px #fffbfc;
}
.template-card-jubilee-velvet-bloom .jubilee-thumb-copy span {
  position:absolute;top:9%;left:0;width:100%;color:#9d5c78;font:600 9px/1.4 "DM Sans",sans-serif;
  letter-spacing:.23em;
}
.template-card-jubilee-velvet-bloom .jubilee-thumb-copy strong {
  color:#923e63;font:italic 500 clamp(58px,8vw,92px)/.9 "Playfair Display",Georgia,serif;
  letter-spacing:-.05em;
}
.template-card-jubilee-velvet-bloom .jubilee-thumb-copy small {
  margin-top:9px;color:#704456;font-size:9px;letter-spacing:.21em;
}
.template-card-jubilee-velvet-bloom .jubilee-thumb-copy em {
  margin-top:8px;font-size:8px;letter-spacing:.13em;
}

/* Golden Legacy — framed heirloom portrait, archival paper and gold. */
.template-card-jubilee-golden-legacy .jubilee-thumb-jubilee-golden-legacy {
  background:linear-gradient(145deg,#fbf6e9 0%,#ead8b9 100%);color:#4e3927;
}
.template-card-jubilee-golden-legacy .jubilee-thumb-photo {
  left:45%;top:14%;width:47%;height:66%;object-fit:cover;
  border:8px solid #f9f0db;outline:1px solid rgba(131,91,44,.7);
  filter:sepia(.24) saturate(.69) contrast(.96);
  box-shadow:0 19px 28px rgba(97,67,34,.21);
}
.template-card-jubilee-golden-legacy .jubilee-thumb-art {
  background:repeating-linear-gradient(90deg,rgba(150,103,54,.025) 0 1px,transparent 1px 18px),
    linear-gradient(0deg,rgba(249,243,230,.97) 0%,transparent 40%);
}
.template-card-jubilee-golden-legacy .jubilee-thumb-art::before {
  content:"";position:absolute;inset:6%;border:1px solid rgba(152,110,63,.55);
}
.template-card-jubilee-golden-legacy .jubilee-thumb-art::after {
  content:"✧";position:absolute;top:8%;right:10%;display:grid;place-items:center;
  width:32px;height:32px;border:1px solid #a37a49;border-radius:50%;
  font:400 22px/1 Georgia,serif;color:#947043;background:#fbf5e9c9;
}
.template-card-jubilee-golden-legacy .jubilee-thumb-copy {
  inset:0;width:100%;padding:13% 9% 11%;align-items:flex-start;justify-content:flex-end;
  text-align:left;color:#59402c;text-shadow:0 1px 11px #fff9ed;
}
.template-card-jubilee-golden-legacy .jubilee-thumb-copy span {
  position:absolute;top:11%;left:9%;font:700 9px/1.4 "DM Sans",sans-serif;
  letter-spacing:.18em;color:#896138;
}
.template-card-jubilee-golden-legacy .jubilee-thumb-copy strong {
  color:#976735;font:500 clamp(62px,8vw,92px)/.9 "Playfair Display",Georgia,serif;
  letter-spacing:-.055em;
}
.template-card-jubilee-golden-legacy .jubilee-thumb-copy small {
  margin-top:10px;color:#60452f;font-size:10px;letter-spacing:.18em;
}
.template-card-jubilee-golden-legacy .jubilee-thumb-copy em {
  margin-top:8px;font-size:9px;letter-spacing:.1em;color:#72573c;
}

@media(max-width:520px) {
  .template-card-jubilee-midnight-reserve .jubilee-thumb-copy strong,
  .template-card-jubilee-velvet-bloom .jubilee-thumb-copy strong,
  .template-card-jubilee-golden-legacy .jubilee-thumb-copy strong {font-size:clamp(58px,18vw,86px);}
}
@media(prefers-reduced-motion:reduce) {
  .template-card-jubilee-midnight-reserve .jubilee-thumb-photo,
  .template-card-jubilee-velvet-bloom .jubilee-thumb-photo,
  .template-card-jubilee-golden-legacy .jubilee-thumb-photo {animation:none!important;transition:none!important;transform:none!important;}
}

/* source: /frontend/addons/templates/reunion-stage7-catalog.css */
/* Stage 7 — reunion category; isolated public catalogue art when a demo photo
   is uploaded. The editor picker uses each design's own cover.webp instead. */

/* Minimal — Swiss typography, archival photograph, pine-green ruling. */
.template-card-reunion-minimal .universal-thumb-reunion-minimal {
  background:linear-gradient(120deg,#f9f7ed,#eeeae0);
  color:#1a3028;
}
.template-card-reunion-minimal .universal-thumb-photo {
  left:8%;top:35%;width:84%;height:48%;object-fit:cover;
  filter:grayscale(.4) saturate(.55) contrast(.94);
  box-shadow:0 10px 22px rgba(40,59,47,.15);
}
.template-card-reunion-minimal .universal-thumb-art {
  background:linear-gradient(0deg,#f4f1e7 0 15%,transparent 34%);
}
.template-card-reunion-minimal .universal-thumb-art::before {
  content:"";position:absolute;top:8%;left:7%;right:7%;border-top:1px solid #456553;
}
.template-card-reunion-minimal .universal-thumb-art::after {
  content:"CLASS / 2007";position:absolute;bottom:18%;left:9%;
  color:#e9f0e4;font:700 9px/1.2 "DM Sans",sans-serif;
  letter-spacing:.2em;text-shadow:0 2px 8px #20382b;
}
.template-card-reunion-minimal .universal-thumb-copy {
  inset:0;padding:12% 8% 7%;align-content:start;
}
.template-card-reunion-minimal .universal-thumb-copy span {
  color:#486b59;font-size:0;
}
.template-card-reunion-minimal .universal-thumb-copy span::after {
  content:"PRIGLO / СНОВА ВМЕСТЕ";font:700 9px/1.4 "DM Sans",sans-serif;
  letter-spacing:.18em;
}
.template-card-reunion-minimal .universal-thumb-copy strong {
  margin-top:9%;color:#173128;line-height:.93;
}
.template-card-reunion-minimal .universal-thumb-copy strong b,
.template-card-reunion-editorial .universal-thumb-copy strong b,
.template-card-reunion-linen-page .universal-thumb-copy strong b {display:none;}
.template-card-reunion-minimal .universal-thumb-copy strong::after {
  content:"ВСТРЕЧА\A ВЫПУСКНИКОВ";white-space:pre-line;
  font:800 clamp(27px,3vw,46px)/.92 "DM Sans",Arial,sans-serif;
  letter-spacing:-.065em;
}
.template-card-reunion-minimal .universal-thumb-copy small,
.template-card-reunion-minimal .universal-thumb-copy em {
  position:absolute;bottom:7%;color:#466253;font-size:9px;letter-spacing:.13em;
}
.template-card-reunion-minimal .universal-thumb-copy small {left:8%;}
.template-card-reunion-minimal .universal-thumb-copy em {right:8%;max-width:44%;text-align:right;}
.template-card-reunion-minimal .universal-thumb-accent {display:none;}

/* Editorial — cobalt magazine spread, coral interruption, tilted print. */
.template-card-reunion-editorial .universal-thumb-reunion-editorial {
  background:linear-gradient(90deg,#e9eef4 0 52%,#1d4591 52%);
  color:#10274b;
}
.template-card-reunion-editorial .universal-thumb-photo {
  left:11%;top:38%;width:78%;height:43%;object-fit:cover;
  border:8px solid #fff;transform:rotate(-4deg);
  box-shadow:4px 18px 27px rgba(6,26,60,.25);
  filter:saturate(.5) contrast(1.05);
}
.template-card-reunion-editorial:hover .universal-thumb-photo {
  transform:rotate(-2deg) scale(1.035);
}
.template-card-reunion-editorial .universal-thumb-art {
  background:linear-gradient(0deg,#ff896e 0 13%,transparent 13%);
}
.template-card-reunion-editorial .universal-thumb-art::before {
  content:"";position:absolute;right:12%;top:10%;width:29%;aspect-ratio:1;
  border-radius:50%;background:#fa8a70;
  box-shadow:inset 0 0 0 1px #ffd0bb,inset 0 0 0 10px #fa8a70;
}
.template-card-reunion-editorial .universal-thumb-art::after {
  content:"";position:absolute;left:4%;top:35%;width:90%;
  transform:rotate(-9deg);border-top:2px solid #ff9077;
}
.template-card-reunion-editorial .universal-thumb-copy {
  inset:0;padding:11% 6% 6%;align-content:start;
}
.template-card-reunion-editorial .universal-thumb-copy span {
  color:#183d80;font-size:0;
}
.template-card-reunion-editorial .universal-thumb-copy span::after {
  content:"PRIGLO / EDITORIAL";font:750 10px/1.3 "DM Sans",sans-serif;
  letter-spacing:.13em;
}
.template-card-reunion-editorial .universal-thumb-copy strong {
  margin-top:10%;color:#10264a;
}
.template-card-reunion-editorial .universal-thumb-copy strong::after {
  content:"СНОВА\A ВМЕСТЕ";white-space:pre-line;
  font:900 clamp(40px,4.2vw,68px)/.83 "DM Sans",Arial,sans-serif;
  letter-spacing:-.078em;
}
.template-card-reunion-editorial .universal-thumb-copy small,
.template-card-reunion-editorial .universal-thumb-copy em {
  position:absolute;bottom:5.5%;color:#122e59;font-size:9px;letter-spacing:.12em;
}
.template-card-reunion-editorial .universal-thumb-copy small {left:7%;}
.template-card-reunion-editorial .universal-thumb-copy em {right:6%;max-width:48%;text-align:right;}
.template-card-reunion-editorial .universal-thumb-accent {display:none;}

/* Linen Page — bound keepsake, vellum veil and nostalgic photo print. */
.template-card-reunion-linen-page .universal-thumb-reunion-linen-page {
  background:repeating-linear-gradient(0deg,rgba(134,102,65,.024) 0 1px,transparent 1px 5px),
    linear-gradient(130deg,#fbf5e9,#eadbc4);
  color:#66503a;
}
.template-card-reunion-linen-page .universal-thumb-photo {
  left:17%;top:40%;width:67%;height:39%;object-fit:cover;
  border:10px solid #fffdf6;border-bottom-width:23px;
  box-shadow:0 12px 29px rgba(81,61,42,.2);
  transform:rotate(-3deg);filter:sepia(.23) saturate(.62) contrast(.94);
}
.template-card-reunion-linen-page:hover .universal-thumb-photo {
  transform:rotate(-1deg) scale(1.035);
}
.template-card-reunion-linen-page .universal-thumb-art {
  background:radial-gradient(circle at 50% 6%,rgba(255,255,250,.85),transparent 47%),
    linear-gradient(0deg,rgba(246,238,222,.88),transparent 23%);
}
.template-card-reunion-linen-page .universal-thumb-art::before {
  content:"";position:absolute;inset:5%;border:1px solid #ae9674;
  outline:1px solid rgba(151,120,84,.22);outline-offset:-8px;
  border-radius:4px;
}
.template-card-reunion-linen-page .universal-thumb-art::after {
  content:"2007 — 2027";position:absolute;top:26%;left:0;width:100%;
  color:#a78c69;text-align:center;font:600 10px/1.3 Georgia,serif;
  letter-spacing:.24em;
}
.template-card-reunion-linen-page .universal-thumb-copy {
  inset:0;padding:13% 10% 11%;align-content:start;justify-items:center;text-align:center;
}
.template-card-reunion-linen-page .universal-thumb-copy span {font-size:0;}
.template-card-reunion-linen-page .universal-thumb-copy span::after {
  content:"PRIGLO / ЛЬНЯНАЯ СТРАНИЦА";color:#aa8e6b;
  font:600 8px/1.4 Georgia,serif;letter-spacing:.18em;
}
.template-card-reunion-linen-page .universal-thumb-copy strong {
  margin-top:7%;color:#6a5138;
}
.template-card-reunion-linen-page .universal-thumb-copy strong::after {
  content:"Встреча\A выпускников";white-space:pre-line;
  font:500 clamp(34px,3.5vw,49px)/.93 Georgia,"Times New Roman",serif;
  letter-spacing:-.035em;
}
.template-card-reunion-linen-page .universal-thumb-copy small,
.template-card-reunion-linen-page .universal-thumb-copy em {
  position:absolute;bottom:10%;left:0;width:100%;
  color:#866a4b;font:600 9px/1.4 Georgia,serif;letter-spacing:.12em;
}
.template-card-reunion-linen-page .universal-thumb-copy em {bottom:7%;font-size:8px;}
.template-card-reunion-linen-page .universal-thumb-accent {display:none;}

@media(max-width:520px) {
  .template-card-reunion-minimal .universal-thumb-copy strong::after {font-size:clamp(25px,7vw,35px);}
  .template-card-reunion-editorial .universal-thumb-copy strong::after {font-size:clamp(35px,10vw,48px);}
  .template-card-reunion-linen-page .universal-thumb-copy strong::after {font-size:clamp(31px,8vw,40px);}
}
@media(prefers-reduced-motion:reduce) {
  .template-card-reunion-minimal .universal-thumb-photo,
  .template-card-reunion-editorial .universal-thumb-photo,
  .template-card-reunion-linen-page .universal-thumb-photo {
    animation:none!important;transition:none!important;transform:none!important;
  }
}

/* source: /frontend/addons/templates/first-birthday-stage8-catalog.css */
/* Stage 8: dedicated public catalogue compositions. Both reuse the native
   first-birthday thumbnail's real uploaded demo photo (fb-portrait), but each
   gets the graphic language of its original child-party template. The Create
   Invitation editor uses the matching designed cover.webp files. */

/* Confetti Kids — candy pastel, soft print, photo card, bright first-year seal. */
.template-card-first-birthday-confetti-kids .fb-thumbnail.fb-sunshine {
  --fb-bg:#fff0ed;--fb-ink:#315953;--fb-muted:#567d75;
  --fb-accent:#cb617d;--fb-soft:#ffc56a;--fb-paper:#fffaf2;
  background:radial-gradient(circle at 105% 7%,#c2e7df 0 16%,transparent 16.2%),
    radial-gradient(circle at -5% 37%,#fbd7a0 0 14%,transparent 14.2%),
    linear-gradient(135deg,#fff8ed,#fde7eb 57%,#e3f0ed);
}
.template-card-first-birthday-confetti-kids .fb-thumbnail.fb-sunshine::before {
  content:"";position:absolute;inset:9% 4% 20%;pointer-events:none;
  background:radial-gradient(circle at 15% 20%,#f9bf56 0 5px,transparent 6px),
   radial-gradient(circle at 85% 26%,#d87595 0 4px,transparent 5px),
   radial-gradient(circle at 4% 66%,#72beb1 0 5px,transparent 6px),
   radial-gradient(circle at 94% 83%,#ffc46b 0 6px,transparent 7px);
}
.template-card-first-birthday-confetti-kids .fb-thumb-kicker {
  top:9%;left:9%;right:9%;font:750 9px/1.5 "DM Sans",Arial,sans-serif;
  letter-spacing:.18em;color:#b55e7b;max-width:unset;
}
.template-card-first-birthday-confetti-kids .fb-thumb-photo-stage {
  position:absolute;top:23%;left:13%;right:13%;bottom:27%;aspect-ratio:auto;
  border:8px solid #fffdf5;border-radius:22px;
  background:linear-gradient(135deg,#c9eadf,#96c9c8);
  box-shadow:0 15px 28px rgba(117,103,98,.13);
}
.template-card-first-birthday-confetti-kids .fb-thumb-photo-stage .fb-sun-rays {display:none;}
.template-card-first-birthday-confetti-kids .fb-thumb-photo-stage .fb-sun-photo {
  inset:4%;border:0;border-radius:18px;background:#abd8d0;
  box-shadow:none;overflow:hidden;
}
.template-card-first-birthday-confetti-kids .fb-thumb-photo-stage .fb-sun-one {
  position:absolute;right:-12%;bottom:-10%;left:auto;top:auto;
  display:grid;place-items:center;width:36%;aspect-ratio:1;
  border:5px solid #fff9ec;border-radius:50%;background:#e27990;
  color:#fffaf0;font:800 clamp(42px,5.6vw,78px)/1 "DM Sans",sans-serif;
  box-shadow:0 8px 20px rgba(175,86,115,.21);
}
.template-card-first-birthday-confetti-kids .fb-thumb-identity {
  left:9%;right:9%;bottom:7%;text-align:center;justify-items:center;gap:5px;
}
.template-card-first-birthday-confetti-kids .fb-thumb-identity>strong {
  color:#315b58;font:700 clamp(34px,4vw,52px)/1.04 "DM Sans",sans-serif;
}
.template-card-first-birthday-confetti-kids .fb-thumb-identity>span {
  color:#c06b80;font-size:10px;font-weight:800;letter-spacing:.18em;
}

/* Paper Town — layered paper, a cut-out rooftop and archival birthday ticket. */
.template-card-first-birthday-paper-town .fb-thumbnail.fb-sunshine {
  --fb-bg:#f5ecdb;--fb-ink:#6d695d;--fb-muted:#796e60;
  --fb-accent:#a18a6c;--fb-paper:#fff8e8;
  background:repeating-linear-gradient(0deg,rgba(145,121,90,.024) 0 1px,transparent 1px 6px),
    linear-gradient(145deg,#fff9ec,#f2e8d4);
}
.template-card-first-birthday-paper-town .fb-thumbnail.fb-sunshine::before {
  content:"";position:absolute;inset:5%;pointer-events:none;
  border:1px solid #c4ab88;border-radius:15px;
}
.template-card-first-birthday-paper-town .fb-thumbnail.fb-sunshine::after {
  content:"";position:absolute;left:8%;right:8%;top:60%;height:18%;
  background:linear-gradient(90deg,#e3aa95 0 22%,#bbd5bb 22% 54%,#eed4a9 54% 72%,#b2d5c5 72%);
  clip-path:polygon(0 22%,10% 0,22% 22%,22% 29%,39% 2%,54% 29%,54% 21%,64% 0,72% 21%,72% 25%,85% 3%,100% 25%,100% 100%,0 100%);
  opacity:.72;pointer-events:none;
}
.template-card-first-birthday-paper-town .fb-thumb-kicker {
  top:9%;left:10%;right:10%;max-width:none;text-align:center;
  color:#a18867;font:700 9px/1.3 "DM Sans",Arial,sans-serif;
  letter-spacing:.14em;
}
.template-card-first-birthday-paper-town .fb-thumb-photo-stage {
  position:absolute;left:20%;right:20%;top:28%;bottom:30%;
  aspect-ratio:auto;background:#acd2c4;border-radius:6px;
  box-shadow:0 15px 22px rgba(125,104,76,.17);
}
.template-card-first-birthday-paper-town .fb-thumb-photo-stage::before {
  content:"";position:absolute;left:-10%;right:-10%;top:-18%;height:36%;
  background:#82aa9f;clip-path:polygon(0 95%,50% 0,100% 95%);
  border-radius:5px 5px 0 0;
}
.template-card-first-birthday-paper-town .fb-thumb-photo-stage .fb-sun-rays {display:none;}
.template-card-first-birthday-paper-town .fb-thumb-photo-stage .fb-sun-photo {
  inset:16% 18% 3%;border:6px solid #fff9e8;border-radius:48% 48% 8px 8px / 28% 28% 8px 8px;
  box-shadow:none;background:#e4e9d6;
}
.template-card-first-birthday-paper-town .fb-thumb-photo-stage .fb-sun-one {
  position:absolute;right:-26%;bottom:-14%;left:auto;top:auto;
  display:grid;place-items:center;width:35%;aspect-ratio:1;
  border:5px solid #fff4e1;border-radius:5px;transform:rotate(7deg);
  background:#e5b18f;color:#fff9ed;
  font:800 clamp(33px,4.9vw,65px)/1 "DM Sans",sans-serif;
}
.template-card-first-birthday-paper-town .fb-thumb-identity {
  left:10%;right:10%;bottom:8%;padding:12px 3px 10px;
  background:rgba(255,253,247,.87);border:1px dashed #c5ac90;border-radius:8px;
  text-align:center;justify-items:center;gap:4px;z-index:4;
}
.template-card-first-birthday-paper-town .fb-thumb-identity>strong {
  color:#745d4a;font:650 clamp(30px,3.3vw,44px)/1 Georgia,serif;
}
.template-card-first-birthday-paper-town .fb-thumb-identity>span {
  color:#af896b;font-size:9px;font-weight:750;letter-spacing:.15em;
}

@media(max-width:520px) {
  .template-card-first-birthday-confetti-kids .fb-thumb-photo-stage {left:11%;right:11%;}
  .template-card-first-birthday-paper-town .fb-thumb-photo-stage {left:18%;right:18%;}
  .template-card-first-birthday-paper-town .fb-thumb-identity>strong {font-size:clamp(29px,8vw,41px);}
}
@media(prefers-reduced-motion:reduce) {
  .template-card-first-birthday-confetti-kids .fb-thumbnail *,
  .template-card-first-birthday-paper-town .fb-thumbnail * {
    animation:none!important;transition:none!important;
  }
}

/* source: /frontend/addons/templates/housewarming-stage9-catalog.css */
/* Stage 9 / housewarming. Own designed cards when Admin -> Demo has imagery.
   Uses the existing UniversalTemplateThumbnail, preserving its demo photo. */

/* MINIMAL: quiet architectural editorial, warm white and eucalyptus. */
.template-card-housewarming-minimal .universal-thumb-housewarming-minimal {
  background:linear-gradient(165deg,#fbfaf4 0%,#f1f1e9 61%,#dfebdf 100%);
  color:#233b32;
}
.template-card-housewarming-minimal .universal-thumb-photo {
  left:11%;top:39%;width:78%;height:38%;
  object-fit:cover;filter:saturate(.68) contrast(.96);
  border:1px solid rgba(58,91,75,.5);border-radius:1px;
  box-shadow:12px 13px 0 rgba(168,191,168,.37),0 16px 26px rgba(33,58,46,.14);
}
.template-card-housewarming-minimal .universal-thumb-art {
  background:linear-gradient(90deg,transparent 10%,rgba(68,106,82,.08) 10% 10.4%,transparent 10.4% 89.6%,rgba(68,106,82,.08) 89.6% 90%,transparent 90%);
}
.template-card-housewarming-minimal .universal-thumb-art::before {
  content:"";position:absolute;inset:7.5% 8.5%;
  border-top:1px solid rgba(54,100,73,.68);border-bottom:1px solid rgba(54,100,73,.3);
  pointer-events:none;
}
.template-card-housewarming-minimal .universal-thumb-art::after {
  content:"";position:absolute;right:12%;top:33%;width:33%;height:14%;
  border-top:1px solid #537461;border-right:1px solid #537461;
  transform:skewX(-17deg);opacity:.45;
}
.template-card-housewarming-minimal .universal-thumb-copy {
  inset:0;padding:11.5% 10% 7%;align-content:start;
}
.template-card-housewarming-minimal .universal-thumb-copy span {font-size:0;}
.template-card-housewarming-minimal .universal-thumb-copy span::after {
  content:"PRIGLO  /  NEW HOME";
  color:#476851;font:750 9px/1.2 "DM Sans",Arial,sans-serif;letter-spacing:.19em;
}
.template-card-housewarming-minimal .universal-thumb-copy strong {
  margin-top:7%;max-width:100%;color:#234238;
}
.template-card-housewarming-minimal .universal-thumb-copy strong b {display:none;}
.template-card-housewarming-minimal .universal-thumb-copy strong::after {
  content:"НОВОСЕЛЬЕ";font:780 clamp(29px,3.4vw,47px)/.94 "DM Sans",Arial,sans-serif;
  letter-spacing:-.055em;
}
.template-card-housewarming-minimal .universal-thumb-copy small,
.template-card-housewarming-minimal .universal-thumb-copy em {
  position:absolute;bottom:7.6%;color:#456454;
  font:600 10px/1.2 "DM Sans",Arial,sans-serif;letter-spacing:.1em;
}
.template-card-housewarming-minimal .universal-thumb-copy small {display:none;}
.template-card-housewarming-minimal .universal-thumb-copy em {right:9%;max-width:80%;text-align:right;}
.template-card-housewarming-minimal .universal-thumb-accent {display:none;}

/* LINEN PAGE: textured invitation keepsake, a photograph under vellum. */
.template-card-housewarming-linen-page .universal-thumb-housewarming-linen-page {
  background:repeating-linear-gradient(90deg,rgba(126,97,67,.025) 0 1px,transparent 1px 4px),
    repeating-linear-gradient(0deg,rgba(126,97,67,.025) 0 1px,transparent 1px 5px),
    linear-gradient(145deg,#fcf8ec,#e8dbc4);
  color:#624b3a;
}
.template-card-housewarming-linen-page .universal-thumb-photo {
  left:17%;top:38%;width:65%;height:41%;object-fit:cover;
  border:9px solid #fffdf6;border-bottom-width:23px;
  filter:saturate(.7) sepia(.14) contrast(.92);
  box-shadow:0 14px 30px rgba(76,59,39,.2);transform:rotate(-3.2deg);
}
.template-card-housewarming-linen-page:hover .universal-thumb-photo {
  transform:rotate(-1.7deg) scale(1.035);
}
.template-card-housewarming-linen-page .universal-thumb-art {
  background:radial-gradient(circle at 50% 6%,rgba(255,255,250,.8),transparent 42%),
    linear-gradient(0deg,rgba(252,245,230,.66),transparent 20%);
}
.template-card-housewarming-linen-page .universal-thumb-art::before {
  content:"";position:absolute;inset:5%;border:1px solid rgba(155,124,88,.65);
  border-radius:6px;box-shadow:inset 0 0 0 7px rgba(250,244,230,.23);
}
.template-card-housewarming-linen-page .universal-thumb-art::after {
  content:"✦";position:absolute;top:28%;left:0;width:100%;text-align:center;
  color:#ac8b62;font:400 22px/1 Georgia,serif;
}
.template-card-housewarming-linen-page .universal-thumb-copy {
  inset:0;padding:12% 10% 8%;align-content:start;text-align:center;justify-items:center;
}
.template-card-housewarming-linen-page .universal-thumb-copy span {font-size:0;}
.template-card-housewarming-linen-page .universal-thumb-copy span::after {
  content:"A NEW CHAPTER  /  PRIGLO";color:#9b7d55;
  font:650 9px/1.2 Georgia,serif;letter-spacing:.15em;
}
.template-card-housewarming-linen-page .universal-thumb-copy strong {
  margin-top:7%;max-width:100%;color:#5d4837;
}
.template-card-housewarming-linen-page .universal-thumb-copy strong b {display:none;}
.template-card-housewarming-linen-page .universal-thumb-copy strong::after {
  content:"Новоселье";font:500 clamp(35px,3.9vw,54px)/1.03 Georgia,"Times New Roman",serif;
  letter-spacing:-.05em;
}
.template-card-housewarming-linen-page .universal-thumb-copy small,
.template-card-housewarming-linen-page .universal-thumb-copy em {
  position:absolute;bottom:7%;left:0;width:100%;text-align:center;
  color:#8f7050;font:600 9px/1.2 Georgia,serif;letter-spacing:.13em;
}
.template-card-housewarming-linen-page .universal-thumb-copy small {display:none;}
.template-card-housewarming-linen-page .universal-thumb-copy em {bottom:10%;font-size:9px;}
.template-card-housewarming-linen-page .universal-thumb-accent {display:none;}

/* Localized title artwork; the metadata remains the actual localized text. */
html[lang^='kk'] .template-card-housewarming-minimal .universal-thumb-copy strong::after {content:"ҚОНЫС ТОЙ";}
html[lang^='en'] .template-card-housewarming-minimal .universal-thumb-copy strong::after {content:"NEW HOME";}
html[lang^='kk'] .template-card-housewarming-linen-page .universal-thumb-copy strong::after {content:"Қоныс той";}
html[lang^='en'] .template-card-housewarming-linen-page .universal-thumb-copy strong::after {content:"Housewarming";font-size:clamp(28px,3.25vw,45px);}

@media(max-width:520px) {
  .template-card-housewarming-minimal .universal-thumb-copy strong::after {font-size:clamp(27px,7.1vw,39px);}
  .template-card-housewarming-linen-page .universal-thumb-copy strong::after {font-size:clamp(33px,8.2vw,45px);}
  html[lang^='en'] .template-card-housewarming-linen-page .universal-thumb-copy strong::after {font-size:clamp(26px,6.4vw,35px);}
}
@media(prefers-reduced-motion:reduce) {
  .template-card-housewarming-minimal .universal-thumb-photo,
  .template-card-housewarming-linen-page .universal-thumb-photo {
    animation:none!important;transition:none!important;transform:none!important;
  }
}

