/* =========================================================
   Static approved demo homepage
========================================================= */

body.home {
  margin: 0 !important;
  background: #ffffff !important;
  color: #171512 !important;
}

body.home > #header,
body.home .penci-header-wrap,
body.home #navigation,
body.home .footer-container,
body.home #footer-section,
body.home .penci-footer-wrap,
body.home .samsud-footer-subscribe {
  display: none !important;
}

body.home .container,
body.home .penci-container,
body.home #main,
body.home .site-content,
body.home .container-single {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ss-demo-page,
.ss-demo-page * {
  box-sizing: border-box;
}

.ss-demo-page {
  --paper:#f1e6d6;
  --paper2:#f6edde;
  --ink:#171512;
  --wine:#421719;
  --red:#9d3328;
  --red2:#84281f;
  --coral:#e56d52;
  --blue:#165ea8;
  --acid:#cad344;
  --sand:#d6b877;
  --line:rgba(23,21,18,.24);
  background:var(--paper);
  color:var(--ink);
  font-family:"IBM Plex Sans",Arial,sans-serif;
}

.ss-demo-page a{color:inherit;text-decoration:none}
.ss-demo-container{width:min(1460px,calc(100% - 44px));margin:0 auto}

/* header */
.ss-demo-header{background:var(--paper2);border-bottom:1px solid var(--line)}
.ss-demo-header__inner{width:min(1460px,calc(100% - 44px));min-height:88px;margin:0 auto;display:grid;grid-template-columns:190px 140px 1fr 44px;align-items:center}
.ss-demo-logo{font-size:31px;line-height:.83;font-weight:900;letter-spacing:-.06em;text-transform:uppercase}
.ss-demo-logo span{display:block}
.ss-demo-tagline{padding-left:18px;border-left:1px solid var(--line);font-size:10px;line-height:1.25}
.ss-demo-nav{display:flex;justify-content:flex-end;gap:30px;align-items:center}
.ss-demo-nav a{font-size:11px;font-weight:800;text-transform:uppercase}
.ss-demo-nav a:hover{color:var(--red)}
.ss-demo-search{width:30px;height:30px;margin-left:auto;border:0;background:transparent;position:relative}
.ss-demo-search:before{content:"";position:absolute;width:14px;height:14px;border:1.8px solid var(--ink);border-radius:50%;left:5px;top:4px}
.ss-demo-search:after{content:"";position:absolute;width:8px;height:1.8px;background:var(--ink);transform:rotate(45deg);right:4px;bottom:8px}

/* hero */
.ss-demo-main{padding:18px 0 24px}
.ss-demo-hero{display:grid;grid-template-columns:minmax(0,2.04fr) minmax(320px,.96fr);gap:18px}
.ss-demo-hero__main{position:relative;min-height:625px;overflow:hidden;background:#d8c5af}
.ss-demo-hero__main>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ss-demo-hero__main:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(244,235,222,.98) 0 30%,rgba(244,235,222,.28) 55%,rgba(0,0,0,.06) 100%)}
.ss-demo-hero__paper{position:absolute;z-index:1;left:-10px;top:44px;width:340px;height:505px;background:rgba(247,239,228,.92);clip-path:polygon(5% 0,94% 2%,100% 26%,94% 53%,100% 79%,89% 100%,8% 97%,0 73%,4% 42%,0 14%)}
.ss-demo-hero__red{position:absolute;z-index:2;left:0;top:20px;width:160px;height:110px;background:var(--red);clip-path:polygon(8% 20%,44% 3%,90% 13%,100% 65%,72% 98%,18% 90%,0 56%)}
.ss-demo-hero__blue{position:absolute;z-index:2;left:220px;bottom:-18px;width:155px;height:115px;background:var(--blue);clip-path:polygon(8% 30%,29% 8%,60% 0,96% 29%,79% 94%,34% 100%,0 76%)}
.ss-demo-hero__copy{position:absolute;z-index:4;left:34px;top:49px;width:470px}
.ss-demo-kicker{display:block;margin-bottom:18px;font-size:12px;font-weight:800;text-transform:uppercase}
.ss-demo-hero__copy h1{margin:0;font-size:clamp(72px,6.3vw,108px);line-height:.84;font-weight:900;letter-spacing:-.07em;text-transform:uppercase}
.ss-demo-hero__copy p{width:310px;margin:22px 0;font-size:14px;line-height:1.42}
.ss-demo-button{display:inline-flex;align-items:center;gap:24px;padding:13px 15px;font-size:11px;font-weight:800;text-transform:uppercase}
.ss-demo-button--dark{background:var(--ink);color:#fff!important}.ss-demo-button b{color:#d66350}
.ss-demo-hero__pager{position:absolute;z-index:5;left:34px;bottom:16px;display:flex;gap:18px;font-size:10px}
.ss-demo-hero__pager span{padding-bottom:5px}.ss-demo-hero__pager .is-active{border-bottom:1px solid var(--ink)}

.ss-demo-rail{display:grid;grid-template-rows:repeat(3,1fr) 50px;min-height:625px}
.ss-demo-rail-card{display:grid;grid-template-columns:54% 46%;min-height:0;overflow:hidden;border-bottom:1px solid var(--line)}
.ss-demo-rail-card>div{position:relative;padding:16px}
.ss-demo-rail-card span{font-size:10px;font-weight:800;text-transform:uppercase}
.ss-demo-rail-card h3{margin:6px 0 14px;font-size:21px;line-height:1.01;letter-spacing:-.03em}
.ss-demo-rail-card small{font-size:9px}.ss-demo-rail-card b{position:absolute;right:12px;bottom:10px;color:var(--red);font-size:20px}
.ss-demo-rail-card img{width:100%;height:100%;object-fit:cover}
.ss-demo-rail-card--coral{background:var(--coral)}.ss-demo-rail-card--acid{background:var(--acid)}.ss-demo-rail-card--blue{background:var(--blue);color:#fff}.ss-demo-rail-card--blue b{color:#ff9f8a}
.ss-demo-rail-more{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:800;text-transform:uppercase;border-bottom:1px solid var(--line)}.ss-demo-rail-more b{color:var(--red);font-size:18px}

/* section */
.ss-demo-section{padding-top:30px}
.ss-demo-section-title{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;margin-bottom:15px}
.ss-demo-section-title h2{margin:0;font-size:41px;line-height:1;font-weight:900;letter-spacing:-.055em;text-transform:uppercase}
.ss-demo-section-title i{height:1px;background:var(--line)}
.ss-demo-section-title a{font-size:10px;font-weight:800;text-transform:uppercase}.ss-demo-section-title b{color:var(--red);font-size:16px}

.ss-demo-fresh{display:grid;grid-template-columns:1.35fr .9fr .9fr;grid-template-rows:repeat(2,205px);gap:12px}
.ss-demo-fresh-card{position:relative;overflow:hidden;color:#fff;background:#2a241e}
.ss-demo-fresh-card--big{grid-row:1/3}
.ss-demo-fresh-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ss-demo-fresh-card__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04) 20%,rgba(8,5,4,.82) 100%)}
.ss-demo-fresh-card--big .ss-demo-fresh-card__shade{background:linear-gradient(90deg,rgba(69,20,23,.86) 0 39%,transparent 67%),linear-gradient(180deg,transparent 44%,rgba(0,0,0,.48) 100%)}
.ss-demo-fresh-card__copy{position:absolute;z-index:3;left:18px;right:55px;bottom:16px}.ss-demo-fresh-card--big .ss-demo-fresh-card__copy{top:31px;bottom:auto;width:42%}
.ss-demo-fresh-card__copy span{display:block;margin-bottom:7px;color:#d7c84a;font-size:9px;font-weight:800;text-transform:uppercase}
.ss-demo-fresh-card__copy h3{margin:0;font-size:22px;line-height:1.04}.ss-demo-fresh-card--big h3{font-size:42px}
.ss-demo-fresh-card__copy p{font-size:12px;line-height:1.45}.ss-demo-fresh-card__copy small{font-size:9px}
.ss-demo-round,.ss-demo-play{display:grid;place-items:center;border-radius:50%;background:var(--red);color:#fff}
.ss-demo-round{position:absolute;z-index:4;right:12px;bottom:12px;width:42px;height:42px}

/* rubrics */
.ss-demo-rubrics{display:grid;grid-template-columns:repeat(7,1fr);margin-top:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.ss-demo-rubrics a{display:flex;flex-direction:column;justify-content:space-between;min-height:126px;padding:14px;border-right:1px solid rgba(23,21,18,.22)}.ss-demo-rubrics a:last-child{border-right:0}
.ss-demo-rubrics small{font-size:9px;text-transform:uppercase}.ss-demo-rubrics strong{font-size:18px;line-height:1}.ss-demo-rubrics b{color:var(--red)}
.ss-demo-rubrics .r1{background:#552024;color:#fff}.ss-demo-rubrics .r2{background:#dd725a}.ss-demo-rubrics .r3{background:#2867a9;color:#fff}.ss-demo-rubrics .r4{background:#c9d246}.ss-demo-rubrics .r5{background:#d6bb83}.ss-demo-rubrics .r6{background:#2c6fb5;color:#fff}.ss-demo-rubrics .r7{background:#e67760}

/* liki */
.ss-demo-liki{margin-top:18px;background:#431719;color:#f5e8d7}
.ss-demo-liki__inner{min-height:245px;padding-top:18px;padding-bottom:18px;display:grid;grid-template-columns:180px 1fr 360px;gap:22px}
.ss-demo-liki__title{display:flex;flex-direction:column;justify-content:space-between}.ss-demo-liki__title h2{margin:0;font-size:40px;line-height:.91;font-weight:900;text-transform:uppercase}.ss-demo-liki__title a{font-size:9px;font-weight:800;text-transform:uppercase}.ss-demo-liki__title b{color:#d76a56}
.ss-demo-liki__people{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.ss-demo-liki__people h3{margin:8px 0 3px;font-size:17px}.ss-demo-liki__people p{margin:0;font-size:10px;opacity:.75}
.ss-demo-person-photo{height:145px;background-size:cover;background-position:center;filter:sepia(.25) grayscale(.15)}
.ss-demo-person-photo.p1{background-image:url("demo-assets/liki-strip.jpg");background-position:9% 45%}.ss-demo-person-photo.p2{background-image:url("demo-assets/liki-strip.jpg");background-position:45% 45%}.ss-demo-person-photo.p3{background-image:url("demo-assets/liki-strip.jpg");background-position:73% 45%}
.ss-demo-liki blockquote{position:relative;margin:0;padding:18px 12px 18px 72px;border-left:1px solid rgba(255,255,255,.2)}.ss-demo-liki blockquote span{position:absolute;top:-18px;left:22px;font:95px/1 Georgia,serif;color:#ffd1b9}.ss-demo-liki blockquote p{margin:8px 0;font-size:21px;line-height:1.18}.ss-demo-liki blockquote i{position:absolute;right:15px;bottom:7px;color:#df6c57;font-size:26px}

/* films */
.ss-demo-films{display:grid;grid-template-columns:170px 1.65fr .9fr 250px;gap:14px;padding-top:18px}
.ss-demo-films__title h2{margin:0 0 16px;font-size:48px;line-height:.9;font-weight:900;text-transform:uppercase}.ss-demo-films__title p{font-size:11px;line-height:1.4}.ss-demo-films__title a{font-size:9px;font-weight:800;text-transform:uppercase}.ss-demo-films__title b{color:var(--red)}
.ss-demo-film-main{position:relative;min-height:260px;overflow:hidden;background:#222}.ss-demo-film-main>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ss-demo-film-main__shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.78))}
.ss-demo-film-main__copy{position:absolute;z-index:3;left:18px;bottom:15px;color:#fff}.ss-demo-film-main__copy h3{margin:0;font-size:30px;line-height:1}.ss-demo-film-main__copy span{font-size:10px}
.ss-demo-play{position:absolute;z-index:4;left:50%;top:50%;width:58px;height:58px;transform:translate(-50%,-50%)}
.ss-demo-film-list{border-top:1px solid var(--line)}.ss-demo-film-list a{display:flex;justify-content:space-between;gap:10px;padding:17px 4px;border-bottom:1px solid var(--line);font-size:11px}.ss-demo-film-list small{opacity:.7}
.ss-demo-camera{overflow:hidden}.ss-demo-camera img{width:100%;height:100%;object-fit:cover}

/* utility */
.ss-demo-utilities{display:grid;grid-template-columns:1fr 1fr 1fr 1.1fr;gap:10px;padding-top:18px}
.ss-demo-util{position:relative;min-height:178px;overflow:hidden;background:#e7dbc9}.ss-demo-util>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ss-demo-util:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(245,237,224,.1),rgba(245,237,224,.82))}
.ss-demo-util>div{position:absolute;z-index:2;inset:14px;display:flex;flex-direction:column}.ss-demo-util small{font-size:9px;font-weight:800;text-transform:uppercase}.ss-demo-util strong{margin-top:6px;font-size:27px;line-height:1}.ss-demo-util b{margin-top:auto;font-size:9px;text-transform:uppercase;color:var(--red)}
.ss-demo-util--season{color:#fff}.ss-demo-util--season:after{background:linear-gradient(180deg,rgba(21,94,168,.1),rgba(21,94,168,.72))}.ss-demo-util--season b{color:#fff}

/* subscribe */
.ss-demo-subscribe{margin-top:20px;min-height:190px;padding:26px 28px;border:1px solid rgba(23,21,18,.34);border-radius:18px;background:#f7edde;display:grid;grid-template-columns:1.3fr .9fr .65fr;gap:30px;align-items:center}
.ss-demo-subscribe__quote{position:relative;padding-left:58px}.ss-demo-subscribe__quote>span{position:absolute;left:0;top:-28px;font:94px/1 Georgia,serif;color:var(--red)}.ss-demo-subscribe__quote h2{margin:0;font-size:35px;line-height:1.02;letter-spacing:-.04em}
.ss-demo-subscribe__form p{font-size:13px}.ss-demo-subscribe__form>div{display:grid;grid-template-columns:1fr auto;gap:8px}.ss-demo-subscribe input{height:46px;padding:0 13px;border:1px solid rgba(23,21,18,.25);border-radius:8px;background:rgba(255,255,255,.55)}.ss-demo-subscribe button{height:46px;padding:0 15px;border:0;border-radius:8px;background:var(--red);color:#fff;font-size:10px;font-weight:800;text-transform:uppercase}
.ss-demo-subscribe__socials small{display:block;margin-bottom:10px;font-size:10px;text-transform:uppercase}.ss-demo-subscribe__socials>div{display:flex;gap:7px;flex-wrap:wrap}.ss-demo-subscribe__socials a{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(23,21,18,.25);border-radius:50%;font-size:10px;font-weight:800}

/* footer */
.ss-demo-footer{margin-top:20px;background:#171513;color:#eee2d1}.ss-demo-footer__grid{position:relative;min-height:255px;padding:34px 0 44px;display:grid;grid-template-columns:220px 120px 150px 130px 1fr 100px;gap:28px}
.ss-demo-footer-logo{font-size:31px;line-height:.83;font-weight:900;letter-spacing:-.06em}.ss-demo-footer p{font-size:10px;line-height:1.45;opacity:.72}
.ss-demo-footer nav{display:flex;flex-direction:column;gap:7px}.ss-demo-footer nav strong{margin-bottom:5px;font-size:9px;text-transform:uppercase;opacity:.65}.ss-demo-footer nav a{font-size:10px}
.ss-demo-footer__license{padding-left:20px;border-left:1px solid rgba(255,255,255,.16)}
.ss-demo-footer__figure{width:74px;height:150px;align-self:end;background:linear-gradient(180deg,#d7c2a8,#7c6959);clip-path:polygon(31% 0,68% 0,83% 22%,76% 53%,92% 100%,5% 100%,25% 55%,19% 21%)}

/* responsive */
@media(max-width:1180px){
  .ss-demo-nav{gap:18px}.ss-demo-nav a{font-size:10px}
  .ss-demo-hero{grid-template-columns:1fr}.ss-demo-rail{grid-template-columns:repeat(3,1fr);grid-template-rows:auto auto}.ss-demo-rail-more{grid-column:1/-1}
  .ss-demo-rubrics{grid-template-columns:repeat(4,1fr)}
  .ss-demo-liki__inner{grid-template-columns:150px 1fr}.ss-demo-liki blockquote{grid-column:1/-1}
  .ss-demo-films{grid-template-columns:150px 1.6fr 1fr}.ss-demo-camera{display:none}
}
@media(max-width:820px){
  .ss-demo-header__inner{grid-template-columns:160px 1fr 40px}.ss-demo-tagline{display:none}.ss-demo-nav{display:none}
  .ss-demo-hero__main{min-height:650px}.ss-demo-hero__main:after{background:linear-gradient(180deg,rgba(244,235,222,.05) 20%,rgba(244,235,222,.96) 65%,#f4ebde 100%)}.ss-demo-hero__paper,.ss-demo-hero__blue{display:none}.ss-demo-hero__copy{top:auto;bottom:55px;left:20px;right:20px;width:auto}.ss-demo-hero__copy h1{font-size:72px}
  .ss-demo-fresh{grid-template-columns:1fr 1fr;grid-template-rows:400px repeat(2,190px)}.ss-demo-fresh-card--big{grid-column:1/-1;grid-row:auto}.ss-demo-fresh-card--big .ss-demo-fresh-card__copy{top:auto;bottom:18px;width:auto}.ss-demo-fresh-card--big .ss-demo-fresh-card__shade{background:linear-gradient(180deg,transparent 30%,rgba(69,20,23,.88))}
  .ss-demo-rubrics{grid-template-columns:repeat(2,1fr)}.ss-demo-liki__inner{grid-template-columns:1fr}.ss-demo-films{grid-template-columns:1fr}.ss-demo-utilities{grid-template-columns:1fr 1fr}.ss-demo-subscribe{grid-template-columns:1fr}
  .ss-demo-footer__grid{grid-template-columns:1fr 1fr 1fr}.ss-demo-footer__license{grid-column:1/-1;padding-left:0;border-left:0;border-top:1px solid rgba(255,255,255,.16);padding-top:15px}
}
@media(max-width:560px){
  .ss-demo-container{width:calc(100% - 18px)}
  .ss-demo-hero__copy h1{font-size:58px}.ss-demo-rail{grid-template-columns:1fr}
  .ss-demo-fresh{display:flex;flex-direction:column}.ss-demo-fresh-card{min-height:240px}.ss-demo-fresh-card--big{min-height:390px}
  .ss-demo-rubrics{grid-template-columns:1fr 1fr}
  .ss-demo-liki__people{display:flex;overflow-x:auto}.ss-demo-liki__people article{flex:0 0 70%}
  .ss-demo-utilities{grid-template-columns:1fr}.ss-demo-subscribe__form>div{grid-template-columns:1fr}
  .ss-demo-footer__grid{grid-template-columns:1fr 1fr}
}


/* =========================================================
   HEADER + HERO micro-fixes
========================================================= */

/* 1) Slightly move the descriptor to the right so it no longer tucks under the logo */
.ss-demo-header__inner{
  grid-template-columns:205px 155px 1fr 44px;
}

.ss-demo-tagline{
  padding-left:28px;
}

/* 2) Cleaner search icon */
.ss-demo-search{
  width:32px;
  height:32px;
  margin-left:auto;
  border:0;
  background-color:transparent;
  background-repeat:no-repeat;
  background-position:center;
  background-size:22px 22px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='11' cy='11' r='6.75' stroke='%23171512' stroke-width='1.7'/%3E%3Cpath d='M16 16L20.5 20.5' stroke='%23171512' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  position:relative;
}

.ss-demo-search:before,
.ss-demo-search:after{
  content:none;
}

/* 3) Kicker on the hero should be white, like in the concept */
.ss-demo-kicker{
  color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,.18);
}

/* Keep hero controls as text above the picture */
.ss-demo-hero__pager{
  color:var(--ink);
}

@media(max-width:1180px){
  .ss-demo-header__inner{
    grid-template-columns:195px 150px 1fr 44px;
  }
  .ss-demo-tagline{
    padding-left:24px;
  }
}

@media(max-width:820px){
  .ss-demo-header__inner{
    grid-template-columns:160px 1fr 40px;
  }
  .ss-demo-tagline{
    display:none;
  }
}


/* =========================================================
   HERO IMAGE CLEANUP
   All collage / torn-paper effects are now baked into image.
========================================================= */

.ss-demo-hero__paper,
.ss-demo-hero__red,
.ss-demo-hero__blue {
  display: none !important;
}

/* Remove frontend overlay/gradient above the hero artwork */
.ss-demo-hero__main::after {
  content: none !important;
  display: none !important;
}

/* Hero image is shown exactly as prepared */
.ss-demo-hero__main > img {
  filter: none !important;
  opacity: 1 !important;
}

/* Keep all textual UI above the image */
.ss-demo-hero__copy,
.ss-demo-hero__pager {
  z-index: 5 !important;
}


/* =========================================================
   HERO PAGER + SEASON LABEL TUNING
========================================================= */

.ss-demo-kicker{
  color:#e56d52 !important;
  text-shadow:none !important;
}

.ss-demo-hero__pager{
  font-size:32px !important;
  font-weight:800 !important;
  color:#9a938b !important;
  gap:22px !important;
}

.ss-demo-hero__pager span{
  color:#9a938b !important;
  padding-bottom:7px !important;
  border-bottom:3px solid transparent !important;
}

.ss-demo-hero__pager .is-active{
  color:#171512 !important;
  border-bottom-color:#171512 !important;
}


/* HERO DESCRIPTION SIZE */
.ss-demo-hero__copy p{
  font-size:16px !important;
}


/* HEADER LOGO COLOR */
.ss-demo-logo{
  color:#ff0000 !important;
}


/* =========================================================
   HERO RIGHT RAIL TUNING
========================================================= */

.ss-demo-rail-card span{
  text-transform:uppercase !important;
  font-weight:800 !important;
  letter-spacing:.03em !important;
}

.ss-demo-rail-card h3{
  font-weight:800 !important;
}

.ss-demo-rail-card small{
  font-size:12px !important;
}

/* Individual readable label + arrow colors */
.ss-demo-rail-card--coral span,
.ss-demo-rail-card--coral b{
  color:#7d1718 !important;
}

.ss-demo-rail-card--acid span,
.ss-demo-rail-card--acid b{
  color:#24528f !important;
}

.ss-demo-rail-card--blue span,
.ss-demo-rail-card--blue b{
  color:#f1d35c !important;
}


/* =========================================================
   RIGHT RAIL FEATURE CARD
   "Места" becomes a background-image card with overlay text
========================================================= */

/* White label + arrow for "Лики" as requested */
.ss-demo-rail-card--coral span,
.ss-demo-rail-card--coral b{
  color:#ffffff !important;
}

/* Use the prepared illustration as a proper background */
.ss-demo-rail-card--feature{
  position:relative;
  grid-template-columns:1fr !important;
  overflow:hidden;
}

.ss-demo-rail-card--feature::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url("demo-assets/rail-house-bg.jpg");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center 46%;
  z-index:0;
}

.ss-demo-rail-card--feature::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(10,12,15,.08) 0%, rgba(10,12,15,.16) 32%, rgba(10,12,15,.62) 100%);
  z-index:1;
}

.ss-demo-rail-card--feature > div{
  position:relative;
  z-index:2;
  min-height:176px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:16px 18px 14px !important;
}

.ss-demo-rail-card--feature h3{
  max-width:82%;
  margin:8px 0 10px !important;
  color:#ffffff !important;
}

.ss-demo-rail-card--feature small{
  color:rgba(255,255,255,.92) !important;
}

.ss-demo-rail-card--feature span,
.ss-demo-rail-card--feature b{
  color:#f1d35c !important;
}

.ss-demo-rail-card--feature img{
  display:none !important;
}

@media(max-width:560px){
  .ss-demo-rail-card--feature > div{
    min-height:188px;
  }
}


/* =========================================================
   RIGHT RAIL — MOCK-ACCURATE CARDS v2
   Artwork is a background. All copy stays live HTML.
========================================================= */

.ss-demo-rail-card--art{
  position:relative !important;
  display:block !important;
  min-height:0;
  overflow:hidden;
  background-repeat:no-repeat !important;
  background-size:cover !important;
}

/* Artwork has been composed with a safe text area on the left */
.ss-demo-rail-card--golovkin{
  background-image:url("demo-assets/rail-golovkin-bg.jpg") !important;
  background-position:center center !important;
}

.ss-demo-rail-card--kurlyina{
  background-image:url("demo-assets/rail-kurlyina-bg.jpg") !important;
  background-position:center center !important;
}

/* Kill the previous full-card dark overlay */
.ss-demo-rail-card--art::before,
.ss-demo-rail-card--art::after{
  content:none !important;
  display:none !important;
}

/* Live text sits only in the left half, exactly like the concept */
.ss-demo-rail-card--art .ss-demo-rail-card__content{
  position:relative !important;
  z-index:2 !important;
  width:54% !important;
  height:100% !important;
  min-height:0 !important;
  padding:15px 16px 13px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  color:#171512 !important;
  background:transparent !important;
}

.ss-demo-rail-card--art span{
  display:block;
  margin:0 0 7px !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:.035em !important;
  text-transform:uppercase !important;
}

.ss-demo-rail-card--art h3{
  max-width:none !important;
  margin:0 !important;
  font-size:21px !important;
  line-height:1.03 !important;
  font-weight:800 !important;
  letter-spacing:-.03em !important;
  color:#171512 !important;
}

.ss-demo-rail-card--art small{
  margin-top:auto !important;
  padding-top:10px !important;
  font-size:12px !important;
  line-height:1 !important;
  color:#171512 !important;
}

.ss-demo-rail-card--art b{
  position:absolute !important;
  right:14px !important;
  bottom:9px !important;
  font-size:21px !important;
  line-height:1 !important;
}

/* Per-card accent colors */
.ss-demo-rail-card--golovkin span,
.ss-demo-rail-card--golovkin b{
  color:#ffffff !important;
}

.ss-demo-rail-card--kurlyina span,
.ss-demo-rail-card--kurlyina b{
  color:#165ea8 !important;
}

/* The third card stays in the same text-left / image-right architecture
   until the restaurant artwork is supplied. */
.ss-demo-rail-card--blue{
  grid-template-columns:54% 46% !important;
}

.ss-demo-rail-card--blue > div{
  padding:15px 16px 13px !important;
}

.ss-demo-rail-card--blue h3{
  font-weight:800 !important;
}

.ss-demo-rail-card--blue small{
  font-size:12px !important;
}

@media(max-width:1180px){
  .ss-demo-rail-card--art .ss-demo-rail-card__content{
    width:56% !important;
  }
}

@media(max-width:560px){
  .ss-demo-rail-card--art{
    min-height:210px;
  }

  .ss-demo-rail-card--art .ss-demo-rail-card__content{
    width:58% !important;
  }
}


/* =========================================================
   RIGHT RAIL — KUTEZH CARD
========================================================= */

.ss-demo-rail-card--kutezh{
  background-image:url("demo-assets/rail-kutezh-bg.jpg") !important;
  background-position:center center !important;
}

/* Accent and copy colors for the Kutezh card */
.ss-demo-rail-card--kutezh span,
.ss-demo-rail-card--kutezh b{
  color:#9fd2ff !important;
}

.ss-demo-rail-card--kutezh h3,
.ss-demo-rail-card--kutezh small{
  color:#ffffff !important;
}


/* KUTEZH color tweak */
.ss-demo-rail-card--kutezh span,
.ss-demo-rail-card--kutezh b{
  color:#ff0000 !important;
}

.ss-demo-rail-card--kutezh small{
  color:#171512 !important;
}


/* =========================================================
   RIGHT RAIL — ARROWS UNDER TITLES
========================================================= */

.ss-demo-rail-card--art span{
  order:1;
}

.ss-demo-rail-card--art h3{
  order:2;
}

.ss-demo-rail-card--art b{
  order:3;
  position:static !important;
  display:block !important;
  align-self:flex-start !important;
  margin-top:8px !important;
  margin-bottom:0 !important;
  font-size:22px !important;
  line-height:1 !important;
}

.ss-demo-rail-card--art small{
  order:4;
  margin-top:auto !important;
}


/* RIGHT RAIL — ALL TITLES BLACK */
.ss-demo-rail-card--art h3{
  color:#171512 !important;
}


/* FRESH CARDS — RED ROUND ARROWS */
.ss-demo-fresh .ss-demo-round{
  background:#ff0000 !important;
  color:#ffffff !important;
}


/* =========================================================
   FRESH — BREWERY CARD TWEAKS
========================================================= */

/* Remove overlay from the big brewery card so the illustration is fully visible */
.ss-demo-fresh-card--big .ss-demo-fresh-card__shade{
  background:none !important;
}

/* Date size in Fresh cards */
.ss-demo-fresh-card__copy small{
  font-size:12px !important;
}

/* Put the descriptive subheading a bit lower under the title */
.ss-demo-fresh-card--big .ss-demo-fresh-card__copy p{
  margin-top:16px !important;
}


/* FRESH — BREWERY TEXT COLORS */
.ss-demo-fresh-card--big .ss-demo-fresh-card__copy span{
  color:#ff0000 !important;
}

.ss-demo-fresh-card--big .ss-demo-fresh-card__copy h3,
.ss-demo-fresh-card--big .ss-demo-fresh-card__copy p,
.ss-demo-fresh-card--big .ss-demo-fresh-card__copy small{
  color:#171512 !important;
}


/* FRESH — BREWERY DESCRIPTION SPACING */
.ss-demo-fresh-card--big .ss-demo-fresh-card__copy p{
  margin-top:56px !important;
}


/* =========================================================
   FRESH — "ПОДРОБНЕЕ >" BUTTON
   Live HTML/CSS, no generated text image
========================================================= */

.ss-demo-fresh .ss-demo-more{
  position:absolute;
  z-index:4;
  right:14px;
  bottom:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:38px;
  padding:7px 11px 6px;
  border:1px solid rgba(255,255,255,.95);
  background:#171512;
  color:#ffffff;
  font-family:"IBM Plex Sans", Arial, sans-serif;
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.025em;
  text-transform:uppercase;
  white-space:nowrap;
}

.ss-demo-fresh .ss-demo-more b{
  display:inline-block;
  color:#ffffff;
  font-size:18px;
  line-height:.7;
  font-weight:700;
  transform:translateY(-1px);
}

.ss-demo-fresh-card--big .ss-demo-more{
  right:16px;
  bottom:16px;
}

.ss-demo-fresh .ss-demo-more:hover{
  background:#ff0000;
  border-color:#ff0000;
}

@media(max-width:560px){
  .ss-demo-fresh .ss-demo-more{
    right:12px;
    bottom:12px;
    min-height:36px;
    padding:7px 10px 6px;
    font-size:11px;
  }
}



/* =========================================================
   HAND-DRAWN ARROWS ACROSS THE PAGE
========================================================= */

.ss-demo-arrow{
  display:inline-block;
  width:22px;
  height:16px;
  flex:0 0 auto;
  vertical-align:middle;
  background-color:currentColor;
  -webkit-mask-image:url("demo-assets/arrow-hand.png");
  mask-image:url("demo-assets/arrow-hand.png");
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
}

.ss-demo-button b,
.ss-demo-rail-card b,
.ss-demo-rail-more b,
.ss-demo-section-title b,
.ss-demo-rubrics b,
.ss-demo-liki__title b,
.ss-demo-films__title b{
  display:none !important;
}

.ss-demo-button{
  gap:12px !important;
}

.ss-demo-button .ss-demo-arrow{
  width:20px;
  height:14px;
  color:#d66350;
}

.ss-demo-rail-card--art .ss-demo-arrow{
  width:28px;
  height:20px;
}

.ss-demo-rail-more,
.ss-demo-section-title a,
.ss-demo-liki__title a,
.ss-demo-films__title a{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.ss-demo-rail-more .ss-demo-arrow{
  width:26px;
  height:18px;
  color:var(--red);
}

.ss-demo-section-title a .ss-demo-arrow,
.ss-demo-liki__title a .ss-demo-arrow,
.ss-demo-films__title a .ss-demo-arrow{
  width:20px;
  height:14px;
  color:var(--red);
}

.ss-demo-more{
  gap:8px !important;
}

.ss-demo-more .ss-demo-arrow{
  width:18px;
  height:12px;
  color:#ffffff;
}

.ss-demo-rubrics a{
  position:relative;
}

.ss-demo-rubrics .ss-demo-arrow{
  width:24px;
  height:16px;
  color:currentColor;
}

.ss-demo-util-link{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:9px;
  text-transform:uppercase;
  color:var(--red);
  font-weight:700;
}

.ss-demo-util--season .ss-demo-util-link{
  color:#ffffff;
}

.ss-demo-util-link .ss-demo-arrow{
  width:18px;
  height:12px;
  color:currentColor;
}

.ss-demo-subscribe button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.ss-demo-subscribe button .ss-demo-arrow{
  width:18px;
  height:12px;
  color:#ffffff;
}

@media(max-width:560px){
  .ss-demo-rail-card--art .ss-demo-arrow{width:24px;height:18px;}
  .ss-demo-rail-more .ss-demo-arrow{width:22px;height:15px;}
  .ss-demo-rubrics .ss-demo-arrow{width:20px;height:14px;}
}


/* =========================================================
   STEP 19 — RAIL / FRESH BUTTONS / RUBRICS
========================================================= */

/* 1. Right rail: arrow must sit directly under title, date below */
.ss-demo-rail-card--art .ss-demo-rail-card__content > span:not(.ss-demo-arrow){
  order:1 !important;
}

.ss-demo-rail-card--art .ss-demo-rail-card__content > h3{
  order:2 !important;
}

.ss-demo-rail-card--art .ss-demo-rail-card__content > .ss-demo-arrow{
  order:3 !important;
  position:static !important;
  display:block !important;
  align-self:flex-start !important;
  width:28px !important;
  height:20px !important;
  margin:8px 0 0 !important;
}

.ss-demo-rail-card--art .ss-demo-rail-card__content > small{
  order:4 !important;
  margin-top:auto !important;
}

/* Keep individual rail arrow colors */
.ss-demo-rail-card--golovkin .ss-demo-arrow{
  color:#ffffff !important;
}

.ss-demo-rail-card--kurlyina .ss-demo-arrow{
  color:#165ea8 !important;
}

.ss-demo-rail-card--kutezh .ss-demo-arrow{
  color:#ff0000 !important;
}


/* 2. Brewery: normal state = previous red hover state */
.ss-demo-fresh-card--big .ss-demo-more{
  background:#ff0000 !important;
  border-color:#ff0000 !important;
  color:#ffffff !important;
}

.ss-demo-fresh-card--big .ss-demo-more .ss-demo-arrow{
  color:#ffffff !important;
}

/* Brewery hover = transparent, no black fill */
.ss-demo-fresh-card--big .ss-demo-more:hover{
  background:transparent !important;
  border-color:#171512 !important;
  color:#171512 !important;
}

.ss-demo-fresh-card--big .ss-demo-more:hover .ss-demo-arrow{
  color:#171512 !important;
}


/* 3. Four smaller Fresh cards: arrow only, transparent framed button */
.ss-demo-fresh-card:not(.ss-demo-fresh-card--big) .ss-demo-more--icon{
  width:48px !important;
  height:42px !important;
  min-height:42px !important;
  padding:0 !important;
  gap:0 !important;
  background:transparent !important;
  border:1px solid rgba(255,255,255,.95) !important;
  color:#ffffff !important;
}

.ss-demo-fresh-card:not(.ss-demo-fresh-card--big) .ss-demo-more--icon .ss-demo-arrow{
  width:25px !important;
  height:18px !important;
  color:#ffffff !important;
}

.ss-demo-fresh-card:not(.ss-demo-fresh-card--big) .ss-demo-more--icon:hover{
  background:rgba(255,255,255,.14) !important;
  border-color:#ffffff !important;
}


/* 4. Rubric titles */
.ss-demo-rubrics strong{
  font-weight:900 !important;
  text-transform:uppercase !important;
}


/* LIKI SECTION BACKGROUND */
.ss-demo-liki{
  background:#dd725a !important;
}

\n\n

/* =========================================================
   LIKI SAMARY — CLEAN FINAL BLOCK
========================================================= */

.ss-demo-liki-v3 {
  width: min(1460px, calc(100% - 44px)) !important;
  margin: 18px auto 0 !important;
  background: #ef5b3a !important;
  color: #ffffff !important;
}

.ss-demo-liki-v3__inner {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) 270px !important;
  grid-template-rows: auto !important;
  column-gap: 34px !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 30px 34px 32px !important;
}

.ss-demo-liki-v3,
.ss-demo-liki-v3 h2,
.ss-demo-liki-v3 h3,
.ss-demo-liki-v3 p,
.ss-demo-liki-v3 a,
.ss-demo-liki-v3 span,
.ss-demo-liki-v3 i,
.ss-demo-liki-v3 blockquote {
  color: #ffffff !important;
}

/* Заголовок слева */
.ss-demo-liki-v3__title {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: start !important;
  padding-top: 2px !important;
}

.ss-demo-liki-v3__title h2 {
  margin: 0 !important;
  font-size: 40px !important;
  line-height: 0.92 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  text-transform: uppercase !important;
}

/* Три карточки — основной широкий блок */
.ss-demo-liki-v3__people {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  min-width: 0 !important;
}

.ss-demo-liki-v3__people article {
  min-width: 0 !important;
}

.ss-demo-liki-v3__photo {
  display: block !important;
  width: 100% !important;
  height: 180px !important;
  background-image: url("demo-assets/liki-strip.jpg") !important;
  background-repeat: no-repeat !important;
  background-size: 330% auto !important;
  filter: sepia(0.25) grayscale(0.15);
}

.ss-demo-liki-v3__photo--1 {
  background-position: 4% 45% !important;
}

.ss-demo-liki-v3__photo--2 {
  background-position: 50% 45% !important;
}

.ss-demo-liki-v3__photo--3 {
  background-position: 96% 45% !important;
}

.ss-demo-liki-v3__people h3 {
  margin: 10px 0 4px !important;
  font-size: 17px !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
}

.ss-demo-liki-v3__people p {
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  opacity: 0.9 !important;
}

/* Смотреть всех — справа сверху */
.ss-demo-liki-v3__all {
  grid-column: 3 !important;
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: end !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 2px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.ss-demo-liki-v3__all .ss-demo-arrow {
  color: #ffffff !important;
}

/*
 * Цитата находится в той же правой колонке.
 * Поднята вверх: визуально начинается примерно
 * на середине фотографий, а не под всем блоком.
 */
.ss-demo-liki-v3__quote {
  position: absolute !important;
  top: 118px !important;
  right: 34px !important;
  width: 270px !important;
  margin: 0 !important;
  padding: 0 0 0 42px !important;
  border: 0 !important;
}

.ss-demo-liki-v3__quote-mark {
  position: absolute !important;
  top: -12px !important;
  left: 0 !important;
  font: 62px/1 Georgia, serif !important;
  color: #ffffff !important;
  opacity: 0.95 !important;
}

.ss-demo-liki-v3__quote p {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.22 !important;
  font-weight: 500 !important;
}

/* Волна — крайняя правая направляющая */
.ss-demo-liki-v3__wave {
  position: absolute !important;
  right: 34px !important;
  bottom: 30px !important;
  font-style: normal !important;
  font-size: 24px !important;
  line-height: 1 !important;
  color: #ffffff !important;
  opacity: 0.95 !important;
}

@media (max-width: 1180px) {
  .ss-demo-liki-v3__inner {
    grid-template-columns: 200px minmax(0, 1fr) 235px !important;
    column-gap: 24px !important;
  }

  .ss-demo-liki-v3__photo {
    height: 160px !important;
  }

  .ss-demo-liki-v3__quote {
    top: 108px !important;
    width: 235px !important;
  }

  .ss-demo-liki-v3__quote p {
    font-size: 17px !important;
  }
}

@media (max-width: 820px) {
  .ss-demo-liki-v3 {
    width: calc(100% - 18px) !important;
  }

  .ss-demo-liki-v3__inner {
    display: block !important;
    padding: 30px 22px 32px !important;
  }

  .ss-demo-liki-v3__all {
    margin-top: 16px !important;
  }

  .ss-demo-liki-v3__people {
    margin-top: 24px !important;
  }

  .ss-demo-liki-v3__quote {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 280px !important;
    margin: 28px 48px 0 auto !important;
  }

  .ss-demo-liki-v3__wave {
    right: 22px !important;
    bottom: 28px !important;
  }
}

@media (max-width: 560px) {
  .ss-demo-liki-v3__people {
    display: flex !important;
    overflow-x: auto !important;
  }

  .ss-demo-liki-v3__people article {
    flex: 0 0 74% !important;
  }

  .ss-demo-liki-v3__quote {
    width: calc(100% - 48px) !important;
  }
}



/* =========================================================
   CURRENT FIXES
========================================================= */

.ss-demo-section-title a {
  font-size: 16px !important;
}

.ss-demo-liki-v3 {
  background: #ef5b3a !important;
}

.ss-demo-liki-v3__photo--1 {
  background-image: url("demo-assets/alfred-von-vacano-card.jpg") !important;
  background-size: cover !important;
  background-position: center 28% !important;
}


/* =========================================================
   ANTON SHIKHOBALOV CARD
========================================================= */

.ss-demo-liki-v3__photo--2 {
  background-image: url("demo-assets/anton-shikhobalov-card.jpg") !important;
  background-size: cover !important;
  background-position: center 24% !important;
}

.ss-demo-liki-v3__people p {
  max-width: 100%;
}


/* =========================================================
   ELDAR RYAZANOV — LIKI SAMARY ONLY
========================================================= */

.ss-demo-liki-v3__photo--3 {
  background-image: url("demo-assets/eldar-ryazanov-card.jpg") !important;
  background-size: cover !important;
  background-position: center 20% !important;
}


/* =========================================================
   FILMS BLOCK REDESIGN
========================================================= */

.ss-demo-films {
  display: grid;
  grid-template-columns: 190px minmax(0, 2.15fr) 120px minmax(0, 1.12fr);
  gap: 24px;
  align-items: stretch;
  min-height: 422px;
  padding-top: 18px;
}

.ss-demo-films__title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 18px;
}

.ss-demo-films__title h2 {
  margin: 0;
  font-size: 40px;
  line-height: 0.91;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.ss-demo-films__title-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 8px;
}

.ss-demo-films__title p {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.ss-demo-films__title a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  width: fit-content;
}

.ss-demo-film-main {
  position: relative;
  min-height: 422px;
  overflow: hidden;
  background: #222;
}

.ss-demo-film-main > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-demo-film-main__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 22%, rgba(0,0,0,0.78) 100%);
}

.ss-demo-film-main__copy {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 18px;
  color: #fff;
}

.ss-demo-film-main__copy h3 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.02;
}

.ss-demo-film-main__copy span {
  font-size: 12px;
  font-weight: 700;
}

.ss-demo-play {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
}

.ss-demo-film-list {
  border-top: 1px solid var(--line);
  align-self: stretch;
}

.ss-demo-film-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.35;
}

.ss-demo-film-list small {
  opacity: 0.78;
  font-size: 12px;
}

.ss-demo-camera {
  position: relative;
  overflow: hidden;
  min-height: 422px;
}

.ss-demo-camera img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 1180px) {
  .ss-demo-films {
    grid-template-columns: 180px minmax(0, 1.8fr) 120px minmax(0, 0.9fr);
    gap: 18px;
  }
}

@media (max-width: 980px) {
  .ss-demo-films {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .ss-demo-films__title {
    grid-column: 1 / -1;
    gap: 16px;
    padding-right: 0;
  }

  .ss-demo-films__title-bottom {
    padding-bottom: 0;
  }

  .ss-demo-film-main,
  .ss-demo-camera {
    min-height: 320px;
  }

  .ss-demo-film-list {
    order: 4;
  }
}

@media (max-width: 700px) {
  .ss-demo-films {
    grid-template-columns: 1fr;
  }

  .ss-demo-film-main,
  .ss-demo-camera {
    min-height: 260px;
  }

  .ss-demo-film-list a {
    padding: 14px 0;
  }
}


/* =========================================================
   HARD RESTORE — FILMS V2 + WHITE PAGE BACKGROUND
========================================================= */

.ss-demo-page {
  background: #ffffff !important;
}

/* Films: right side = list on top, illustration below */
.ss-demo-films {
  grid-template-columns: 190px minmax(0, 1fr) 330px !important;
  grid-template-rows: auto 1fr !important;
  gap: 24px !important;
  min-height: 422px !important;
}

.ss-demo-films__title {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
}

.ss-demo-film-main {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  min-height: 422px !important;
}

.ss-demo-film-list {
  grid-column: 3 !important;
  grid-row: 1 !important;
  align-self: start !important;
  border-top: 1px solid var(--line) !important;
}

.ss-demo-film-list a {
  padding: 16px 0 !important;
}

.ss-demo-camera {
  grid-column: 3 !important;
  grid-row: 2 !important;
  min-height: 0 !important;
  height: 100% !important;
  align-self: stretch !important;
}

.ss-demo-camera img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (max-width: 1180px) {
  .ss-demo-films {
    grid-template-columns: 180px minmax(0, 1fr) 290px !important;
    gap: 18px !important;
  }
}

@media (max-width: 980px) {
  .ss-demo-films {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto !important;
    min-height: 0 !important;
  }

  .ss-demo-films__title {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .ss-demo-film-main {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .ss-demo-film-list {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .ss-demo-camera {
    grid-column: 2 !important;
    grid-row: auto !important;
    min-height: 320px !important;
  }
}

@media (max-width: 700px) {
  .ss-demo-films {
    grid-template-columns: 1fr !important;
  }

  .ss-demo-film-list,
  .ss-demo-camera {
    grid-column: 1 !important;
  }

  .ss-demo-camera {
    min-height: 260px !important;
  }
}

/* =========================================================
   FOOTER REDESIGN — LAST APPROVED CONCEPT
   Only footer styles. Other homepage sections are untouched.
========================================================= */

.ss-demo-footer--new {
  position: relative;
  margin-top: 20px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 38%, rgba(255,255,255,.045), transparent 24%),
    linear-gradient(180deg, #181715 0%, #11110f 100%) !important;
  color: #f3eee5 !important;
}

.ss-demo-footer__new-main {
  position: relative;
  min-height: 390px;
  display: grid;
  grid-template-columns: 220px 130px 150px 135px 155px minmax(220px, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 58px !important;
  padding-bottom: 38px !important;
}

.ss-demo-footer__brand,
.ss-demo-footer__column {
  position: relative;
  z-index: 3;
}

.ss-demo-footer__brand {
  padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,.22);
}

.ss-demo-footer--new .ss-demo-footer-logo {
  margin-bottom: 22px;
  color: #fff !important;
  font-size: 34px;
  line-height: .82;
  font-weight: 900;
  letter-spacing: -.06em;
}

.ss-demo-footer__brand > p {
  margin: 0;
  color: rgba(255,255,255,.76) !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}

.ss-demo-footer__socials {
  display: flex;
  gap: 9px;
  margin-top: 28px;
}

.ss-demo-footer__socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 800;
  text-decoration: none !important;
}

.ss-demo-footer__column {
  min-height: 200px;
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,.16);
}

.ss-demo-footer__column--social {
  border-right: 0;
}

.ss-demo-footer__column strong {
  display: block;
  margin: 0 0 24px;
  color: #fff !important;
  font-size: 10px !important;
  line-height: 1;
  font-weight: 800 !important;
  text-transform: uppercase;
  opacity: 1 !important;
}

.ss-demo-footer__column a {
  display: block;
  margin-bottom: 11px;
  color: rgba(255,255,255,.73) !important;
  font-size: 10px !important;
  line-height: 1.25;
  text-decoration: none !important;
}

.ss-demo-footer__column a:hover {
  color: #fff !important;
}

.ss-demo-footer__art {
  position: absolute;
  right: -24px;
  bottom: 0;
  z-index: 1;
  width: 380px;
  height: 360px;
  pointer-events: none;
}

.ss-demo-footer__art img {
  position: absolute;
  right: 0;
  bottom: -2px;
  z-index: 4;
  width: 220px;
  height: auto;
  max-height: 355px;
  object-fit: contain;
  object-position: right bottom;
  filter: contrast(1.04) saturate(.85);
}

.ss-demo-footer__paint {
  position: absolute;
  display: block;
  filter: saturate(.9);
}

.ss-demo-footer__paint--blue {
  right: 102px;
  bottom: 80px;
  z-index: 1;
  width: 180px;
  height: 140px;
  background: #145ec9;
  clip-path: polygon(4% 25%,20% 5%,42% 19%,60% 0,75% 22%,96% 11%,88% 50%,100% 76%,73% 100%,44% 82%,15% 96%,0 68%);
  transform: rotate(-8deg);
}

.ss-demo-footer__paint--red {
  right: -28px;
  bottom: 38px;
  z-index: 2;
  width: 160px;
  height: 200px;
  background: #ef5b3a;
  clip-path: polygon(25% 0,74% 9%,100% 33%,87% 64%,100% 92%,56% 100%,23% 83%,0 49%);
  transform: rotate(8deg);
}

.ss-demo-footer__architecture {
  position: absolute;
  right: 54px;
  bottom: 0;
  z-index: 2;
  width: 245px;
  height: 118px;
  background:
    linear-gradient(rgba(231,218,196,.9),rgba(231,218,196,.9)),
    url("demo-assets/rail-kurlyina-bg.jpg") center 58% / cover no-repeat;
  opacity: .96;
  clip-path: polygon(0 22%,9% 10%,24% 14%,35% 4%,49% 12%,61% 2%,75% 8%,88% 0,100% 16%,96% 100%,3% 100%);
  filter: grayscale(1) sepia(.35) contrast(.95);
}

.ss-demo-footer__bottom {
  position: relative;
  z-index: 5;
  min-height: 90px;
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 70px 150px;
  gap: 30px;
  align-items: center;
  padding-top: 18px !important;
  padding-bottom: 20px !important;
  border-top: 1px solid rgba(255,255,255,.32);
}

.ss-demo-footer__bottom p,
.ss-demo-footer__bottom a {
  color: rgba(255,255,255,.7) !important;
  font-size: 9px !important;
  line-height: 1.45;
}

.ss-demo-footer__bottom p {
  margin: 0;
}

.ss-demo-footer__bottom-links {
  display: flex;
  gap: 28px;
}

.ss-demo-footer__bottom-links a {
  position: relative;
  text-decoration: none !important;
}

.ss-demo-footer__bottom-links a + a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 1px;
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.28);
}

.ss-demo-footer__age {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
}

.ss-demo-footer__love {
  text-align: right;
}

/* Remove legacy placeholder figure from the old footer rules */
.ss-demo-footer--new .ss-demo-footer__figure {
  display: none !important;
}

@media (max-width: 1180px) {
  .ss-demo-footer__new-main {
    grid-template-columns: 210px repeat(4, 1fr);
    padding-right: 220px !important;
  }

  .ss-demo-footer__art {
    width: 280px;
  }

  .ss-demo-footer__art img {
    width: 190px;
  }
}

@media (max-width: 900px) {
  .ss-demo-footer__new-main {
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 0;
    padding-right: var(--pad, 20px) !important;
  }

  .ss-demo-footer__brand {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }

  .ss-demo-footer__column {
    border-right: 0;
  }

  .ss-demo-footer__art {
    display: none;
  }

  .ss-demo-footer__bottom {
    grid-template-columns: 1fr 1fr;
  }

  .ss-demo-footer__love {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .ss-demo-footer__new-main {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
    padding-top: 36px !important;
  }

  .ss-demo-footer__brand {
    grid-column: 1 / -1;
  }

  .ss-demo-footer__column {
    min-height: 0;
  }

  .ss-demo-footer__bottom {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ss-demo-footer__bottom-links {
    flex-direction: column;
    gap: 8px;
  }

  .ss-demo-footer__bottom-links a + a::before {
    display: none;
  }

  .ss-demo-footer__love {
    text-align: left;
  }
}

/* =========================================================
   FOOTER REDESIGN V2 — MATCH TARGET GRID
========================================================= */

.ss-demo-subscribe--footer-ready {
  position: relative;
  z-index: 3;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  min-height: 190px !important;
  padding: 28px 250px 28px 30px !important;
  display: grid !important;
  grid-template-columns: minmax(360px, 1.25fr) minmax(380px, .95fr) 220px !important;
  gap: 34px !important;
  align-items: center !important;
  border: 1px solid rgba(23,21,18,.34) !important;
  border-radius: 18px !important;
  background: #f7edde !important;
  overflow: visible !important;
}

.ss-demo-subscribe--footer-ready .ss-demo-subscribe__quote {
  padding-left: 60px !important;
}

.ss-demo-subscribe--footer-ready .ss-demo-subscribe__quote > span {
  left: 0 !important;
  top: -18px !important;
  color: #d12418 !important;
}

.ss-demo-subscribe--footer-ready .ss-demo-subscribe__quote h2 {
  margin: 0 !important;
  color: #171512 !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 34px !important;
  line-height: 1.08 !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
}

.ss-demo-subscribe--footer-ready .ss-demo-subscribe__form p {
  margin: 0 0 10px !important;
  color: #171512 !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

.ss-demo-subscribe__form-row {
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) 150px !important;
  gap: 8px !important;
}

.ss-demo-subscribe--footer-ready input {
  height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(23,21,18,.28) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.52) !important;
  color: #171512 !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 13px !important;
}

.ss-demo-subscribe--footer-ready button {
  height: 46px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #9d3328 !important;
  color: #fff !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.ss-demo-subscribe--footer-ready .ss-demo-subscribe__socials {
  align-self: center !important;
}

.ss-demo-subscribe--footer-ready .ss-demo-subscribe__socials small {
  display: block !important;
  margin: 0 0 11px !important;
  color: #171512 !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

.ss-demo-subscribe--footer-ready .ss-demo-subscribe__socials > div {
  display: flex !important;
  gap: 8px !important;
}

.ss-demo-subscribe--footer-ready .ss-demo-subscribe__socials a,
.ss-demo-footer__socials a {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid rgba(23,21,18,.28) !important;
  border-radius: 50% !important;
  background: transparent !important;
}

.ss-demo-subscribe--footer-ready .ss-demo-subscribe__socials svg,
.ss-demo-footer__socials svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor !important;
}

.ss-demo-footer--new {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 48px !important;
  overflow: visible !important;
  background: linear-gradient(180deg,#191816 0%,#11110f 100%) !important;
  color: #f4efe6 !important;
}

.ss-demo-footer__new-main {
  position: relative !important;
  min-height: 330px !important;
  display: grid !important;
  grid-template-columns: 220px 130px 150px 135px 170px minmax(260px,1fr) !important;
  gap: 0 !important;
  align-items: start !important;
  padding-top: 52px !important;
  padding-bottom: 34px !important;
  padding-right: 300px !important;
}

.ss-demo-footer__brand,
.ss-demo-footer__column {
  position: relative !important;
  z-index: 5 !important;
  min-height: 205px !important;
  padding: 0 28px !important;
  border-right: 1px solid rgba(255,255,255,.16) !important;
}

.ss-demo-footer__brand {
  padding-left: 0 !important;
}

.ss-demo-footer__column--social {
  border-right: 0 !important;
}

.ss-demo-footer--new .ss-demo-footer-logo {
  margin: 0 0 20px !important;
  color: #fff !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 29px !important;
  line-height: .84 !important;
  font-weight: 700 !important;
  letter-spacing: -.055em !important;
}

.ss-demo-footer__brand > p {
  margin: 0 !important;
  color: rgba(255,255,255,.72) !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

.ss-demo-footer__socials {
  display: flex !important;
  gap: 8px !important;
  margin-top: 26px !important;
}

.ss-demo-footer__socials a {
  width: 34px !important;
  height: 34px !important;
  border-color: rgba(255,255,255,.55) !important;
  color: #fff !important;
}

.ss-demo-footer__column strong {
  display: block !important;
  margin: 0 0 22px !important;
  color: #fff !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  text-transform: uppercase !important;
}

.ss-demo-footer__column > a {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: rgba(255,255,255,.72) !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  text-decoration: none !important;
}

.ss-demo-footer__column--social svg {
  flex: 0 0 15px !important;
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
}

.ss-demo-footer__zen-icon {
  flex: 0 0 15px !important;
  width: 15px !important;
  text-align: center !important;
}

.ss-demo-footer__art {
  position: absolute !important;
  right: -8px !important;
  top: -132px !important;
  bottom: auto !important;
  z-index: 6 !important;
  width: 350px !important;
  height: 470px !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.ss-demo-footer__art img {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 5 !important;
  display: block !important;
  width: 230px !important;
  height: auto !important;
  max-height: 455px !important;
  object-fit: contain !important;
  object-position: right bottom !important;
  filter: none !important;
}

.ss-demo-footer__paint--blue {
  right: 82px !important;
  bottom: 64px !important;
  width: 190px !important;
  height: 150px !important;
  background: #1668e8 !important;
}

.ss-demo-footer__paint--red {
  right: -48px !important;
  bottom: 30px !important;
  width: 170px !important;
  height: 220px !important;
  background: #ff4b2f !important;
}

.ss-demo-footer__architecture {
  right: 52px !important;
  bottom: 0 !important;
  width: 245px !important;
  height: 112px !important;
  opacity: .9 !important;
}

.ss-demo-footer__bottom {
  position: relative !important;
  z-index: 7 !important;
  min-height: 82px !important;
  display: grid !important;
  grid-template-columns: 1.1fr 1.55fr 70px 150px !important;
  gap: 28px !important;
  align-items: center !important;
  padding-top: 17px !important;
  padding-bottom: 18px !important;
  border-top: 1px solid rgba(255,255,255,.3) !important;
}

.ss-demo-footer__bottom p,
.ss-demo-footer__bottom a {
  color: rgba(255,255,255,.64) !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 9px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}

.ss-demo-footer__bottom-links {
  display: flex !important;
  gap: 28px !important;
}

.ss-demo-footer__age {
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  border: 1px solid rgba(255,255,255,.5) !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 10px !important;
}

.ss-demo-footer__love {
  text-align: right !important;
}

@media (max-width: 1180px) {
  .ss-demo-subscribe--footer-ready {
    padding-right: 190px !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .ss-demo-subscribe--footer-ready .ss-demo-subscribe__socials {
    grid-column: 2 !important;
  }

  .ss-demo-footer__new-main {
    grid-template-columns: 200px repeat(4,1fr) !important;
    padding-right: 250px !important;
  }

  .ss-demo-footer__art {
    width: 300px !important;
  }

  .ss-demo-footer__art img {
    width: 205px !important;
  }
}

@media (max-width: 900px) {
  .ss-demo-subscribe--footer-ready {
    padding: 28px !important;
    grid-template-columns: 1fr !important;
  }

  .ss-demo-subscribe--footer-ready .ss-demo-subscribe__socials {
    grid-column: auto !important;
  }

  .ss-demo-footer--new {
    margin-top: 20px !important;
  }

  .ss-demo-footer__new-main {
    grid-template-columns: 1fr 1fr !important;
    padding-right: 22px !important;
  }

  .ss-demo-footer__brand {
    grid-column: 1 / -1 !important;
    padding-left: 0 !important;
    border-right: 0 !important;
  }

  .ss-demo-footer__art {
    display: none !important;
  }

  .ss-demo-footer__bottom {
    grid-template-columns: 1fr 1fr !important;
  }

  .ss-demo-footer__love {
    text-align: left !important;
  }
}

@media (max-width: 620px) {
  .ss-demo-subscribe--footer-ready .ss-demo-subscribe__quote h2 {
    font-size: 27px !important;
  }

  .ss-demo-subscribe__form-row {
    grid-template-columns: 1fr !important;
  }

  .ss-demo-footer__new-main {
    grid-template-columns: 1fr !important;
    padding-top: 34px !important;
  }

  .ss-demo-footer__brand,
  .ss-demo-footer__column {
    min-height: 0 !important;
    padding: 0 0 22px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
  }

  .ss-demo-footer__bottom {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .ss-demo-footer__bottom-links {
    flex-direction: column !important;
    gap: 7px !important;
  }
}

/* =========================================================
   EXACT FOOTER V3 — isolated classes, no legacy collisions
========================================================= */

.samsud-final-footer-zone {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 20px;
  overflow: visible;
}

/* Subscription */
.samsud-final-subscribe {
  position: relative;
  z-index: 4;
  min-height: 190px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 28px 245px 28px 28px !important;
  display: grid;
  grid-template-columns: minmax(390px, 1.15fr) minmax(390px, .95fr) 210px;
  gap: 36px;
  align-items: center;
  border: 1px solid rgba(23,21,18,.28);
  border-radius: 18px;
  background: #f7edde;
  overflow: visible;
  box-sizing: border-box;
}

.samsud-final-subscribe__quote {
  position: relative;
  padding-left: 58px;
}

.samsud-final-subscribe__mark {
  position: absolute;
  left: 0;
  top: -18px;
  color: #d1251a;
  font: 92px/1 Georgia, serif;
}

.samsud-final-subscribe__quote h2 {
  margin: 0;
  color: #171512;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 34px;
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.035em;
}

.samsud-final-subscribe__form p {
  margin: 0 0 10px;
  color: #171512;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
}

.samsud-final-subscribe__row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 150px;
  gap: 8px;
}

.samsud-final-subscribe__row input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(23,21,18,.26);
  border-radius: 8px;
  background: rgba(255,255,255,.55);
  color: #171512;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 13px;
  box-sizing: border-box;
}

.samsud-final-subscribe__row button {
  height: 46px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: #9e3328;
  color: #fff;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.samsud-final-subscribe__socials small {
  display: block;
  margin-bottom: 11px;
  color: #171512;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
}

.samsud-final-subscribe__socials > div,
.samsud-final-footer__circles {
  display: flex;
  gap: 8px;
}

.samsud-final-subscribe__socials a,
.samsud-final-footer__circles a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23,21,18,.3);
  border-radius: 50%;
  color: #171512 !important;
  text-decoration: none !important;
}

.samsud-final-subscribe__socials svg,
.samsud-final-footer__circles svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Footer */
.samsud-final-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 48px;
  overflow: visible;
  background:
    radial-gradient(circle at 78% 45%, rgba(255,255,255,.035), transparent 22%),
    linear-gradient(180deg,#1a1917 0%,#11110f 100%);
  color: #f3eee5;
}

.samsud-final-footer__grid {
  position: relative;
  z-index: 3;
  min-height: 330px;
  padding-top: 52px !important;
  padding-right: 330px !important;
  padding-bottom: 34px !important;
  display: grid;
  grid-template-columns: 220px 130px 150px 135px 175px;
  gap: 0;
  box-sizing: border-box;
}

.samsud-final-footer__brand,
.samsud-final-footer__col {
  min-height: 205px;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,.16);
  box-sizing: border-box;
}

.samsud-final-footer__brand {
  padding-left: 0;
}

.samsud-final-footer__col--social {
  border-right: 0;
}

.samsud-final-footer__logo {
  margin: 0 0 20px;
  color: #fff;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 29px;
  line-height: .84;
  font-weight: 700;
  letter-spacing: -.055em;
}

.samsud-final-footer__brand > p {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 400;
}

.samsud-final-footer__circles {
  margin-top: 25px;
}

.samsud-final-footer__circles a {
  width: 34px;
  height: 34px;
  border-color: rgba(255,255,255,.55);
  color: #fff !important;
}

.samsud-final-footer__col strong {
  display: block;
  margin-bottom: 22px;
  color: #fff;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
}

.samsud-final-footer__col > a {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.72) !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 400;
  text-transform: none;
  text-decoration: none !important;
}

.samsud-final-footer__col--social svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.samsud-final-footer__zen {
  flex: 0 0 15px;
  width: 15px;
  text-align: center;
}

.samsud-final-footer__bottom {
  position: relative;
  z-index: 5;
  min-height: 82px;
  padding-top: 17px !important;
  padding-bottom: 18px !important;
  display: grid;
  grid-template-columns: 1.1fr 1.55fr 70px 150px;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.3);
  box-sizing: border-box;
}

.samsud-final-footer__bottom p,
.samsud-final-footer__bottom a {
  margin: 0;
  color: rgba(255,255,255,.64) !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 9px;
  line-height: 1.4;
  font-weight: 400;
}

.samsud-final-footer__legal {
  display: flex;
  gap: 28px;
}

.samsud-final-footer__age {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
}

.samsud-final-footer__love {
  text-align: right;
}

/* Right collage + man. This spans BOTH blocks. */
.samsud-final-footer__art {
  position: absolute;
  right: max(0px, calc((100vw - 1360px) / 2));
  bottom: 0;
  z-index: 8;
  width: 390px;
  height: 590px;
  overflow: visible;
  pointer-events: none;
}

.samsud-final-footer__art img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: block;
  width: 250px;
  height: auto;
  max-height: 575px;
  object-fit: contain;
  object-position: right bottom;
}

.samsud-final-footer__paint {
  position: absolute;
  display: block;
}

.samsud-final-footer__paint--blue {
  right: 92px;
  bottom: 78px;
  z-index: 2;
  width: 205px;
  height: 160px;
  background: #1769e8;
  clip-path: polygon(3% 25%,18% 7%,39% 17%,58% 2%,75% 22%,96% 11%,88% 50%,100% 76%,74% 100%,44% 83%,14% 96%,0 68%);
  transform: rotate(-8deg);
}

.samsud-final-footer__paint--red {
  right: -42px;
  bottom: 38px;
  z-index: 3;
  width: 180px;
  height: 235px;
  background: #ff4b2f;
  clip-path: polygon(25% 0,74% 9%,100% 33%,87% 64%,100% 92%,56% 100%,23% 83%,0 49%);
  transform: rotate(8deg);
}

.samsud-final-footer__building {
  position: absolute;
  right: 60px;
  bottom: 0;
  z-index: 1;
  width: 260px;
  height: 124px;
  background:
    linear-gradient(rgba(229,216,194,.9),rgba(229,216,194,.9)),
    url("demo-assets/rail-kurlyina-bg.jpg") center 58% / cover no-repeat;
  opacity: .95;
  clip-path: polygon(0 22%,9% 10%,24% 14%,35% 4%,49% 12%,61% 2%,75% 8%,88% 0,100% 16%,96% 100%,3% 100%);
  filter: grayscale(1) sepia(.35) contrast(.95);
}

/* The man is supposed to cross into the subscription block. */
.samsud-final-footer__art img {
  transform: translateY(-44px);
}

/* Responsive */
@media (max-width: 1180px) {
  .samsud-final-subscribe {
    padding-right: 205px !important;
    grid-template-columns: 1fr 1fr;
  }

  .samsud-final-subscribe__socials {
    grid-column: 2;
  }

  .samsud-final-footer__grid {
    padding-right: 270px !important;
    grid-template-columns: 190px repeat(4,1fr);
  }

  .samsud-final-footer__art {
    width: 320px;
  }

  .samsud-final-footer__art img {
    width: 220px;
  }
}

@media (max-width: 900px) {
  .samsud-final-subscribe {
    padding: 28px !important;
    grid-template-columns: 1fr;
  }

  .samsud-final-subscribe__socials {
    grid-column: auto;
  }

  .samsud-final-footer {
    margin-top: 20px;
  }

  .samsud-final-footer__grid {
    padding-right: 22px !important;
    grid-template-columns: 1fr 1fr;
  }

  .samsud-final-footer__brand {
    grid-column: 1 / -1;
    padding-left: 0;
    border-right: 0;
  }

  .samsud-final-footer__art {
    display: none;
  }

  .samsud-final-footer__bottom {
    grid-template-columns: 1fr 1fr;
  }

  .samsud-final-footer__love {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .samsud-final-subscribe__quote h2 {
    font-size: 27px;
  }

  .samsud-final-subscribe__row {
    grid-template-columns: 1fr;
  }

  .samsud-final-footer__grid {
    grid-template-columns: 1fr;
    padding-top: 34px !important;
  }

  .samsud-final-footer__brand,
  .samsud-final-footer__col {
    min-height: 0;
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .samsud-final-footer__bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .samsud-final-footer__legal {
    flex-direction: column;
    gap: 7px;
  }
}

/* =========================================================
   FOOTER V4 — COMPACT TARGET
========================================================= */

.samsud-final-footer {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  min-height: 245px !important;
  margin-top: 14px !important;
  overflow: visible !important;
  background: linear-gradient(180deg, #1a1917 0%, #11110f 100%) !important;
  color: #f3eee5 !important;
}

.samsud-final-footer__grid {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  max-width: 1360px !important;
  min-height: 245px !important;
  margin: 0 auto !important;
  padding: 34px 300px 30px 24px !important;
  display: grid !important;
  grid-template-columns: 175px 120px 135px 120px 165px 125px !important;
  gap: 0 !important;
  align-items: start !important;
  box-sizing: border-box !important;
}

.samsud-final-footer__brand,
.samsud-final-footer__col,
.samsud-final-footer__copy {
  min-height: 150px !important;
  padding: 0 22px !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

.samsud-final-footer__brand {
  padding-left: 0 !important;
}

.samsud-final-footer__logo {
  margin: 0 0 14px !important;
  color: #ffffff !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 26px !important;
  line-height: .83 !important;
  font-weight: 600 !important;
  letter-spacing: -.045em !important;
}

.samsud-final-footer__brand p,
.samsud-final-footer__copy p {
  margin: 0 !important;
  color: rgba(255,255,255,.66) !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 9px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

.samsud-final-footer__col strong {
  display: block !important;
  margin: 0 0 18px !important;
  color: #ffffff !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

.samsud-final-footer__col > a {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
  color: rgba(255,255,255,.72) !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  text-decoration: none !important;
}

.samsud-final-footer__col--social svg {
  flex: 0 0 12px !important;
  width: 12px !important;
  height: 12px !important;
  fill: currentColor !important;
}

.samsud-final-footer__copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  padding-right: 0 !important;
}

.samsud-final-footer__copy span {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 9px !important;
}

.samsud-final-footer__bottom,
.samsud-final-footer__circles {
  display: none !important;
}

.samsud-final-footer__art {
  position: absolute !important;
  right: max(8px, calc((100vw - 1360px) / 2 + 8px)) !important;
  bottom: 0 !important;
  z-index: 6 !important;
  width: 255px !important;
  height: 390px !important;
  overflow: visible !important;
  pointer-events: none !important;
  transform: translateY(-86px) !important;
}

.samsud-final-footer__art img {
  position: absolute !important;
  right: 0 !important;
  bottom: -2px !important;
  z-index: 5 !important;
  display: block !important;
  width: 176px !important;
  height: auto !important;
  max-height: 380px !important;
  object-fit: contain !important;
  object-position: right bottom !important;
  transform: none !important;
  filter: none !important;
}

.samsud-final-footer__paint--blue {
  position: absolute !important;
  right: 34px !important;
  bottom: 18px !important;
  z-index: 2 !important;
  display: block !important;
  width: 185px !important;
  height: 155px !important;
  background: #1769e8 !important;
  clip-path: polygon(3% 25%,18% 7%,39% 17%,58% 2%,75% 22%,96% 11%,88% 50%,100% 76%,74% 100%,44% 83%,14% 96%,0 68%) !important;
  transform: rotate(-8deg) !important;
}

.samsud-final-footer__paint--red,
.samsud-final-footer__building {
  display: none !important;
}

@media (max-width: 1180px) {
  .samsud-final-footer__grid {
    padding-right: 230px !important;
    grid-template-columns: 160px 110px 125px 110px 150px 110px !important;
  }

  .samsud-final-footer__art {
    width: 220px !important;
  }

  .samsud-final-footer__art img {
    width: 160px !important;
  }
}

@media (max-width: 900px) {
  .samsud-final-footer__grid {
    min-height: 0 !important;
    padding: 34px 22px !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 24px 18px !important;
  }

  .samsud-final-footer__brand,
  .samsud-final-footer__col,
  .samsud-final-footer__copy {
    min-height: 0 !important;
    padding: 0 !important;
  }

  .samsud-final-footer__art {
    display: none !important;
  }
}

@media (max-width: 620px) {
  .samsud-final-footer__grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

