/* Promo Hunter blog: article header, reading outline with progress, article cards, store articles block. */
.phb-ico{display:inline-block;flex:none;width:16px;height:16px;vertical-align:-3px}

/* ---- header band ---- */
.phb-hero{position:relative;overflow:hidden;padding:34px 0 46px;background:radial-gradient(900px 300px at 85% -40%,rgba(31,209,174,.35),transparent 70%),radial-gradient(600px 260px at -10% 120%,rgba(24,154,216,.28),transparent 70%),linear-gradient(135deg,#1c3044 0%,#1f4153 55%,#16685d 100%);color:#fff}
/* a faint coupon drawn on the band */
.phb-hero::after{content:"";position:absolute;right:max(-40px,calc(50% - 700px));bottom:-46px;width:300px;height:262px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 210' fill='none' stroke='%23fff' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 50H208a12 12 0 0 1 12 12v27a16 16 0 0 0 0 32v27a12 12 0 0 1-12 12H32a12 12 0 0 1-12-12v-27a16 16 0 0 0 0-32V62a12 12 0 0 1 12-12z'/%3E%3Cpath d='M72 66v78' stroke-dasharray='1 13'/%3E%3Cpath d='M178 78l-56 56'/%3E%3Ccircle cx='128' cy='84' r='10'/%3E%3Ccircle cx='172' cy='128' r='10'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.07;transform:rotate(-16deg);pointer-events:none}
.phb-hero__inner{position:relative;z-index:1}
.phb-single.has-cover,.phb-single.has-toc{position:relative;z-index:2}
.phb-hero.has-cover{padding-bottom:110px}
.phb-crumbs{display:flex;align-items:center;gap:6px;margin:0 0 14px;font-size:13px;font-weight:700;letter-spacing:.04em;color:rgba(255,255,255,.72)}
.phb-crumbs a{color:#7ee8d1;text-decoration:none}
.phb-crumbs a:hover{color:#fff}
.phb-crumbs .phb-ico{width:14px;height:14px;opacity:.6}
.phb-hero__title{max-width:900px;margin:0;color:#fff;font-size:40px;line-height:1.18;font-weight:800;letter-spacing:-.01em}
.phb-hero__lede{max-width:780px;margin:16px 0 0;color:rgba(232,246,242,.9);font-size:19px;line-height:1.55}
.phb-meta{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0}
.phb-chip{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.1);color:#fff;font-size:14px;font-weight:600;line-height:1;white-space:nowrap;backdrop-filter:blur(4px)}
.phb-chip .phb-ico{color:#7ee8d1}
a.phb-chip--store{border-color:#fff;background:#fff;color:#1c3044;text-decoration:none;transition:transform .2s,box-shadow .2s}
a.phb-chip--store:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(0,0,0,.18);color:#0a8a74}
.phb-chip--store img{width:18px;height:18px;border-radius:4px;object-fit:contain}
.phb-chip--store .phb-ico{color:#10b99c}

/* ---- article layout ---- */
.phb-single{padding:28px 0 50px}
.phb-single.has-cover{margin-top:-84px}
.phb-single.has-toc{display:grid;grid-template-columns:260px minmax(0,1fr);gap:40px;align-items:start}
.phb-main{min-width:0}
.phb-wrapper{padding-right:0}
.phb-cover{margin:0 0 8px}
.phb-cover .phb-zoom{border-radius:18px;box-shadow:0 18px 40px rgba(28,48,68,.18)}
.phb-cover img{display:block;width:100%;max-height:520px;object-fit:cover}
.phb-zoom{display:block;overflow:hidden;border-radius:14px;line-height:0}
.phb-zoom img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.phb-zoom:hover img{transform:scale(1.04)}
.phb-content{padding-right:0}
.phb-content h2,.phb-content h3{scroll-margin-top:24px}
.phb-content .phb-zoom{margin:26px 0}
.phb-content p>.phb-zoom:only-child{margin:0}

/* ---- outline with reading progress ---- */
.phb-toc{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto;padding:18px 16px 16px;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(28,48,68,.1);color:#213345;scrollbar-width:thin}
.phb-toc__head{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0 0 12px;padding:0 4px;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:default}
.phb-toc__title{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:800}
.phb-toc__title .phb-ico{color:#10b99c}
.phb-toc__count{flex:none;padding:3px 9px;border-radius:999px;background:#eef6f4;color:#0a8a74;font-size:12px;font-weight:800}
.phb-toc__body{position:relative}
.phb-toc__list,.phb-toc__subs{margin:0;padding:0;list-style:none}
.phb-toc__line{position:absolute;left:15px;top:0;width:2px;height:0;border-radius:2px;background:#e1ebee}
.phb-toc__fill{position:absolute;left:0;top:0;width:100%;height:0;border-radius:2px;background:linear-gradient(#1fd1ae,#0ea486);transition:height .3s cubic-bezier(.25,.8,.35,1)}
.phb-toc__item,.phb-toc__sub,.phb-toc__offer,.phb-toc__finish{position:relative;margin:0;padding:0}
.phb-toc__item::before,.phb-toc__sub::before,.phb-toc__offer::before,.phb-toc__finish::before{display:none}
.phb-toc__item>a{display:flex;align-items:flex-start;gap:12px;padding:8px 6px 8px 4px;border-radius:10px;color:#4b5b69;font-size:14px;font-weight:600;line-height:1.35;text-decoration:none;transition:background .2s,color .2s}
.phb-toc__item>a:hover{background:#f3f8f7;color:#213345}
.phb-toc__item.is-done>a{color:#213345}
.phb-toc__item.is-active>a{color:#0a8a74;font-weight:800}
.phb-toc__text{padding-top:4px}

/* subsections of the part being read; Promo Hunter inserts stay visible */
.phb-toc__sub{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease}
.phb-toc__item.is-open .phb-toc__sub{grid-template-rows:1fr}
.phb-toc__sub>div{min-height:0;overflow:hidden;visibility:hidden;transition:visibility 0s .4s}
.phb-toc__item.is-open .phb-toc__sub>div{visibility:visible;transition-delay:0s}
.phb-toc__sub a{display:flex;align-items:flex-start;gap:19px;padding:5px 6px 5px 11px;border-radius:8px;color:#8796a3;font-size:13px;font-weight:600;line-height:1.35;text-decoration:none;transition:color .25s,background .2s}
.phb-toc__sub a:hover{background:#f3f8f7;color:#213345}
.phb-toc__dot{position:relative;flex:none;width:10px;height:10px;margin-top:3px;border:2px solid #cfdde3;border-radius:50%;background:#fff;transition:border-color .3s,background .3s,transform .3s}
.phb-toc__sub.is-passed a{color:#4b5b69}
.phb-toc__sub.is-passed .phb-toc__dot{border-color:#10b99c;background:#10b99c}
.phb-toc__sub.is-current a{color:#0a8a74}
.phb-toc__sub.is-current .phb-toc__dot{transform:scale(1.25)}

/* gold coins: offers and selections inside the article */
.phb-toc__offer a{display:flex;align-items:center;gap:15px;padding:5px 6px 5px 7px;border-radius:8px;color:#9a7b2c;font-size:13px;font-weight:700;line-height:1.3;text-decoration:none;transition:background .2s,color .3s}
.phb-toc__offer a:hover{background:#fff8e6;color:#7a5c12}
.phb-toc__offer-text{min-width:0;flex:1}
.phb-toc__offer-badge{flex:none;padding:2px 7px;border-radius:999px;background:#fff3cf;color:#8a6410;font-size:11.5px;font-weight:800;white-space:nowrap;transition:background .4s,color .4s}
.phb-gold{position:relative;box-sizing:border-box;display:grid;flex:none;place-items:center;width:18px;height:18px;overflow:hidden;border:2px solid #ecd28a;border-radius:50%;background:#fffaf0;color:#d2aa3c;transition:background .4s,border-color .4s,color .4s,box-shadow .4s}
.phb-gold .phb-ico{width:10px;height:10px;stroke-width:3}
.phb-toc__offer.is-got a{color:#6d5212}
.phb-toc__offer.is-got .phb-gold{border-color:#e0a800;background:radial-gradient(circle at 35% 30%,#fff2b3 0,#ffd54a 38%,#f2b200 70%,#d99600 100%);color:#7a5200;box-shadow:inset 0 -1.5px 0 rgba(140,90,0,.35),0 2px 6px rgba(217,150,0,.35)}
.phb-toc__offer.is-got .phb-toc__offer-badge{background:linear-gradient(135deg,#ffd54a,#f2b200);color:#5c3f00}
/* collecting: the coin jumps and spins on its edge, a light band runs over the gold */
.phb-gold::after{content:"";position:absolute;top:-20%;left:-80%;width:45%;height:140%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.9),transparent);transform:skewX(-20deg);opacity:0}
.phb-toc__offer.is-collect .phb-gold{animation:phb-collect 1.1s cubic-bezier(.3,.7,.3,1)}
.phb-toc__offer.is-collect .phb-gold::after{animation:phb-shine .9s .35s ease-out}
.phb-toc__offer.is-collect .phb-toc__offer-badge{animation:phb-badge .9s .3s ease-out}
@keyframes phb-collect{
  0%{transform:translateY(0) rotateY(0) scale(1)}
  35%{transform:translateY(-6px) rotateY(360deg) scale(1.3)}
  65%{transform:translateY(0) rotateY(720deg) scale(1.05)}
  100%{transform:translateY(0) rotateY(720deg) scale(1)}
}
@keyframes phb-shine{0%{left:-80%;opacity:1}100%{left:130%;opacity:1}}
@keyframes phb-badge{0%{transform:scale(1)}40%{transform:scale(1.15)}100%{transform:scale(1)}}

/* coins: the number side flips over to the tick side */
.phb-coin{position:relative;display:block;flex:none;width:24px;height:24px;perspective:300px}
.phb-coin__inner{position:absolute;inset:0;transform-style:preserve-3d}
.phb-coin__face{position:absolute;inset:0;display:grid;place-items:center;border-radius:50%;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.phb-coin__front{border:2px solid #cfdde3;background:#fff;color:#8796a3;font-size:11px;font-weight:800;box-shadow:inset 0 -2px 0 rgba(28,48,68,.06)}
.phb-toc__item.is-active .phb-coin__front{border-color:#10b99c;color:#0a8a74;box-shadow:0 0 0 4px rgba(16,185,156,.14)}
.phb-coin__back{transform:rotateY(180deg);background:linear-gradient(145deg,#2ee0bc,#0ea486);color:#fff;box-shadow:inset 0 -2px 0 rgba(0,0,0,.15),0 3px 8px rgba(14,164,134,.35)}
.phb-coin__back .phb-ico{width:14px;height:14px;stroke-width:3}
.phb-toc__item.is-done .phb-coin__inner{transform:rotateY(180deg)}
.phb-toc__item.is-flip .phb-coin__inner{animation:phb-flip 1.05s cubic-bezier(.3,.7,.3,1)}
@keyframes phb-flip{
  0%{transform:translateY(0) rotateY(0) scale(1)}
  45%{transform:translateY(-8px) rotateY(380deg) scale(1.22)}
  78%{transform:translateY(0) rotateY(560deg) scale(1)}
  90%{transform:translateY(-1px) rotateY(532deg) scale(1)}
  100%{transform:translateY(0) rotateY(540deg) scale(1)}
}

/* the finish at the end of the line */
.phb-toc__finish{display:flex;align-items:center;gap:12px;padding:8px 6px 2px 4px;color:#8796a3;font-size:14px;font-weight:700}
.phb-toc__flag{display:grid;flex:none;place-items:center;width:24px;height:24px;border:2px dashed #cfdde3;border-radius:50%;background:#fff;color:#a3b1bc;transition:background .5s,border-color .5s,color .5s}
.phb-toc__flag .phb-ico{width:13px;height:13px}
.phb-toc__end--done{display:none}
.phb-toc.is-complete .phb-toc__finish{color:#0a8a74}
.phb-toc.is-complete .phb-toc__flag{border:0;background:linear-gradient(145deg,#2ee0bc,#0ea486);color:#fff}
.phb-toc.is-complete .phb-toc__end{display:none}
.phb-toc.is-complete .phb-toc__end--done{display:inline}

.phb-progress{position:fixed;left:0;top:0;z-index:9999;width:100%;height:3px;pointer-events:none}
.phb-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#1fd1ae,#189ad8);transition:width .15s linear}

/* ---- blog list ---- */
.phb-hero--list{padding:40px 0 52px}
.phb-hero--list .phb-hero__title{font-size:38px}
.phb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:-28px 0 30px;position:relative;z-index:2}
.phb-card{display:flex;flex-direction:column;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(28,48,68,.08);color:#213345;text-decoration:none;transition:transform .25s,box-shadow .25s}
.phb-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(28,48,68,.14)}
.phb-card__img{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#dcebe8}
.phb-card__img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.phb-card:hover .phb-card__img img{transform:scale(1.06)}
.phb-card__noimg{display:grid;place-items:center;width:100%;height:100%;color:#9fb6b2}
.phb-card__noimg .phb-ico{width:40px;height:40px}
.phb-card__body{display:flex;flex:1;flex-direction:column;gap:8px;padding:18px 20px 18px}
.phb-card__store{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#eef6f4;color:#0a8a74;font-size:12px;font-weight:800}
.phb-card__store .phb-ico{width:13px;height:13px}
.phb-card__title{display:block;font-size:19px;line-height:1.3;font-weight:800;transition:color .2s}
.phb-card:hover .phb-card__title{color:#0a8a74}
.phb-card__lede{display:-webkit-box;overflow:hidden;color:#5f6b78;font-size:15px;line-height:1.5;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.phb-card__meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:auto;padding-top:8px;color:#7a8794;font-size:13px;font-weight:600}
.phb-card__meta span{display:inline-flex;align-items:center;gap:5px}
.phb-card__meta .phb-ico{width:15px;height:15px;color:#10b99c}
.phb-card--featured{grid-column:1/-1;flex-direction:row}
.phb-card--featured .phb-card__img{flex:0 0 56%;aspect-ratio:auto;min-height:340px}
.phb-card--featured .phb-card__body{justify-content:center;gap:12px;padding:30px 34px}
.phb-card--featured .phb-card__title{font-size:28px}
.phb-card--featured .phb-card__lede{font-size:16px;-webkit-line-clamp:4}
.phb-card--featured .phb-card__meta{margin-top:6px}
.phb-card--featured .phb-card__img{min-height:300px;max-height:400px}
.phb-pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 40px}
.phb-pagination .page-numbers{display:inline-grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:12px;background:#fff;color:#213345;font-weight:700;text-decoration:none;box-shadow:0 4px 12px rgba(28,48,68,.06)}
.phb-pagination .page-numbers.current{background:#10b99c;color:#fff}
.phb-pagination a.page-numbers:hover{color:#0a8a74}

/* ---- «Материалы о магазине» ---- */
.phb-related .sidebar__header{margin-bottom:0}
.phb-related__list{margin:0;padding:6px 0;list-style:none}
.phb-related__list li{margin:0;padding:0}
.phb-related__list li::before{display:none}
.phb-related__list li+li{border-top:1px solid #eef1f4}
.phb-related__item{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;color:#213345;text-decoration:none;transition:background .2s}
.phb-related__item:hover{background:#f3faf8}
.phb-related__img{display:block;flex:none;width:64px;height:64px;overflow:hidden;border-radius:12px;background:#e6f2f0}
.phb-related__img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.phb-related__item:hover .phb-related__img img{transform:scale(1.08)}
.phb-related__text{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:5px;text-align:left}
.phb-related__title{display:-webkit-box;overflow:hidden;font-size:15px;line-height:1.35;font-weight:700;-webkit-line-clamp:3;-webkit-box-orient:vertical;transition:color .2s}
.phb-related__item:hover .phb-related__title{color:#0a8a74}
.phb-related__meta{display:inline-flex;align-items:center;gap:5px;color:#7a8794;font-size:12.5px;font-weight:600}
.phb-related__meta .phb-ico{width:14px;height:14px;color:#10b99c}

@media (max-width:1000px){
  .phb-single.has-toc{display:block}
  .phb-toc{position:relative;top:auto;max-height:none;margin:0 0 18px;padding:14px 14px 12px}
  .phb-toc__head{margin:0;cursor:pointer}
  .phb-toc__body{display:none}
  .phb-toc.is-open .phb-toc__body{display:block;margin-top:12px}
  .phb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .phb-card--featured{flex-direction:column}
  .phb-card--featured .phb-card__img{flex:none;aspect-ratio:16/9;min-height:0}
  .phb-card--featured .phb-card__body{padding:20px 22px}
}
@media (max-width:640px){
  .phb-hero{padding:22px 0 34px}
  .phb-hero::after{right:-50px;bottom:-30px;width:170px;height:150px}
  .phb-hero.has-cover{padding-bottom:78px}
  .phb-hero__inner{padding:0 10px}
  .phb-hero__title,.phb-hero--list .phb-hero__title{font-size:28px}
  .phb-hero__lede{font-size:16px}
  .phb-chip{height:30px;padding:0 11px;font-size:13px}
  .phb-single{padding:18px 10px 36px}
  .phb-single.has-cover{margin-top:-60px}
  .phb-cover .phb-zoom{border-radius:14px}
  .phb-grid{grid-template-columns:1fr;gap:16px;margin:-24px 10px 24px}
  .phb-card--featured .phb-card__title{font-size:22px}
}
@media (prefers-reduced-motion:reduce){
  .phb-toc__fill,.phb-toc__sub,.phb-zoom img,.phb-card,.phb-card__img img{transition:none}
  .phb-toc__item.is-flip .phb-coin__inner,.phb-toc__offer.is-collect .phb-gold,.phb-toc__offer.is-collect .phb-gold::after,.phb-toc__offer.is-collect .phb-toc__offer-badge{animation:none}
}
