/* ===== Плашки школы: «Курс со скидкой», зимний анонс, промокод, срок акции (28.11.2026) =====
   Палитра и шрифты сайта: --navy/--y/--r/--b, Cormorant Garamond + Manrope, скругления 30–46px, кнопки tc-btn.
   Файл в media/plg_system_tcschoolpolish (свои стили, обновление шаблона не затирает).
   html body.site #sp-component  — префикс: на сайте «html body.site #sp-component », в редакторе JCE пустой.
   Откат: убрать этот файл и ссылку в плагине / в профиле JCE. */
/* (a) Курс со скидкой: картинка слева, справа название, цена, преподаватель, кнопка */
html body.site #sp-component .tc-offer{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:28px;align-items:center;margin:28px 0;padding:22px;border-radius:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.34) 60%,rgba(255,255,255,.5)),rgba(127,152,178,.14);
  box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.95),inset -1px -1px 0 rgba(255,255,255,.4),0 2px 3px rgba(34,52,76,.08),8px 22px 34px -14px rgba(38,58,84,.22);}
html body.site #sp-component .tc-offer>img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:24px;margin:0;float:none;border:0;box-shadow:0 14px 28px -16px rgba(34,55,77,.55)}
html body.site #sp-component .tc-offer .tc-offer-b>*:last-child{margin-bottom:0}
html body.site #sp-component .tc-offer h3{font-family:var(--serif,"Cormorant Garamond",serif)!important;font-size:30px!important;line-height:1.1!important;margin:.35em 0 .3em!important;max-width:none!important;color:#22374D!important}
html body.site #sp-component .tc-offer .tc-offer-tag{margin:0}
html body.site #sp-component .tc-offer .tc-offer-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;margin:.2em 0 .7em;color:#6C7883}
html body.site #sp-component .tc-offer .tc-offer-price s{font-size:17px;text-decoration-color:#C98F89;text-decoration-thickness:1.5px}
html body.site #sp-component .tc-offer .tc-offer-price :is(b,strong){font-family:var(--serif,"Cormorant Garamond",serif);font-size:40px;font-weight:600;line-height:1;color:#22374D}
html body.site #sp-component .tc-offer .tc-offer-price em{font-style:normal;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#765A22}
html body.site #sp-component .tc-offer .tc-offer-teacher{font-size:15px;line-height:1.55;color:#4B5762;margin:0 0 1em}
@media (max-width:760px){html body.site #sp-component .tc-offer{grid-template-columns:1fr;gap:16px;padding:16px;border-radius:28px}html body.site #sp-component .tc-offer h3{font-size:26px!important}html body.site #sp-component .tc-offer .tc-offer-price b{font-size:34px}}

/* (b1) Зимний анонс: ледяной тёмный блок с золотой нитью и «звёздной пылью» */
html body.site #sp-component .tc-winter{position:relative;overflow:hidden;margin:34px 0;padding:46px 48px;border-radius:46px;text-align:center;color:#DCE6F0;
  background:radial-gradient(2px 2px at 12% 22%,rgba(255,255,255,.85),transparent 60%),radial-gradient(1.5px 1.5px at 27% 70%,rgba(255,255,255,.6),transparent 60%),radial-gradient(2px 2px at 71% 18%,rgba(230,206,151,.9),transparent 60%),radial-gradient(1.5px 1.5px at 88% 64%,rgba(255,255,255,.7),transparent 60%),radial-gradient(1.5px 1.5px at 52% 86%,rgba(230,206,151,.7),transparent 60%),
  radial-gradient(520px 300px at 90% 0%,rgba(201,143,137,.16),transparent 70%),radial-gradient(560px 340px at 6% 100%,rgba(150,184,220,.28),transparent 70%),linear-gradient(160deg,#3A5877,#1D3045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 30px 50px -26px rgba(24,40,60,.6)}
html body.site #sp-component .tc-winter::before{content:"✦";display:block;margin:0 auto 10px;font-size:18px;line-height:1;color:#E6CE97;letter-spacing:.6em;padding-left:.6em}
html body.site #sp-component .tc-winter .tc-winter-k{max-width:none;margin:0 0 6px;font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:700;color:#E6CE97}
html body.site #sp-component .tc-winter h2{font-family:var(--serif,"Cormorant Garamond",serif)!important;font-size:clamp(32px,4vw,46px)!important;line-height:1.08!important;font-weight:500!important;margin:.1em auto .35em!important;color:#F4F7FA!important;max-width:none!important}
html body.site #sp-component .tc-winter p{color:#B9C9D9;max-width:34em;margin-left:auto;margin-right:auto}
html body.site #sp-component .tc-winter hr{width:84px;height:1px;border:0;margin:18px auto;background:linear-gradient(90deg,transparent,#E6CE97,transparent)}
html body.site #sp-component .tc-winter p:last-child{margin-bottom:0}
@media (max-width:760px){html body.site #sp-component .tc-winter{padding:34px 22px;border-radius:32px}}

/* (b2) Подарок / промокод: «купон» с насечками, тёплая охра сайта */
html body.site #sp-component .tc-promo{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:26px;margin:28px 0;padding:26px 34px;border-radius:30px;color:#1E2831;
  background:linear-gradient(145deg,rgba(255,255,255,.6),rgba(255,255,255,.2)),#F3E6C8;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 18px 30px -18px rgba(118,90,34,.5)}
html body.site #sp-component .tc-promo::before,html body.site #sp-component .tc-promo::after{content:"";position:absolute;top:50%;width:22px;height:22px;margin-top:-11px;border-radius:50%;background:#EEF1F3;box-shadow:inset 0 2px 3px rgba(118,90,34,.22)}
html body.site #sp-component .tc-promo::before{left:-11px}html body.site #sp-component .tc-promo::after{right:-11px}
html body.site #sp-component .tc-promo h3{font-family:var(--serif,"Cormorant Garamond",serif)!important;font-size:28px!important;line-height:1.1!important;margin:0 0 .25em!important;color:#4F3B12!important;max-width:none!important}
html body.site #sp-component .tc-promo p{margin:0;font-size:15px;line-height:1.55;color:#4A4030}
html body.site #sp-component .tc-promo .tc-promo-code{justify-self:end;text-align:center;padding:12px 26px 10px;border:1.5px dashed #B8924F;border-radius:20px;background:rgba(255,255,255,.55)}
html body.site #sp-component .tc-promo .tc-promo-code small{display:block;font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:#765A22}
html body.site #sp-component .tc-promo .tc-promo-code :is(b,strong){display:block;font-family:var(--serif,"Cormorant Garamond",serif);font-size:34px;font-weight:600;letter-spacing:.14em;line-height:1.15;color:#22374D}
@media (max-width:760px){html body.site #sp-component .tc-promo{grid-template-columns:1fr;padding:24px 22px}html body.site #sp-component .tc-promo .tc-promo-code{justify-self:stretch}}

/* (b3) Срок акции: крупная дата, как циферблат */
html body.site #sp-component .tc-deadline{display:flex;align-items:center;gap:26px;margin:28px 0;padding:26px 34px;border-radius:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.7),rgba(255,255,255,.3)),rgba(127,152,178,.2);box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.95),0 2px 3px rgba(34,52,76,.08),8px 22px 34px -16px rgba(38,58,84,.22)}
html body.site #sp-component .tc-deadline .tc-deadline-d{flex:none;display:grid;place-items:center;width:132px;height:132px;margin:0;border-radius:50%;text-align:center;line-height:1;
  background:radial-gradient(circle at 30% 25%,#3A5877,#1D3045);color:#F1F5F9;box-shadow:inset 0 0 0 5px rgba(230,206,151,.28),0 14px 24px -12px rgba(24,40,60,.7)}
html body.site #sp-component .tc-deadline .tc-deadline-d :is(b,strong){display:block;font-family:var(--serif,"Cormorant Garamond",serif);font-size:54px;font-weight:600;color:#fff;line-height:.9}
html body.site #sp-component .tc-deadline .tc-deadline-d span{display:block;margin-top:4px;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#E6CE97;font-weight:700}
html body.site #sp-component .tc-deadline .tc-deadline-t{margin:0}
html body.site #sp-component .tc-deadline h3{font-family:var(--serif,"Cormorant Garamond",serif)!important;font-size:28px!important;line-height:1.1!important;margin:0 0 .25em!important;max-width:none!important}
html body.site #sp-component .tc-deadline p{margin:0;font-size:15.5px;line-height:1.55;color:#4B5762}
@media (max-width:760px){html body.site #sp-component .tc-deadline{flex-direction:column;text-align:center;padding:24px 20px;gap:16px}}

/* Cormorant в нашем наборе шрифтов рисует цифры «старого стиля» (10 → ıo), поэтому крупные цифры (цена, код, дата) набираем Manrope */
html body.site #sp-component .tc-offer .tc-offer-price :is(b,strong),html body.site #sp-component .tc-promo .tc-promo-code :is(b,strong),html body.site #sp-component .tc-deadline .tc-deadline-d :is(b,strong){font-family:var(--sans,Manrope,system-ui,sans-serif);font-weight:600;letter-spacing:-.01em}
html body.site #sp-component .tc-offer .tc-offer-price :is(b,strong){font-size:34px}
html body.site #sp-component .tc-promo .tc-promo-code :is(b,strong){font-size:28px;letter-spacing:.12em}
html body.site #sp-component .tc-deadline .tc-deadline-d :is(b,strong){font-size:46px}
