/* Стили оформления «gold» — ktodarit.ru. Общие — /t/core.css. */
:is(.th-gold, .th-vintage, .th-film, .th-invite, .th-medals, .th-garden) .ph:has(.gift-img) { display: block; overflow: hidden; }
:is(.th-gold, .th-vintage, .th-film, .th-invite, .th-medals) .tt { --tt-l: 2; }
:is(.th-gold, .th-vintage, .th-film, .th-invite, .th-medals, .th-garden) .greet { max-width: 580px; margin: 20px auto 0; line-height: 1.55; white-space: pre-line; }
:is(.th-gold, .th-vintage, .th-film, .th-invite, .th-medals, .th-garden) .sec-sub { text-align: center; max-width: 580px; margin: 0 auto 40px; padding: 0 20px; line-height: 1.5; }
.th-gold { --gold: #d4af37; --pale: #f5e6b8; --ink: #f2ede0; --mute: #9d968a;
  background: #0b0b0b radial-gradient(ellipse at 50% 0%, #1c1810, #0b0b0b 60%); color: var(--ink); font-family: "Manrope", sans-serif; }
.th-gold .hero { position: relative; min-height: 92vh; overflow: hidden; display: grid; place-items: center; text-align: center; padding: 50px 20px; }
.th-gold .rays { position: absolute; left: 50%; top: 42%; width: 160vmax; height: 160vmax; transform: translate(-50%, -50%); opacity: .14;
  background: repeating-conic-gradient(from 0deg, var(--gold) 0 .6deg, transparent .6deg 7.5deg); -webkit-mask: radial-gradient(circle, transparent 18%, #000 30%, transparent 60%); mask: radial-gradient(circle, transparent 18%, #000 30%, transparent 60%); animation: kh-rot 120s linear infinite; }
.th-gold .in { position: relative; z-index: 2; }
.th-gold .tag { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .6em; text-transform: uppercase; color: var(--gold); }
.th-gold .age { display: flex; align-items: flex-end; justify-content: center; gap: 10px; margin-top: 4px; }
.th-gold .age b { font: 900 clamp(150px, 34vw, 380px)/1.05 "Playfair Display", serif; letter-spacing: -.04em; padding: 0 .06em; margin: -.1em 0 -.12em;
  background: linear-gradient(110deg, #8c6d1f 0%, #f5e6b8 22%, #d4af37 40%, #fff6d6 52%, #b8902c 66%, #f5e6b8 82%, #8c6d1f 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: jg-shine 6s ease-in-out infinite; filter: drop-shadow(0 10px 30px rgba(212, 175, 55, .25)); }
@keyframes jg-shine { 50% { background-position: 100% 0; } }
.th-gold .age span { margin-bottom: .6em; font: italic 400 clamp(26px, 4vw, 44px) "Playfair Display", serif; color: var(--pale); }
.th-gold h1 { margin: 18px 0 0; font: italic 400 calc(clamp(40px, 7vw, 80px) * var(--k, 1))/1.1 "Playfair Display", serif; color: #fff; overflow-wrap: anywhere; }
.th-gold .date { margin: 12px 0 0; letter-spacing: .3em; text-transform: uppercase; font-size: 14px; color: var(--mute); }
.th-gold .greet { color: #d8d1c0; font-size: 18px; }
.th-gold .cd { display: inline-grid; gap: 4px; margin-top: 28px; padding: 14px 32px; border: 1px solid var(--gold); outline: 1px solid rgba(212, 175, 55, .4); outline-offset: 5px; }
.th-gold .cd span { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); }
.th-gold .cd b { font: italic 400 26px "Playfair Display", serif; }
.th-gold .sec { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 60px 0 8px; font: 400 clamp(32px, 6vw, 54px) "Playfair Display", serif; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.th-gold .sec i { width: clamp(30px, 10vw, 120px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.th-gold .sec i:last-child { transform: scaleX(-1); }
.th-gold .sec-sub { color: var(--mute); }
.th-gold .deco { max-width: 1120px; margin: 0 auto; padding: 0 20px 70px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 28px; }
.th-gold .dc { position: relative; padding: 26px 20px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; background: linear-gradient(170deg, #17140d, #0e0d0a); border: 1px solid rgba(212, 175, 55, .55); outline: 1px solid rgba(212, 175, 55, .25); outline-offset: -8px; }
.th-gold .dc::before, .th-gold .dc::after { content: "◆"; position: absolute; top: -9px; color: var(--gold); font-size: 14px; background: #0b0b0b; padding: 0 6px; }
.th-gold .dc::before { left: 50%; transform: translateX(-50%); }
.th-gold .dc::after { content: none; }
.th-gold .ph { width: 140px; height: 140px; display: grid; place-items: center; font-size: 60px; border: 1px solid var(--gold); padding: 6px; background: #14120c; }
.th-gold .ph .gift-img { background: #fff; }
.th-gold .dc h3 { margin: 18px 0 0; width: 100%; font: 400 21px/1.25 "Playfair Display", serif; overflow-wrap: anywhere; }
.th-gold .pr { margin: 8px 0 18px; color: var(--gold); letter-spacing: .1em; }
.th-gold .btn { margin-top: auto; border: 0; background: linear-gradient(110deg, #b8902c, #f5e6b8 50%, #b8902c); color: #1a1408; font: 700 14px "Manrope", sans-serif; letter-spacing: .2em; text-transform: uppercase; padding: 12px 26px; }
.th-gold .taken .btn { background: transparent; color: var(--mute); outline: 1px solid #3a352a; }
.th-gold .taken .ph, .th-gold .taken h3 { opacity: .4; }
.th-gold .stamp { display: none; position: absolute; top: 80px; left: 50%; transform: translateX(-50%) rotate(-12deg); padding: 8px 16px; border: 2px solid var(--gold); color: var(--gold); background: #0b0b0b;
  font: italic 400 22px "Playfair Display", serif; white-space: nowrap; box-shadow: 0 0 0 4px #0b0b0b, 0 0 0 5px rgba(212, 175, 55, .5); }
.th-gold .taken .stamp { display: block; animation: kp-x .5s cubic-bezier(.3, 1.6, .5, 1); }
.th-gold footer:not(.ktd-foot) { text-align: center; padding: 10px 16px 40px; font: italic 400 22px "Playfair Display", serif; color: var(--gold); }
@media (max-width: 640px) {
  .th-gold .age b { font-size: 42vw; }
}
