/* Стили оформления «pastel» — ktodarit.ru. Общие — /t/core.css. */
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) { font-family: "Nunito", "Manrope", sans-serif; }
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) .tt { --tt-l: 2; }
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) .ph:has(.gift-img) { display: block; overflow: hidden; }
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) .hero { position: relative; text-align: center; overflow: hidden; }
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) h1 { overflow-wrap: anywhere; }
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) .greet { position: relative; max-width: 560px; margin: 18px auto 0; font-size: 18px; line-height: 1.5; font-weight: 600; white-space: pre-line; }
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) .sec-sub { text-align: center; max-width: 580px; margin: 0 auto 40px; padding: 0 20px; font-size: 17px; line-height: 1.45; font-weight: 600; }
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) .list { max-width: 1120px; margin: 0 auto; padding: 0 20px 70px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 30px 26px; }
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) .card { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) .card h3 { width: 100%; margin: 16px 0 0; font: 800 19px/1.25 "Nunito", sans-serif; overflow-wrap: anywhere; }
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) .card .btn { margin-top: auto; }
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) .tag { display: none; }
:is(.th-pastel, .th-stork, .th-bears, .th-blocks) .taken .tag { display: block; animation: bb-pop .5s cubic-bezier(.3, 1.6, .5, 1); }
:is(.th-pastel, .th-stork) .cloud { position: absolute; color: #fff; pointer-events: none; animation: bb-drift 14s ease-in-out infinite alternate; }
.th-pastelb { --bg: #e8f3fb; --a: #9ccbea; --b: #5a9bd0; --ink: #2f4a66; --soft: #f6fbff; }
.th-pastelp { --bg: #fdeef2; --a: #f5b8c8; --b: #d9708f; --ink: #6a3346; --soft: #fff8fa; }
.th-pasteln { --bg: #f4f3e6; --a: #cfe3c6; --b: #c99a2e; --ink: #4a5040; --soft: #fffef6; }
:is(.th-pastelb, .th-pastelp, .th-pasteln) { background: var(--bg); }
.th-pastel { color: var(--ink); }
.th-pastel .hero { padding: clamp(70px, 12vh, 130px) 20px 90px; background: linear-gradient(var(--a), var(--bg)); }
.th-pastel .c1 { width: 220px; left: -40px; top: 40px; }
.th-pastel .c2 { width: 160px; right: 6%; top: 24px; animation-delay: -5s; }
.th-pastel .c3 { width: 260px; right: -60px; bottom: 30px; animation-delay: -9s; }
.th-pastel .c4 { width: 140px; left: 8%; bottom: 40px; animation-delay: -3s; opacity: .8; }
.th-pastel .stars i { position: absolute; font-style: normal; color: #fff; font-size: 22px; animation: bb-tw 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); }
.th-pastel .stars i:nth-child(1) { left: 22%; top: 18%; }
.th-pastel .stars i:nth-child(2) { left: 74%; top: 34%; }
.th-pastel .stars i:nth-child(3) { left: 12%; top: 56%; }
.th-pastel .stars i:nth-child(4) { left: 86%; top: 62%; }
.th-pastel .stars i:nth-child(5) { left: 64%; top: 12%; }
.th-pastel .stars i:nth-child(6) { left: 34%; top: 80%; }
.th-pastel .in { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(36px, 6vw, 60px) clamp(18px, 4vw, 48px); background: rgba(255, 255, 255, .72); border-radius: 48px; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .25); }
.th-pastel .pre { margin: 0; font: 700 clamp(24px, 3.4vw, 34px) "Caveat", cursive; color: var(--b); }
.th-pastel h1 { margin: 4px 0 0; font: 900 calc(clamp(60px, 12vw, 140px) * max(var(--k, 1), .55))/1.05 "Nunito", sans-serif; color: var(--ink); letter-spacing: -.02em; }
.th-pastel .date { margin: 10px 0 0; font-size: 20px; font-weight: 800; color: var(--b); }
.th-pastel .cd { display: inline-block; margin: 20px 0 0; padding: 8px 22px; border-radius: 999px; background: var(--a); font-size: 18px; font-weight: 800; }
.th-pastel .sec { text-align: center; margin: 30px 0 8px; font: 900 clamp(34px, 5.4vw, 56px) "Nunito", sans-serif; color: var(--ink); }
.th-pastel .sec-sub { opacity: .8; }
.th-pastel .pc { padding: 54px 20px 24px; margin-top: 30px; background: var(--soft); border-radius: 30px; box-shadow: 0 16px 30px -20px rgba(0, 0, 0, .3); }
.th-pastel .pc::before { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 60px; pointer-events: none;
  background: radial-gradient(circle at 22% 70%, var(--soft) 30px, transparent 31px), radial-gradient(circle at 50% 46%, var(--soft) 42px, transparent 43px), radial-gradient(circle at 78% 70%, var(--soft) 30px, transparent 31px); }
.th-pastel .ph { position: relative; width: 140px; height: 140px; margin-top: -40px; border-radius: 50%; display: grid; place-items: center; font-size: 60px; background: #fff; box-shadow: 0 0 0 6px var(--a); }
.th-pastel .ph .gift-img { border-radius: 50%; padding: 12%; }
.th-pastel .pr { margin: 6px 0 16px; font-weight: 800; color: var(--b); }
.th-pastel .btn { border: 0; background: var(--b); color: #fff; font: 900 17px "Nunito", sans-serif; padding: 12px 30px; border-radius: 999px; box-shadow: 0 6px 0 rgba(0, 0, 0, .12); }
.th-pastel .taken .btn { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--a); }
.th-pastel .taken .ph { opacity: .5; }
.th-pastel .tag { position: absolute; top: 56px; left: 50%; transform: translateX(-50%) rotate(-8deg); padding: 6px 16px; background: #fff; border: 2px solid var(--b); border-radius: 999px; color: var(--b); font: 700 24px "Caveat", cursive; white-space: nowrap; }
.th-pastel footer:not(.ktd-foot) { text-align: center; padding: 10px 16px 40px; font: 700 30px "Caveat", cursive; color: var(--b); }
@media (max-width: 640px) {
  .th-pastel .c2 { width: 110px; }
  .th-pastel .c3 { width: 180px; }
  .th-pastel .in { border-radius: 32px; }
  .th-bears .sec, .th-pastel .sec, .th-stork .sec, .th-blocks .sec { font-size: 34px; padding: 0 12px; }
}
:is(.th-pastel, .th-stork, .th-bears, .th-book, .th-blocks) .taken .btn { padding-left: 18px; padding-right: 18px; white-space: nowrap; }
