/* Cloud Editorial — airy magazine shell (body.theme-cloud-editorial) */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Source+Sans+3:wght@400;500;600&display=swap");

body.theme-cloud-editorial {
  --ce-bg: #FCFDFE;
  --ce-ink: #2F3A45;
  --ce-ink-muted: rgba(47, 58, 69, 0.62);
  --ce-accent: #A9C7E8;
  --ce-sky: #DCEEFF;
  --ce-mint: #C7E6E2;
  --ce-wash: #EAF4FF;
  --ce-rule: rgba(169, 199, 232, 0.45);
  --ce-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ce-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--ce-bg);
  color: var(--ce-ink);
  font-family: var(--ce-sans);
}

body.theme-cloud-editorial h1,
body.theme-cloud-editorial h2,
body.theme-cloud-editorial h3,
body.theme-cloud-editorial .logo-text {
  font-family: var(--ce-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

body.theme-cloud-editorial .article-content,
body.theme-cloud-editorial .article-content--html {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ce-ink);
}

/* Density (palette.font_scale → body class) */
body.theme-cloud-editorial.ce-density-compact {
  --ce-pad-section: 1.15rem;
  --ce-pad-card: 0.75rem;
  --ce-gap: 0.7rem;
  --ce-header-y: 0.45rem;
}
body.theme-cloud-editorial.ce-density-balanced {
  --ce-pad-section: 1.75rem;
  --ce-pad-card: 1.05rem;
  --ce-gap: 1rem;
  --ce-header-y: 0.62rem;
}
body.theme-cloud-editorial.ce-density-airy {
  --ce-pad-section: 2.45rem;
  --ce-pad-card: 1.35rem;
  --ce-gap: 1.25rem;
  --ce-header-y: 0.78rem;
}

/* Radius (palette.border_radius) */
body.theme-cloud-editorial.ce-radius-0 .article-card,
body.theme-cloud-editorial.ce-radius-0 .ticker-card,
body.theme-cloud-editorial.ce-radius-0 .btn-primary,
body.theme-cloud-editorial.ce-radius-0 .ce-rail-card,
body.theme-cloud-editorial.ce-radius-0 .pbn-ff-pill,
body.theme-cloud-editorial.ce-radius-0 .pbn-ff-textarea,
body.theme-cloud-editorial.ce-radius-0 .ce-hero__cloud-figure img,
body.theme-cloud-editorial.ce-radius-0 .ce-hero__split-thumb img,
body.theme-cloud-editorial.ce-radius-0 .ce-hero__float-card,
body.theme-cloud-editorial.ce-radius-0 .ce-product-media,
body.theme-cloud-editorial.ce-radius-0 .ce-product-detail,
body.theme-cloud-editorial.ce-radius-0 .insight-box,
body.theme-cloud-editorial.ce-radius-0 .poll-widget {
  border-radius: 0 !important;
}

body.theme-cloud-editorial.ce-radius-8 .article-card,
body.theme-cloud-editorial.ce-radius-8 .ticker-card,
body.theme-cloud-editorial.ce-radius-8 .btn-primary,
body.theme-cloud-editorial.ce-radius-8 .ce-rail-card,
body.theme-cloud-editorial.ce-radius-8 .pbn-ff-pill,
body.theme-cloud-editorial.ce-radius-8 .pbn-ff-textarea,
body.theme-cloud-editorial.ce-radius-8 .ce-hero__cloud-figure img,
body.theme-cloud-editorial.ce-radius-8 .ce-hero__split-thumb img,
body.theme-cloud-editorial.ce-radius-8 .ce-hero__float-card,
body.theme-cloud-editorial.ce-radius-8 .ce-product-media,
body.theme-cloud-editorial.ce-radius-8 .ce-product-detail {
  border-radius: 8px !important;
}

body.theme-cloud-editorial.ce-radius-pill .btn-primary,
body.theme-cloud-editorial.ce-radius-pill .pbn-ff-pill,
body.theme-cloud-editorial.ce-radius-pill .search-btn,
body.theme-cloud-editorial.ce-radius-pill .ce-product-buy,
body.theme-cloud-editorial.ce-radius-pill .pbn-ff-submit {
  border-radius: 999px !important;
}
body.theme-cloud-editorial.ce-radius-pill .article-card,
body.theme-cloud-editorial.ce-radius-pill .ticker-card,
body.theme-cloud-editorial.ce-radius-pill .ce-rail-card,
body.theme-cloud-editorial.ce-radius-pill .ce-hero__float-card,
body.theme-cloud-editorial.ce-radius-pill .ce-product-media,
body.theme-cloud-editorial.ce-radius-pill .ce-product-detail {
  border-radius: 16px !important;
}

/* Sticky header — light, no blur */
body.theme-cloud-editorial .site-header.ce-masthead {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--ce-bg) 96%, transparent);
  border-bottom: 1px solid var(--ce-rule);
}
body.theme-cloud-editorial .ce-masthead__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ce-gap);
  padding: var(--ce-header-y) 16px;
}
body.theme-cloud-editorial .ce-masthead__tagline {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 0.5rem;
  color: var(--ce-ink-muted);
  font-size: 0.8rem;
  font-family: var(--ce-sans);
}
body.theme-cloud-editorial .site-nav.ce-masthead__nav a {
  color: var(--ce-ink);
  text-transform: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.25rem 0.55rem;
  text-decoration: none;
  border-radius: 6px;
}
body.theme-cloud-editorial .site-nav.ce-masthead__nav a:hover {
  background: var(--ce-wash);
}
body.theme-cloud-editorial .ce-nav-toggle {
  background: var(--ce-wash);
  border: 1px solid var(--ce-rule);
  color: var(--ce-ink);
  border-radius: 8px;
}

/* Home shell + sidebar */
body.theme-cloud-editorial .ce-home-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--ce-pad-section) 16px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--ce-gap);
  align-items: start;
}
body.theme-cloud-editorial .ce-home-main > * + * {
  margin-top: var(--ce-pad-section);
}
body.theme-cloud-editorial .ce-home-rail {
  position: sticky;
  top: 4.25rem;
}
@media (max-width: 1020px) {
  body.theme-cloud-editorial .ce-home-shell {
    grid-template-columns: 1fr;
  }
  body.theme-cloud-editorial .ce-home-rail {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ce-gap);
  }
}
@media (max-width: 640px) {
  body.theme-cloud-editorial .ce-home-rail {
    grid-template-columns: 1fr;
  }
}

body.theme-cloud-editorial .ce-rail-card {
  background: var(--ce-wash);
  border: 1px solid var(--ce-rule);
  padding: var(--ce-pad-card);
  margin-bottom: var(--ce-gap);
}
body.theme-cloud-editorial .ce-rail-card h3 {
  font-family: var(--ce-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ce-ink-muted);
  text-transform: none;
  margin-top: 0;
}
body.theme-cloud-editorial .ce-rail-list,
body.theme-cloud-editorial .ce-rail-topics {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}
body.theme-cloud-editorial .ce-rail-empty {
  color: var(--ce-ink-muted);
  font-size: 0.88rem;
}

/* Article grid 3 / 2 / 1 */
body.theme-cloud-editorial .ce-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ce-gap);
}
@media (max-width: 960px) {
  body.theme-cloud-editorial .ce-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  body.theme-cloud-editorial .ce-articles-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-cloud-editorial .article-card {
  border: 1px solid var(--ce-rule);
  background: #fff;
  box-shadow: 0 6px 22px rgba(47, 58, 69, 0.04);
}
body.theme-cloud-editorial .article-card-category {
  font-family: var(--ce-sans);
  color: var(--ce-ink-muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
body.theme-cloud-editorial .article-card-meta {
  color: var(--ce-ink-muted);
  font-size: 0.78rem;
}

/* Softer overlay for default “image + text” cards */
body.theme-cloud-editorial .article-card--with-image::after {
  background: linear-gradient(180deg, rgba(252, 253, 254, 0.02) 0%, rgba(47, 58, 69, 0.38) 100%);
}
body.theme-cloud-editorial .article-card--with-image h3 a,
body.theme-cloud-editorial .article-card--with-image .article-card-excerpt,
body.theme-cloud-editorial .article-card--with-image .article-card-meta,
body.theme-cloud-editorial .article-card--with-image .article-card-category,
body.theme-cloud-editorial .article-card--with-image .article-card-category::before {
  color: #fff;
  text-shadow: 0 1px 2px rgba(47, 58, 69, 0.25);
}
body.theme-cloud-editorial .article-card--with-image .article-card-excerpt {
  background: rgba(252, 253, 254, 0.12);
  border: 1px solid rgba(252, 253, 254, 0.22);
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
}

/* separate-excerpt-zone: text off the photo */
body.theme-cloud-editorial [data-grid-mode="separate-excerpt-zone"] .article-card--with-image .article-card-img {
  position: static;
  height: 52%;
  width: 100%;
  object-fit: cover;
}
body.theme-cloud-editorial [data-grid-mode="separate-excerpt-zone"] .article-card--with-image::after {
  display: none;
}
body.theme-cloud-editorial [data-grid-mode="separate-excerpt-zone"] .article-card--with-image .article-card-body {
  position: static;
  padding: var(--ce-pad-card);
  background: var(--ce-bg);
}
body.theme-cloud-editorial [data-grid-mode="separate-excerpt-zone"] .article-card--with-image h3 a,
body.theme-cloud-editorial [data-grid-mode="separate-excerpt-zone"] .article-card--with-image .article-card-excerpt,
body.theme-cloud-editorial [data-grid-mode="separate-excerpt-zone"] .article-card--with-image .article-card-meta,
body.theme-cloud-editorial [data-grid-mode="separate-excerpt-zone"] .article-card--with-image .article-card-category,
body.theme-cloud-editorial [data-grid-mode="separate-excerpt-zone"] .article-card--with-image .article-card-category::before {
  color: var(--ce-ink);
  text-shadow: none;
}
body.theme-cloud-editorial [data-grid-mode="separate-excerpt-zone"] .article-card .article-card-excerpt {
  background: var(--ce-wash);
  border: none;
  margin-top: 0.65rem;
  padding: 0.65rem 0.75rem;
}

body.theme-cloud-editorial .ce-archive-rail {
  border: 1px solid var(--ce-rule);
  background: var(--ce-wash);
  padding: var(--ce-pad-card);
}
body.theme-cloud-editorial .ce-archive-rail__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
body.theme-cloud-editorial .ce-archive-rail__head h2 {
  font-family: var(--ce-sans);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--ce-ink-muted);
}
body.theme-cloud-editorial .ce-archive-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.theme-cloud-editorial .ce-archive-rail__link {
  display: flex;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--ce-rule);
  text-decoration: none;
  color: inherit;
}
body.theme-cloud-editorial .ce-archive-rail__list li:first-child .ce-archive-rail__link {
  border-top: none;
}
body.theme-cloud-editorial .ce-archive-rail__date {
  font-family: var(--ce-sans);
  font-size: 0.74rem;
  color: var(--ce-ink-muted);
}

/* ── Hero: cloud-cover / airy-split / floating-column ── */
body.theme-cloud-editorial .ce-hero {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 16px var(--ce-pad-section);
}
body.theme-cloud-editorial .ce-hero__eyebrow {
  font-family: var(--ce-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ce-ink-muted);
  margin: 0 0 0.35rem;
}
body.theme-cloud-editorial .ce-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 0.5rem;
  color: var(--ce-ink);
}
body.theme-cloud-editorial .ce-hero__deck {
  font-family: var(--ce-sans);
  color: var(--ce-ink-muted);
  max-width: 40ch;
  margin: 0;
  line-height: 1.55;
}

/* cloud-cover */
body.theme-cloud-editorial .ce-hero--cloud-cover .ce-hero__cloud-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 880px) {
  body.theme-cloud-editorial .ce-hero--cloud-cover .ce-hero__cloud-grid {
    grid-template-columns: 1fr;
  }
}
body.theme-cloud-editorial .ce-hero__cloud-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin-top: 1.1rem;
}
body.theme-cloud-editorial .ce-hero__cta--soft {
  background: var(--ce-sky) !important;
  color: var(--ce-ink) !important;
  border: 1px solid var(--ce-rule) !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
body.theme-cloud-editorial .ce-hero__cta-link {
  font-family: var(--ce-sans);
  font-size: 0.88rem;
  color: var(--ce-ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.theme-cloud-editorial .ce-hero__cloud-visual {
  display: flex;
  justify-content: center;
}
body.theme-cloud-editorial .ce-hero__cloud-figure {
  margin: 0;
  max-width: 420px;
  width: 100%;
}
body.theme-cloud-editorial .ce-hero__cloud-figure img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 320px;
  border: 1px solid var(--ce-rule);
}
body.theme-cloud-editorial .ce-hero__cloud-placeholder {
  width: 100%;
  max-width: 360px;
  min-height: 200px;
  border: 1px dashed var(--ce-rule);
  background: linear-gradient(145deg, var(--ce-wash), var(--ce-sky));
  border-radius: 12px;
}

/* airy-split */
body.theme-cloud-editorial .ce-hero--airy-split .ce-hero__split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-top: 0.5rem;
}
@media (max-width: 900px) {
  body.theme-cloud-editorial .ce-hero--airy-split .ce-hero__split {
    grid-template-columns: 1fr;
  }
}
body.theme-cloud-editorial .ce-hero__split-actions {
  margin-top: 1rem;
}
body.theme-cloud-editorial .ce-hero__split-visual {
  padding-top: 0.25rem;
}
body.theme-cloud-editorial .ce-hero__split-track {
  position: relative;
  min-height: 200px;
}
body.theme-cloud-editorial .ce-hero__split-slide-inner {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--ce-gap);
  align-items: start;
}
@media (max-width: 520px) {
  body.theme-cloud-editorial .ce-hero__split-slide-inner {
    grid-template-columns: 1fr;
  }
}
body.theme-cloud-editorial .ce-hero__split-thumb img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 120px;
  border: 1px solid var(--ce-rule);
}
body.theme-cloud-editorial .ce-hero__split-slide-copy h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}
body.theme-cloud-editorial .ce-hero__split-slide-copy h2 a {
  color: var(--ce-ink);
  text-decoration: none;
}
body.theme-cloud-editorial .ce-hero__split-slide-copy p {
  font-family: var(--ce-sans);
  font-size: 0.9rem;
  color: var(--ce-ink-muted);
  margin: 0;
}
body.theme-cloud-editorial .ce-hero__split-figure {
  margin: 0;
}
body.theme-cloud-editorial .ce-hero__split-figure img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border: 1px solid var(--ce-rule);
}

/* floating-column + variants */
body.theme-cloud-editorial .ce-hero__float-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
body.theme-cloud-editorial .ce-hero--float-v0 .ce-hero__float-wrap {
  max-width: 560px;
}
body.theme-cloud-editorial .ce-hero--float-v1 .ce-hero__float-wrap {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  max-width: 520px;
}
body.theme-cloud-editorial .ce-hero--float-v2 .ce-hero__float-wrap {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  max-width: 520px;
}
body.theme-cloud-editorial .ce-hero__float-note {
  font-family: var(--ce-sans);
  font-size: 0.9rem;
  color: var(--ce-ink-muted);
  margin: 0.75rem auto 0;
  max-width: 42ch;
}
body.theme-cloud-editorial .ce-hero--float-v1 .ce-hero__float-note,
body.theme-cloud-editorial .ce-hero--float-v2 .ce-hero__float-note {
  margin-left: 0;
  margin-right: 0;
}
body.theme-cloud-editorial .ce-hero__float-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: center;
  margin-top: 1rem;
}
body.theme-cloud-editorial .ce-hero--float-v1 .ce-hero__float-cta {
  justify-content: flex-start;
}
body.theme-cloud-editorial .ce-hero--float-v2 .ce-hero__float-cta {
  justify-content: flex-end;
}
body.theme-cloud-editorial .ce-hero__float-below {
  margin-top: 2rem;
  text-align: left;
}
body.theme-cloud-editorial .ce-hero__float-image {
  margin: 2rem auto 0;
  max-width: 480px;
}
body.theme-cloud-editorial .ce-hero__float-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 260px;
  border: 1px solid var(--ce-rule);
}
body.theme-cloud-editorial .ce-hero__float-card {
  border: 1px solid var(--ce-rule);
  background: #fff;
  padding: var(--ce-pad-card);
  max-width: 520px;
  margin: 0 auto;
}
body.theme-cloud-editorial .ce-hero__float-card-img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  display: block;
  margin-bottom: 0.65rem;
  border: 1px solid var(--ce-rule);
}
body.theme-cloud-editorial .ce-hero__float-card-body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}
body.theme-cloud-editorial .ce-hero__float-card-body h2 a {
  color: var(--ce-ink);
  text-decoration: none;
}
body.theme-cloud-editorial .ce-hero__float-card-body p {
  font-family: var(--ce-sans);
  font-size: 0.88rem;
  color: var(--ce-ink-muted);
  margin: 0;
}

/* Reset default hero-slide chrome inside Cloud hero sliders */
body.theme-cloud-editorial .ce-hero--slider .hero-slide {
  display: none;
  padding: 0;
  margin: 0;
  max-width: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  overflow: visible;
}
body.theme-cloud-editorial .ce-hero--slider .hero-slide::before,
body.theme-cloud-editorial .ce-hero--slider .hero-slide::after {
  display: none !important;
}
body.theme-cloud-editorial .ce-hero--slider .hero-slide.is-active {
  display: block;
}
body.theme-cloud-editorial .ce-hero--slider .hero-slide h2 a {
  color: var(--ce-ink);
}

/* Topic sections */
body.theme-cloud-editorial .ce-topic-section .topic-section-head {
  border-bottom: 1px solid var(--ce-rule);
  padding-bottom: 0.35rem;
  margin-bottom: 0.75rem;
}
body.theme-cloud-editorial .ce-topic-section .topic-section-more {
  font-family: var(--ce-sans);
  font-size: 0.86rem;
  color: var(--ce-ink-muted);
}

/* Buttons global tweak */
body.theme-cloud-editorial .btn-primary {
  text-transform: none !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(47, 58, 69, 0.08) !important;
}

/* ── Ticker skins ── */
body.theme-cloud-editorial .ce-ticker--light-ribbon .ticker-cards-grid {
  border: none;
  background: transparent;
  padding: var(--ce-pad-card) 12px;
  gap: var(--ce-gap);
}
body.theme-cloud-editorial .ce-ticker--light-ribbon .ticker-card {
  border: 1px solid var(--ce-rule);
  background: #fff;
  box-shadow: none;
}
body.theme-cloud-editorial .ce-ticker--light-ribbon .ticker-card-body h3 {
  font-family: var(--ce-serif);
}

body.theme-cloud-editorial .ce-ticker--floating-teasers .ticker-wrap--slider {
  background: transparent;
  border: none;
}
body.theme-cloud-editorial .ce-ticker--floating-teasers .ticker-slider-track {
  border: none;
  background: transparent;
  margin: 0 8px 8px;
}
body.theme-cloud-editorial .ce-ticker--floating-teasers .ticker-cards-grid {
  background: transparent;
  gap: calc(var(--ce-gap) + 0.25rem);
}
body.theme-cloud-editorial .ce-ticker--floating-teasers .ticker-card {
  border: 1px solid var(--ce-rule);
  background: var(--ce-wash);
  box-shadow: 0 8px 24px rgba(47, 58, 69, 0.04);
}

body.theme-cloud-editorial .ce-ticker--whisper-line.ticker-wrap--marquee {
  border-bottom: 1px solid var(--ce-rule);
  background: var(--ce-bg);
  padding: 0.35rem 0;
}
body.theme-cloud-editorial .ce-ticker--whisper-line .ticker-content {
  font-family: var(--ce-sans);
  font-size: 0.8rem;
  font-weight: 500;
}
body.theme-cloud-editorial .ce-ticker--whisper-line .ticker-chip {
  border: none;
  background: transparent;
  color: var(--ce-ink-muted);
}
body.theme-cloud-editorial .ce-ticker--whisper-line .ticker-chip:hover {
  color: var(--ce-ink);
}
body.theme-cloud-editorial .ce-ticker--whisper-line .ticker-text__dot {
  opacity: 0.35;
}

/* ── Counters ── */
body.theme-cloud-editorial .ce-counters {
  margin: var(--ce-pad-section) 0;
}
body.theme-cloud-editorial .ce-counters__title {
  font-family: var(--ce-sans);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--ce-ink-muted);
  margin: 0 0 0.85rem;
}

body.theme-cloud-editorial .ce-counters--quiet-inline .ce-counters__quiet-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  padding: var(--ce-pad-card) 0;
  border-top: 1px solid var(--ce-rule);
  border-bottom: 1px solid var(--ce-rule);
}
body.theme-cloud-editorial .ce-counters__quiet-seg {
  text-align: center;
  min-width: 5.5rem;
}
body.theme-cloud-editorial .ce-counters__quiet-val {
  display: block;
  font-family: var(--ce-serif);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  color: var(--ce-ink);
  line-height: 1.05;
}
body.theme-cloud-editorial .ce-counters__quiet-lbl {
  display: block;
  font-family: var(--ce-sans);
  font-size: 0.72rem;
  color: var(--ce-ink-muted);
  margin-top: 0.2rem;
}
body.theme-cloud-editorial .ce-counters__quiet-dot {
  color: var(--ce-accent);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0 0.15rem;
  user-select: none;
}
@media (max-width: 640px) {
  body.theme-cloud-editorial .ce-counters--quiet-inline .ce-counters__quiet-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
  }
  body.theme-cloud-editorial .ce-counters__quiet-dot {
    display: none;
  }
  body.theme-cloud-editorial .ce-counters__quiet-seg {
    text-align: left;
    border-bottom: 1px solid var(--ce-rule);
    padding-bottom: 0.65rem;
  }
  body.theme-cloud-editorial .ce-counters__quiet-seg:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

body.theme-cloud-editorial .ce-counters--floating-metrics .ce-counters__float-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--ce-gap);
}
body.theme-cloud-editorial .ce-counters__float-item {
  text-align: center;
  padding: var(--ce-pad-card) 0.5rem;
  background: var(--ce-wash);
  border: 1px solid var(--ce-rule);
}
body.theme-cloud-editorial .ce-counters__float-val {
  display: block;
  font-family: var(--ce-serif);
  font-size: 2rem;
  color: var(--ce-ink);
}
body.theme-cloud-editorial .ce-counters__float-lbl {
  display: block;
  font-family: var(--ce-sans);
  font-size: 0.74rem;
  color: var(--ce-ink-muted);
  margin-top: 0.25rem;
}
@media (max-width: 520px) {
  body.theme-cloud-editorial .ce-counters--floating-metrics .ce-counters__float-grid {
    grid-template-columns: 1fr;
  }
  body.theme-cloud-editorial .ce-counters__float-item {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
    align-items: baseline;
  }
  body.theme-cloud-editorial .ce-counters__float-val {
    font-size: 1.65rem;
  }
}

body.theme-cloud-editorial .ce-counters--soft-row .ce-counters__soft-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
body.theme-cloud-editorial .ce-counters__soft-cell {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--ce-rule);
}
body.theme-cloud-editorial .ce-counters__soft-cell:last-child {
  border-bottom: none;
}
body.theme-cloud-editorial .ce-counters__soft-val {
  font-family: var(--ce-serif);
  font-size: 1.75rem;
  color: var(--ce-ink);
}
body.theme-cloud-editorial .ce-counters__soft-lbl {
  font-family: var(--ce-sans);
  font-size: 0.82rem;
  color: var(--ce-ink-muted);
  text-align: right;
}
@media (max-width: 560px) {
  body.theme-cloud-editorial .ce-counters--soft-row .ce-counters__soft-cell {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0.35rem;
    background: var(--ce-wash);
    border: 1px solid var(--ce-rule);
    border-bottom: 1px solid var(--ce-rule);
    margin-bottom: 0.5rem;
    border-radius: 8px;
  }
  body.theme-cloud-editorial .ce-counters__soft-lbl {
    text-align: left;
  }
}

/* Footer + shop strip */
body.theme-cloud-editorial .ce-random-products {
  background: var(--ce-wash);
  border-top: 1px solid var(--ce-rule);
  padding: var(--ce-pad-section) 0;
}
body.theme-cloud-editorial .ce-footer {
  background: linear-gradient(180deg, var(--ce-wash) 0%, #F5FAFF 100%);
  color: var(--ce-ink);
  border-top: 1px solid var(--ce-rule);
}
body.theme-cloud-editorial .ce-footer__grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--ce-pad-section) 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ce-gap);
}
@media (max-width: 960px) {
  body.theme-cloud-editorial .ce-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  body.theme-cloud-editorial .ce-footer__grid {
    grid-template-columns: 1fr;
  }
}
body.theme-cloud-editorial .ce-footer h4 {
  font-family: var(--ce-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ce-ink-muted);
  text-transform: none;
}
body.theme-cloud-editorial .ce-footer a {
  color: var(--ce-ink);
  text-decoration: none;
}
body.theme-cloud-editorial .ce-footer a:hover {
  text-decoration: underline;
}
body.theme-cloud-editorial .ce-footer__bottom {
  border-top: 1px solid var(--ce-rule);
  text-align: center;
  font-size: 0.8rem;
  padding: 0.75rem 16px;
  color: var(--ce-ink-muted);
}

body.theme-cloud-editorial .ce-shop-grid {
  display: grid;
  gap: var(--ce-gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  body.theme-cloud-editorial .ce-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  body.theme-cloud-editorial .ce-shop-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-cloud-editorial .ce-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--ce-gap);
}
@media (max-width: 840px) {
  body.theme-cloud-editorial .ce-product-grid {
    grid-template-columns: 1fr;
  }
}
body.theme-cloud-editorial .ce-product-media,
body.theme-cloud-editorial .ce-product-detail {
  border: 1px solid var(--ce-rule);
  background: #fff;
  padding: var(--ce-pad-card);
  box-shadow: 0 6px 18px rgba(47, 58, 69, 0.05);
}
body.theme-cloud-editorial .ce-product-vendor {
  color: var(--ce-ink-muted);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  font-family: var(--ce-sans);
}
body.theme-cloud-editorial .ce-product-buy {
  display: inline-block;
  text-decoration: none;
  background: var(--ce-mint);
  color: var(--ce-ink);
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  border: 1px solid var(--ce-rule);
}

/* Article layout shell */
body.theme-cloud-editorial .ce-page-main {
  padding-top: var(--ce-pad-section);
}

body.theme-cloud-editorial .ce-article-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
body.theme-cloud-editorial .ce-article-main .article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--ce-gap);
}
@media (max-width: 960px) {
  body.theme-cloud-editorial .ce-article-main .article-layout {
    grid-template-columns: 1fr;
  }
}
body.theme-cloud-editorial .ce-article-sidebar .sidebar-widget {
  border: 1px solid var(--ce-rule);
  background: var(--ce-wash);
  padding: var(--ce-pad-card);
}

/* Forms (THEME_FORMS) */
body.theme-cloud-editorial .pbn-fake-form__comment-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}
body.theme-cloud-editorial .pbn-fake-form__comment-row .pbn-ff-inline--grow {
  grid-column: 1 / -1;
}
@media (max-width: 520px) {
  body.theme-cloud-editorial .pbn-fake-form__comment-row {
    grid-template-columns: 1fr;
  }
}

body.theme-cloud-editorial .pbn-ff-pill,
body.theme-cloud-editorial .pbn-ff-textarea {
  border: 1px solid var(--ce-rule) !important;
  background: #fff !important;
}

body.theme-cloud-editorial .subscribe-cta,
body.theme-cloud-editorial .poll-widget,
body.theme-cloud-editorial .insight-box {
  padding: var(--ce-pad-card);
}
