/* Utopia marketing / demo enhancements 2026-07 */
.utopia-home-demo-strip {
  background: linear-gradient(90deg, #0f172a 0%, #134e4a 100%);
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.utopia-home-demo-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 12px 0;
  font-size: .95rem;
}
.utopia-home-demo-strip__label {
  font-weight: 700;
  color: #99f6e4;
}
.utopia-home-demo-strip__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}
.utopia-home-demo-strip__links a {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
}
.utopia-home-demo-strip__links a:hover { color: #5eead4; }
.utopia-home-demo-strip__all {
  color: #5eead4 !important;
}
.utopia-front-demos {
  padding: 56px 0 48px;
  background: #fff;
}
.utopia-front-demos__sub {
  text-align: center;
  color: #64748b;
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.utopia-front-demos__hub {
  text-align: center;
  margin: 2rem 0 0;
}
.utopia-front-demos__hub-link {
  font-weight: 700;
  color: var(--utopia-primary, #0d9488);
  text-decoration: none;
}
.utopia-front-demos__hub-link:hover { text-decoration: underline; }

.utopia-demo-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0f172a;
  color: #e2e8f0;
  padding: 10px 16px;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.utopia-demo-bar a { color: #93c5fd; text-decoration: none; font-weight: 600; }
.utopia-demo-bar a:hover { color: #fff; }

.utopia-demo-hero {
  display: grid;
  gap: 1.5rem;
  margin: 0 0 2.5rem;
}
.utopia-demo-hero__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .utopia-demo-hero__grid { grid-template-columns: 1fr; }
}
.utopia-demo-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.utopia-demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
}
.utopia-demo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.utopia-demo-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.utopia-demo-card__body h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.utopia-demo-card__body p { margin: 0 0 1rem; color: #64748b; line-height: 1.6; }
.utopia-demo-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #2563eb;
  color: #fff !important;
  padding: .65rem 1rem;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: .95rem;
}

/* Compare 2026 */
.utopia-compare-wrap {
  max-width: 1080px;
  margin: 0 auto;
}
.utopia-compare-hero {
  text-align: center;
  padding: 1rem 0 2rem;
}
.utopia-compare-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .75rem; }
.utopia-compare-hero p { color: #64748b; font-size: 1.05rem; max-width: 40rem; margin: 0 auto; }
.utopia-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (max-width: 800px) {
  .utopia-compare-grid { grid-template-columns: 1fr; }
}
.utopia-plan {
  position: relative;
  border-radius: 24px;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.utopia-plan--featured {
  background: linear-gradient(165deg, #0f172a 0%, #1e3a8a 100%);
  color: #f8fafc;
  border: none;
  transform: scale(1.02);
}
.utopia-plan--featured .utopia-plan__price,
.utopia-plan--featured li { color: #e2e8f0; }
.utopia-plan__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f59e0b;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 999px;
}
.utopia-plan h2 { margin: 0 0 .35rem; font-size: 1.5rem; }
.utopia-plan__tag { opacity: .8; margin-bottom: 1rem; font-size: .95rem; }
.utopia-plan__price { font-size: 2rem; font-weight: 800; margin: .5rem 0; letter-spacing: -0.02em; }
.utopia-plan__price small { font-size: .95rem; font-weight: 500; opacity: .8; }
.utopia-plan ul { list-style: none; padding: 0; margin: 1.25rem 0; }
.utopia-plan li {
  padding: .55rem 0 .55rem 1.6rem;
  position: relative;
  border-top: 1px solid rgba(148, 163, 184, .25);
}
.utopia-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}
.utopia-plan--featured li::before { color: #4ade80; }
.utopia-plan__btn {
  display: block;
  text-align: center;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
}
.utopia-plan--featured .utopia-plan__btn {
  background: #f8fafc;
  color: #0f172a !important;
}
.utopia-billing {
  margin: 2.5rem 0 1rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.utopia-billing table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.utopia-billing th,
.utopia-billing td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.utopia-billing th { background: #f8fafc; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: #64748b; }
.utopia-billing tr:last-child td { border-bottom: none; }

/* Cases */
.utopia-case {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2.5rem 0;
  padding: 1.25rem;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
@media (max-width: 800px) {
  .utopia-case { grid-template-columns: 1fr; }
}
.utopia-case img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 12px 30px rgba(15,23,42,.12);
}

/* Video tour — large screenshot cards (readable) */
.utopia-tour {
  display: grid;
  gap: 2rem;
  margin: 2rem 0 2.5rem;
}
.utopia-tour-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}
.utopia-tour-step__media {
  background: #0f172a;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.utopia-tour-step__media img,
.utopia-tour-step > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 0;
}
.utopia-tour-step__body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.utopia-tour-step__body p {
  margin: .5rem 0 0;
  color: #64748b;
  line-height: 1.7;
}
.utopia-tour-step__num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-right: .4rem;
}
.utopia-tour-hero {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.utopia-tour-hero p {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.8;
}
.utopia-tour-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

/* Wider marketing / demo pages (match features-grid comfort width) */
body.utopia-marketing-wide .page-content,
body.utopia-demo-preview .page-content,
body.utopia-marketing-wide .page-content .entry-content,
body.utopia-demo-preview .page-content .entry-content,
.page-content.page-content--custom-width {
  max-width: min(100% - 32px, 1200px) !important;
  width: 100%;
  box-sizing: border-box;
}
/* Interactive demos: full viewport width (override 1200px column) */
body.utopia-idemo-active.utopia-marketing-wide .page-content,
body.utopia-idemo-active.utopia-demo-preview .page-content,
body.utopia-idemo-active.utopia-marketing-wide .page-content .entry-content,
body.utopia-idemo-active.utopia-demo-preview .page-content .entry-content,
body.utopia-idemo-active .page-content.page-content--custom-width,
body.utopia-idemo-active.utopia-marketing-wide main.utopia-container,
body.utopia-idemo-active.utopia-demo-preview main.utopia-container {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.utopia-marketing-wide main.utopia-container,
body.utopia-demo-preview main.utopia-container {
  max-width: min(100% - 32px, 1200px);
}
/* Demo preview: keep blog/LP chrome readable at full marketing width */
body.utopia-demo-preview.utopia-site-blog .page-content,
body.utopia-demo-preview.utopia-site-lp .page-content,
body.utopia-demo-preview.utopia-site-lp-pro .page-content {
  max-width: min(100% - 32px, 1200px) !important;
}
body.utopia-idemo-active.utopia-demo-preview.utopia-site-blog .page-content,
body.utopia-idemo-active.utopia-demo-preview.utopia-site-lp .page-content,
body.utopia-idemo-active.utopia-demo-preview.utopia-site-lp-pro .page-content,
body.utopia-idemo-active.utopia-demo-preview.utopia-site-corporate .page-content {
  max-width: none !important;
  width: 100% !important;
}
body.utopia-demo-preview .utopia-demo-hero img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
/* Ensure demo/tour titles stay visible even if hide-heading CSS is cached */
body.utopia-marketing-wide .entry-content h1,
body.utopia-demo-preview .entry-content h1,
body.utopia-marketing-wide .utopia-demo-mini h1,
body.utopia-demo-preview .utopia-demo-mini h1 {
  display: block !important;
}
.utopia-demo-mini {
  display: grid;
  gap: 2.75rem;
}
.utopia-demo-mini h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 1rem;
}
.utopia-demo-mini__lead {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 48rem;
  margin: 0 0 1.25rem;
}
.utopia-demo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.utopia-demo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.utopia-demo-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .utopia-demo-grid-2,
  .utopia-demo-grid-3,
  .utopia-demo-grid-4 { grid-template-columns: 1fr; }
}
.utopia-demo-pill {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.utopia-demo-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: .85rem 1.1rem;
  margin: 0 0 .65rem;
  background: #fff;
}
.utopia-demo-faq summary {
  cursor: pointer;
  font-weight: 650;
}
.utopia-demo-faq p {
  margin: .65rem 0 0;
  color: #64748b;
  line-height: 1.7;
}
.utopia-demo-cta-band {
  margin: 1rem 0 0;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #f8fafc;
  text-align: center;
}
.utopia-demo-cta-band p { color: #cbd5e1; margin: .5rem auto 1.1rem; max-width: 36rem; }
.utopia-demo-price {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem;
  background: #fff;
  text-align: center;
}
.utopia-demo-price strong { display: block; font-size: 1.75rem; margin: .35rem 0; color: #0f172a; }
.utopia-demo-post {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.utopia-demo-post__meta {
  font-size: .8rem;
  color: #94a3b8;
  margin-bottom: .35rem;
}
.utopia-demo-team {
  text-align: center;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
}
.utopia-demo-team__avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  margin: 0 auto .75rem;
  background: linear-gradient(135deg, #67e8f9, #2563eb);
}
.utopia-demo-section {
  margin: 2.5rem 0;
  padding: 1.75rem;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.utopia-demo-section h2 {
  margin-top: 0;
}
.utopia-demo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  text-align: center;
}
@media (max-width: 768px) {
  .utopia-demo-stats { grid-template-columns: repeat(2, 1fr); }
}
.utopia-demo-stats strong {
  display: block;
  font-size: 1.75rem;
  color: #2563eb;
}
.utopia-demo-quote {
  border-left: 4px solid #2563eb;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: #fff;
  border-radius: 0 12px 12px 0;
  color: #334155;
}

/* ============================================================
   Marketing 2026 — modern product UI (teal / navy, not purple-AI)
   ============================================================ */
body.utopia-marketing-wide .page-content article {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
body.utopia-marketing-wide .entry-content > .utopia-mkt,
body.utopia-marketing-wide .entry-content > .utopia-demo-mini {
  max-width: 100%;
}

.utopia-mkt {
  display: grid;
  gap: 2.5rem;
}
.utopia-mkt-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.25rem);
  color: #f8fafc;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(34, 211, 238, .35), transparent 55%),
    radial-gradient(700px 380px at 90% 10%, rgba(14, 165, 233, .28), transparent 50%),
    linear-gradient(145deg, #0b1220 0%, #0f2744 48%, #083344 100%);
}
.utopia-mkt-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(56, 189, 248, .18), transparent 65%);
  pointer-events: none;
}
.utopia-mkt-hero > * { position: relative; z-index: 1; }
.utopia-mkt-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.utopia-mkt-hero h1 {
  margin: 0 0 .85rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.utopia-mkt-hero p {
  margin: 0;
  max-width: 40rem;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
}
.utopia-mkt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.utopia-mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.utopia-mkt-btn:hover { transform: translateY(-2px); }
.utopia-mkt-btn--primary {
  background: #22d3ee;
  color: #082f49 !important;
  box-shadow: 0 10px 30px rgba(34, 211, 238, .35);
}
.utopia-mkt-btn--ghost {
  background: rgba(255,255,255,.08);
  color: #f8fafc !important;
  border: 1px solid rgba(255,255,255,.2);
}

.utopia-mkt-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.utopia-mkt-tile {
  grid-column: span 4;
  border-radius: 22px;
  padding: 1.35rem 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .05);
  overflow: hidden;
}
.utopia-mkt-tile--wide { grid-column: span 8; }
.utopia-mkt-tile--full { grid-column: span 12; }
.utopia-mkt-tile--dark {
  background: linear-gradient(160deg, #0f172a, #164e63);
  color: #f8fafc;
  border: none;
}
.utopia-mkt-tile--dark p { color: #cbd5e1; }
.utopia-mkt-tile h2,
.utopia-mkt-tile h3 {
  margin: 0 0 .55rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.utopia-mkt-tile p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}
.utopia-mkt-tile__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: .9rem;
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  color: #0e7490;
  font-size: 1.15rem;
  font-weight: 800;
}
.utopia-mkt-tile img {
  width: 100%;
  border-radius: 14px;
  display: block;
  margin-top: 1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
}
@media (max-width: 900px) {
  .utopia-mkt-tile,
  .utopia-mkt-tile--wide,
  .utopia-mkt-tile--full { grid-column: span 12; }
}

.utopia-mkt-browser {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #0f172a;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}
.utopia-mkt-browser__bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 12px;
  background: #1e293b;
}
.utopia-mkt-browser__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #64748b;
  display: block;
}
.utopia-mkt-browser__bar i:nth-child(1) { background: #fb7185; }
.utopia-mkt-browser__bar i:nth-child(2) { background: #fbbf24; }
.utopia-mkt-browser__bar i:nth-child(3) { background: #34d399; }
.utopia-mkt-browser img {
  width: 100%;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #0f172a;
}

.utopia-mkt-steps {
  display: grid;
  gap: 1.25rem;
}
.utopia-mkt-step {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.utopia-mkt-step:nth-child(even) {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}
.utopia-mkt-step:nth-child(even) .utopia-mkt-step__body { order: 2; }
.utopia-mkt-step:nth-child(even) .utopia-mkt-browser { order: 1; }
@media (max-width: 800px) {
  .utopia-mkt-step,
  .utopia-mkt-step:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .utopia-mkt-step:nth-child(even) .utopia-mkt-step__body,
  .utopia-mkt-step:nth-child(even) .utopia-mkt-browser { order: initial; }
}
.utopia-mkt-step__num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0891b2;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  margin-right: .45rem;
}

.utopia-mkt-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.utopia-mkt-table th,
.utopia-mkt-table td {
  padding: .95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.utopia-mkt-table th {
  background: #0f172a;
  color: #f8fafc;
  font-weight: 700;
}
.utopia-mkt-table tr:last-child td { border-bottom: none; }

body.utopia-demo-preview .utopia-demo-post__thumb img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   Interactive demo mini-sites (.utopia-idemo) — premium
   ============================================================ */

/* Hide sales-site chrome so demos feel like real sites */
body.utopia-idemo-active .site-header,
body.utopia-idemo-active .utopia-header,
body.utopia-idemo-active header.utopia-site-header,
body.utopia-idemo-active .utopia-announce,
body.utopia-idemo-active .utopia-announcement,
body.utopia-idemo-active .utopia-announcement-bar,
body.utopia-idemo-active .utopia-home-demo-strip,
body.utopia-idemo-active .utopia-breadcrumbs,
body.utopia-idemo-active .breadcrumbs,
body.utopia-idemo-active .page-header,
body.utopia-idemo-active .entry-header,
body.utopia-idemo-active .site-footer,
body.utopia-idemo-active footer.utopia-footer,
body.utopia-idemo-active .utopia-widget-area,
body.utopia-idemo-active .utopia-floating-widget,
body.utopia-idemo-active .utopia-fw,
body.utopia-idemo-active .utopia-demo-bar {
  display: none !important;
}
body.utopia-idemo-active {
  padding-top: 0 !important;
  background: #fff;
}
/* Force full-bleed: beat marketing-wide 1200px left column */
body.utopia-idemo-active.utopia-marketing-wide main.utopia-container,
body.utopia-idemo-active.utopia-demo-preview main.utopia-container,
body.utopia-idemo-active.utopia-marketing-wide .page-content,
body.utopia-idemo-active.utopia-demo-preview .page-content,
body.utopia-idemo-active.utopia-marketing-wide .page-content .entry-content,
body.utopia-idemo-active.utopia-demo-preview .page-content .entry-content,
body.utopia-idemo-active .page-content,
body.utopia-idemo-active .page-content--custom-width,
body.utopia-idemo-active .utopia-container,
body.utopia-idemo-active .utopia-idemo-main,
body.utopia-idemo-active article.post,
body.utopia-idemo-active article.page,
body.utopia-idemo-active .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
body.utopia-idemo-active .entry-content,
body.utopia-idemo-active.utopia-marketing-wide .entry-content,
body.utopia-idemo-active.utopia-demo-preview .page-content .entry-content {
  display: block !important;
  float: none !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}
body.utopia-idemo-active .utopia-idemo {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
}
body.utopia-idemo-active .entry-content > *:not(.utopia-idemo) {
  display: none !important;
}

/* ThemeForest-style top switcher */
.utopia-demo-switcher {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #0b1220;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.utopia-demo-switcher__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: .65rem 1rem;
}
.utopia-demo-switcher__brand {
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff !important;
  text-decoration: none !important;
  margin-right: .5rem;
}
.utopia-demo-switcher__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  flex: 1;
}
.utopia-demo-switcher__tabs a {
  padding: .4rem .85rem;
  border-radius: 999px;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: .9rem;
  font-weight: 600;
}
.utopia-demo-switcher__tabs a.is-active,
.utopia-demo-switcher__tabs a:hover {
  background: rgba(45,212,191,.18);
  color: #5eead4 !important;
}
.utopia-demo-switcher__actions {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.utopia-demo-switcher__ghost {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: .88rem;
  font-weight: 600;
}
.utopia-demo-switcher__buy {
  display: inline-flex;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: #2dd4bf;
  color: #042f2e !important;
  font-weight: 800;
  text-decoration: none !important;
  font-size: .88rem;
}

.utopia-idemo--pro {
  display: block;
  margin: 0;
  color: #0f172a;
  background: #fff;
  font-family: "Segoe UI", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
}
.utopia-idemo-sitehead {
  position: sticky;
  top: 52px;
  z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}
.utopia-idemo-sitehead__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: .85rem 1.25rem;
}
.utopia-idemo-logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: #0f172a !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.utopia-idemo-sitehead__nav {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .35rem;
  flex: 1;
  justify-content: center;
}
.utopia-idemo-nav__link {
  padding: .4rem .7rem;
  border-radius: 999px;
  text-decoration: none !important;
  color: #475569 !important;
  font-weight: 600;
  font-size: .9rem;
}
.utopia-idemo-nav__link:hover,
.utopia-idemo-nav__link.is-active {
  background: #ecfeff;
  color: #0f766e !important;
}
.utopia-idemo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.utopia-idemo-btn:hover { transform: translateY(-1px); }
.utopia-idemo-btn--sm { padding: .5rem 1rem; font-size: .9rem; }
.utopia-idemo-btn--primary {
  background: #0d9488;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(13,148,136,.28);
}
.utopia-idemo-btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.35);
}
.utopia-idemo-btn--ghost-dark {
  background: transparent;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
}

.utopia-idemo-hero--photo {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: center;
  justify-items: center;
  background-image: var(--idemo-hero);
  background-size: cover;
  background-position: center;
  color: #f8fafc;
  width: 100%;
}
.utopia-idemo-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.42) 0%, rgba(15,23,42,.78) 100%);
}
.utopia-idemo-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem;
  text-align: center;
}
.utopia-idemo-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.utopia-idemo-hero h1 {
  margin: 0 auto .85rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  max-width: 18ch;
  font-weight: 800;
}
.utopia-idemo-lead {
  margin: 0 auto 1.5rem;
  color: #e2e8f0;
  line-height: 1.7;
  max-width: 38rem;
  font-size: 1.05rem;
}
.utopia-idemo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

.utopia-idemo-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
  scroll-margin-top: 120px;
}
.utopia-idemo-section--muted {
  max-width: none;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.utopia-idemo-section--muted > .utopia-idemo-section__head,
.utopia-idemo-section--muted > .utopia-idemo-faq,
.utopia-idemo-section--muted > .utopia-idemo-form,
.utopia-idemo-section--muted > .utopia-idemo-price-grid,
.utopia-idemo-section--muted > .utopia-idemo-grid {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.utopia-idemo-section__head {
  margin-bottom: 1.75rem;
  text-align: center;
}
.utopia-idemo-section__head h2,
.utopia-idemo-split__text h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}
.utopia-idemo-section__head p {
  margin: 0 auto;
  max-width: 36rem;
  color: #64748b;
}
.utopia-idemo-eyebrow {
  margin: 0 0 .4rem;
  color: #0d9488;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.utopia-idemo-grid {
  display: grid;
  gap: 1.25rem;
}
.utopia-idemo-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .utopia-idemo-grid--3 { grid-template-columns: 1fr; }
  .utopia-idemo-sitehead__nav { display: none; }
}

.utopia-idemo-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.utopia-idemo-card--media { padding: 0; }
.utopia-idemo-card__media img,
.utopia-idemo-work img,
.utopia-idemo-post__thumb img,
.utopia-idemo-feature__media img,
.utopia-idemo-split__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.utopia-idemo-card__media img { aspect-ratio: 16/10; }
.utopia-idemo-card__body { padding: 1.15rem 1.25rem 1.35rem; }
.utopia-idemo-card__body h3,
.utopia-idemo-card--icon h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.utopia-idemo-card__body p,
.utopia-idemo-card--icon p { margin: 0; color: #64748b; line-height: 1.6; }
.utopia-idemo-card--icon { padding: 1.35rem; }

.utopia-idemo-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}
.utopia-idemo-split--reverse { direction: rtl; }
.utopia-idemo-split--reverse > * { direction: ltr; }
.utopia-idemo-split__media img {
  border-radius: 20px;
  aspect-ratio: 5/4;
  box-shadow: 0 20px 50px rgba(15,23,42,.12);
}
.utopia-idemo-split__text p { color: #475569; line-height: 1.75; }
@media (max-width: 900px) {
  .utopia-idemo-split,
  .utopia-idemo-split--reverse { grid-template-columns: 1fr; direction: ltr; }
}

.utopia-idemo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: center;
}
.utopia-idemo-stats strong {
  display: block;
  font-size: 1.6rem;
  color: #0d9488;
}
.utopia-idemo-stats span { color: #64748b; font-size: .9rem; }

.utopia-idemo-work {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.utopia-idemo-work img { aspect-ratio: 16/10; }
.utopia-idemo-work figcaption {
  padding: .85rem 1rem;
  font-weight: 650;
}

.utopia-idemo-person {
  text-align: center;
  padding: 1rem;
}
.utopia-idemo-person img {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  box-shadow: 0 10px 28px rgba(15,23,42,.12);
}
.utopia-idemo-person h3 { margin: 0 0 .25rem; }
.utopia-idemo-person p { margin: 0; color: #64748b; }

.utopia-idemo-banner {
  position: relative;
  background-image: var(--idemo-banner);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.utopia-idemo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.72);
}
.utopia-idemo-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 4.5rem) 1.25rem;
  text-align: center;
}
.utopia-idemo-banner h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

.utopia-idemo-faq__item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: .95rem 1.1rem;
  margin: 0 0 .65rem;
  background: #fff;
}
.utopia-idemo-faq__item summary {
  cursor: pointer;
  font-weight: 650;
}
.utopia-idemo-faq__item p {
  margin: .65rem 0 0;
  color: #64748b;
  line-height: 1.65;
}
.utopia-idemo-form {
  display: grid;
  gap: .85rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.utopia-idemo-form label {
  display: grid;
  gap: .35rem;
  font-weight: 600;
}
.utopia-idemo-form input,
.utopia-idemo-form textarea {
  padding: .7rem .8rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.utopia-idemo-form__note {
  color: #0f766e;
  font-weight: 600;
}

.utopia-idemo-toolbar {
  padding-bottom: 0;
  text-align: center;
}
.utopia-idemo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.utopia-idemo-pills button {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 999px;
  padding: .45rem .95rem;
  cursor: pointer;
  font-weight: 600;
}
.utopia-idemo-pills button.is-active {
  background: #0d9488;
  color: #fff;
  border-color: #0d9488;
}

.utopia-idemo-feature {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}
.utopia-idemo-feature__media img { aspect-ratio: 16/11; min-height: 100%; }
.utopia-idemo-feature__body { padding: 1.5rem 1.5rem 1.75rem 0; }
@media (max-width: 900px) {
  .utopia-idemo-feature { grid-template-columns: 1fr; }
  .utopia-idemo-feature__body { padding: 0 1.25rem 1.5rem; }
}

.utopia-idemo-layout--blog {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .utopia-idemo-layout--blog { grid-template-columns: 1fr; }
}
.utopia-idemo-posts {
  display: grid;
  gap: 1rem;
}
.utopia-idemo-post--card .utopia-idemo-post__open {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  width: 100%;
  text-align: left;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: .75rem;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.utopia-idemo-post--card .utopia-idemo-post__open:hover {
  border-color: #99f6e4;
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
}
.utopia-idemo-post__thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
}
.utopia-idemo-post__thumb img { aspect-ratio: 4/3; }
.utopia-idemo-post__meta {
  display: flex;
  gap: .75rem;
  align-items: center;
  grid-column: 2;
}
.utopia-idemo-post--card h3,
.utopia-idemo-post--card p {
  grid-column: 2;
  margin: 0;
}
.utopia-idemo-post--card h3 { font-size: 1.05rem; }
.utopia-idemo-post--card p { color: #64748b; margin-top: .35rem !important; }
.utopia-idemo-post__cat {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #0d9488;
  font-weight: 800;
}
.utopia-idemo-post__time { color: #94a3b8; font-size: .8rem; }
@media (max-width: 640px) {
  .utopia-idemo-post--card .utopia-idemo-post__open {
    grid-template-columns: 1fr;
  }
  .utopia-idemo-post__meta,
  .utopia-idemo-post--card h3,
  .utopia-idemo-post--card p { grid-column: 1; }
}

.utopia-idemo-sidebar { display: grid; gap: 1rem; }
.utopia-idemo-sidebar__card {
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
}
.utopia-idemo-sidebar__avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  margin-bottom: .75rem;
}
.utopia-idemo-sidebar__list {
  margin: .5rem 0 0;
  padding-left: 1.1rem;
  color: #475569;
  line-height: 1.7;
}

.utopia-idemo-modal {
  border: none;
  border-radius: 18px;
  padding: 0;
  max-width: min(92vw, 720px);
  width: 100%;
}
.utopia-idemo-modal::backdrop { background: rgba(15,23,42,.6); }
.utopia-idemo-modal__inner { padding: 0 0 1.5rem; }
.utopia-idemo-modal__media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 18px 18px 0 0;
}
.utopia-idemo-modal__title,
.utopia-idemo-modal__body { padding: 0 1.5rem; }
.utopia-idemo-modal__title { margin: 1.1rem 0 .5rem; }
.utopia-idemo-modal__close {
  position: absolute;
  top: .65rem;
  right: .75rem;
  border: none;
  background: rgba(15,23,42,.55);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}
.utopia-idemo-modal__inner { position: relative; }

.utopia-idemo-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .utopia-idemo-price-grid { grid-template-columns: 1fr; }
}
.utopia-idemo-price {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  display: grid;
  gap: .55rem;
  justify-items: center;
}
.utopia-idemo-price--featured {
  border-color: #0d9488;
  box-shadow: 0 16px 40px rgba(13,148,136,.15);
  position: relative;
}
.utopia-idemo-price__badge {
  position: absolute;
  top: -10px;
  background: #0d9488;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  padding: .2rem .65rem;
  border-radius: 999px;
}
.utopia-idemo-price__plan { font-weight: 700; color: #64748b; }
.utopia-idemo-price strong { font-size: 1.75rem; }

.utopia-idemo-sticky-cta {
  position: sticky;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  max-width: 720px;
  margin: 0 auto 1.25rem;
  padding: .95rem 1.1rem;
  border-radius: 16px;
  background: #0f172a;
  color: #f8fafc;
  box-shadow: 0 14px 36px rgba(15,23,42,.3);
  z-index: 50;
}
.utopia-idemo-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: .92rem;
}

.utopia-demo-switcher__tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: .35rem;
  flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.utopia-demo-switcher__tabs a {
  white-space: nowrap;
  flex: 0 0 auto;
}

.utopia-home-demo-strip__links {
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}
.utopia-home-demo-strip__links a {
  white-space: nowrap;
  flex: 0 0 auto;
}

.utopia-demo-hero__grid--9 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) {
  .utopia-demo-hero__grid--9 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .utopia-demo-hero__grid--9 { grid-template-columns: 1fr; }
}

.utopia-demo-hub {
  max-width: 1120px;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}
.utopia-demo-hub__head {
  text-align: center;
  margin-bottom: 1.75rem;
}
.utopia-demo-hub__head h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.utopia-demo-hub__head p { color: #64748b; max-width: 40rem; margin: 0 auto; }
.utopia-demo-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
@media (max-width: 900px) {
  .utopia-demo-hub__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .utopia-demo-hub__grid { grid-template-columns: 1fr; }
}
.utopia-demo-hub__card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.utopia-demo-hub__card a {
  display: block;
  color: inherit;
  text-decoration: none !important;
}
.utopia-demo-hub__card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.utopia-demo-hub__card div { padding: 1rem 1.1rem 1.2rem; }
.utopia-demo-hub__card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.utopia-demo-hub__card p { margin: 0 0 .65rem; color: #64748b; font-size: .92rem; line-height: 1.55; }
.utopia-demo-hub__card span { color: #0d9488; font-weight: 700; font-size: .9rem; }

.utopia-idemo-announce {
  background: #0f172a;
  color: #e2e8f0;
  text-align: center;
  padding: .65rem 1rem;
  font-size: .92rem;
  font-weight: 600;
}
.utopia-idemo-announce a { color: #5eead4 !important; }

.utopia-idemo-sitehead--overlay {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.18);
  backdrop-filter: none;
}
.utopia-idemo-sitehead--overlay .utopia-idemo-logo,
.utopia-idemo-sitehead--overlay .utopia-idemo-nav__link {
  color: #fff !important;
}
.utopia-idemo-sitehead--overlay .utopia-idemo-nav__link:hover,
.utopia-idemo-sitehead--overlay .utopia-idemo-nav__link.is-active {
  background: rgba(255,255,255,.14);
  color: #fff !important;
}
body.utopia-idemo-type-hero-header .utopia-idemo--hero-header {
  position: relative;
}
body.utopia-idemo-type-hero-header .utopia-idemo-hero--photo {
  min-height: min(88vh, 720px);
}

.utopia-idemo-sidewrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 70vh;
}
.utopia-idemo-sidenav {
  position: sticky;
  top: 52px;
  align-self: start;
  height: calc(100vh - 52px);
  padding: 1.5rem 1rem;
  background: #0f172a;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.utopia-idemo-sidenav .utopia-idemo-logo {
  color: #fff !important;
  margin-bottom: 1rem;
  padding: 0 .5rem;
}
.utopia-idemo-sidenav a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  padding: .55rem .75rem;
  border-radius: 10px;
  font-weight: 600;
}
.utopia-idemo-sidenav a:hover,
.utopia-idemo-sidenav a.is-active {
  background: rgba(45,212,191,.16);
  color: #5eead4 !important;
}
.utopia-idemo-sidemain { min-width: 0; }
@media (max-width: 900px) {
  .utopia-idemo-sidewrap { grid-template-columns: 1fr; }
  .utopia-idemo-sidenav {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.utopia-idemo-portal-search {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
  align-items: end;
}
.utopia-idemo-portal-search label {
  display: grid;
  gap: .35rem;
  font-weight: 600;
}
.utopia-idemo-portal-search input {
  padding: .75rem .9rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
}
@media (max-width: 640px) {
  .utopia-idemo-portal-search { grid-template-columns: 1fr; }
}

/* Ensure demo preview: never use broken blog header chrome on sales site */
body.utopia-demo-preview.utopia-site-blog .site-header__inner {
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding-bottom: inherit;
}
body.utopia-demo-preview.utopia-site-blog .site-branding {
  text-align: left !important;
  width: auto !important;
  padding: 0 !important;
}
body.utopia-demo-preview.utopia-site-blog .site-header__cta {
  position: static !important;
  transform: none !important;
}
body.utopia-demo-preview.utopia-site-blog .site-header__nav {
  border: none !important;
  width: auto !important;
}
