/* LIPHILLA Blog CTA: common presentation; article text untouched. */

/* Liphilla article offers — discreet framed surfaces, matching the site's violet accents. */
.blog-page .lp-offer {
  --lp-ink: #f6f5ff;
  --lp-muted: #b0b2c9;
  --lp-accent: #b2aaff;
  --lp-border: rgba(154, 151, 219, .30);
  --lp-divider: rgba(160, 162, 211, .18);
  color: var(--lp-ink);
  font-family: Manrope, system-ui, sans-serif;
  box-sizing: border-box;
}
.blog-page .lp-offer *,
.blog-page .lp-mobile-cta * { box-sizing: border-box; }
.blog-page .lp-offer a:focus-visible,
.blog-page .lp-mobile-cta a:focus-visible {
  outline: 2px solid #b8b0ff;
  outline-offset: 3px;
}

/* Sidebar: one rounded panel; service links stay clean, without nested cards. */
.blog-page .blog-editorial-aside .lp-offer--side {
  margin: 0;
  padding: 24px 23px 19px;
  border: 1px solid var(--lp-border);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(34, 33, 60, .95) 0%, rgba(18, 19, 35, .97) 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 12, .12);
}
.blog-page .lp-offer--side .lp-offer__title {
  margin: 0 0 6px;
  color: #f9f8ff;
  font: 800 22px/1.25 Manrope, sans-serif;
  letter-spacing: -.035em;
}
.blog-page .lp-offer--side .lp-offer__description {
  margin: 0;
  color: var(--lp-muted);
  font: 500 13px/1.55 Manrope, sans-serif;
}
.blog-page .lp-offer--side .lp-offer__links {
  display: grid;
  margin: 17px 0 0;
  border-top: 1px solid var(--lp-divider);
}
.blog-page .lp-offer--side .lp-offer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 10px;
  min-height: 79px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--lp-divider);
  border-radius: 0;
  background: transparent;
  color: var(--lp-ink);
  text-decoration: none;
  transition: padding .2s ease, background-color .2s ease;
}
.blog-page .lp-offer--side .lp-offer__link:hover {
  padding-left: 7px;
  padding-right: 7px;
  background: rgba(149, 138, 255, .075);
}
.blog-page .lp-offer--side .lp-offer__link-name {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.blog-page .lp-offer--side .lp-offer__link-name strong {
  color: #f6f4ff;
  font: 800 15.5px/1.35 Manrope, sans-serif;
  letter-spacing: -.02em;
}
.blog-page .lp-offer--side .lp-offer__link-name small {
  color: var(--lp-muted);
  font: 500 11.5px/1.45 Manrope, sans-serif;
}
.blog-page .lp-offer--side .lp-offer__link-meta {
  flex: 0 0 auto;
  color: #ffffff;
  font: 800 16px/1.3 Manrope, sans-serif;
  white-space: nowrap;
}
.blog-page .lp-offer--side .lp-offer__note {
  margin: 17px 0 0;
  color: #9095b2;
  font: 500 11px/1.5 Manrope, sans-serif;
}

/* Bottom CTA: soft outline, rounded corners, balanced buttons with external arrows. */
.blog-page .blog-editorial-layout--article .article-body .lp-offer--end {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 38px 0 32px;
  padding: 27px 28px;
  border: 1px solid var(--lp-border);
  border-radius: 23px;
  background: linear-gradient(125deg, rgba(32, 31, 56, .95) 0%, rgba(19, 20, 35, .97) 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 12, .10);
}
.blog-page .blog-editorial-layout--article .article-body .lp-offer--end .lp-offer__title {
  margin: 0 0 7px;
  max-width: 510px;
  color: #f9f8ff;
  font: 800 clamp(21px, 2.45vw, 26px)/1.3 Manrope, sans-serif;
  letter-spacing: -.035em;
}
.blog-page .blog-editorial-layout--article .article-body .lp-offer--end .lp-offer__description {
  margin: 0;
  max-width: 510px;
  color: var(--lp-muted);
  font: 500 12.5px/1.62 Manrope, sans-serif;
}
.blog-page .lp-offer__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 380px;
  padding: 0;
}
.blog-page .lp-offer__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  min-width: 0;
  min-height: 67px;
  padding: 13px 13px 13px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fff;
  font: 700 13px/1.3 Manrope, sans-serif;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.blog-page .lp-offer__action-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: left;
}
.blog-page .lp-offer__action-label {
  min-width: 0;
  font: 800 15px/1.25 Manrope, sans-serif;
  white-space: nowrap;
}
.blog-page .lp-offer__action-price {
  margin: 0;
  font: 800 15px/1.25 Manrope, sans-serif;
  white-space: nowrap;
}
.blog-page .lp-offer__action-icon {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
}
.blog-page .lp-offer__action-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.blog-page .lp-offer__action:hover .lp-offer__action-icon svg { transform: translate(2px, -2px); }
.blog-page .lp-offer__action--primary {
  border-color: rgba(175, 169, 255, .8);
  background: linear-gradient(125deg, #5d50df, #7969ee);
  box-shadow: 0 5px 15px rgba(97, 85, 229, .13);
  color: #fff;
}
.blog-page .lp-offer__action--primary .lp-offer__action-price { color: #ffffff; }
.blog-page .lp-offer__action--primary .lp-offer__action-icon { background: rgba(255, 255, 255, .14); }
.blog-page .lp-offer__action--primary:hover {
  background: linear-gradient(125deg, #6b5fec, #887bfa);
  box-shadow: 0 9px 23px rgba(97, 85, 229, .20);
  transform: translateY(-2px);
}
.blog-page .lp-offer__action--secondary {
  border-color: rgba(163, 157, 222, .34);
  background: rgba(119, 112, 191, .09);
  color: #ffffff;
}
.blog-page .lp-offer__action--secondary .lp-offer__action-price { color: #ffffff; }
.blog-page .lp-offer__action--secondary .lp-offer__action-icon {
  background: rgba(157, 147, 255, .12);
  color: #c9c2ff;
}
.blog-page .lp-offer__action--secondary:hover {
  border-color: rgba(180, 171, 255, .72);
  background: rgba(137, 127, 226, .18);
  transform: translateY(-2px);
}

/* Compact mobile CTA uses the same rounded outline, without a floating overlay. */
.blog-page .blog-mobile-convert.lp-mobile-cta {
  margin: 22px 0 8px;
  padding: 13px;
  border: 1px solid rgba(154, 151, 219, .28);
  border-radius: 17px;
  background: linear-gradient(130deg, rgba(31, 30, 54, .85), rgba(19, 20, 35, .92));
  box-shadow: none;
}
.blog-page .lp-mobile-cta .lp-mobile-cta__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 9px;
  margin: 0;
}
.blog-page .lp-mobile-cta .lp-mobile-cta__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 45px;
  gap: 7px;
  padding: 11px 12px;
  border: 1px solid rgba(158, 153, 221, .26);
  border-radius: 11px;
  background: rgba(154, 144, 250, .07);
  color: #f0efff;
  font: 800 12px/1.25 Manrope, sans-serif;
  text-decoration: none;
}
.blog-page .lp-mobile-cta .lp-mobile-cta__links a:hover {
  border-color: rgba(165, 156, 255, .58);
  background: rgba(154, 144, 250, .13);
}
.blog-page .lp-mobile-cta .lp-mobile-cta__name { min-width: 0; }
.blog-page .lp-mobile-cta .lp-mobile-cta__price {
  margin-left: auto;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .blog-page .blog-editorial-layout--article .article-body .lp-offer--end {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .blog-page .lp-offer__actions { min-width: 0; width: 100%; }
}
@media (max-width: 620px) {
  .blog-page .blog-editorial-layout--article .article-body .lp-offer--end {
    margin: 30px 0 26px;
    padding: 21px 18px;
    border-radius: 19px;
    gap: 16px;
  }
  .blog-page .blog-editorial-layout--article .article-body .lp-offer--end .lp-offer__title { font-size: 21px; }
  .blog-page .lp-offer__actions { grid-template-columns: 1fr; }
  .blog-page .lp-offer__action { width: 100%; min-height: 56px; }
  .blog-page .lp-mobile-cta .lp-mobile-cta__links { grid-template-columns: 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-page .lp-offer__link,
  .blog-page .lp-offer__action,
  .blog-page .lp-offer__action-icon svg { transition: none; }
}

/* The scroll follower runs only on desktop and stays inside the article's bounds. */
@media (min-width: 1081px) {
  .blog-page .blog-editorial-layout--article {
    align-items: start !important;
    overflow: visible !important;
  }
  .blog-page .blog-editorial-layout--article > .blog-editorial-aside {
    position: relative !important;
    top: auto !important;
    align-self: start !important;
    height: max-content;
    z-index: 2;
    will-change: transform;
  }
}

/* Keep the labels and prices readable in all purchase placements. */
.blog-page .lp-offer__action--primary .lp-offer__action-label,
.blog-page .lp-offer__action--secondary .lp-offer__action-label,
.blog-page .lp-offer__action--primary .lp-offer__action-price,
.blog-page .lp-offer__action--secondary .lp-offer__action-price { color: #fff; }
.blog-page .lp-offer--side .lp-offer__link-name strong { color: #fff; }
.blog-page .lp-offer--side .lp-offer__link-meta { color: #eeeaff; }
@media (min-width: 621px) and (max-width: 1230px) {
  .blog-page .lp-offer__actions { min-width: 0; }
  .blog-page .lp-offer__action-label { white-space: normal; }
}
