:root {
  --cw-blue: #0d67e6;
  --cw-blue-dark: #0a53bd;
  --cw-cyan: #11b9d4;
  --cw-ink: #101522;
  --cw-text: #343b49;
  --cw-muted: #6c7482;
  --cw-line: #e7ebf1;
  --cw-surface: #f6f8fb;
  --cw-surface-blue: #eef5ff;
  --cw-white: #ffffff;
  --cw-radius-sm: 12px;
  --cw-radius: 22px;
  --cw-shadow: 0 22px 60px rgba(26, 55, 95, 0.08);
  --cw-container: 1180px;
  --cw-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
body {
  margin: 0;
  color: var(--cw-text);
  background: var(--cw-white);
  font-family: var(--cw-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--cw-blue); text-decoration: none; }
a:hover { color: var(--cw-blue-dark); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, h4, h5, h6 {
  color: var(--cw-ink);
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -0.025em;
}
h1 { font-size: 64px; }
h2 { font-size: clamp(2rem, 3vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.cw-container { width: min(calc(100% - 40px), var(--cw-container)); margin-inline: auto; }
.section-pad { padding-block: 76px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  width: auto; height: auto; margin: 0; clip: auto; overflow: visible;
  top: 10px; left: 10px; z-index: 99999; padding: 10px 14px;
  background: #fff; color: #000; border-radius: 8px; box-shadow: var(--cw-shadow);
}

.cw-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.cw-icon svg { width: 1.45em; height: 1.45em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover { transform: translateY(-1px); }
.button-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  color: #fff !important;
  background: var(--cw-blue) !important;
  box-shadow: 0 12px 28px rgba(13, 103, 230, .20);
}
.button-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: var(--cw-blue-dark) !important; }
.button-secondary { color: var(--cw-ink); background: #fff; border-color: #d9dfe8; }
.button-secondary:hover { border-color: var(--cw-blue); color: var(--cw-blue); }
.button-small { min-height: 44px; padding-inline: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.text-link .cw-icon svg { width: 18px; height: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231,235,241,.9);
}
.header-inner { min-height: 96px; display: grid; grid-template-columns: 330px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.site-branding { display: flex; align-items: center; min-width: 0; }
.brand-link { display: inline-flex; align-items: center; }
.brand-link img, .custom-logo { display: block; width: auto; }
.brand-link .custom-logo-link { display: inline-flex; }
.brand-lockup { gap: 12px; color: var(--cw-ink); min-width: 0; }
.brand-lockup:hover { color: var(--cw-ink); }
.brand-mark { width: 74px !important; height: 58px !important; max-width: none !important; max-height: none !important; object-fit: contain; flex: 0 0 auto; }
.brand-wording { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.brand-name { display: block; font-size: 31px; line-height: .96; font-weight: 800; letter-spacing: -1.25px; white-space: nowrap; }
.brand-cloud { color: #05070a; }
.brand-wing { color: #1586e8; background: linear-gradient(90deg, #11bdd4 0%, #1768df 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-slogan { display: block; margin-top: 6px; color: #20242c; font-size: 10.5px; line-height: 1; font-weight: 500; letter-spacing: .08px; white-space: nowrap; }
.primary-navigation { justify-self: center; }
.primary-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 38px; }
.primary-navigation a { color: var(--cw-ink); font-size: .95rem; font-weight: 650; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--cw-blue); }
.primary-navigation .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--cw-line);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--cw-shadow);
}
.primary-navigation li { position: relative; }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: block; }
.primary-navigation .sub-menu li + li { margin-top: 2px; }
.primary-navigation .sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; }
.primary-navigation .sub-menu a:hover { background: var(--cw-surface-blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-action, .menu-toggle {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--cw-ink); border: 0; background: transparent; border-radius: 50%;
}
.header-action:hover, .menu-toggle:hover { color: var(--cw-blue); background: var(--cw-surface-blue); }
.header-action .cw-icon svg, .menu-toggle .cw-icon svg { width: 23px; height: 23px; }
.cart-action { position: relative; }
.cloudwing-cart-count {
  position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--cw-blue); color: #fff; font-size: 11px; font-weight: 800;
}
.menu-toggle { display: none; }
.menu-close-icon { display: none; }

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f5f9ff;
}
.hero-grid {
  min-height: 430px;
  position: relative;
  z-index: 3;
}
.hero-copy {
  width: 520px;
  min-height: 430px;
  padding: 62px 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 4;
  overflow: visible;
}
.eyebrow {
  color: var(--cw-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  margin-bottom: 18px;
  white-space: nowrap;
}
.hero-title {
  width: 540px;
  max-width: none;
  margin-bottom: 22px;
  font-size: 60px;
  line-height: 1.06;
  letter-spacing: -2.2px;
  font-weight: 800;
  white-space: nowrap;
}
.hero-title-primary,
.hero-title-highlight {
  display: block;
  width: max-content;
  min-width: max-content;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none;
}
.hero-title-primary { color: var(--cw-ink); }
.hero-title-highlight { color: var(--cw-blue); }
.hero-intro {
  max-width: 430px;
  font-size: 17px;
  line-height: 1.58;
  color: #303846;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  margin-bottom: 0;
}
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 36%;
  min-height: 430px;
  overflow: hidden;
  background: #eaf4ff;
  z-index: 1;
}
.hero-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #f7fbff 0%,
    rgba(247, 251, 255, .98) 10%,
    rgba(247, 251, 255, .90) 20%,
    rgba(247, 251, 255, .58) 31%,
    rgba(247, 251, 255, .18) 40%,
    rgba(247, 251, 255, 0) 48%
  );
}

.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading-row h2 { margin-bottom: 8px; }
.section-heading-row p { color: var(--cw-muted); margin: 0; }
.product-showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-product-card {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(220px, 1.1fr);
  align-items: center;
  gap: 16px;
  padding: 32px;
  background: linear-gradient(135deg, #f8fafc 0%, #f2f5f9 100%);
  border: 1px solid #eef1f5;
  border-radius: var(--cw-radius);
  overflow: hidden;
}
.product-card-copy { z-index: 1; }
.home-product-card h3 { margin-bottom: 22px; font-size: 1.45rem; }
.home-product-card h3 a { color: var(--cw-ink); }
.feature-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.feature-list li { display: flex; align-items: center; gap: 9px; color: #394150; font-size: .93rem; }
.feature-list .cw-icon { color: var(--cw-blue); }
.feature-list .cw-icon svg { width: 17px; height: 17px; }
.product-card-price { margin-bottom: 18px; color: var(--cw-ink); font-size: 1.35rem; font-weight: 800; }
.product-card-price del { color: var(--cw-muted); font-size: .9rem; font-weight: 500; }
.product-card-price ins { text-decoration: none; }
.product-card-image { display: flex; align-items: center; justify-content: center; min-width: 0; }
.product-card-image img { width: 100%; max-height: 290px; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.home-product-card:hover .product-card-image img { transform: scale(1.035); }
.empty-products-note { padding: 42px; border: 1px dashed #cad2de; border-radius: var(--cw-radius); background: var(--cw-surface); }

.home-journal-section {
  padding: 10px 0 74px;
  background: #fff;
}
.home-journal-heading { margin-bottom: 26px; }
.home-journal-heading .eyebrow {
  margin: 0 0 7px;
  color: var(--cw-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.05px;
  text-transform: uppercase;
}
.home-journal-heading h2 { margin: 0 0 8px; }
.home-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.home-journal-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cw-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(33, 55, 84, .055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-journal-card:hover {
  transform: translateY(-4px);
  border-color: #d2deec;
  box-shadow: 0 20px 44px rgba(33, 55, 84, .10);
}
.home-journal-card-media {
  position: relative;
  height: 230px;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #eef5ff, #f8fbff);
}
.home-journal-thumbnail {
  width: 100%;
  height: 100%;
}
.home-journal-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}
.home-journal-card:hover .home-journal-thumbnail img { transform: scale(1.035); }
.home-journal-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px 22px 22px;
}
.home-journal-card .journal-category-pill {
  min-height: 25px;
  padding: 0 9px;
  font-size: 9px;
  letter-spacing: .45px;
}
.home-journal-card h3 {
  margin: 13px 0 9px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.2px;
}
.home-journal-card h3 a { color: var(--cw-ink); }
.home-journal-card h3 a:hover { color: var(--cw-blue); }
.home-journal-excerpt {
  margin: 0 0 17px;
  color: #687386;
  font-size: 13px;
  line-height: 1.62;
}
.home-journal-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8a94a3;
  font-size: 11px;
  font-weight: 650;
}
.home-journal-empty {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 36px;
  border: 1px dashed #cad6e4;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff, #f3f8ff);
}
.home-journal-empty h3 { margin: 0 0 8px; }
.home-journal-empty p { max-width: 720px; margin: 0; color: var(--cw-muted); }

.values-section { padding-top: 58px; }
.centered-heading { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.centered-heading h2 { margin-bottom: 10px; }
.centered-heading p { color: var(--cw-muted); }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.value-item { padding: 6px 30px 10px; border-right: 1px solid var(--cw-line); }
.value-item:last-child { border-right: 0; }
.value-item > .cw-icon { width: 48px; height: 48px; color: var(--cw-blue); background: var(--cw-surface-blue); border-radius: 50%; margin-bottom: 16px; }
.value-item > .cw-icon svg { width: 25px; height: 25px; }
.value-item h3 { font-size: 1.03rem; margin-bottom: 9px; }
.value-item p { color: var(--cw-muted); font-size: .9rem; margin: 0; }

.newsletter-section { padding: 0 0 34px; }
.newsletter-card {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 26px 34px;
  border-radius: 18px;
  background: linear-gradient(100deg, #eef5ff 0%, #f8fbff 100%);
  border: 1px solid #e3edfb;
}
.newsletter-heading { display: flex; align-items: center; gap: 18px; }
.newsletter-heading > .cw-icon { width: 52px; height: 52px; color: #fff; background: var(--cw-blue); border-radius: 50%; flex: 0 0 auto; }
.newsletter-heading > .cw-icon svg { width: 25px; height: 25px; }
.newsletter-heading h2 { font-size: 1.25rem; margin: 0 0 3px; }
.newsletter-heading p { color: var(--cw-muted); font-size: .9rem; margin: 0; }
.newsletter-form-wrap { min-width: 240px; }
.newsletter-form-wrap form { display: flex; align-items: center; gap: 10px; }
.newsletter-form-wrap input[type="email"] { min-height: 50px; min-width: 270px; border: 1px solid #d8e1ed; border-radius: 10px; padding: 0 14px; background: #fff; }

.site-footer {
  padding: 62px 0 0;
  background: linear-gradient(180deg, #fbfdff 0%, #f7faff 100%);
  border-top: 1px solid var(--cw-line);
}
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.55fr .9fr 1.08fr .9fr .95fr;
  gap: 48px;
  align-items: start;
}
.footer-logo img { width: 210px; }
.footer-brand > p {
  max-width: 330px;
  margin: 22px 0 24px;
  color: var(--cw-muted);
  font-size: .96rem;
  line-height: 1.8;
}
.footer-email-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 290px;
  padding-top: 22px;
  border-top: 1px solid #dfe6ef;
  color: var(--cw-ink);
}
.footer-email-card:hover { color: var(--cw-ink); }
.footer-email-card > .cw-icon {
  width: 48px;
  height: 48px;
  color: var(--cw-blue);
  background: #eaf3ff;
  border: 1px solid #d8e8ff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(13,103,230,.10);
  flex: 0 0 auto;
}
.footer-email-card > .cw-icon svg { width: 24px; height: 24px; }
.footer-email-card span { display: grid; gap: 2px; }
.footer-email-card strong { font-size: .98rem; }
.footer-email-card small { color: var(--cw-blue); font-size: .94rem; font-weight: 700; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dfe5ee;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 14px rgba(25, 48, 82, .08);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.social-links a img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.social-links a:hover {
  border-color: #cbd5e2;
  box-shadow: 0 9px 22px rgba(25, 48, 82, .14);
  transform: translateY(-2px);
}
.footer-column h2 {
  position: relative;
  font-size: 1.04rem;
  margin-bottom: 26px;
  padding-bottom: 14px;
}
.footer-column h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: var(--cw-blue);
}
.footer-column ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-column a { color: #4c5668; font-size: .92rem; }
.footer-column a:hover,
.footer-column a.footer-email-link { color: var(--cw-blue); }
.footer-trust-grid {
  margin-top: 54px;
  padding: 36px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-top: 1px solid #dfe6ef;
  border-bottom: 1px solid #dfe6ef;
}
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 0 28px;
  border-right: 1px solid #dfe6ef;
}
.footer-trust-item:first-child { padding-left: 0; }
.footer-trust-item:last-child { padding-right: 0; border-right: 0; }
.footer-trust-item > .cw-icon {
  width: 52px;
  height: 52px;
  color: var(--cw-blue);
  background: #eaf3ff;
  border-radius: 50%;
  flex: 0 0 auto;
}
.footer-trust-item > .cw-icon svg { width: 27px; height: 27px; }
.footer-trust-item div { display: grid; gap: 4px; }
.footer-trust-item strong { color: var(--cw-ink); font-size: .94rem; }
.footer-trust-item span { color: var(--cw-muted); font-size: .82rem; line-height: 1.5; }
.footer-bottom-wrap { margin-top: 0; background: rgba(255,255,255,.62); }
.footer-bottom {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--cw-muted);
  font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.footer-payment-methods { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.footer-payment-methods span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d9e1ec;
  border-radius: 7px;
  background: #fff;
  color: #344054;
  font-size: .76rem;
  font-weight: 800;
}

.content-layout, .woocommerce-layout { padding-block: 70px; min-height: 55vh; }
.narrow-content { max-width: 860px; }
.entry-header, .archive-header { margin-bottom: 34px; }
.entry-featured { margin-bottom: 34px; border-radius: var(--cw-radius); overflow: hidden; }
.entry-content { font-size: 1.05rem; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content img { border-radius: 14px; }
.entry-meta { color: var(--cw-muted); font-size: .9rem; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.post-card { border: 1px solid var(--cw-line); border-radius: var(--cw-radius); overflow: hidden; background: #fff; }
.post-card-image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card-image img { transform: scale(1.03); }
.post-card-copy { padding: 24px; }
.post-card-copy h2 { font-size: 1.3rem; }
.post-card-copy h2 a { color: var(--cw-ink); }
.navigation.pagination { margin-top: 38px; }
.search-form { display: flex; gap: 10px; max-width: 640px; margin-bottom: 34px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; border: 1px solid var(--cw-line); border-radius: 10px; padding: 0 14px; }
.search-submit { min-height: 48px; border: 0; border-radius: 10px; background: var(--cw-blue); color: #fff; font-weight: 700; padding: 0 20px; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { color: var(--cw-muted); font-size: .86rem; margin-bottom: 24px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--cw-muted); }
.woocommerce div.product { display: flow-root; }
.woocommerce div.product div.images img { border-radius: 16px; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 3vw, 3.4rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--cw-ink); font-weight: 800; }
.woocommerce div.product form.cart .button { min-height: 52px; }
.woocommerce .quantity .qty { min-height: 52px; border: 1px solid var(--cw-line); border-radius: 10px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 18px; border: 1px solid var(--cw-line); border-radius: 16px; background: #fff; }
.woocommerce ul.products li.product a img { border-radius: 12px; background: var(--cw-surface); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--cw-ink); font-size: 1.08rem; }
.woocommerce ul.products li.product .price { color: var(--cw-ink); font-weight: 800; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--cw-blue); background: var(--cw-surface-blue); border-radius: 10px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--cw-blue); }
.woocommerce table.shop_table { border-color: var(--cw-line); border-radius: 14px; overflow: hidden; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single {
  min-height: 48px; border: 1px solid #d9e0e9; border-radius: 10px; padding: 10px 12px; background: #fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 28px; }
.woocommerce-checkout #payment { background: var(--cw-surface); border-radius: 14px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--cw-line); border-radius: 12px; overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; color: var(--cw-ink); border-bottom: 1px solid var(--cw-line); }

/* Prevent Android browser text autosizing from changing the fixed desktop composition. */
.hero-copy,
.hero-title,
.hero-intro,
.hero-actions,
.hero-assurances,
.site-header,
.primary-navigation {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/*
 * Fixed desktop layout on every device.
 * Mobile browsers use the 1280px viewport declared in header.php and scale
 * the complete desktop composition to fit the screen. Pinch zoom remains available.
 */
html, body {
  min-width: 1280px;
}
.cw-container {
  width: var(--cw-container);
  max-width: none;
}


/* Dedicated Shop Page */
.cw-shop-page {
  min-height: 60vh;
  background: var(--cw-white);
}
.shop-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 54px;
  background:
    radial-gradient(circle at 82% 12%, rgba(17,185,212,.13), transparent 28%),
    radial-gradient(circle at 68% 86%, rgba(13,103,230,.10), transparent 30%),
    linear-gradient(135deg, #f5f9ff 0%, #eef6ff 55%, #f8fbff 100%);
  border-bottom: 1px solid #e2ebf7;
}
.shop-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -90px;
  top: -175px;
  border: 1px solid rgba(13,103,230,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(13,103,230,.025), 0 0 0 115px rgba(13,103,230,.018);
}
.shop-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  align-items: end;
  gap: 70px;
}
.shop-hero .woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: #7c8798;
  font-size: 13px;
}
.shop-hero .woocommerce-breadcrumb a { color: #657187; }
.shop-hero .woocommerce-breadcrumb span { padding: 0 9px; color: #a6afbc; }
.shop-hero .eyebrow { margin-bottom: 12px; }
.shop-hero h1 {
  margin: 0 0 17px;
  font-size: 52px;
  letter-spacing: -2px;
}
.shop-hero-description { max-width: 680px; color: #465165; font-size: 17px; }
.shop-hero-description p { margin: 0; }
.cw-product-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(198,211,228,.9);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(33,72,120,.10);
}
.cw-product-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #748095;
  line-height: 0;
}
.cw-product-search-icon svg { width: 20px; height: 20px; }
.cw-product-search input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 48px;
  border: 0;
  outline: 0;
  color: var(--cw-ink);
  background: transparent;
}
.cw-product-search input::placeholder { color: #8a94a5; }
.cw-product-search button {
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--cw-blue);
  font-weight: 750;
  cursor: pointer;
}
.cw-product-search button:hover { background: var(--cw-blue-dark); }

.shop-category-section {
  padding: 34px 0;
  background: #fff;
  border-bottom: 1px solid var(--cw-line);
}
.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.shop-category-card {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  color: var(--cw-text);
  background: #fff;
  border: 1px solid var(--cw-line);
  border-radius: 15px;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.shop-category-card:hover,
.shop-category-card.is-active {
  color: var(--cw-text);
  border-color: #b9d4fb;
  background: var(--cw-surface-blue);
  box-shadow: 0 12px 30px rgba(23,79,145,.07);
  transform: translateY(-1px);
}
.shop-category-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cw-blue);
  background: #eef5ff;
}
.shop-category-card.is-active .shop-category-icon { color: #fff; background: var(--cw-blue); }
.shop-category-icon svg { width: 24px; height: 24px; }
.shop-category-copy { min-width: 0; display: grid; gap: 3px; }
.shop-category-copy strong { color: var(--cw-ink); font-size: 15px; line-height: 1.25; }
.shop-category-copy small { color: var(--cw-muted); font-size: 12px; line-height: 1.35; }

.shop-catalog-section { padding-top: 58px; padding-bottom: 78px; }
.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}
.shop-toolbar-heading h2 { margin-bottom: 8px; font-size: 34px; }
.shop-toolbar-heading p { margin: 0; color: var(--cw-muted); }
.shop-toolbar-controls { display: flex; align-items: center; gap: 18px; }
.shop-result-count .woocommerce-result-count { margin: 0; color: var(--cw-muted); font-size: 14px; white-space: nowrap; }
.shop-ordering .woocommerce-ordering { margin: 0; }
.shop-ordering select {
  min-width: 230px;
  height: 48px;
  padding: 0 42px 0 14px;
  color: var(--cw-ink);
  background: #fff;
  border: 1px solid #dbe2eb;
  border-radius: 10px;
  outline: 0;
}

.woocommerce .shop-catalog-section ul.products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.woocommerce .shop-catalog-section ul.products li.product.cw-shop-product-card {
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e6ebf2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(29,55,91,.045);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.woocommerce .shop-catalog-section ul.products li.product.cw-shop-product-card:hover {
  transform: translateY(-4px);
  border-color: #c8daf3;
  box-shadow: 0 20px 46px rgba(29,66,112,.10);
}
.cw-shop-product-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 290px;
  padding: 26px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafc 0%, #f0f4f8 100%);
}
.woocommerce ul.products li.product .cw-shop-product-image img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  mix-blend-mode: multiply;
  transition: transform .35s ease;
}
.woocommerce ul.products li.product:hover .cw-shop-product-image img { transform: scale(1.035); }
.cw-product-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--cw-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.cw-product-badge-sale { background: #e24a3b; }
.cw-shop-product-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 25px;
}
.cw-shop-product-category { margin-bottom: 9px; color: var(--cw-blue); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .55px; }
.cw-shop-product-category a { color: inherit; }
.woocommerce .shop-catalog-section ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: -.35px;
}
.woocommerce .shop-catalog-section ul.products li.product .woocommerce-loop-product__title a { color: var(--cw-ink); }
.cw-shop-product-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #566174;
  font-size: 14px;
}
.cw-shop-product-feature .cw-icon { color: var(--cw-blue); }
.cw-shop-product-feature svg { width: 16px; height: 16px; }
.cw-shop-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.cw-shop-product-rating .star-rating { margin: 0; color: #efab21; }
.cw-shop-product-rating > span { color: var(--cw-muted); font-size: 12px; }
.cw-shop-product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 19px;
  border-top: 1px solid var(--cw-line);
}
.cw-shop-product-price { color: var(--cw-ink); font-size: 20px; font-weight: 850; line-height: 1.2; }
.cw-shop-product-price del { color: #8d96a5; font-size: 12px; font-weight: 500; }
.cw-shop-product-price ins { text-decoration: none; }
.cw-shop-product-footer .button { flex: 0 0 auto; min-height: 42px; padding: 0 16px; font-size: 13px; }
.shop-pagination { margin-top: 42px; }
.woocommerce .shop-pagination nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; }
.woocommerce .shop-pagination nav.woocommerce-pagination ul li { border: 0; }
.woocommerce .shop-pagination nav.woocommerce-pagination ul li a,
.woocommerce .shop-pagination nav.woocommerce-pagination ul li span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cw-line);
  border-radius: 9px;
  color: var(--cw-ink);
  background: #fff;
}
.woocommerce .shop-pagination nav.woocommerce-pagination ul li span.current,
.woocommerce .shop-pagination nav.woocommerce-pagination ul li a:hover { color: #fff; background: var(--cw-blue); border-color: var(--cw-blue); }
.shop-empty-state {
  padding: 70px 30px;
  text-align: center;
  border: 1px dashed #cbd5e2;
  border-radius: 20px;
  background: #f8fafc;
}
.shop-empty-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--cw-blue);
  background: var(--cw-surface-blue);
}
.shop-empty-icon svg { width: 28px; height: 28px; }
.shop-empty-state h2 { font-size: 28px; }
.shop-empty-state p { color: var(--cw-muted); }


/* CloudWing Journal */
.cloudwing-journal-area { background: #fff; }
.journal-page { overflow: hidden; }
.journal-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 78px;
  background:
    radial-gradient(circle at 15% 15%, rgba(17,185,212,.14), transparent 32%),
    radial-gradient(circle at 88% 25%, rgba(13,103,230,.13), transparent 31%),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 55%, #f8fbff 100%);
  border-bottom: 1px solid #e8eef6;
}
.journal-hero::before,
.journal-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.journal-hero::before {
  width: 330px;
  height: 330px;
  top: -210px;
  left: 8%;
  border: 1px solid rgba(13,103,230,.12);
  box-shadow: 0 0 0 42px rgba(13,103,230,.025), 0 0 0 88px rgba(17,185,212,.02);
}
.journal-hero::after {
  width: 250px;
  height: 250px;
  right: 7%;
  bottom: -190px;
  background: linear-gradient(135deg, rgba(17,185,212,.10), rgba(13,103,230,.04));
}
.journal-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}
.journal-hero .eyebrow { margin-bottom: 14px; }
.journal-hero h1 {
  margin-bottom: 18px;
  font-size: 58px;
  font-weight: 850;
  letter-spacing: -2.1px;
}
.journal-hero-inner > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: #536072;
  font-size: 18px;
  line-height: 1.7;
}
.journal-search-form {
  position: relative;
  width: 680px;
  max-width: 100%;
  min-height: 58px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dbe5f1;
  border-radius: 15px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 48px rgba(40,75,115,.10);
}
.journal-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7b8796;
}
.journal-search-icon .cw-icon svg { width: 22px; height: 22px; }
.journal-search-form input[type="search"] {
  width: 100%;
  min-height: 56px;
  padding: 0 12px 0 0;
  color: var(--cw-ink);
  border: 0;
  outline: 0;
  background: transparent;
}
.journal-search-form input[type="search"]::placeholder { color: #98a2b1; }
.journal-search-form button {
  align-self: stretch;
  min-width: 112px;
  padding: 0 24px;
  border: 0;
  color: #fff;
  background: var(--cw-blue);
  font-weight: 800;
  cursor: pointer;
}
.journal-search-form button:hover { background: var(--cw-blue-dark); }

.journal-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.journal-section-heading h2 { margin: 0; font-size: 38px; }
.journal-section-kicker {
  margin: 0 0 8px;
  color: var(--cw-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}
.journal-section-heading-centered {
  justify-content: center;
  text-align: center;
}
.journal-section-heading-centered > div { max-width: 720px; }
.journal-section-heading-centered p:last-child { margin: 12px 0 0; color: var(--cw-muted); }

.journal-featured-section { background: #fff; }
.journal-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(330px, .92fr);
  gap: 24px;
  align-items: stretch;
}
.journal-feature-main,
.journal-feature-small,
.journal-article-card {
  border: 1px solid var(--cw-line);
  background: #fff;
  box-shadow: 0 16px 46px rgba(36,58,88,.055);
}
.journal-feature-main {
  display: grid;
  grid-template-rows: 420px auto;
  overflow: hidden;
  border-radius: 24px;
}
.journal-feature-main-media,
.journal-article-card-media,
.journal-feature-small-media { display: block; overflow: hidden; }
.journal-thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #eef5ff, #f7fbff);
}
.journal-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  transition: transform .45s ease;
}
.journal-feature-main:hover .journal-thumbnail > img,
.journal-feature-small:hover .journal-thumbnail > img,
.journal-article-card:hover .journal-thumbnail > img { transform: scale(1.035); }
.journal-thumbnail-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #66758a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 25% 25%, rgba(17,185,212,.18), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(13,103,230,.16), transparent 38%),
    linear-gradient(135deg, #f7fbff, #eaf3ff);
}
.journal-thumbnail-placeholder::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(13,103,230,.10);
  border-radius: 18px;
}
.journal-thumbnail-placeholder img {
  width: 108px;
  height: 84px;
  object-fit: contain;
  opacity: .92;
}
.journal-thumbnail-placeholder span { position: relative; z-index: 1; }
.journal-feature-main-copy { padding: 30px 32px 32px; }
.journal-feature-main-copy h3 { margin: 15px 0 13px; font-size: 32px; line-height: 1.17; }
.journal-feature-main-copy h3 a,
.journal-feature-small h3 a,
.journal-article-card h2 a { color: var(--cw-ink); }
.journal-feature-main-copy h3 a:hover,
.journal-feature-small h3 a:hover,
.journal-article-card h2 a:hover { color: var(--cw-blue); }
.journal-feature-main-copy > p { color: #596476; margin-bottom: 20px; }
.journal-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #7a8492;
  font-size: 12px;
  font-weight: 650;
}
.journal-category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--cw-blue);
  background: #eaf3ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .2px;
}
.journal-category-pill:hover { color: #fff; background: var(--cw-blue); }
.journal-read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cw-blue);
  font-size: 13px;
  font-weight: 850;
}
.journal-read-link .cw-icon svg { width: 17px; height: 17px; }
.journal-feature-side {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.journal-feature-small {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  gap: 18px;
  min-height: 156px;
  padding: 14px;
  border-radius: 18px;
  overflow: hidden;
}
.journal-feature-small-media { border-radius: 12px; min-height: 126px; background: #fff; }
.journal-feature-small > div { align-self: center; min-width: 0; }
.journal-small-category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--cw-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .65px;
  text-transform: uppercase;
}
.journal-feature-small h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.32;
  letter-spacing: -.25px;
}
.journal-small-meta { margin: 0; color: #8b94a1; font-size: 11px; }

.journal-categories-section {
  padding: 72px 0 78px;
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #e8edf4;
  background: #f8fafc;
}
.journal-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 15px;
}
.journal-category-card {
  position: relative;
  min-height: 214px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--cw-text);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(35,55,80,.04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.journal-category-card:hover {
  color: var(--cw-text);
  transform: translateY(-4px);
  border-color: rgba(13,103,230,.28);
  box-shadow: 0 18px 42px rgba(28,60,100,.09);
}
.journal-category-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cw-blue);
  border-radius: 14px;
  background: linear-gradient(135deg, #edf5ff, #e8f8fb);
}
.journal-category-icon .cw-icon svg { width: 24px; height: 24px; }
.journal-category-card-copy { display: grid; gap: 9px; }
.journal-category-card-copy strong { color: var(--cw-ink); font-size: 17px; }
.journal-category-card-copy small { color: var(--cw-muted); font-size: 12px; line-height: 1.55; }
.journal-category-count {
  position: absolute;
  top: 20px;
  right: 18px;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #6e7b8d;
  border-radius: 999px;
  background: #f2f5f8;
  font-size: 11px;
  font-weight: 800;
}

.journal-latest-section { background: #fff; }
.journal-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.journal-article-card {
  min-height: 510px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.journal-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(34,58,90,.09);
}
.journal-article-card-media { height: 240px; flex: 0 0 auto; background: #fff; }
.journal-article-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 25px 26px;
}
.journal-article-card h2 {
  margin: 15px 0 11px;
  font-size: 22px;
  line-height: 1.25;
}
.journal-article-card-copy > p { color: #657082; font-size: 14px; line-height: 1.65; }
.journal-article-card-copy .journal-read-link { margin-top: auto; padding-top: 8px; }
.journal-latest-section .navigation.pagination,
.journal-archive-page .navigation.pagination {
  margin-top: 42px;
}
.journal-latest-section .nav-links,
.journal-archive-page .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.journal-latest-section .page-numbers,
.journal-archive-page .page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: var(--cw-ink);
  border: 1px solid var(--cw-line);
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
  font-weight: 750;
}
.journal-latest-section .page-numbers.current,
.journal-latest-section .page-numbers:hover,
.journal-archive-page .page-numbers.current,
.journal-archive-page .page-numbers:hover {
  color: #fff;
  border-color: var(--cw-blue);
  background: var(--cw-blue);
}
.journal-empty-state {
  padding: 70px 40px;
  text-align: center;
  border: 1px dashed #cbd7e4;
  border-radius: 22px;
  background: #f8fbff;
}
.journal-empty-state > span {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--cw-blue);
  border-radius: 50%;
  background: #e9f3ff;
}
.journal-empty-state > span .cw-icon svg { width: 28px; height: 28px; }
.journal-empty-state h2,
.journal-empty-state h3 { margin-bottom: 10px; }
.journal-empty-state p { max-width: 620px; margin: 0 auto 22px; color: var(--cw-muted); }

.journal-newsletter-section { padding: 0 0 78px; background: #fff; }
.journal-newsletter-card {
  min-height: 240px;
  display: grid;
  grid-template-columns: 90px minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 44px 48px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 93% 10%, rgba(255,255,255,.17), transparent 23%),
    linear-gradient(120deg, #0b58c8, #0c73e9 56%, #0ea8c5);
  box-shadow: 0 24px 60px rgba(13,103,230,.20);
}
.journal-newsletter-icon {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 22px;
  background: rgba(255,255,255,.13);
}
.journal-newsletter-icon .cw-icon svg { width: 35px; height: 35px; }
.journal-newsletter-copy h2 { margin: 0 0 10px; color: #fff; font-size: 34px; }
.journal-newsletter-copy p:last-child { max-width: 620px; margin: 0; color: rgba(255,255,255,.82); }
.journal-newsletter-card .journal-section-kicker { color: #bceaf5; }
.journal-newsletter-action .button-primary {
  color: var(--cw-blue) !important;
  background: #fff !important;
  box-shadow: none;
}
.journal-newsletter-action .button-primary:hover { color: var(--cw-blue-dark) !important; background: #f3f8ff !important; }
.journal-newsletter-action form { display: flex; gap: 10px; }
.journal-newsletter-action input[type="email"] {
  min-width: 250px;
  min-height: 50px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
}

/* Journal archive */
.journal-archive-hero {
  padding: 66px 0 58px;
  border-bottom: 1px solid #e6edf5;
  background: linear-gradient(135deg, #f7fbff, #edf5ff);
}
.journal-archive-hero h1 { margin: 10px 0 0; font-size: 48px; }
.journal-archive-description { max-width: 720px; margin-top: 15px; color: var(--cw-muted); }
.journal-archive-description p { margin: 0; }
.journal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #8792a1;
  font-size: 12px;
  font-weight: 700;
}
.journal-breadcrumb a { color: #667386; }
.journal-breadcrumb a:hover { color: var(--cw-blue); }

/* Single Journal article */
.journal-single-header {
  padding: 58px 0 56px;
  border-bottom: 1px solid #e5ecf4;
  background:
    radial-gradient(circle at 86% 12%, rgba(13,103,230,.11), transparent 28%),
    linear-gradient(135deg, #fbfdff, #f0f6ff);
}
.journal-single-header-inner { max-width: 900px; text-align: center; }
.journal-single-header .journal-breadcrumb { justify-content: center; margin-bottom: 22px; }
.journal-single-header .journal-category-pill { margin-bottom: 18px; }
.journal-single-header h1 {
  margin: 0 auto 19px;
  max-width: 920px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1.8px;
}
.journal-single-deck {
  max-width: 760px;
  margin: 0 auto 22px;
  color: #596577;
  font-size: 18px;
  line-height: 1.65;
}
.journal-single-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: #7b8696;
  font-size: 12px;
  font-weight: 700;
}
.journal-single-body { max-width: 920px; padding: 52px 0 76px; }
.journal-single-featured {
  margin-bottom: 46px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 22px 58px rgba(30,55,88,.12);
}
.journal-single-featured img { width: 100%; display: block; }
.journal-single-content {
  width: 760px;
  max-width: 100%;
  margin: 0 auto;
  color: #2f3744;
  font-size: 18px;
  line-height: 1.82;
}
.journal-single-content h2 { margin-top: 2.1em; font-size: 34px; }
.journal-single-content h3 { margin-top: 1.8em; font-size: 25px; }
.journal-single-content blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--cw-blue);
  border-radius: 0 14px 14px 0;
  color: #334155;
  background: #f1f6fd;
}
.journal-single-content blockquote p:last-child { margin-bottom: 0; }
.journal-single-content ul,
.journal-single-content ol { padding-left: 1.3em; }
.journal-single-content a { text-decoration: underline; text-underline-offset: 3px; }
.journal-single-content .wp-block-image { margin-block: 34px; }
.journal-single-content .wp-block-image img { border-radius: 18px; }
.journal-single-footer {
  width: 760px;
  max-width: 100%;
  margin: 48px auto 0;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--cw-line);
}
.journal-single-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.journal-single-tags a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  color: #5b6778;
  border: 1px solid #dfe5ed;
  border-radius: 999px;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 750;
}
.journal-post-navigation {
  width: 760px;
  max-width: 100%;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.journal-post-navigation > div {
  min-height: 110px;
  padding: 20px;
  border: 1px solid var(--cw-line);
  border-radius: 15px;
  background: #fff;
}
.journal-post-navigation > div:last-child { text-align: right; }
.journal-post-navigation span { display: block; margin-bottom: 7px; color: #8a94a2; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.journal-post-navigation strong { font-size: 14px; line-height: 1.4; }
.journal-post-navigation strong a { color: var(--cw-ink); }
.journal-post-navigation strong a:hover { color: var(--cw-blue); }
.journal-related-section {
  padding: 72px 0 78px;
  border-top: 1px solid #e6ecf3;
  background: #f8fafc;
}

.journal-featured-grid.is-single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.journal-feature-side { display: flex; flex-direction: column; }
.journal-feature-small { flex: 1 1 0; }
.journal-pagination .nav-links > ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.journal-search-form-results { margin: 0 0 38px; }



/* v1.2.5 — complete-image Journal thumbnails.
   All uploaded editorial artwork is displayed in full. The fixed card frame
   remains consistent; any spare space becomes a subtle neutral background. */
.home-journal-card-media,
.journal-feature-main-media,
.journal-feature-small-media,
.journal-article-card-media {
  background: linear-gradient(135deg, #eef5ff 0%, #f8fbff 100%);
}

.home-journal-card-media .journal-thumbnail,
.journal-feature-main-media .journal-thumbnail,
.journal-feature-small-media .journal-thumbnail,
.journal-article-card-media .journal-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 14px;
  background: transparent;
}

.home-journal-card-media .journal-thumbnail img,
.journal-feature-main-media .journal-thumbnail img,
.journal-feature-small-media .journal-thumbnail img,
.journal-article-card-media .journal-thumbnail img,
.journal-thumbnail.fit-contain img,
.journal-thumbnail.fit-cover img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

.home-journal-card:hover .journal-thumbnail img,
.journal-feature-main:hover .journal-thumbnail img,
.journal-feature-small:hover .journal-thumbnail img,
.journal-article-card:hover .journal-thumbnail img {
  transform: none !important;
}

.home-journal-card-media { height: 250px; }
.journal-feature-main { grid-template-rows: 420px auto; }
.journal-article-card-media { height: 250px; flex: 0 0 auto; }
.journal-feature-small-media { background: #f8fbff; }

/* One Featured article: compact side-by-side editorial card. */
.journal-featured-grid.is-single {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
}
.journal-featured-grid.is-single .journal-feature-main {
  min-height: 420px;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, .85fr);
  grid-template-rows: 420px;
}
.journal-featured-grid.is-single .journal-feature-main-media {
  min-width: 0;
  height: 420px;
  border-right: 1px solid var(--cw-line);
}
.journal-featured-grid.is-single .journal-feature-main-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 38px 40px;
}
.journal-featured-grid.is-single .journal-feature-main-copy h3 { font-size: 30px; }

@media (max-width: 980px) {
  .journal-featured-grid.is-single .journal-feature-main {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .journal-featured-grid.is-single .journal-feature-main-media {
    height: auto;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--cw-line);
  }
  .journal-featured-grid.is-single .journal-feature-main-copy {
    padding: 28px 30px 32px;
  }
}
