:root{
  /* Desktop container width (customizable via WP Customizer). */
  --name-container-desktop: 75%;
  /* Tablet/mobile container width (keeps layout readable on smaller screens). */
  --name-container-mobile: 90%;
  /* Active container value used by layout. */
  --name-container: var(--name-container-desktop);
  --name-gap: 24px;
  --name-sidebar-width: 320px;
  --name-border: #e7e7e7;
  --name-muted: #6a6a6a;
  --name-text: #111;
  --name-bg: #fff;
  --name-pad-x: 20px; /* side padding for header + layout (desktop) */
}

*{box-sizing:border-box;}
body{
  margin:0;
  font-family: sans-serif;
  color: var(--name-text);
  background:#efefef;
}
img{max-width:100%;}

/* Clickable background banner */
.site-bg{
  position:fixed;
  inset:0;
  z-index:0;
  background-size:cover;
  background-position: var(--name-home-bg-position, center);
  background-repeat:no-repeat;
  text-decoration:none;
}
.site-bg[aria-hidden="true"]{pointer-events:none;}

.site{
  position:relative;
  z-index:1;
  pointer-events:none; /* allow clicking the background banner around the centered container */
}
.site-container,
.site-footer{pointer-events:auto;}

.site-container{
  width: min(var(--name-container), calc(100% - 32px));
  margin: 0 auto;
  background: var(--name-bg);
  min-height: 70vh;
}
body.has-home-bg .site-container,
body.has-site-bg .site-container{
  margin: 0 auto;
  margin-top: var(--name-home-offset-top, 24px);
}

.site-bg{display:block;}

@media (max-width: 1140px){
  :root{ --name-container: var(--name-container-mobile); }
  .site-bg{display:none;}
  body.has-home-bg .site-container,
  body.has-site-bg .site-container{margin: 0 auto;}
}

.site-header{
  position:relative;
  z-index: 100;
  background:#202020;
  color:#fff;
}
.site-header--sticky{
  position:sticky;
  top:0;
  z-index: 1000;
}
.site-header--sticky + .offcanvas{
  z-index: 9999;
}

/* Marquee (running text) */
.site-marquee{
  background: #F6F6F5;
  color: #e85624; /* Orange from design/screenshot */
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--name-border);
}
.site-marquee__track{
  display:flex;
  gap: 40px;
  width: max-content;
  animation: marquee var(--mq-speed, 20s) linear infinite;
}
.site-marquee:hover .site-marquee__track,
.site-marquee:focus-within .site-marquee__track{
  animation-play-state: paused;
}
.site-marquee__item{
  white-space: nowrap;
}
.site-marquee__item a{
  color: inherit;
  text-decoration: none;
}
.site-marquee__item a:hover{
  text-decoration: underline;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media screen and (min-width: 981px){
	.site-header__burger{width: 345px;display: flex;justify-content: flex-end;}
	.site-header__inner{gap:0px!important}
}
@media (prefers-reduced-motion: reduce){
  .site-marquee__track{animation: none;}
}

.site-header__inner{
  width: 100%;
  display:flex;
  align-items:center;
  gap: 16px;
  padding: 12px var(--name-pad-x);
}

.site-header__logo{flex: 0 0 auto;}
.site-header__textlogo{color:#fff;text-decoration:none;font-weight:700;font-size:20px;}
.site-header__logo img{
  width: 100% !important;
  height: auto !important;
  max-height: none;
  max-width: var(--name-logo-w-desktop, 160px);
  display:block;
}

.site-header__search{flex: 1 1 auto; display:flex; justify-content:center;}

/* Header search (desktop bar + mobile icon -> fullscreen search) */
.header-search{display:flex; align-items:center; justify-content:flex-end; width: 100%;}
.header-search__form{
  width: min(385px, 100%);
  display:flex;
  align-items:center;
  gap: 10px;
  background:#45474C;
  border-radius: 999px;
  padding: 4px 12px 4px 16px;
}
.header-search__input{
  flex:1 1 auto;
  border:0;
  outline:none;
  background:transparent;
  color:#fff;
  font-size: 14px;
}
.header-search__input::placeholder{color:#bfbfbf;}
.header-search__btn{
  width: 36px;
  height: 24px;
  border:0;
  background:transparent;
  color:#B7B7B7;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  border-left: 1px solid rgba(255,255,255,.12);
  padding-left: 10px;
}
.header-search__btn .header-search__icon{width: 12px; height: 12px; display:block;}
.header-search__iconbtn{
  display:none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background:#2b2b2b;
  color:#fff;
  cursor:pointer;
}
.header-search__iconbtn .header-search__icon{width: 18px; height: 18px; display:block;}

@media (max-width: 640px){
  .site-header__logo img{max-width: var(--name-logo-w-mobile, 120px);}
  /* Mobile: remove side "shadow" (actually body bg) by making container full width */
  .site-container{width: 100%; margin-left: 0; margin-right: 0;}
  /* Align search icon to the right (next to burger) */
  .site-header__logo{margin-right: auto;}
  .site-header__search{flex: 0 0 auto; justify-content: flex-end;}
  .header-search__form{display:none;}
  .header-search__iconbtn{display:inline-flex; align-items:center; justify-content:center;}
  /* Mobile: keep inner side padding for hero/banner so it doesn't look clipped */
  .home-hero{padding-left: var(--name-pad-x); padding-right: var(--name-pad-x);}
  .home-banner{padding-left: var(--name-pad-x); padding-right: var(--name-pad-x);}
}

.search-overlay{
  position:fixed;
  inset:0;
  z-index: 9999;
  display:none;
}
.search-overlay.is-open{display:block;}
.search-overlay__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.78);
}
.search-overlay__panel{
  position:relative;
  height: 100%;
  display:flex;
  flex-direction:column;
  padding: 18px 16px;
}
.search-overlay__close{
  align-self:flex-end;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.12);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.search-overlay__close svg{width: 18px; height: 18px;}
.search-overlay__form{
  margin-top: 22vh;
  display:flex;
  justify-content:center;
}
.search-overlay__bar{
  width: min(560px, calc(100% - 8px));
  display:flex;
  align-items:center;
  gap: 10px;
  background:#2b2b2b;
  border-radius: 999px;
  padding: 12px 12px 12px 16px;
}
.search-overlay__input{
  flex:1 1 auto;
  border:0;
  outline:none;
  background:transparent;
  color:#fff;
  font-size: 18px;
}
.search-overlay__input::placeholder{color:#bfbfbf;}
.search-overlay__submit{
  width: 44px;
  height: 32px;
  border:0;
  background:transparent;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  border-left: 1px solid rgba(255,255,255,.12);
  padding-left: 10px;
}
.search-overlay__icon{width: 18px; height: 18px; display:block;}

body.is-search-open{overflow:hidden;}

.site-header__lang{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  margin-right: 10px;
}
.lang-switcher ul, .lang-menu{list-style:none;margin:0;padding:0;display:flex;gap:10px;align-items:center;}
.lang-switcher a{color:#fff;text-decoration:none;font-size:14px;opacity:.9;}
.lang-switcher a:hover{opacity:1;}

/* New language switcher dropdown */
.site-header__lang .lang-switcher{
  position:relative;
  display:inline-block;
  z-index:100;
}
/* Hide Polylang's default arrow and any other arrows */
.site-header__lang .lang-switcher .pll-parent-menu-item::after,
.site-header__lang .lang-switcher li::after,
.site-header__lang .lang-switcher a::after,
.site-header__lang .lang-switcher::after,
.site-header__lang .lang-switcher > *::after,
.site-header__lang .lang-switcher .pll-parent-menu-item::before,
.site-header__lang .lang-switcher li::before,
.site-header__lang .lang-switcher a::before,
.site-header__lang .lang-switcher::before,
.site-header__lang .lang-switcher > *::before{
  display:none !important;
  content:none !important;
}
/* Hide any Polylang icons/spans that might contain arrows */
.site-header__lang .lang-switcher .pll-icon,
.site-header__lang .lang-switcher .pll-parent-menu-item > span:not(.lang-switcher__code):not(.lang-switcher__flag),
.site-header__lang .lang-switcher li > span:not(.lang-switcher__code):not(.lang-switcher__flag){
  display:none !important;
}
.lang-switcher__toggle{
  width: 36px;
  height: 36px;
  border-radius: 100px;
  border: 1px solid #45474C;
  background: #45474C;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  color:#B7B7B7;
  font-size:12px;
  font-weight:500;
  line-height:1;
  transition:background 0.2s;
}
.lang-switcher__toggle:hover{
  background: rgba(255,255,255,.10);
}
.lang-switcher__toggle[aria-expanded="true"]{
  background: rgba(255,255,255,.10);
}
.lang-switcher__code{
  font-weight:500;
  font-size:12px;
  line-height:1;
  color:#B7B7B7;
}
.lang-switcher__dropdown{
  position:absolute;
  right:0;
  top:calc(100% + 4px);
  list-style:none;
  margin:0;
  padding:4px;
  background:#45474C;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  min-width:36px;
  box-sizing:border-box;
  box-shadow:0 4px 12px rgba(0,0,0,.3);
  opacity:0;
  transform:translateY(-8px);
  pointer-events:none;
  transition:opacity 0.2s, transform 0.2s;
  z-index:101;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.lang-switcher__dropdown[hidden]{
  display:none;
}
.lang-switcher.is-open .lang-switcher__dropdown{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.lang-switcher__dropdown li{
  display:block;
  width:100%;
}
.lang-switcher__item{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:6px;
  color:#B7B7B7;
  text-decoration:none;
  font-size:12px;
  font-weight:500;
  border-radius:4px;
  transition:background 0.15s, color 0.15s;
  width:100%;
  min-height:28px;
}
.lang-switcher__item:hover{
  background:rgba(255,255,255,.10);
  color:#B7B7B7;
}

/* Legacy Polylang styles (for fallback) - only apply if not using new switcher */
.site-header__lang .lang-switcher:not([data-lang-switcher]) li{display:none;}
.site-header__lang .lang-switcher:not([data-lang-switcher]) li.current-lang{display:flex;}
.site-header__lang .lang-switcher:not([data-lang-switcher]):hover li{display:flex;}
.site-header__lang .lang-switcher:not([data-lang-switcher]) a{
  display:flex;
  align-items:center;
  gap:6px;
  padding:4px 26px 4px 8px;
  border-radius:8px;
  opacity:1;
}
.site-header__lang .lang-switcher:not([data-lang-switcher]) a:hover{background:rgba(255,255,255,.08);}
.site-header__lang .lang-switcher:not([data-lang-switcher])::after{
  content:"";
  position:absolute;
  right:12px;
  top:50%;
  margin-top:-2px;
  border:4px solid transparent;
  border-top-color:#fff;
  opacity:.7;
  pointer-events:none;
}
.site-header__lang .lang-switcher.is-open::after{
  transform: rotate(180deg);
  margin-top:-6px;
}

.site-header__burger{flex: 0 0 auto;display: flex;}
.burger-btn{
  width: 36px;
  height: 36px;
  border-radius: 100px;
  border: 1px solid #45474C;
  background: #45474C;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.burger-btn:hover{background: rgba(255,255,255,.10);}
.burger-btn__lines{width: 18px; height: 14px; display:block; position:relative;}
.burger-btn__lines span{
  position:absolute;
  left:0; right:0;
  height: 2px;
  background:#B7B7B7;
  border-radius: 2px;
  transition: transform .22s ease, top .22s ease, opacity .18s ease;
}
.burger-btn__lines span:nth-child(1){top:0;}
.burger-btn__lines span:nth-child(2){top:6px;}
.burger-btn__lines span:nth-child(3){top:12px;}
.burger-btn.is-open .burger-btn__lines span:nth-child(1){top:6px; transform: rotate(45deg);}
.burger-btn.is-open .burger-btn__lines span:nth-child(2){opacity:0;}
.burger-btn.is-open .burger-btn__lines span:nth-child(3){top:6px; transform: rotate(-45deg);}

body.is-menu-open{overflow:hidden;}

.offcanvas{
  position:fixed;
  inset:0;
  z-index: 9998;
  display:block;
  pointer-events:none;
}
.offcanvas.is-open{pointer-events:auto;}
.offcanvas__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.72);
  opacity:0;
  transition: opacity .26s ease;
}
.offcanvas.is-open .offcanvas__backdrop{opacity:1;}
.offcanvas__panel{
  position:absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, calc(100% - 48px));
  background: linear-gradient(180deg, #111 0%, #0b0b0c 100%);
  color:#fff;
  box-shadow: none !important;
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
  display:flex;
  flex-direction:column;
  padding: 18px 18px 16px;
}
.offcanvas.is-open .offcanvas__panel{transform: translateX(0);}
.offcanvas__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom: 12px;}
.offcanvas__title{font-weight:700;color:#fff;opacity:.95;}
.offcanvas__close{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  font-size: 28px;
  line-height: 1;
  color:#fff;
}
.offcanvas__close:hover{background: rgba(255,255,255,.10);}
.offcanvas__nav{flex:1 1 auto; overflow:auto; padding-right: 6px;}
.offcanvas__nav::-webkit-scrollbar{width: 8px;}
.offcanvas__nav::-webkit-scrollbar-thumb{background: rgba(255,255,255,.16); border-radius: 8px;}
.offcanvas__nav::-webkit-scrollbar-track{background: transparent;}
.offcanvas-menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;}
.offcanvas-menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration:none;
  color:#fff;
  font-weight: 600;
  background: transparent;
  border: 1px solid rgba(255,255,255,.08);
}
.offcanvas-menu a:hover{background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14);}
.offcanvas-menu .current-menu-item > a{background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18);}
.offcanvas-menu .sub-menu{list-style:none;margin:0 0 0 10px;padding:0;border-left: 1px solid rgba(255,255,255,.12);}
.offcanvas-menu .sub-menu a{font-weight:500;color: rgba(255,255,255,.9); padding-left: 14px;}
.offcanvas__foot{padding-top: 10px;border-top: 1px solid rgba(255,255,255,.12);}
.offcanvas__lang .lang-switcher a{color:#fff; opacity:.9;}
.offcanvas__lang .lang-switcher ul{gap:8px;}

/* Language switcher in offcanvas - dropdown opens upward */
.offcanvas__lang .lang-switcher{
  position:relative;
}
.offcanvas__lang .lang-switcher__dropdown{
  top:auto;
  bottom:calc(100% + 4px);
  transform:translateY(8px);
  right:auto;
  left:0;
}
.offcanvas__lang .lang-switcher.is-open .lang-switcher__dropdown{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.home-hero{
  padding: 10px; /* no side padding (desktop) */
	background-color: #F6F6F5;
  border-bottom: 1px solid var(--name-border);
}
.home-hero__title{margin:0;font-size:22px;font-weight: 400;    line-height: 1;}
.home-hero__desc{margin:0px 0 0;color:var(--name-muted);}

.home-banner{padding: 16px 0; border-bottom: 1px solid var(--name-border);} /* no side padding (desktop) */
.home-banner__link[aria-hidden="true"]{pointer-events:none;}
.home-banner__img{width:100%;height:auto;display:block;border-radius:8px;}

.layout{
  display:grid;
  grid-template-columns: 1fr var(--name-sidebar-width);
  gap: var(--name-gap);
  padding: 10px var(--name-pad-x) 40px;
}
.layout--no-sidebar{grid-template-columns: 1fr;}
.layout__full{
  grid-column: 1 / -1;
}

.site-main{min-width:0;}
.site-sidebar{
  border-left:1px solid var(--name-border);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: visible; /* Важно для sticky */
  min-height: 0; /* Для правильной работы flex */
}
.widget{margin: 10px 0 18px; overflow: visible; /* Важно для sticky */ }
.widget-title{margin:0 0 10px;font-size:16px;}

/* Sidebar Banner */
.name-sidebar-banner-wrapper{
  position: relative;
  margin: 10px 0 18px;
  min-height: 1px; /* Минимальная высота для правильной работы */
}
.name-sidebar-banner{
  position: relative;
  z-index: 100; /* Ниже шапки (1000), но выше обычного контента */
  width: 100%;
}
.name-sidebar-banner.is-sticky{
  position: -webkit-sticky;
  position: sticky;
  top: 60px;
}
.name-sidebar-banner__link{
  display: block;
  text-decoration: none;
}
.name-sidebar-banner__img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}
.name-sidebar-banner--preview{
  padding: 20px;
  border: 2px dashed #ddd;
  background: #f9f9f9;
  text-align: center;
  position: relative;
}
.name-sidebar-banner__placeholder{
  color: #666;
  font-size: 14px;
}

/* Sidebar sections blocks (Articles/Reviews) */
.name-sections{
  padding: 0;
}
.name-sections__title{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  margin: 0 0 12px;
  color:#111;
}
.name-sections__title-link{
  color: inherit;
  text-decoration: none;
}
.name-sections__title-link:hover{
  text-decoration: underline;
}
.name-sections__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 5px;
}
.name-sections__link{
  color:#111;
  text-decoration: underline;
  font-size: 14px;
  line-height: 1.2;
}
.name-sections__link:hover{opacity:.85;}
.name-sections__note{color:#777;font-size:12px;line-height:1.4;}

/* Articles archive (All articles + category) */
.articles-hero{padding: 18px 0 8px;}
.articles-hero__title{
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  color:#111;
}
.articles-hero__desc{
  color:#9a9a9a;
  font-size: 12px;
  line-height: 1.5;
  max-width: 520px;
}
.articles-banner{margin: 10px 0 18px;}
.articles-banner__placeholder{
  height: 160px;
  border-radius: 12px;
  background:#222;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 14px;
}
.articles-banner__img{width:100%;height:auto;display:block;border-radius:12px;}
.articles-banner__link[aria-hidden="true"]{pointer-events:none;}

.mobile-bottom-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 0 var(--name-pad-x);
  display: none;
}
.mobile-bottom-banner__link{display:block;}
.mobile-bottom-banner__img{width:100%;height:auto;display:block;border-radius:0;}
.mobile-bottom-banner__html{width:100%;}
.mobile-bottom-banner__html img{max-width:100%;height:auto;display:block;}

/* Gutenberg: video hero CTA block */
.name-video-hero{
  --name-vhero-pretitle-size: 14px;
  --name-vhero-pretitle-size-mobile: 12px;
  --name-vhero-title-size: 48px;
  --name-vhero-title-size-mobile: 30px;
  --name-vhero-price-size: 24px;
  --name-vhero-price-size-mobile: 18px;
  --name-vhero-button-size: 16px;
  --name-vhero-button-size-mobile: 14px;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.name-video-hero__media,
.name-video-hero__overlay,
.name-video-hero__content{
  position: absolute;
  inset: 0;
}
.name-video-hero__video,
.name-video-hero__iframe,
.name-video-hero__placeholder{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}
.name-video-hero__placeholder{
  background: linear-gradient(135deg, #2f2f2f 0%, #191919 100%);
}
.name-video-hero__overlay{
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.52) 100%);
}
.name-video-hero__content{
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(16px, 3vw, 48px);
  color: #fff;
}
.name-video-hero__left,
.name-video-hero__right{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.name-video-hero__left{
  max-width: min(760px, 68%);
}
.name-video-hero__right{
  align-items: flex-end;
}
.name-video-hero__pretitle{
  font-size: min(var(--name-vhero-pretitle-size), 14px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.name-video-hero__title{
  margin: 0;
  font-size: min(var(--name-vhero-title-size), 48px);
  line-height: .98;
  font-weight: 700;
}
.name-video-hero__price{
  font-size: min(var(--name-vhero-price-size), 24px);
  line-height: 1.05;
  font-weight: 600;
}
.name-video-hero__btn{
  appearance: none;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  height: auto;
  min-height: 40px;
  padding: .52em 1.1em;
  background: rgba(20,24,29,.42);
  color: #f5f7fa;
  cursor: pointer;
  font-size: min(var(--name-vhero-button-size), 16px);
  line-height: 1;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.name-video-hero__btn:hover{
  background: rgba(20,24,29,.62);
  border-color: rgba(255,255,255,.38);
}
.name-video-hero--editor{
  min-height: 0;
}

@media (max-width: 980px){
  .name-video-hero__content{
    gap: 16px;
    padding: 16px;
  }
  .name-video-hero__left{
    max-width: 72%;
  }
}

@media (max-width: 680px){
  .name-video-hero__content{
    flex-direction: column;
    align-items: flex-start;
  }
  .name-video-hero__left,
  .name-video-hero__right{
    max-width: 100%;
    align-items: flex-start;
  }
  .name-video-hero__right{
    width: 100%;
    align-items: flex-end;
  }
  .name-video-hero__pretitle{font-size: min(var(--name-vhero-pretitle-size-mobile), 12px);}
  .name-video-hero__title{font-size: min(var(--name-vhero-title-size-mobile), 30px);}
  .name-video-hero__price{font-size: min(var(--name-vhero-price-size-mobile), 18px);}
  .name-video-hero__btn{font-size: min(var(--name-vhero-button-size-mobile), 14px);}
}

.articles-list{display:flex; flex-direction:column; gap: 22px;}
.article-archive-item__title{
  display:inline-block;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color:#111;
  text-decoration:none;
}
.article-archive-item__title:hover{text-decoration:underline;}
.article-archive-item__cat{color:#9a9a9a; font-weight: 500;}
.article-archive-item__excerpt{
  color:#333;
  line-height: 1.65;
  font-size: 13px;
  margin: 8px 0 6px;
}
.article-archive-item__meta{
  color:#9a9a9a;
  font-size: 11px;
  margin-bottom: 12px;
  display:flex;
  align-items:center;
  gap: 16px;
  flex-wrap:wrap;
}
.meta-item{
  display:flex;
  align-items:center;
  gap: 6px;
}
.meta-icon{
  display:block;
  flex-shrink:0;
  width: 12px;
  height: 10px;
  max-width: 12px;
  max-height: 10px;
}
.meta-icon img[src*="hand-writing.svg"],
.meta-icon[src*="hand-writing.svg"]{
  width: 12px !important;
  height: 10px !important;
  max-width: 12px !important;
  max-height: 10px !important;
}
.meta-item__link{
  color: inherit;
  text-decoration: none;
  display:flex;
  align-items:center;
  gap: 6px;
}
.meta-item__link:hover{
  text-decoration: underline;
}
.article-archive-item__img img{
  width:100%;
  height:auto;
  display:block;
  border: 1px solid var(--name-border);
  border-radius: 0;
}
.article-archive-item__media{
  display:block;
}
.article-archive-item__media .review-video{
  margin:0;
}
.article-archive-item__more{
  display:inline-block;
  margin-top: 10px;
  color:#2b67f6;
  text-decoration:underline;
  font-size: 12px;
}

.article-reactions{
  display:flex;
  gap: 12px;
  margin-top: 12px;
  align-items:center;
}
.article-reactions__btn{
  display:flex;
  align-items:center;
  gap: 4px;
  background: rgba(0,0,0,0.05);
  border:none;
  padding: 6px 10px;
  cursor:pointer;
  font-size: 14px;
  color: inherit;
  transition: opacity 0.2s;
  border-radius: 20px;
}
.article-reactions__btn:hover{
  background: rgba(0,0,0,0.05);
  opacity: 0.7;
}
.article-reactions__btn:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}
.article-reactions__btn.is-active{
  background: #F6F6F5;
  opacity: 1;
}
.article-reactions__emoji{
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.article-reactions__emoji img{
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}
.article-reactions__count{
  font-size: 13px;
  color: var(--name-muted);
  min-width: 12px;
  text-align: center;
}

@media (max-width: 640px){
  .articles-banner__placeholder{height: 120px;}
  .article-archive-item__title{font-size: 16px;}
}

@media (max-width: 768px){
  body.has-mobile-bottom-banner{padding-bottom: var(--name-mobile-bottom-banner-height, 0px);}
  body.has-mobile-bottom-banner.is-modal-open{padding-bottom: 0;}
  .mobile-bottom-banner{display:block; padding:0;}
  body.is-modal-open .mobile-bottom-banner{display:none;}
  .offcanvas__nav{padding-bottom: calc(var(--name-mobile-bottom-banner-height, 0px) + 12px);}
}

/* Archive pager (numbers + prev/next row) */
.archive-pager{
  margin: 10px 0 22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
}
.archive-pager__pages{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  flex-wrap:nowrap;
}
.archive-pager .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 4px;
  text-decoration:none;
  color:#111;
  font-size: 14px;
  line-height: 1;
}
.archive-pager .page-numbers.current{
  border: 1px solid #111;
}
.archive-pager .page-numbers.dots{opacity:.6;}
.archive-pager__nav{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  max-width: 520px;
}
.archive-pager__nav a{
  color:#111;
  font-weight: 700;
  text-decoration: underline;
}
.archive-pager__ghost{visibility:hidden;}

.archive-related{margin: 10px 0 0;}
.archive-related__title{margin:0 0 12px;font-size:18px;}

.home-section{margin-bottom: 22px;}
.home-section__title{margin:0 0 12px;font-size:18px;}
.home-section__list{
  display:grid;
  grid-template-columns: 1fr; /* prevent overflow on narrow screens */
  gap: 14px;
}

.home-articles{margin: 22px 0;}
.home-articles__title{margin:0 0 12px;font-size:18px;}
.home-articles__all{
  display:flex;
  justify-content:center;
  margin-top: 12px;
  color:#111;
  font-weight:700;
  text-decoration: underline;
  font-size: 14px;
}

.post-card{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  border: 1px solid var(--name-border);
  border-radius: 10px;
  overflow:hidden;
  background:#fff;
  width: 100%;
  min-width: 0;
}
.post-card__thumb{display:block; background:#fafafa;}
.post-card__thumb img{
  display:block;
  width:100%;
  height:auto; /* important: allow responsive downscaling */
  object-fit:cover;
  aspect-ratio: 4 / 3;
}
.post-card__thumb--placeholder{display:block;width:100%;height:100%;min-height:140px;background:linear-gradient(135deg,#f3f3f3,#eaeaea);}
.post-card__body{padding: 12px 12px 14px;}
.post-card__body{min-width:0;}
.post-card__meta{font-size:12px;color:var(--name-muted);margin-bottom:6px;}
.post-card__title{margin:0 0 8px;font-size:16px;line-height:1.25;}
.post-card__title a{color:inherit;text-decoration:none;}
.post-card__title a:hover{text-decoration:underline;}
.post-card__excerpt{color:#333;font-size:14px;line-height:1.45;}
.post-card__title,
.post-card__excerpt{overflow-wrap:anywhere;}

.read-also{margin: 10px 0 22px;}
.read-also__title{margin:0 0 12px;font-size:18px;}
.read-also__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
/* На страницах статей и обзоров - 4 в ряд */
.single .read-also__grid,
.single-review .read-also__grid,
.review-more .read-also__grid{
  grid-template-columns: repeat(4, 1fr);
}
.grid-card{
  border: 1px solid var(--name-border);
  border-radius: 10px;
  overflow:hidden;
  background:#fff;
}
.grid-card__thumb img{width:100%;height:auto;display:block;aspect-ratio: 4 / 3;object-fit:cover;}
.grid-card__thumb--placeholder{display:block;width:100%;aspect-ratio: 4 / 3;background:linear-gradient(135deg,#f3f3f3,#eaeaea);}
.grid-card__title{margin:10px 10px 6px;font-size:13px;line-height:1.2;}
.grid-card__title a{color:inherit;text-decoration:none;}
.grid-card__title a:hover{text-decoration:underline;}
.grid-card__meta{margin:0 10px 12px;color:var(--name-muted);font-size:12px;}

.grid-meta{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap:wrap;
}
.grid-meta__item{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  color: var(--name-muted);
  text-decoration:none;
}
.grid-meta__link:hover{opacity:.9; text-decoration: underline;}
.grid-meta__ico{
  width: auto;
  height: auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: #9a9a9a;
  flex-shrink:0;
}
.grid-meta__ico svg{width: 14px; height: 14px; display:block;}
.grid-meta__ico img{display:block; flex-shrink:0;}
.grid-meta__ico img[src*="hand-writing.svg"],
.meta-icon img[src*="hand-writing.svg"],
img[src*="hand-writing.svg"].meta-icon,
img[src*="hand-writing.svg"].grid-meta__ico{
  width: 12px !important;
  height: 10px !important;
  max-width: 12px !important;
  max-height: 10px !important;
}

.cta{
  border-radius: 12px;
  background:#111;
  color:#fff;
  padding: 18px;
}
.cta__inner{display:flex;gap:30px;align-items:center;justify-content:center;flex-wrap:wrap;text-align:left;}
.cta__title{margin:0 0 6px;font-size:16px;}
.cta__desc{margin:0;color:#cfcfcf;font-size:13px;}
.cta__form{display:flex;gap:10px;align-items:center;flex-wrap:wrap; max-width:100%;}
.cta__input{
  flex: 1 1 auto;
  width: auto;
  max-width: 100%;
  min-width: 220px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #333;
  padding: 0 12px;
}
.cta__btn{
  flex: 0 0 auto;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #333;
  background:#2b2b2b;
  color:#fff;
  padding: 0 12px;
  cursor:pointer;
}
.cta__msg{
  display: none;
}

@media (max-width: 640px){
  .cta__btn{width:100%;}
  .cta__input{width: 100%; min-width: 0;}
  .review-author{align-items:stretch;}
  .review-author__avatar{display:flex;align-items:stretch;flex:0 0 64px;width:64px;}
  .review-author__avatar img{height:100%;width:100%;object-fit:cover;}
  .review-author__name{font-size:16px;}
  .review-author-rating .star-icon{width:16px !important;height:15px !important;flex-shrink:0;}
}

.site-footer{
  background:#F6F6F5;
  border-top: 1px solid var(--name-border);
  padding-top: 40px;
  width: 100%;
}
.site-footer__inner{
  width: min(var(--name-container), calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 20px var(--name-pad-x);
  color: var(--name-muted);
  font-size: 13px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.site-footer__top{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap: 14px;
}
.site-footer__copy{justify-self:start;}
.site-footer__nav{justify-self:center;}
.site-footer__spacer{justify-self:end;}
.footer-menu{list-style:none;margin:0;padding:0;display:flex;gap:12px;}
.footer-menu a{color:inherit;text-decoration:none;}
.footer-menu a:hover{text-decoration:underline;}

.site-footer__note{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--name-border);
}
.site-footer__note-icon{
  width: 45px;
  height: auto;
  flex: 0 0 auto;
}
.site-footer__note-text{
  color:#111;
  line-height: 1.6;
  font-size: 13px;
}
.site-footer__note-text p{margin: 6px 0;}
.site-footer__note-text p:first-child{
  font-weight: 700;
  display:flex;
  align-items:center;
  gap: 8px;
}

@media (max-width: 1140px){
  .site-footer__inner{
    width: min(var(--name-container-mobile, 90%), calc(100% - 32px));
  }
}

@media (max-width: 640px){
  .site-footer{
    padding-top: 30px;
  }
  .site-footer__inner{
    padding: 20px var(--name-pad-x);
  }
  .site-footer__top{grid-template-columns: 1fr; justify-items:center; gap: 10px;}
  .site-footer__copy{justify-self:center;}
  .site-footer__nav{justify-self:center;}
  .footer-menu{flex-wrap:wrap; justify-content:center;}
}

.single{padding: 10px 0;}
.single__header{padding: 10px 0 14px; border-bottom: 1px solid var(--name-border); margin-bottom: 14px;}
.single__title{margin:0 0 6px;font-size:22px;line-height:1.2;}
.single__excerpt{
  color:#333;
  line-height: 1.65;
  font-size: 13px;
  margin: 8px 0 6px;
}
.single__meta{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap:wrap;
  color: var(--name-muted);
  font-size: 13px;
}
.single__meta .meta-item{
  display:flex;
  align-items:center;
  gap: 6px;
}
.single__meta .meta-icon{
  display:block;
  flex-shrink:0;
  width: 12px;
  height: 10px;
  max-width: 12px;
  max-height: 10px;
}
.single__meta .meta-item__link{
  color: inherit;
  text-decoration: none;
  display:flex;
  align-items:center;
  gap: 6px;
}
.single__meta .meta-item__link:hover{
  text-decoration: underline;
}
.single__thumb img{max-width:100%;height:auto;display:block;border-radius:10px;margin: 0 0 14px;}
.single__content{line-height:1.7;}
.single__content a{color:#e85624;text-decoration:underline;}
.single__content a:hover{color:#c94a1f;}
.single__content ul li::marker,
.single__content ol li::marker{color:#e85624;}
.single .article-reactions{
  margin-top: 24px;
  margin-bottom: 0;
  padding-top: 20px;
  border-top: 1px solid var(--name-border);
}

/* Page template */
.page-content{padding: 10px 0;}
.page-header{padding: 10px 0 14px; border-bottom: 1px solid var(--name-border); margin-bottom: 14px;}
.page-title{margin:0 0 6px;font-size:22px;line-height:1.2;}
.page-content__body{line-height:1.7;}
.page-content__body a{color:#e85624;text-decoration:underline;}
.page-content__body a:hover{color:#c94a1f;}
.page-content__body ul li::marker,
.page-content__body ol li::marker{color:#e85624;}
.page-content__body p{margin: 0 0 14px;}
.page-content__body p:last-child{margin-bottom: 0;}
.page-links{margin: 20px 0; font-size: 14px; color: var(--name-muted);}
.page-links a{color: var(--name-text); text-decoration: none;}
.page-links a:hover{text-decoration: underline;}

.pagination{margin: 16px 0;}

.screen-reader-text{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

@media (max-width: 980px){
  .layout{grid-template-columns: 1fr; }
  .site-sidebar{display:none;}
  .read-also__grid{grid-template-columns: repeat(2, 1fr);}
  .post-card{grid-template-columns: 180px 1fr;}
}

.offcanvas-sections{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.offcanvas .name-sections + .name-sections{margin-top: 16px;}
.offcanvas .name-sections__title{color:#fff;}
.offcanvas .name-sections__title-link{color:#fff;}
.offcanvas .name-sections__link{color:#fff;}
.offcanvas .name-sections__link:hover{opacity:.9;}

@media (min-width: 981px){
  .offcanvas-sections{display:none;}
}

@media (max-width: 520px){
  .post-card{grid-template-columns: 1fr;}
  .post-card__thumb img{aspect-ratio: 16 / 9;}
  .cta__form{width:100%;}
}

/* Review page */
.review-hero{
  background:#111;
  color:#fff;
  padding: 18px 18px 14px;
  border-radius: 10px;
}
.review-hero__breadcrumbs .breadcrumbs{color:#cfcfcf;font-size:12px;}
.review-hero__breadcrumbs a{color:#cfcfcf;text-decoration:none;}
.review-hero__breadcrumbs a:hover{text-decoration:underline;}
.review-hero__meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top: 12px;flex-wrap:wrap;}
.review-author{display:flex;align-items:center;gap:10px;}
.review-author__body{display:flex;flex-direction:column;gap:4px;}
.review-author__row{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;}
.review-author__link{
  display:flex;
  align-items:center;
  gap:10px;
  color:inherit;
  text-decoration:none;
}
.review-author__link:hover .review-author__name{text-decoration:underline;}
.review-author__avatar img{border-radius:999px;display:block;}
.review-author__name{font-weight:600;}
.review-author-rating{
  display:flex;
  align-items:center;
  gap: 2px;
}
.review-author-rating .star-icon{
  display:block;
  width: 18px;
  height: 17px;
  flex-shrink:0;
}
.review-author__donate{display:flex;align-items:center;gap:8px;font-size:14px;color:#fff;opacity:.9;flex-wrap:wrap;}
.review-author__donate-card{display:inline-flex;align-items:center;gap:6px;}
.review-author__donate-icon{width:16px;height:16px;display:block;flex-shrink:0;}

.review-share{display:flex;gap:14px;align-items:center;margin: 12px 0 18px;flex-wrap:wrap;}
.review-share__label{font-weight:600;}
.review-share__links{display:flex;gap:10px;flex-wrap:wrap;}
.share-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background:#111;
  color:#fff;
  text-decoration:none;
  font-size: 13px;
}
.share-pill:hover{background:#222;}

.review-header{margin: 0 0 18px;}
.review-header__title{
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}
.review-header__meta{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap:wrap;
  color: var(--name-muted);
  font-size: 13px;
}
.review-header__meta .meta-item{
  display:flex;
  align-items:center;
  gap: 6px;
}
.review-header__meta .meta-icon{
  display:block;
  flex-shrink:0;
  width: 12px;
  height: 10px;
  max-width: 12px;
  max-height: 10px;
}
.review-header__meta .meta-item__link{
  color: inherit;
  text-decoration: none;
  display:flex;
  align-items:center;
  gap: 6px;
}
.review-header__meta .meta-item__link:hover{
  text-decoration: underline;
}

.review-banner{margin: 10px 0 18px;}
.review-banner__img{width:100%;height:auto;display:block;border-radius:10px;}
.review-banner__link[aria-hidden="true"]{pointer-events:none;}

.review-cover{
  margin: 0 0 18px;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
}
.review-cover img{width:100%;height:auto;display:block;border-radius:10px;}
.review-cover > .review-video{
  width:100%;
  max-width:100%;
}
.review-video{
  position:relative;
  width:100%;
  max-width:100%;
  overflow:hidden;
  background:#000;
  border-radius:10px;
}
.review-video--single{
  aspect-ratio: 16 / 9;
}
.review-video--archive{
  aspect-ratio: 16 / 9;
  border: 1px solid var(--name-border);
  border-radius: 0;
}
.review-video__player,
.review-video__iframe{
  width:100% !important;
  height:100%;
  max-width:100%;
  display:block;
  border:0;
  background:#000;
}
.review-video__player{
  object-fit:cover;
}

.review-product .review-post-content{margin:28px 0 20px;color:#333;}
.review-site-text{margin: 20px 0;color:#333;line-height:1.7;}
.review-site-text a{color:#e85624;text-decoration:underline;}
.review-site-text a:hover{color:#c94a1f;}
.review-site-text ul li::marker,
.review-site-text ol li::marker{color:#e85624;}

.review-more{
  grid-column: 1 / -1;
  margin: 22px 0 0;
  width: 100%;
}
.review-more__title{margin:0 0 12px;font-size:18px;}
.review-more .read-also__grid{width: 100%;}

.embedded-product{margin-top: 10px;}
.review-product .product-page{padding:0;}

/* Participant (author) page */
.participant-intro{padding: 14px 0 6px; margin-bottom: 10px;}
.participant-intro__title{
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.participant-intro__lead{
  margin: 0 0 18px;
  color: var(--name-muted);
  font-size: 12px;
  max-width: 520px;
}
.participant-intro__grid{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items:start;
}
.participant-intro__left{display:flex;flex-direction:column;align-items:center;}
.participant-intro__photo{
  width: 320px;
  height: 360px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.participant-photo{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
}
.participant-intro__name{
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
}
.participant-intro__about{
  margin-top: 78px;
  max-width: 430px;
  color:#333;
  line-height: 1.55;
  font-size: 14px;
}

/* Participant page spacing rhythm */
.participant-section{margin: 52px 0;}
.participant-section:first-of-type{margin-top: 32px;}
.participant-section:last-of-type{margin-bottom: 32px;}
.participant-section__title{margin:0 0 10px; font-size: 15px; display:flex; align-items:center; gap:8px;}
.participant-dot{width:6px;height:6px;border-radius:50%;background:#ff7a00;display:inline-block;}
.participant-section__text{line-height:1.7;color:#333;}
.participant-list{margin:0; padding-left: 18px; color:#333; line-height:1.7;}

/* Consistent left offsets inside participant sections */
.participant-section{ --p-content-offset: 14px; --p-bullet-indent: 16px; } /* dot+gap ~= 14px */
.participant-section--icon{ --p-content-offset: 0px; } /* no offset for icon sections */
.participant-section--facts{ --p-content-offset: 0px; } /* no offset for facts section */
.participant-section--heart{ --p-content-offset: 0px; } /* no offset for heart section */

.participant-section__text,
.participant-gallery--section,
.participant-carousel--section,
.participant-mentors{
  margin-left: var(--p-content-offset);
}
.participant-section__text p{
  margin: 10px 0;
}
.participant-section__text p:first-child{margin-top:0;}
.participant-section__text p:last-child{margin-bottom:0;}

/* Section title with icon (education/courses) */
.participant-section__title--icon{
  display:flex;
  align-items:center;
  gap: 14px;
  margin: 0 0 12px;
}
.participant-section__title--icon h2{
  margin:0;
  font-size: 34px;
  line-height: 1.05;
}
.participant-section__icon-small{
  width: 42px;
  height: auto;
  flex: 0 0 auto;
}
.participant-section--icon .participant-section__text{
  margin-left: 0;
  margin-bottom: 12px;
}
.participant-section--icon .participant-carousel--section{
  margin-left: 0;
  margin-top: 0;
}
.participant-section--icon .participant-side-photo-wrap{
  margin-top: 12px;
  margin-left: 0;
}
.participant-section--icon .participant-mentors{
  margin-left: 0;
  margin-top: 12px;
}

/* Facts section like design */
.participant-section--facts{margin-top: 40px;}
.participant-section--facts .facts-rich,
.participant-section--facts .facts-list{
  margin-left: 0;
  margin-top: 12px;
}
.participant-section__title--facts{
  display:flex;
  align-items:center;
  gap: 14px;
  margin: 0 0 14px;
}
.participant-section__title--facts h2{
  margin:0;
  font-size: 34px;
  line-height: 1.05;
}
.participant-section__icon{
  width: 42px;
  height: auto;
  flex: 0 0 auto;
}

/* Heart title section (personal blog) */
.participant-section--heart{ --p-content-offset: 0px; }
.participant-section__title--heart{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  margin: 0 0 12px;
}
.participant-section--heart .participant-section__text{
  margin-left: 0;
  margin-bottom: 12px;
}
.participant-section--heart .participant-carousel--section{
  margin-left: 0;
  margin-top: 0;
}
.participant-section__title-left{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width:0;
}
.participant-section__title--heart h2{
  margin:0;
  font-size: 34px;
  line-height: 1.05;
}
.participant-section__icon-heart{
  width: 42px;
  height: auto;
  flex: 0 0 auto;
}
.participant-social{
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: 12px;
}
.participant-social__link{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:#111;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.participant-social__link:hover{background:#2b2b2b;}
.participant-social__icon{display:block; width: 16px; height: 16px;}
.participant-social__icon svg{display:block; width: 16px; height: 16px;}

/* Participant post grids (articles/reviews at bottom) */
.participant-posts{
  margin: 52px 0;
}
.participant-posts__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  margin: 0 0 16px;
}
.participant-posts__title{
  margin:0;
  font-size: 14px;
  font-weight: 700;
  color:#111;
}
.participant-posts__nav{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.participant-posts__pager{
  display:flex;
  align-items:center;
  gap: 10px;
}
.participant-posts__page{
  font-size: 12px;
  color: #9a9a9a;
  text-decoration:none;
  line-height: 1;
}
.participant-posts__page.is-current{
  color:#111;
  border: 1px solid var(--name-border);
  border-radius: 4px;
  padding: 3px 6px;
}
.participant-posts__all{
  font-size: 12px;
  color:#9a9a9a;
  text-decoration:none;
  white-space:nowrap;
}
.participant-posts__all:hover{text-decoration:underline;color:#111;}

.participant-posts__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 980px){
  .participant-posts__grid{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 520px){
  .participant-posts__grid{grid-template-columns: 1fr;}
}
.facts-list{
  list-style:none;
  padding:0;
  margin:0;
}
.facts-list li{
  position:relative;
  padding: 14px 0 14px var(--p-bullet-indent);
  border-bottom: 1px solid #efefef;
  color:#111;
  line-height:1.55;
}
.facts-list li::before{
  content:"";
  position:absolute;
  left:0;
  top: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background:#FFB16C;
}
.facts-rich ul{
  margin: 0;
  padding-left: 0;
}
.facts-rich li{margin: 10px 0;}

/* Unified list styling for similar participant sections (TinyMCE lists) */
.participant-section__text ul{
  list-style:none;
  padding: 0;
  margin: 0;
}
.participant-section__text ul li{
  position:relative;
  padding: 14px 0 14px var(--p-bullet-indent);
  border-bottom: 1px solid #efefef;
  color:#111;
  line-height:1.55;
}
.participant-section__text ul li::before{
  content:"";
  position:absolute;
  left:0;
  top: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background:#FFB16C;
}

/* Avoid double offsets in two-col sections (text already has margin-left) */

/* Facts rich lists should use the same bullet/lines + same offset */
.facts-rich{margin-left: var(--p-content-offset);}
.facts-rich ul{
  list-style:none;
  padding:0;
  margin:0;
}
.facts-rich ul li{
  position:relative;
  padding: 14px 0 14px var(--p-bullet-indent);
  border-bottom: 1px solid #efefef;
  color:#111;
  line-height:1.55;
}
.facts-rich ul li::before{
  content:"";
  position:absolute;
  left:0;
  top: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background:#FFB16C;
}

.participant-gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.participant-gallery__item img{width:100%;height:auto;display:block;border-radius:10px;}
.participant-gallery--section{margin-top: 12px;}

/* Participant galleries as carousel (all sections except Education) */
.participant-carousel{
  position:relative;
}
.participant-carousel__viewport{
  overflow:hidden;
}
.participant-carousel__track{
  display:flex;
  gap: 10px;
  transition: transform .28s ease;
  will-change: transform;
}
.participant-carousel__slide{
  flex: 0 0 calc((100% - 20px) / 3); /* 3 in row, 2 gaps */
}
[data-lightbox-open]{
  cursor: pointer;
  transition: opacity 0.2s;
}
[data-lightbox-open]:hover{
  opacity: 0.9;
}
.participant-carousel__media{
  width:100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow:hidden;
  background:#f2f2f2;
}
.participant-carousel__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
}
.participant-carousel--section{margin-top: 12px;}

.participant-carousel__arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  border:0;
  background: rgba(255,255,255,.85);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  color:#7a7a7a;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 28px;
  line-height: 1;
  cursor:pointer;
  user-select:none;
}
.participant-carousel__arrow:hover{background:#fff;color:#4f4f4f;}
.participant-carousel__arrow[disabled]{opacity:.35;cursor:default;pointer-events:none;}
.participant-carousel__arrow--prev{left: -14px;}
.participant-carousel__arrow--next{right: -14px;}

.participant-carousel__bullets{
  display:flex;
  justify-content:center;
  gap: 8px;
  margin-top: 12px;
}
.participant-carousel__bullet{
  width: 6px;
  height: 6px;
  border-radius: 1px;
  border:0;
  background:#bdbdbd;
  opacity:.9;
  cursor:pointer;
  padding:0;
}
.participant-carousel__bullet.is-active{background:#6e6e6e;}

@media (max-width: 980px){
  .participant-carousel__slide{flex-basis: calc((100% - 10px) / 2);}
  .participant-carousel__arrow--prev{left: -10px;}
  .participant-carousel__arrow--next{right: -10px;}
}

@media (max-width: 640px){
  .participant-carousel__slide{flex-basis: 100%;}
  .participant-carousel__arrow--prev{left: 6px;}
  .participant-carousel__arrow--next{right: 6px;}
}

.participant-side-photo-wrap{
  display: inline-block;
}
.participant-side-photo{
  width:100%;
  height:auto;
  display:block;
  border-radius: 10px;
}

.participant-mentors{
  display:grid;
  grid-template-columns: repeat(auto-fit, 245px);
  gap: 40px;
  justify-content: start;
  align-items:start;
}
.participant-mentor{
  text-decoration:none;
  color:#111;
  display:flex;
  flex-direction:column;
  gap: 10px;
  align-items:center; /* image + name centered inside each card */
}
.participant-mentor__photo-wrap{
  display: inline-block;
}
.participant-mentor__photo{
  width: min(245px, 100%);
  aspect-ratio: 1 / 1;
  height: auto;
  display:block;
  border-radius:50%;
  object-fit: cover;
}
.participant-mentor__photo--placeholder{
  background:#eee;
}
.participant-mentor__name{
  font-family: "Stolzl", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 150%;
  text-align:center;
}

@media (max-width: 640px){
  :root{ --name-pad-x: 20px; }
  .participant-intro__title{font-size: 26px;}
  .participant-intro__lead{font-size: 11px; margin-bottom: 14px;}
  .participant-section__title--icon{
    margin-bottom: 12px;
  }
  .participant-intro__grid{grid-template-columns: 1fr; gap: 18px;}
  .participant-intro__photo{width: 190px; height: 220px;}
  .participant-intro__name{font-size: 16px;}
  .participant-intro__about{margin-top: 0; max-width: 100%;}
  .participant-intro__about{font-size: 13px; line-height: 1.5;}
  .participant-gallery{grid-template-columns: repeat(2, 1fr);}
  .participant-section{margin: 40px 0;}
  .participant-section__text{font-size: 13px; line-height: 1.6;}

  /* Mobile: no inner left offset for section content */
  .participant-section,
  .participant-section--icon,
  .participant-section--facts,
  .participant-section--heart{
    --p-content-offset: 0px;
  }

  /* Smaller section titles on mobile */
  .participant-section__title--facts h2{font-size: 20px; line-height: 1.1;}
  .participant-section__title--icon h2{font-size: 20px; line-height: 1.1;}
  .participant-section__title--heart h2{font-size: 20px; line-height: 1.1;}

  /* Icons smaller too */
  .participant-section__icon{width: 26px;}
  .participant-section__icon-small{width: 26px;}
  .participant-section__icon-heart{width: 26px;}

  /* Lists: tighter paddings */
  .facts-list li,
  .participant-section__text ul li,
  .facts-rich ul li{
    padding: 10px 0 10px var(--p-bullet-indent);
  }
  .facts-list li::before,
  .participant-section__text ul li::before,
  .facts-rich ul li::before{
    top: 16px;
  }

  /* Mentors: smaller photos + names */
  .participant-mentors{grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px;}
  .participant-mentor__photo{width: min(180px, 100%);}
  .participant-mentor__name{font-size: 18px;}
}

/* About page */
.about{padding: 26px 0 40px;}
.about-top{padding-top: 6px;}
.about-top__title{
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.about-top__text{
  max-width: 520px;
  color:#9a9a9a;
  font-size: 18px;
  line-height: 1.55;
}
.about-top__text p{margin: 6px 0;}
.about-top__contacts{
  margin-top: 14px;
  max-width: 520px;
}
.about-top__contacts-label{
  color:#9a9a9a;
  font-size: 11px;
  margin-bottom: 4px;
}
.about-top__contacts-text{
  color:#9a9a9a;
  font-size: 18px;
  line-height: 1.55;
}
.about-top__contacts-text a{color:inherit;text-decoration:underline;}

.about-hero{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  align-items:center;
}
.about-hero__head{display:block;}
.about-hero__body{display:block;}
.about-hero__label{
  display:inline-block;
  font-size: 11px;
  font-weight: 700;
  color:#111;
  margin-bottom: 8px;
}
.about-hero__title{
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.about-hero__text{
  max-width: 520px;
  color:#9a9a9a;
  font-size: 18px;
  line-height: 1.55;
}
.about-hero__text p{margin: 6px 0;}
.about-hero__right{display:flex; justify-content:flex-end;}
.about-hero__star{width: 440px; height:auto; display:block;}

.about-people{margin-top: 26px;}
.about-people__title{
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.about-people__desc{
  max-width: 620px;
  color:#9a9a9a;
  font-size: 18px;
  line-height: 1.55;
}
.about-people__desc p{margin: 6px 0;}
.about-people__grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: space-between;
  gap: 18px;
  align-items:end;
}
.about-person{
  width: 300px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  color:#111;
}
.about-person__photo{
  width: 300px;
  height: 448px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:hidden;
}
.about-person__img{
  width: 100%;
  height: 100%;
  /* Never crop the participant photo (some images have transparent padding) */
  object-fit: contain;
  object-position: center bottom;
  display:block;
}
.about-person__name{
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
  text-align:center;
}

.about-support{margin-top: 22px;}
.about-support__box{
  display:flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--name-border);
  border-radius: 14px;
  padding: 18px;
  background:#fff;
}
.about-support__header{
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.about-support__icon{width: 30px; height: 30px; flex: 0 0 auto;}
.about-support__title{margin:0; font-size: 24px; line-height:1.05;}
.about-support__text{color:#9a9a9a; font-size: 18px; line-height: 1.55; margin: 0;}
.about-support__text p{margin: 0;}

.about-latest{margin-top: 18px;}
.about-latest__title{
  display:inline-block;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color:#111;
  text-decoration:none;
  margin-bottom: 10px;
}
.about-latest__title:hover{text-decoration:underline;}
.about-latest__cat{color:#9a9a9a; font-weight: 500;}
.about-latest__excerpt{color:#333; line-height:1.65; margin: 0 0 14px;}
.about-latest__img img{width:100%; height:auto; display:block; border: 1px solid var(--name-border); border-radius: 0; }
.about-latest__all{
  display:inline-block;
  margin-top: 10px;
  color:#2b67f6;
  text-decoration:underline;
  font-size: 12px;
}

@media (max-width: 980px){
  .about-people__grid{
    grid-template-columns: repeat(2, 300px);
    justify-content: center;
    gap: 18px;
  }
}

@media (max-width: 640px){
  .about{padding: 18px 0 30px;}
  .about-top__title{font-size: 18px;}
  .about-top__text{font-size: 14px;}
  .about-top__contacts-text{font-size: 14px;}
  /* Mobile: title full width; star to the right of body text (cropped) */
  .about-hero{
    grid-template-columns: 1fr 140px;
    grid-template-areas:
      "head head"
      "body star";
    gap: 10px;
    margin-top: 14px;
    align-items:start;
  }
  /* Let head/body participate in .about-hero grid (they are inside __left in markup) */
  .about-hero__left{display: contents;}
  .about-hero__head{grid-area: head;}
  .about-hero__body{grid-area: body;}
  .about-hero__right{grid-area: star;}
  .about-hero__title{font-size: 22px;}
  .about-hero__text{font-size: 14px;}
  .about-hero__right{
    justify-content:flex-end;
    justify-self:end;
    overflow:hidden;
    width: 140px;
  }
  .about-hero__star{width: 280px; transform: translateX(44px);}
  .about-people__title{font-size: 18px;}
  .about-people__desc{font-size: 14px;}
  .about-people__grid{grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; gap: 10px;}
  .about-person{width:auto;}
  /* Keep consistent card ratio on mobile, without cropping the image */
  .about-person__photo{width: 100%; height: auto; aspect-ratio: 300 / 448;}
  .about-person__name{font-size: 12px; font-weight: 600;}
  .about-support__title{font-size: 18px;}
  .about-support__text{font-size: 14px;}
  .about-latest__title{font-size: 16px;}
}

/* Product page */
.product-page{
  padding: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.embedded-product{
  margin-top: 10px;
}
.embedded-product.product-page{
  padding: 0;
  max-width: 100%;
}
.product-top{
  display:flex;
  flex-direction:column;
  gap: 18px;
  align-items:stretch;
}
.product-top_gallery,
.product-top__gallery,
.product-top_info,
.product-top__info{
  width:100%;
  min-width:0;
  max-width:100%;
}
.product-header{
  margin: 0 0 10px;
}
.product-gallery{
  --product-thumb-size: 120px;
  --product-thumb-gap: 6px;
  --product-rail-arrow-size: 24px;
  display:grid;
  grid-template-columns: var(--product-thumb-size) minmax(0, 1fr);
  gap: 18px;
  align-items:stretch;
}
.product-gallery__rail{
  display:grid;
  gap: var(--product-thumb-gap);
  min-height:0;
  height:100%;
}
.product-gallery__thumbs-viewport{
  min-height:0;
  height:100%;
  overflow:hidden;
}
.product-gallery__thumbs{
  display:flex;
  flex-direction:column;
  gap: var(--product-thumb-gap);
  transform: translateY(0);
  transition: transform .2s ease;
  will-change: transform;
  height:100%;
}
.product-gallery__rail-arrow{
  border:0;
  background:transparent;
  color:#9d9d9d;
  font-size:24px;
  line-height:1;
  padding:0;
  cursor:pointer;
}
.product-gallery__rail-arrow:hover{
  color:#5f5f5f;
}
.product-gallery__rail-arrow:disabled{
  opacity:.35;
  cursor:default;
}
.product-thumb{
  border:1px solid var(--name-border);
  box-sizing:border-box;
  border-radius: 0;
  padding:0;
  background:#fff;
  cursor:pointer;
  overflow:hidden;
  width: var(--product-thumb-height, 100%);
  aspect-ratio: 1 / 1;
  height: var(--product-thumb-height, auto);
  margin:0 auto;
  flex: 0 0 auto;
}
.product-thumb.is-active{border-color:#111; box-shadow: 0 0 0 1px #111 inset;}
.product-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.product-gallery__main{
  border:1px solid var(--name-border);
  border-radius: 0;
  background:#fff;
  overflow:hidden;
  width: 100%;
  height: auto;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  align-self:start;
}
.product-main-img{display:block; width:100%; height:100%; object-fit: cover;}
.product-gallery__placeholder{
  border:1px solid var(--name-border);
  border-radius:0;
  min-height:260px;
  background:linear-gradient(135deg,#f3f3f3,#eaeaea);
}

.product-title{
  margin:0 0 4px;
  max-width: 560px;
  font-size:18px;
  line-height:1.15;
  font-weight:700;
  text-transform:uppercase;
}
.product-rating{
  display:flex;
  align-items:center;
  gap:6px;
  color: var(--name-muted);
  margin-bottom: 8px;
  font-size:14px;
  line-height:1;
}
.product-rating__avg{
  font-weight:400;
  color:#111;
  min-width: 28px;
}
.product-rating__stars{
  display:flex;
  align-items:center;
  gap: 1px;
}
.product-rating__stars .star-icon{
  display:block;
  width: 16px;
  height: 15px;
  flex-shrink:0;
}
.product-rating__count{
  color:#8a8a8a;
}
.product-rating--big .product-rating__avg{font-size:18px;}

.product-short{
  margin: 0 0 14px;
  width:100%;
  max-width:100%;
  color:#6d6d6d;
  line-height:1.35;
  font-size:15px;
}

.product-buy{
  display:flex;
  flex-direction:column;
  gap: 14px;
  border-top:0;
  padding-top:0;
  margin-top:0;
}
.product-price{
  font-size:18px;
  line-height:1;
  font-weight:700;
  margin-bottom: 0;
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
}
.product-price__value{
  color:#111;
}
.product-price__volume{
  color:#464340;
  font-weight:400;
}
.product-variants{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-bottom: 0;
}
.product-variant{
  border:1px solid #B7B7B7;
  border-radius: 0;
  padding: 12px 14px;
  background:#fff;
  cursor:pointer;
  text-align:left;
  min-height: 68px;
}
.product-variant.is-active{
  border:1px solid #000000;
  box-shadow:none;
}
.product-variant.is-active .product-variant__ml,
.product-variant.is-active .product-variant__price{
  color:#464340;
}
.product-variant__ml{
  font-size:16px;
  color: var(--name-muted);
  margin-bottom: 4px;
}
.product-variant__price{
  font-weight:700;
  font-size:18px;
}
.product-order{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 52px;
  padding: 0 14px;
  border-radius: 0;
  background:#ff6900;
  border: none;
  color:#fff;
  text-decoration:none;
  width:100%;
  font-size:16px;
  cursor: pointer;
}
.product-order:hover{background:#222;}
.product-order.is-focus-target{
  animation: nameOrderBtnPulse 1.2s ease;
}

@keyframes nameOrderBtnPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 105, 0, .55); }
  70% { box-shadow: 0 0 0 14px rgba(255, 105, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 105, 0, 0); }
}

.product-tabs{
  margin-top: 22px;
  background:#f5f5f5;
  padding: 18px 18px 22px;
}
.product-tabs__nav{
  display:flex;
  gap: 28px;
  border-bottom:1px solid var(--name-border);
}
.product-tab{
  position:relative;
  padding: 0 0 12px;
  border:0;
  background:transparent;
  cursor:pointer;
  color: var(--name-muted);
  font-size:14px;
}
.product-tab.is-active{
  color:#111;
}
.product-tab.is-active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:2px;
  background:#c81d25;
}
.product-tabs__panels{
  margin-top: 14px;
}
.product-tab-panel{
  display:none;
  padding: 18px 20px;
  background:#fff;
  border-radius: 10px;
  color:#333;
  line-height:1.7;
}
.product-tab-panel.is-active{
  display:block;
}
.product-tab-panel a{color:#e85624;text-decoration:underline;}
.product-tab-panel a:hover{color:#c94a1f;}
.product-tab-panel ul li::marker,
.product-tab-panel ol li::marker{color:#e85624;}

.product-reviews{padding: 40px 0 10px;}
.product-reviews__title{text-align:center; margin:0 0 14px; font-size: 22px;}
.product-reviews__summary{display:flex; gap: 16px; align-items:center; justify-content:center; margin-bottom: 24px; flex-wrap:wrap;}
.product-reviews__write{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 36px;
  padding: 0 16px;
  border:1px solid #111;
  border-radius: 4px;
  text-decoration:none;
  color:#111;
  background:#fff;
  cursor:pointer;
}
.product-reviews__list{
  border-top:1px solid var(--name-border);
  max-width: 900px;
  margin: 0 auto;
}
.product-reviews__empty{padding: 16px 0; color: var(--name-muted); text-align:center;}
.product-review__more{
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--name-muted);
  font-size: 12px;
  cursor: pointer;
  text-transform: uppercase;
}
.product-review__recommend{margin-top: 10px; color: var(--name-muted); font-size: 12px;}

/* Reactions buttons */
.product-review__reactions{display:flex; gap: 10px; margin-top: 12px;}
.react-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  width: 86px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #d3d3d3;
  background:#fff;
  cursor:pointer;
  font-size: 13px;
  color:#111; /* affects SVG stroke via currentColor */
}
.react-btn:hover{border-color:#bdbdbd;}
.react-btn.is-disabled{color:#9a9a9a; cursor:default;}
.react-btn:disabled{color:#9a9a9a; cursor:wait;}
.react-ico{line-height:1;}
.react-img{width:13px;height:13px;display:block;}
.react-count{min-width: 10px; text-align:center;}

/* Review form (expand down) */
.product-review-form-wrap{display:none; border-top:1px solid var(--name-border); padding-top: 22px; margin-top: 12px;}
.product-review-form-wrap.is-open{display:block;}
.product-review-form{max-width: 900px; margin: 0 auto;}
.product-review-form__title{text-align:center; margin: 0 0 16px; font-size: 14px; letter-spacing: .08em;}
.product-review-form__grid{display:grid; grid-template-columns: 120px 1fr; gap: 18px; align-items:start;}
.product-review-form__img img{max-width:100%; height:auto; display:block; border:1px solid var(--name-border); border-radius: 6px;}
.rf-row{margin-bottom: 14px;}
.rf-label{display:block; font-size: 12px; color:#111; margin-bottom: 6px;}
.rf-input,.rf-textarea{
  width:100%;
  border: 1px solid var(--name-border);
  border-radius: 2px;
  padding: 10px 12px;
  font: inherit;
}
.rf-help{margin: 6px 0 0; font-size: 11px; color: var(--name-muted); line-height:1.4;}
.rf-stars{display:flex; gap: 6px; align-items:center;}
.rf-stars button{
  border:0;
  background:transparent;
  font-size: 22px;
  line-height: 1;
  cursor:pointer;
  color:#c9c9c9;
  padding: 0;
}
.rf-stars button.is-on{color:#111;}
.rf-recommend{display:flex; gap: 12px; flex-wrap:wrap;}
.rf-recommend button{
  min-width: 200px;
  border:1px solid var(--name-border);
  background:#fff;
  padding: 10px 12px;
  text-transform: uppercase;
  font-size: 11px;
  cursor:pointer;
}
.rf-recommend button.is-active{border-color:#111;}
.rf-submit{
  width: 320px;
  max-width: 100%;
  height: 44px;
  border-radius: 0;
  border: 1px solid #111;
  background:#111;
  color:#fff;
  cursor:pointer;
  text-transform: uppercase;
  font-size: 11px;
}
.rf-msg{min-height: 18px; color: #111; font-size: 12px;}
.rf-success{max-width: 900px; margin: 16px auto 0; padding: 12px 14px; border:1px solid var(--name-border); background:#fff; text-align:center;}

@media (max-width: 640px){
  .product-review-form__grid{grid-template-columns: 1fr;}
}
.product-review{padding: 26px 0; border-bottom:1px solid var(--name-border);}
.product-review__row{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 26px;
  align-items:start;
}
.product-review__left{color:#111;}
.product-review__author{margin-top: 10px; font-size: 12px; color:#111;}
.product-review__stars{color:#111; letter-spacing:1px;}
.product-review__date{color: var(--name-muted); font-size: 12px; text-align:right; margin-bottom: 10px;}
.product-review__content{line-height:1.7; font-size: 13px; color:#111;}

@media (max-width: 640px){
  .product-review__row{grid-template-columns: 1fr; gap: 10px;}
  .product-review__date{text-align:left;}
}
.comment-form-rating select{height: 36px; border:1px solid var(--name-border); border-radius: 8px; padding: 0 10px;}

@media (max-width: 980px){
  .product-gallery{grid-template-columns: 1fr; }
  .product-gallery__rail{display:none;}
  .product-gallery__main{width: 100%; height: auto; aspect-ratio: 1 / 1;}
  .product-variants{grid-template-columns: 1fr;}
  .product-tabs{padding: 16px 14px 18px;}
  .product-tabs__nav{gap: 18px; flex-wrap:wrap;}
}

/* Mobile product gallery: no thumbs, arrows + bullets */
.pg-arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  border:0;
  background: transparent;
  color:#b8b8b8;
  font-size: 42px;
  line-height: 1;
  width: 38px;
  height: 54px;
  padding:0;
  cursor:pointer;
  user-select:none;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pg-arrow:hover{color:#8f8f8f;}
.product-gallery__main:not(.has-multiple) .pg-arrow{display:none;}
.pg-arrow--prev{left: 10px;}
.pg-arrow--next{right: 10px;}
.pg-bullets{display:none;}

@media (max-width: 640px){
  .pg-arrow,
  .pg-bullets{display:block;}

  .pg-arrow{
    background: transparent;
    color:#a9a9a9;
    font-size: 34px;
    width:auto;
    height:auto;
    padding: 6px 10px;
  }
  .pg-arrow--prev{left: 6px;}
  .pg-arrow--next{right: 6px;}

  .pg-bullets{
    position:absolute;
    left:0; right:0;
    bottom: 10px;
    display:flex;
    justify-content:center;
    gap: 8px;
    pointer-events:none;
  }
  .pg-bullet{
    width: 6px;
    height: 6px;
    border-radius: 1px;
    border:0;
    background:#bdbdbd;
    opacity:.9;
    pointer-events:auto;
    cursor:pointer;
    padding:0;
  }
  .pg-bullet.is-active{background:#6e6e6e;}
  .product-gallery__main:not(.has-multiple) .pg-bullets{display:none;}
}

/* Modal (order in 1 click) */
.modal{display:none;}
.modal.is-open{display:block;}
.modal__overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  z-index: 1300;
}
.modal__dialog{
  position:fixed;
  inset: 0;
  margin:auto;
  width: min(760px, calc(100% - 24px));
  height: fit-content;
  background:#fff;
  border-radius: 0;
  z-index: 1301;
  padding: 26px 28px;
  border: 0;
}
.modal__title{margin: 0 0 18px; font-size: 22px;}
.modal__title--center{text-align:center;}
.modal__subtitle{color: var(--name-muted); margin: 0 0 14px; font-size: 13px;}
.modal__form{display:grid; gap: 10px;}
.modal__label span{display:block; font-size: 12px; color: var(--name-muted); margin-bottom: 4px;}
.modal__input,.modal__textarea{
  width:100%;
  border:1px solid var(--name-border);
  border-radius: 0;
  padding: 12px 12px;
  font: inherit;
  margin-bottom: 14px;
}
.modal__input::placeholder,
.modal__textarea::placeholder{
  color:#0000006b;
  font-weight:500;
  opacity:1;
}
.modal__actions{display:flex; gap: 22px; justify-content:flex-end; margin-top: 12px; flex-wrap:wrap; align-items:center;}
.modal__actions--center{justify-content:center;}
.modal__submit{
  height: 44px;
  padding: 0 22px;
  border-radius: 0;
  border: 0;
  background:#ff6900;
  color:#fff;
  cursor:pointer;
  min-width: 220px;
}
.modal__submit:hover{
  background:#111;
}
.modal__link{
  border:0;
  background:transparent;
  cursor:pointer;
  font-size: 16px;
}
.modal__msg{min-height: 18px; color:#111; font-size: 13px;}
.modal__alt{margin: 10px 0 0; font-size: 13px;}

/* Thanks modal (after successful order) */
.modal--thanks .modal__dialog{
  background: #0b0b0c;
  color:#fff;
  border-radius: 16px;
  padding: 34px 30px;
}
.thanks-modal{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap: 14px;
}
.thanks-modal__icon{
  width: min(260px, 70%);
  height:auto;
  display:block;
}
.thanks-modal__title{
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}
.thanks-modal__subtitle{
  margin: 0;
  color: rgba(255,255,255,.70);
  font-size: 13px;
  line-height: 1.4;
  max-width: 520px;
}
.thanks-modal__close{
  position:absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
  font-size: 26px;
  line-height: 1;
}
.thanks-modal__close:hover{background: rgba(255,255,255,.10);}

/* Order modal layout */
.order-modal{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items:start;
}
.order-modal__img img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  display:block;
  border: 1px solid var(--name-border);
}

.order-modal__summary{
  margin: 0 0 10px;
  color: var(--name-muted);
  font-size: 13px;
}

@media (max-width: 640px){
  .modal__dialog{width: min(420px, calc(100% - 24px)); padding: 22px 18px;}
  .order-modal{grid-template-columns: 1fr; gap: 16px;}
  .modal__submit{width: 100%;}
  .modal--thanks .modal__dialog{
    width: min(340px, calc(100% - 24px));
    min-height: 520px;
    padding: 28px 18px;
  }
  .thanks-modal__icon{width: min(220px, 78%);}
  .thanks-modal__title{font-size: 20px;}
  .thanks-modal__subtitle{font-size: 12px;}
}

/* Participant Lightbox */
.participant-lightbox{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}
.participant-lightbox.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.participant-lightbox__overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}
.participant-lightbox__content{
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.participant-lightbox__img{
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.participant-lightbox__close{
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.participant-lightbox__close:hover{
  opacity: 0.7;
}
.participant-lightbox__prev,
.participant-lightbox__next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.participant-lightbox__prev:hover,
.participant-lightbox__next:hover{
  background: rgba(255, 255, 255, 0.3);
}
.participant-lightbox__prev{
  left: -70px;
}
.participant-lightbox__next{
  right: -70px;
}
body.is-lightbox-open{
  overflow: hidden;
}

@media (max-width: 980px){
  .participant-lightbox__prev{
    left: 10px;
  }
  .participant-lightbox__next{
    right: 10px;
  }
  .participant-lightbox__close{
    top: 10px;
    right: 10px;
  }
}
