/* Purple Brush Art Studio
   Page bodies are generated from the Canva design by source/canva2html.py (cv-* classes).
   Canva lays pages out on a 1366px canvas; --u scales "canvas pixels" down on smaller screens. */
:root {
  --purple: #6a4197;
  --purple-bar: #6a4298;
  --yellow: #ffde59;
  --ink: #000;
  --grey: #f7f6f6;
  --f-body: 'Overlock', 'Nunito Sans', system-ui, sans-serif; /* stands in for Canva's Sukar */
  --f-nav: 'Questrial', 'Nunito Sans', system-ui, sans-serif;
  --f-menu: 'Lexend', 'Nunito Sans', system-ui, sans-serif; /* stands in for Canva's Hagrid Text */
  --f-sans: 'Nunito Sans', system-ui, sans-serif;
  --f-script: 'Sacramento', cursive; /* stands in for Canva's Moontime */
  --u: min(1px, 100vw / 1366);
  --uf: calc(100vw / 1366);
}

/* Layout spacing variables apply to the element that sets them only (nested columns must not inherit a parent's offset) */
@property --top { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --g { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --pt { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --over { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --pb { syntax: '<number>'; inherits: false; initial-value: 0; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: #fff; line-height: 1.4; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Header (purple bar) ---------- */
.site-header { background: var(--purple-bar); position: relative; z-index: 20; } /* scrolls away with the page, like the Canva site */
.header-inner { max-width: 1366px; margin: 0 auto; height: calc(119 * var(--u)); min-height: 64px; display: flex; align-items: center; padding: 0 16px; gap: 16px; position: relative; }
.logo img { height: 52px; width: auto; }
.menu-toggle { margin-left: auto; font: inherit; font-family: var(--f-nav); color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.6); padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { font-family: var(--f-menu); font-weight: 300; color: #fff; text-decoration: none; display: block; line-height: 1.35; }
.main-nav a.hl { color: var(--yellow); font-weight: 700; }
.main-nav a:hover { color: var(--yellow); }

/* Desktop: logo and menu items sit on the same spots as the Canva header (1366px canvas, 119px tall) */
@media (min-width: 1000px) {
  .header-inner { display: block; padding: 0; }
  .logo { position: absolute; left: calc(65.3 * var(--u)); top: calc(12.2 * var(--u)); }
  .logo img { width: calc(146.8 * var(--u)); height: calc(95.6 * var(--u)); }
  .menu-toggle { display: none; }
  .main-nav li { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); display: flex; align-items: center; justify-content: center; }
  .main-nav a { font-size: calc(17.1 * var(--u)); text-align: center; white-space: nowrap; }
}
@media (max-width: 999px) {
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--purple-bar); padding: 8px 16px 16px; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav-open .main-nav { display: block; }
  .main-nav a { padding: 10px 4px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .main-nav br { display: none; }
}

/* ---------- Generated Canva sections ---------- */
.cv-sec { padding-bottom: calc(var(--pb, 0) * var(--u)); overflow: hidden; }
.cv-sec > * { max-width: 1366px; margin-left: auto; margin-right: auto; }
.cv-row, .cv-cols { margin-top: calc(var(--g, 0) * var(--u)); }
.cv-cols { display: grid; }
.cv-col { min-width: 0; margin-top: calc(var(--top, 0) * var(--u)); }

/* Canva trims the half-leading above the first line and below the last line of a text box */
.cv-text > :first-child { margin-top: calc((1.175 - var(--lh, 1.4)) / 2 * 1em); }
.cv-text > :last-child { margin-bottom: calc((1.175 - var(--lh, 1.4)) / 2 * 1em); }
.cv-text a.cv-plain { text-decoration: none; }
.cv-text h1, .cv-text h2, .cv-text h3, .cv-text p, .cv-text li {
  margin: 0;
  font-size: clamp(calc(var(--fs, 16) * .45px + 8px), calc(var(--fs, 16) * var(--u)), calc(var(--fs, 16) * 1px));
  overflow-wrap: break-word;
}
.cv-text span[style*="--fs"] { font-size: clamp(calc(var(--fs) * .45px + 8px), calc(var(--fs) * var(--u)), calc(var(--fs) * 1px)); }
.cv-text a { color: inherit; }
.cv-gap { height: calc(clamp(calc(var(--fs, 16) * .45px + 8px), calc(var(--fs, 16) * var(--u)), calc(var(--fs, 16) * 1px)) * var(--lh, 1.4)); }
/* indent in the item's own font size (the <ul> itself keeps the 16px default) */
.cv-list { margin: 0; padding-left: 0; }
.cv-list > li { margin-left: 1.7em; }
.cv-list .cv-list > li { margin-left: 3.4em; }
.cv-circle { list-style: circle; }
a.cv-blocklink { text-decoration: none; display: block; }

.cv-img { width: 100%; height: auto; object-fit: cover; }
.cv-imglink { display: block; }
.cv-shape { width: 100%; }
.cv-box { padding: calc(var(--pt, 0) * var(--u)) 0 calc(var(--pb, 0) * var(--u)); }
.cv-line { border: 0; border-top: 2px solid; margin: 0; }

.cv-btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; height: calc(var(--bh, 60) * var(--u)); padding: .4em 1em; border-radius: 999px;
  font-size: clamp(15px, calc(var(--fs, 18) * var(--u)), calc(var(--fs, 18) * 1px));
  text-decoration: underline; font-weight: 700; line-height: 1.2;
  box-shadow: 0 4px 14px rgba(0,0,0,.12); transition: transform .15s ease;
}
a.cv-btn:hover { transform: translateY(-2px); }

.cv-layered { position: relative; display: flow-root; } /* flow-root: the base's top margin must not collapse out of the group */
.cv-layer { position: absolute; }
.cv-layer-base { height: 100%; position: relative; }
.cv-layer > .cv-shape { height: 100%; aspect-ratio: auto !important; }
.cv-layered:not(.cv-layered-box) .cv-layer-base > * { height: 100%; }
.cv-layer-base > .cv-img, .cv-layer-base > .cv-imglink > .cv-img { height: 100%; }

.cv-table-wrap { overflow-x: auto; }
.cv-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cv-table td, .cv-table th { padding: 8px 12px; vertical-align: middle; text-align: left; font-size: clamp(14px, calc(var(--fs, 20) * var(--u)), calc(var(--fs, 20) * 1px)); }
@media (max-width: 759px) { .cv-table { table-layout: auto; min-width: 520px; } }

/* Mobile: stack columns, drop the canvas spacing */
@media (max-width: 759px) {
  .cv-cols { display: block; padding: 0 16px; }
  .cv-cols .cv-cols { padding: 0; }
  .cv-spacer, .cv-single > div:empty { display: none; }
  .cv-col + .cv-col { margin-top: 16px; }
  .cv-col { margin-top: 0; }
  .cv-row, .cv-cols { margin-top: clamp(0px, calc(var(--g, 0) * .5px), 32px); }
  .cv-full { padding: 0; }
  .cv-layered { width: 100% !important; margin-left: 0 !important; }
  .cv-row > .cv-layered { width: calc(100% - 32px) !important; margin: 0 16px !important; }
  /* card-style overlaps: stack the pieces instead of overlapping them */
  .cv-layered-box { aspect-ratio: auto !important; display: flex; flex-direction: column; gap: 16px; }
  .cv-layered-box > .cv-layer { position: static; width: 100% !important; }
  .cv-layered-box > .cv-layer-base { margin: 0 !important; width: 100% !important; order: 2; }
  .cv-layered-box .cv-box { padding: 16px 0; }
  .cv-sec { padding-bottom: 32px; }
  /* text-over-photo groups: the photo fills the group behind, the other pieces flow on top of it */
  .cv-layered:not(.cv-layered-box) { display: flex; flex-direction: column; justify-content: center; aspect-ratio: auto !important; min-height: 160px; }
  .cv-layered:not(.cv-layered-box) > .cv-layer-base { margin: 0 !important; width: auto !important; }
  .cv-layered:not(.cv-layered-box) > .cv-layer-base:has(> .cv-img, > .cv-imglink, > .cv-imgborder) { position: absolute; inset: 0; }
  .cv-layered-box > .cv-layer.cv-cover { position: absolute; inset: 0; }
  .cv-layered-box > .cv-cover .cv-img { height: 100%; aspect-ratio: auto !important; max-width: none !important; }
  .cv-layered:not(.cv-layered-box) > .cv-layer-base:has(> .cv-img, > .cv-imglink, > .cv-imgborder) > *, .cv-layered:not(.cv-layered-box) > .cv-layer-base .cv-img { width: 100%; height: 100%; aspect-ratio: auto !important; max-width: none !important; }
  .cv-layered:not(.cv-layered-box) > .cv-layer { position: relative; left: auto !important; top: auto !important; width: auto !important; height: auto !important; padding: 6px 14px; }
  .cv-layered:not(.cv-layered-box) > .cv-layer:has(> .cv-shape) { position: absolute; inset: 0; padding: 0; }
  .cv-layered:not(.cv-layered-box) > .cv-layer:has(> .cv-box) { padding: 0; }
  .cv-btn { height: auto; padding: .7em 1.2em; }
}

/* ---------- Back-to-top strip (home page) ---------- */
/* The strip takes no height: the arrow sits up beside the last line of the page ("Read More Reviews on Google!"), centred on it */
.to-top-row { max-width: 1366px; margin: 0 auto; height: 0; position: relative; --tt: max(40px, calc(51.3 * var(--u))); }
.to-top { position: absolute; left: calc(1242.8 * var(--u)); top: calc(-84.5 * var(--u) - var(--tt) / 2); width: var(--tt); }
.to-top img { width: 100%; height: auto; transform: rotate(-90deg); }

/* ---------- Footer ----------
   Brand purple (the logo's own background, so the logo sits seamlessly) with a darker bottom bar and yellow headings. */
.site-footer { --ft-bg: #693f99; --ft-bar: #4e2c76; background: var(--ft-bg); color: #fff; font-family: var(--f-menu); font-weight: 300; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 64px 32px 48px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.35fr; gap: 40px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 150px; height: auto; margin: -8px 0 0 -11px; }
.footer-brand p { margin: 12px 0 20px; max-width: 280px; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.82); }
.footer-socials { display: flex; gap: 10px; }
.footer-social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--yellow); color: var(--ft-bg); transition: transform .15s ease; }
.footer-social:hover { transform: translateY(-2px); }
.footer-col h2 { margin: 0 0 18px; font-family: var(--f-menu); font-size: 16px; font-weight: 700; letter-spacing: .04em; color: var(--yellow); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: rgba(255,255,255,.88); text-decoration: none; font-size: 15px; line-height: 1.4; transition: color .15s ease; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--yellow); }
.footer-contact a { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 1px; color: var(--yellow); }
.footer-contact span { overflow-wrap: anywhere; }
.footer-bottom { background: var(--ft-bar); padding: 18px 32px; display: flex; justify-content: center; gap: 12px 32px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.75); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) {
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
  .footer-brand, .footer-contact { grid-column: span 3; }
  .footer-brand p { max-width: 520px; }
}
@media (max-width: 759px) {
  .to-top { left: auto; right: 16px; top: -87px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 44px 20px 36px; }
  .footer-brand, .footer-contact { grid-column: span 2; }
  .footer-col a { font-size: 16px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; padding: 18px 20px; }
}

/* Canva image grids */
.cv-frames { display: grid; width: 100%; }
.cv-frame { min-width: 0; min-height: 0; overflow: hidden; }
.cv-frame .cv-img, .cv-frame .cv-imglink { width: 100%; height: 100%; aspect-ratio: auto !important; }
.cv-imgborder { overflow: hidden; }
.cv-imgborder .cv-img { border-radius: inherit; }
@media (min-width: 760px) { .cv-nowrap { white-space: nowrap; } }
.cv-frame { position: relative; }
.cv-frame > .cv-img, .cv-frame > .cv-imglink { position: absolute; inset: 0; }
.cv-bgimg { min-height: calc(var(--minh) * var(--u)); }
.cv-map { width: 100%; border: 0; display: block; }
.cv-embedlink { display: inline-block; font-family: var(--f-sans); font-weight: 700; color: var(--purple); }
.cv-bgvideo { position: relative; isolation: isolate; }
.cv-bgvid, .cv-bgoverlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; max-width: none; }

/* Canvas-wide bands: a photo that fills its band stretches with it when the text runs taller */
@media (min-width: 760px) {
  .cv-layer.cv-cover { top: 0 !important; bottom: 0; }
  .cv-layer.cv-fill { top: 0 !important; bottom: 0; }
  .cv-fill > .cv-box { height: 100%; }
  .cv-cover .cv-img { height: 100%; aspect-ratio: auto !important; max-width: none !important; }
}
/* Wider than the 1366px canvas: canvas-wide photos and colour bands reach the window edges, content stays put */
@media (min-width: 1367px) {
  .cv-layer.cv-bleed { left: calc((100% - 100vw) / 2) !important; width: 100vw !important; }
  .cv-layer-base.cv-bleed { margin-left: calc((100% - 100vw) / 2) !important; width: 100vw !important; }
  .cv-bleed:not(.cv-cover) .cv-img { max-width: none !important; height: calc(var(--ch) * 1px); aspect-ratio: auto !important; }
  .cv-bleed .cv-shape { aspect-ratio: auto !important; height: calc(var(--ch) * 1px); }
  /* the colour panel itself widens to the window (keeping its rounded corners); the content stays on the canvas */
  .cv-bleed-box > .cv-box, .cv-bleedpanel { position: relative; isolation: isolate; background: none !important; }
  .cv-bleed-box > .cv-box::before, .cv-bleedpanel::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc((100% - 100vw) / 2); right: calc((100% - 100vw) / 2); background: var(--bg); border-radius: inherit; z-index: -1; border: var(--bd, 0 none); }
  /* the outline moves to the widened panel (the box keeps its border width as spacing) */
  .cv-bleed-box > .cv-box[style*="--bd"], .cv-bleedpanel[style*="--bd"] { border-color: transparent !important; }
  .cv-bleed-box > .cv-box[style*="--bd"]::before, .cv-bleedpanel[style*="--bd"]::before { top: calc(var(--bdw, 0px) * -1); bottom: calc(var(--bdw, 0px) * -1); background-clip: padding-box; }
}

/* In overlapping groups a text box can sit on top of a button (as in Canva); let clicks pass through plain text */
.cv-layer, .cv-layer-base, .cv-layered .cv-text { pointer-events: none; }
.cv-layer > :not(.cv-text), .cv-layer-base > :not(.cv-text), .cv-layered .cv-text a { pointer-events: auto; }
.cv-layer > .cv-img, .cv-layer > .cv-shape { pointer-events: none; } /* unlinked pictures and shapes on top of a link */

/* Pieces hanging off the canvas edge: Canva pins them to the window edge, partly off screen */
@media (min-width: 760px) {
  .cv-hang-l, .cv-hang-r { width: calc(100% + var(--over) * var(--u)); }
  .cv-hang-l { margin-left: calc(var(--over) * var(--u) * -1 - max(0px, (100vw - 1366px) / 2)); }
  .cv-hang-r { margin-left: max(0px, (100vw - 1366px) / 2); }
}

/* Canva's Sukar Bold at text sizes: regular Overlock thickened slightly (Overlock has no semibold) */
.cv-semi { -webkit-text-stroke: .022em currentColor; }

.cv-lottie { width: 100%; }
.cv-neon h1, .cv-neon h2, .cv-neon h3, .cv-neon p { text-shadow: 0 0 .12em color-mix(in srgb, currentColor 80%, white), 0 0 .35em currentColor; }

/* Section background photos: cropped photo covering the section (phones); on wider screens the whole photo
   is scaled to the window width and offset like Canva does */
.cv-bgimg[style*="--bgcrop"] { position: relative; isolation: isolate; }
.cv-bgimg[style*="--bgcrop"]::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--bgov), var(--bgcrop); background-size: auto, cover; background-position: 0 0, center; background-repeat: no-repeat; }
@media (min-width: 760px) {
  .cv-bgimg[style*="--bgfull"]::before { background-image: var(--bgov), var(--bgfull); background-size: var(--bgow) 100%, var(--bgw) auto; background-position: center 0, var(--bgx) var(--bgy); }
}
@media (min-width: 760px) {
  /* a background photo that stays on the canvas is cut at the canvas edges, like Canva */
  .cv-bgcanvas { clip-path: inset(0 max(0px, (100% - 1366px) / 2)); }
}
/* Questrial (for ITC Avant Garde) has no bold face: thicken it like Canva's bold */
[style*="font-family:var(--f-nav)"][style*="font-weight:700"] { -webkit-text-stroke: .04em currentColor; }
/* Match Canva's line wrapping. Measured against Sukar: Overlock is ~1% narrower at 20px+ and ~2% wider at ~15px,
   so tracking follows the Canva font size (--fs); the faux-semibold runs a bit wide on top of that. */
.cv-text :is(p, li, h1, h2, h3) { letter-spacing: clamp(-0.025em, (var(--fs, 18) - 19.5) * 0.004em, 0.005em); }
.cv-text .cv-semi { letter-spacing: clamp(-0.025em, (var(--fs, 18) - 22.5) * 0.0033em, 0.03em); }

/* Canva animations (classes set by the script at the end of each page) */
.js-anim .cv-a { opacity: 0; }
.js-anim .cv-a-rise { translate: 0 80px; }
.js-anim .cv-a-left { translate: -80px 0; }
.js-anim .cv-a-pop { scale: .9; }
.js-anim .cv-a-wipe { clip-path: inset(0 100% 0 0); }
.js-anim .cv-in .cv-a-wipe { clip-path: inset(0 0 0 0); }
.js-anim .cv-in .cv-a { opacity: 1; translate: 0 0; scale: 1;
  transition: opacity .45s ease-out var(--ad, 0ms), translate .45s cubic-bezier(.2, .7, .3, 1) var(--ad, 0ms),
              scale .45s cubic-bezier(.2, .7, .3, 1) var(--ad, 0ms), clip-path .5s cubic-bezier(.4, 0, .2, 1) var(--ad, 0ms); }
/* phones: shorter moves, no long waits */
@media (max-width: 759px) {
  .js-anim .cv-a-rise { translate: 0 30px; }
  .js-anim .cv-a-left { translate: -30px 0; }
  .js-anim .cv-in .cv-a { transition-duration: .35s; transition-delay: min(var(--ad, 0ms), 150ms); }
}
/* a section's background photo rises with the section, like the photo element it is in Canva */
.js-anim .cv-anim.cv-bgimg[style*="--bgcrop"]::before { opacity: 0; translate: 0 80px; }
.js-anim .cv-anim.cv-bgimg.cv-in[style*="--bgcrop"]::before { opacity: 1; translate: 0 0; transition: opacity .5s ease-out, translate .5s cubic-bezier(.2, .7, .3, 1); }

/* Static Instagram/Facebook link card (Canva shows a live preview here) */
.cv-social { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #fff; border: 1px solid #dbdbdb; border-radius: 4px; text-decoration: none; color: #262626; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: 0; overflow: hidden; }
.cv-social-logo { flex: 0 0 auto; width: 30%; max-width: 110px; }
.cv-social-logo svg, .cv-social-icon svg { display: block; width: 100%; height: auto; }
.cv-social-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13px; line-height: 1.35; }
.cv-social-txt b { font-size: 14px; }
.cv-social-txt small { color: #8e8e8e; font-size: 12px; }
.cv-social-icon { display: block; width: 100%; max-width: 82px; }
@media (max-width: 759px) { .cv-social { aspect-ratio: auto !important; } }
/* Canva keeps repeated spaces in text (they affect where lines wrap) */
.cv-text p, .cv-text li, .cv-text h1, .cv-text h2, .cv-text h3 { white-space: pre-wrap; }

/* A photo from the canvas' left edge running well past its right edge: Canva scales its width with the window
   (from the window's left edge), keeps its height and anchors the picture top-left */
@media (min-width: 1367px) {
  .cv-layer-base.cv-bleed-scale { margin-left: calc((1366px - 100vw) / 2) !important; width: calc(100vw * var(--wk)) !important; height: calc(var(--ch) * 1px); }
  .cv-bleed-scale .cv-img { width: 100%; height: 100% !important; max-width: none !important; aspect-ratio: auto !important; object-fit: cover; object-position: 0 0; }
}
@media (min-width: 760px) { .cv-nowrap :is(p, li, h1, h2, h3) { white-space: pre; } }

/* Canva's Hagrid Text is Lexend-like but set much wider: Lexend + 0.055em matches its line lengths */
.cv-text :is(p, li, h1, h2, h3)[style*="var(--f-menu)"] { letter-spacing: 0.055em; }

.cv-clipimg { display: block; width: 100%; height: auto; }
.cv-box[style*="--bd"] { background-clip: padding-box; } /* Canva draws the outline over the photo, not over the fill */
/* Canva's own soft line breaks: used on desktop so text wraps exactly like the original */
.cv-lb { display: none; }
@media (min-width: 1366px) {
  .cv-lb { display: inline; }
  .cv-lines :is(p, li, h1, h2, h3) { white-space: pre; }  /* each Canva line stays one line */
}
/* Canva lays a panel's content out against the panel itself, not inside its outline */
.cv-box[style*="--bdw"] > * { margin-left: calc(var(--bdw) * -1); margin-right: calc(var(--bdw) * -1); }

/* ---------- Phone layout (beyond stacking the canvas): readable, tidy, no giant decorations ---------- */
@media (max-width: 759px) {
  /* cards side by side on desktop (e.g. reviews): read them card by card */
  .cv-cards { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
  .cv-cards > .cv-cols { display: contents; }
  .cv-cards > .cv-cols > .cv-spacer { display: none; }
  .cv-cards > .cv-cols > .cv-col { order: var(--o); margin: 0 !important; }
  .cv-cards > .cv-cols > .cv-col.cv-cs { margin-top: 18px !important; }
  /* photos fill the column */
  .cv-col > .cv-photo, .cv-col > a > .cv-photo, .cv-col > .cv-imgborder > .cv-photo { width: 100%; max-width: 100% !important; height: auto; }
  /* a row of photos: tidy 2-up grid of squares */
  .cv-cols.cv-photos { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px; padding: 0 16px; }
  .cv-cols.cv-photos > .cv-col:has(.cv-frames, video) { grid-column: 1 / -1; }  /* collages and videos get the full width */
  .cv-cols.cv-photos .cv-frames .cv-photo, .cv-cols.cv-photos video { aspect-ratio: auto !important; border-radius: 0; }
  .cv-cols.cv-photos > .cv-spacer { display: none; }
  .cv-cols.cv-photos > .cv-col { margin: 0 !important; }
  .cv-cols.cv-photos .cv-photo { aspect-ratio: 1 !important; object-fit: cover; border-radius: 12px; }
  /* drawn graphics inside cards and bands stay small */
  .cv-layered-box > .cv-layer:not(:has(.cv-text, .cv-photo, .cv-btn, .cv-box, .cv-frames, .cv-group)) { width: min(100%, calc(var(--cw, 300) * .45px)) !important; }
  /* faint decorations behind text are dropped */
  .cv-layered:not(.cv-layered-box) > .cv-layer:has(> .cv-img[style*="opacity"]) { display: none; }
}
@media (max-width: 759px) {
  .cv-cards > .cv-cols.cv-photos { display: contents !important; }
  .cv-cards .cv-photo { width: 100%; max-width: 100% !important; aspect-ratio: auto !important; height: auto; }
  /* drawings inside cards: keep them modest */
  .cv-box .cv-img:not(.cv-photo, .cv-clipimg, .cv-frames *), .cv-group .cv-img:not(.cv-photo, .cv-clipimg, .cv-frames *) { max-height: 170px; width: auto !important; margin-inline: auto; }
}
@media (max-width: 759px) {
  /* very large Canva headlines: cap them so words never break mid-word on a phone */
  .cv-text :is(h1, h2, h3) { font-size: min(clamp(calc(var(--fs, 16) * .45px + 8px), calc(var(--fs, 16) * var(--u)), calc(var(--fs, 16) * 1px)), 9.5vw); overflow-wrap: normal; }
  .cv-text :is(p, li) { overflow-wrap: anywhere; }
}
@media (max-width: 759px) {
  /* text on photos / in bands and cards never touches the screen edge */
  .cv-layered .cv-text, .cv-cols.cv-full > .cv-col > .cv-text, .cv-group .cv-text { padding-inline: 16px; }
  .cv-layered .cv-box .cv-text, .cv-cards .cv-text { padding-inline: 0; }
}
@media (max-width: 759px) {
  .cv-box { padding-left: 14px; padding-right: 14px; }
  .cv-box[style*="--bdw"] > * { margin-left: 0; margin-right: 0; }
}
@media (max-width: 759px) {
  /* text drawn over a frame graphic (review cards, speech bubbles): drop the graphic, use a simple card */
  /* text drawn inside a frame graphic (review cards): the frame stretches to the text, text sits inside it */
  .cv-layered:not(.cv-layered-box):has(> .cv-layer-base > .cv-img:not(.cv-photo)):has(> .cv-layer .cv-text) { padding: 30px 30px 34px; min-height: 0; }
  .cv-layered:not(.cv-layered-box):has(> .cv-layer .cv-text) > .cv-layer-base:has(> .cv-img:not(.cv-photo)) { position: absolute !important; inset: 0 !important; width: auto !important; margin: 0 !important; }
  .cv-layered.cv-layered:not(.cv-layered-box):has(> .cv-layer .cv-text) > .cv-layer-base > .cv-img:not(.cv-photo) { object-fit: fill; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; aspect-ratio: auto !important; }
  .cv-layered:not(.cv-layered-box):has(> .cv-layer-base > .cv-img:not(.cv-photo)):has(> .cv-layer .cv-text) > .cv-layer { padding: 0; }
}
@media (max-width: 759px) {
  .cv-gap-end { display: none; }
  /* tighter rhythm on phones */
  .cv-row, .cv-cols { margin-top: clamp(0px, calc(var(--g, 0) * .35px), 22px); }
  .cv-sec { padding-bottom: 20px; }
  .cv-layered:not(.cv-layered-box) { min-height: 0; }
}
@media (max-width: 759px) {
  /* cards with big rounded corners: smaller corners and real inner padding so text stays inside */
  .cv-box[style*="border-radius"] { border-radius: min(28px, var(--r, 28px)) !important; padding: 20px 18px !important; }
  .cv-box .cv-text :is(h1, h2, h3) { font-size: min(clamp(calc(var(--fs, 16) * .45px + 8px), calc(var(--fs, 16) * var(--u)), calc(var(--fs, 16) * 1px)), 6vw); }
  .cv-box .cv-text :is(h1, h2, h3), .cv-box .cv-text :is(h1, h2, h3) * { white-space: normal; }
}
@media (max-width: 759px) { .cv-group + .cv-group, .cv-col > .cv-group { margin-bottom: 18px; } }
.js-anim .cv-now.cv-bgimg::before { transition: none !important; }
@media (max-width: 759px) {
  /* icons and drawings sit centred under centred headings */
  .cv-col > .cv-img:not(.cv-photo), .cv-layer > .cv-img:not(.cv-photo), .cv-col > a > .cv-img:not(.cv-photo) { margin-inline: auto; }
  /* page titles fit on one line where they can */
  .cv-text :is(h1, h2) { font-size: min(clamp(calc(var(--fs, 16) * .45px + 8px), calc(var(--fs, 16) * var(--u)), calc(var(--fs, 16) * 1px)), 8vw); }
}
@media (max-width: 759px) {
  /* rows of photos on phones: always whole pairs (an odd last photo is left out) */
  .cv-cols.cv-photos > .cv-col.cv-odd { display: none; }
}
@media (max-width: 759px) {
  /* photos behind a card fill the card exactly (their desktop offsets don't apply) */
  .cv-layered-box > .cv-layer.cv-cover { left: 0 !important; top: 0 !important; right: 0 !important; bottom: 0 !important; width: auto !important; height: auto !important; }
  .cv-layered-box:has(> .cv-cover) { overflow: hidden; border-radius: 28px; }
}
@media (max-width: 759px) {
  /* Instagram call-to-action band: icon, centred text, a rounded card like its neighbours */
  .cv-igcard { margin: 0 16px; border-radius: 28px; padding: 22px 20px !important; text-align: center; background: linear-gradient(135deg, #6a4298, #8a5cc0) !important; }
  .cv-igcard .cv-text a { color: #fff; }
  .cv-igcard .cv-img { width: 52px !important; margin: 0 auto 10px; }
  .cv-igcard .cv-text :is(h2, h3) { text-align: center; font-size: 20px; line-height: 1.4; }
  .cv-igcard .cv-lb { display: none; }
}
@media (max-width: 759px) {
  /* photo blocks with phone picks (source/phone-photos.json): chosen photos side by side as squares */
  .cv-cols.cv-photoset { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px; padding: 0 16px; }
  .cv-photoset .cv-col, .cv-photoset .cv-cols, .cv-photoset .cv-row, .cv-photoset .cv-imglink, .cv-photoset .cv-imgborder { display: contents !important; }
  .cv-photoset .cv-spacer, .cv-photoset .cv-cols > div:empty { display: none !important; }
  .cv-photoset .cv-m-hide { display: none !important; }
  .cv-photoset .cv-photo { width: 100% !important; max-width: none !important; aspect-ratio: 1 !important; height: auto !important; object-fit: cover; border-radius: 14px !important; margin: 0 !important; }
}

/* Sections given to phones as a simple list (converter PHONE_LISTS); the desktop grid is kept for wider screens */
.cv-phone-only { display: none; }
@media (max-width: 759px) {
  .cv-desk-only { display: none !important; }
  .cv-phone-only { display: block; padding: 8px 16px 24px; }
  .cv-wk-list { display: flex; flex-direction: column; gap: 28px; }
  .cv-wk { display: flex; flex-direction: column; gap: 10px; }
  .cv-wk .cv-img, .cv-wk video { width: 100% !important; max-width: none !important; aspect-ratio: 4 / 3 !important; height: auto; object-fit: cover; border-radius: 16px; }
  .cv-wk .cv-imglink, .cv-wk .cv-imgborder { display: block; border: 0; }
  .cv-wk .cv-text { padding: 0 !important; }
  /* one look for every entry, whatever sizes the Canva cards used */
  /* title = the first paragraph of the title box; anything after it in the same box is body text */
  .cv-wk-title .cv-text > :not(:first-child), .cv-wk-title .cv-text > :not(:first-child) *, .cv-wk-body, .cv-wk-body * { color: #2b2233 !important; font-weight: 400 !important; font-size: 16px !important; text-align: left !important; line-height: 1.5 !important; letter-spacing: 0 !important; -webkit-text-stroke: 0 !important; }
  .cv-wk a, .cv-wk a * { color: var(--purple) !important; }
  .cv-wk-title .cv-text > :first-child, .cv-wk-title .cv-text > :first-child span { font-size: 20px !important; font-weight: 700 !important; text-align: left !important; color: var(--purple) !important; -webkit-text-stroke: 0; line-height: 1.3 !important; letter-spacing: 0 !important; }
  .cv-wk-body .cv-gap { height: 8px !important; }
  .cv-wk .cv-gap { height: 6px; }
}

/* Teacher profiles on phones (converter PHONE_TEACHERS) */
@media (max-width: 759px) {
  .cv-teachers { background: #361e50; color: #fff; padding: 24px 16px 32px; }
  .cv-teachers > .cv-text { text-align: center; margin-bottom: 8px; }
  .cv-teacher { display: flex; flex-direction: column; gap: 14px; padding: 22px 0 30px; border-bottom: 2px solid rgba(255,255,255,.25); }
  .cv-teacher:last-child { border-bottom: 0; }
  .cv-t-name .cv-text { text-align: center; }
  .cv-t-name .cv-text * { text-align: center !important; }
  .cv-t-pic .cv-imgborder, .cv-t-pic .cv-imglink { display: block; }
  .cv-t-pic .cv-img, .cv-t-more .cv-img { width: 100% !important; max-width: none !important; height: auto; border-radius: 22px; }
  .cv-t-portrait .cv-img { aspect-ratio: 1 !important; object-fit: cover; }
  .cv-t-text .cv-text { padding: 0 !important; }
  .cv-t-more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cv-t-more .cv-imgborder { display: contents; }
  .cv-t-more .cv-img { aspect-ratio: 1 !important; object-fit: cover; border-radius: 16px; }
}
@media (max-width: 759px) { .cv-t-more > :last-child:nth-child(odd) { grid-column: 1 / -1; } .cv-t-more > .cv-img:last-child:nth-child(odd), .cv-t-more > :last-child:nth-child(odd) .cv-img { aspect-ratio: auto !important; } }
@media (max-width: 759px) {
  /* program cards (text + a shaped photo): photo on top, then title, text and a compact Read More */
  .cv-box > .cv-cols:has(> .cv-col .cv-clipimg) { display: flex !important; flex-direction: column; }
  .cv-box > .cv-cols:has(> .cv-col .cv-clipimg) > .cv-col:has(.cv-clipimg) { order: -1; margin: 0 0 14px !important; }
  .cv-box > .cv-cols:has(> .cv-col .cv-clipimg) .cv-clipimg { width: 100% !important; max-width: none !important; }
  .cv-box > .cv-cols:has(> .cv-col .cv-clipimg) .cv-imglink:has(> .cv-img:not(.cv-photo, .cv-clipimg)) { display: block; width: 150px; margin: 10px 0 0; }
  .cv-box > .cv-cols:has(> .cv-col .cv-clipimg) .cv-imglink > .cv-img:not(.cv-photo, .cv-clipimg) { width: 100% !important; max-height: none !important; margin: 0 !important; }
}
/* teacher leftovers: an odd last artwork spans the full width */
@media (max-width: 759px) { .cv-t-more > :last-child:nth-child(odd) > .cv-img, .cv-t-more > .cv-img:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: auto !important; } }
@media (max-width: 759px) {
  .cv-box > .cv-cols:has(> .cv-col .cv-clipimg) > .cv-col:has(.cv-clipimg), .cv-box > .cv-cols:has(> .cv-col .cv-clipimg) > .cv-col:has(.cv-clipimg) * { width: 100% !important; max-width: none !important; }
  .cv-box > .cv-cols:has(> .cv-col .cv-clipimg) > .cv-col:has(.cv-clipimg) svg * { width: auto !important; }
}
@media (max-width: 759px) {
  .cv-box > .cv-cols:has(> .cv-col .cv-clipimg) .cv-imglink:has(> .cv-img:not(.cv-photo, .cv-clipimg)) { width: 150px !important; }
  .cv-box > .cv-cols:has(> .cv-col .cv-clipimg) .cv-imglink > .cv-img:not(.cv-photo, .cv-clipimg) { width: 150px !important; }
}
@media (max-width: 759px) { .cv-box > .cv-cols:has(> .cv-col .cv-clipimg) .cv-clipimg { height: auto !important; } }
@media (max-width: 759px) {
  /* text drawn over a shaped photo (Insights cards): photo first, the text under it, readable */
  .cv-layered:not(.cv-layered-box):has(> .cv-layer-base > .cv-clipimg):has(> .cv-layer .cv-text) > .cv-layer-base { position: static !important; order: -1; margin: 0 0 12px !important; width: 100% !important; }
  .cv-layered.cv-layered:not(.cv-layered-box):has(> .cv-layer .cv-text) > .cv-layer-base > .cv-clipimg { width: 100% !important; height: auto !important; aspect-ratio: var(--ar, 4 / 3) !important; }
  .cv-layered:not(.cv-layered-box):has(> .cv-layer-base > .cv-clipimg):has(> .cv-layer .cv-text) { padding: 0 !important; }
  .cv-layered:not(.cv-layered-box):has(> .cv-layer-base > .cv-clipimg):has(> .cv-layer .cv-text) > .cv-layer { padding: 4px 0 !important; }
}
@media (max-width: 759px) {
  /* buttons inside full-width photo bands: clear of the text above, compact */
  .cv-fill .cv-box .cv-col:has(> .cv-btn) { margin-top: 14px !important; display: flex; justify-content: center; }
  .cv-fill .cv-box .cv-col > .cv-btn { width: auto !important; min-width: 150px; padding: 10px 26px !important; font-size: 16px !important; min-height: 0 !important; height: auto !important; }
}
@media (max-width: 759px) {
  /* gradient-framed photos: the photo fills its frame */
  .cv-layered-box > .cv-layer > .cv-imgborder > .cv-img { width: 100% !important; max-width: none !important; height: auto !important; }
}
@media (max-width: 759px) {
  /* buttons always get some air above them */
  .cv-row, .cv-cols { --btn-air: 18px; }
  main .cv-cols:has(> .cv-col > .cv-btn):not(:has(.cv-text)) { margin-top: max(var(--btn-air), clamp(0px, calc(var(--g, 0) * .35px), 22px)) !important; }
  main .cv-cols:has(.cv-text) > .cv-col:has(> .cv-btn) { margin-top: 16px !important; }
}
@media (max-width: 759px) {
  /* pill buttons built as a colored box holding one link */
  main .cv-cols:has(> .cv-col > .cv-box[style*="border-radius"] .cv-text.cv-nowrap > :only-child > a:only-child):not(:has(> .cv-col > .cv-box .cv-text ~ .cv-text)) { margin-top: max(18px, clamp(0px, calc(var(--g, 0) * .35px), 22px)) !important; }
}
@media (max-width: 759px) {
  main .cv-col ~ .cv-col:has(> .cv-box[style*="border-radius"] .cv-text.cv-nowrap > :only-child > a:only-child) { margin-top: 16px !important; }
}
@media (max-width: 759px) {
  /* pill buttons (marked cv-pill at build): at least 18px of air above */
  main .cv-cols:has(> .cv-col > .cv-pill) { margin-top: max(18px, clamp(0px, calc(var(--g, 0) * .35px), 22px)) !important; }
  main .cv-col ~ .cv-col:has(> .cv-pill) { margin-top: 18px !important; }
  .cv-layered:not(.cv-layered-box) > :is(.cv-layer, .cv-layer-base) ~ .cv-layer:has(> .cv-btn) { margin-top: 16px !important; }
}

/* ---------- Embedded Sawyer schedule (class pages: <div class="sched" id="schedule">) ---------- */
.sched { padding: calc(64 * var(--u)) 24px calc(72 * var(--u)); font-family: var(--f-body); scroll-margin-top: 16px; }
.sched h2 { margin: 0; text-align: center; font-size: clamp(26px, 2.9vw, 40px); font-weight: 700; color: #6a4197; line-height: 1.2; }
.sched > p { margin: 10px auto 0; text-align: center; max-width: 640px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: #5b4d6b; }
.sched-box { max-width: 1000px; margin: 28px auto 0; background: #fff; border: 1px solid #e6dcf2; border-radius: 20px; box-shadow: 0 10px 30px rgba(60, 30, 100, .08); padding: clamp(10px, 2vw, 24px); min-height: 360px; }
.sched-box iframe { display: block; width: 100% !important; max-width: 100%; border: 0; }
.sched .sched-help { margin-top: 14px; font-family: var(--f-nav); font-size: 15px; }
.sched-help a { color: #6a4197; font-weight: 700; }
@media (max-width: 759px) { .sched { padding: 40px 16px 48px; } .sched-box { padding: 8px; border-radius: 14px; } }

/* ---------- Class pages (little-creators, creative-explorer...): <div class="cp"> ---------- */
.cp { font-family: var(--f-body); color: #2b1d3d; }
.cp h1, .cp h2, .cp h3, .cp p, .cp ul { margin: 0; }
.cp-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.cp h2 { font-size: clamp(26px, 2.9vw, 38px); font-weight: 700; color: #6a4197; line-height: 1.2; }

/* top */
.cp-top { background: #f4effa; padding: clamp(40px, 5vw, 64px) 0 clamp(44px, 5vw, 64px); }
.cp-top .cp-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.cp-tag { display: inline-block; font-family: var(--f-sans); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #6a4197; background: #fff; border: 1px solid #e6dcf2; border-radius: 999px; padding: 7px 14px; margin-bottom: 16px; }
.cp h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; color: #4b2a73; line-height: 1.1; margin-bottom: 16px; }
.cp-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: #4a3d5a; margin-bottom: 26px !important; max-width: 520px; }
.cp-btn { display: inline-block; font-family: var(--f-sans); font-weight: 800; font-size: 18px; text-decoration: none; color: #fff; background: #6a4197; border-radius: 999px; padding: 15px 30px; box-shadow: 0 8px 22px rgba(106, 65, 151, .28); transition: transform .15s ease, background .15s ease; }
.cp-btn:hover { transform: translateY(-2px); background: #5a3582; }
.cp-photos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.cp-photos img { width: 100%; height: auto; max-width: none; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; display: block; box-shadow: 0 8px 22px rgba(60, 30, 100, .12); }
.cp-photos img:nth-child(2) { margin-top: 28px; }
.cp-photos-2 { grid-template-columns: 1fr 1fr; }
.cp-photos-2 img { aspect-ratio: 1; }

/* what they do */
.cp-sec { padding: clamp(52px, 6vw, 80px) 0; }
.cp-do { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.cp-do div { background: #fff; border: 1px solid #e6dcf2; border-radius: 18px; padding: 26px 24px; }
.cp-do .cp-ico { font-size: 30px; line-height: 1; margin-bottom: 12px; display: block; }
.cp-do h3 { font-size: 21px; font-weight: 700; color: #6a4197; margin-bottom: 6px; }
.cp-do p { font-size: 17px; line-height: 1.5; color: #5b4d6b; }
.cp-skills { margin-top: 36px; text-align: center; }
.cp-skills h3 { font-size: 20px; font-weight: 700; color: #4b2a73; margin-bottom: 14px; }
.cp-skills ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cp-skills li { font-family: var(--f-sans); font-size: 15px; font-weight: 700; color: #4b2a73; background: #fff6cf; border-radius: 999px; padding: 9px 16px; }

/* artwork */
.cp-art { background: #f4effa; }
.cp-art h2 { text-align: center; }
.cp-art-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.cp-art-row img { width: 100%; height: auto; max-width: none; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }

/* schedule extras */
.cp .sched { padding-top: clamp(52px, 6vw, 80px); }
.cp .cp-sec:not(.cp-art) + .sched { padding-top: 0; } /* two white sections in a row: no double gap */
.cp .sched > p { margin: 10px auto 0; text-align: center; }
.cp .sched > .sched-help { margin-top: 14px; }
.cp-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.cp-perks li { font-family: var(--f-sans); font-size: 15px; font-weight: 700; color: #4b2a73; background: #fff6cf; border-radius: 999px; padding: 8px 15px; }
.cp-read { text-align: center; padding: 0 16px clamp(52px, 6vw, 72px); font-size: 18px; color: #5b4d6b; }
.cp-read a { color: #6a4197; font-weight: 700; }

@media (max-width: 959px) {
  .cp-top .cp-wrap { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .cp-lead { margin-left: auto !important; margin-right: auto !important; }
  .cp-do { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .cp-art-row { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 759px) {
  .cp-wrap { padding: 0 16px; }
  .cp-photos { gap: 8px; }
  .cp-photos img { border-radius: 12px; }
  .cp-photos img:nth-child(2) { margin-top: 16px; }
  .cp-btn { display: block; text-align: center; }
  .cp-do div { padding: 20px 18px; }
  .cp-art-row { gap: 8px; }
  .cp-art-row img { border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) { .cp-btn { transition: none; } }

/* Instagram posts on class pages: <section class="cp-sec cp-ig"> with one or more blockquote.instagram-media */
.cp-ig h2 { text-align: center; }
.cp-ig-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 26px; }
.cp-ig-row .instagram-media { flex: 0 1 400px; min-width: 300px !important; max-width: 400px !important; width: 100% !important; margin: 0 !important; background: #fff; border: 1px solid #e6dcf2 !important; border-radius: 14px !important; box-shadow: 0 6px 22px rgba(60, 30, 100, .09) !important; padding: 16px; text-align: center; }
.cp-ig-row .instagram-media > a { color: #6a4197; font-weight: 700; }
.cp-ig-row iframe.instagram-media { padding: 0; }
.cp .cp-ig-more { text-align: center; margin-top: 18px; font-size: 17px; }
.cp-ig-more a { color: #6a4197; font-weight: 700; }
.cp .cp-ig + .sched { padding-top: 0; }
@media (max-width: 759px) { .cp-ig-row .instagram-media { min-width: 0 !important; flex-basis: 100%; } }

/* text only for screen readers and search engines (e.g. a page's H1 where the design shows the title as a picture) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Blog list (src/pages/blog.html) */
.cp-top-simple { text-align: center; }
.cp-top-simple .cp-wrap { display: block; }
.cp-top-simple .cp-lead { margin: 0 auto !important; }
.cp-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cp-post { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6dcf2; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.cp-post:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(75, 42, 115, .14); }
.cp-post img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.cp-post > div { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.cp-post-tag { align-self: flex-start; font-family: var(--f-sans); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6a4197; background: #f4effa; border-radius: 999px; padding: 5px 12px; }
.cp .cp-post :is(h2, h3) { font-size: 22px; line-height: 1.25; color: #4b2a73; }
.cp-post p { font-size: 17px; line-height: 1.5; color: #5b4d6b; }
.cp-post-more { margin-top: auto; font-family: var(--f-sans); font-weight: 800; font-size: 16px; color: #6a4197; }
@media (max-width: 1023px) { .cp-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cp-posts { grid-template-columns: 1fr; gap: 18px; } }

/* End of each blog article: program box, more articles, link to the blog */
.cp-related { background: #f4effa; }
.cp-related-box { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; background: #fff; border: 1px solid #e6dcf2; border-radius: 18px; padding: 24px 28px; margin-bottom: clamp(40px, 5vw, 56px); }
.cp-related-box p { font-size: 19px; line-height: 1.5; color: #4b2a73; max-width: 640px; }
.cp-related h2 { text-align: center; margin-bottom: 26px; }
.cp .cp-all { text-align: center; margin-top: 26px; font-size: 18px; }
.cp-all a { color: #6a4197; font-weight: 700; }
@media (max-width: 759px) { .cp-related-box { padding: 20px; } .cp-related-box .cp-btn { width: 100%; } }
