/* Traversica look layer (anti-AI pass, 2026-11-05). Loaded LAST on every page except the front page.
 * One colour per page: the country colour (--cc, set per page in <style id="jm-cc">). It replaces the old
 * cyan (--accent2), purple (--accent3) and two-hue gradients (--gradient). Chrome stays neutral; the colour goes
 * on the main action, the rating, and one poster band per page. Signature: the 8px country square.
 * `html` prefixes beat the CSS that shared.js injects at runtime; !important only where inline styles exist. */

:root {
  --grad: var(--cc);
  --cc: #ff1493;
  --cc-ink: color-mix(in srgb, var(--cc) 72%, #fff);   /* country colour as text on dark, keeps 4.5:1 */
  --on-cc: #14070e;                                     /* text on a country-colour fill, passes on every country */
  --accent2: var(--cc-ink);
  --accent3: var(--cc);
  --gradient: var(--cc);
  --lk-t2: #a3a3b2;
  --lk-t3: #8a8aa0;
  --lk-line: rgba(232, 232, 240, .1);
  --lk-raised: rgba(255, 255, 255, .05);
  --lk-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --lk-display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
}

/* ---------- buttons: one solid colour per block, everything else ghost, no pills ---------- */
html .lk-solid, html .jm-itin-btn, html .gyg-hero-cta:first-of-type,
html .jm-trip-exp-btn, html .jm-trip-main-btn, html .btn-export, html .tb-btn {
  background: var(--cc) !important; color: var(--on-cc) !important; border: 1px solid var(--cc) !important;
  border-radius: 10px !important; box-shadow: none !important; font-weight: 600 !important;
}
html .jm-itin-btn:hover, html .gyg-hero-cta:first-of-type:hover, html .jm-trip-exp-btn:hover,
html .jm-trip-main-btn:hover, html .btn-export:hover, html .tb-btn:hover {
  background: color-mix(in srgb, var(--cc) 86%, #fff) !important; transform: none;
}
html .gyg-hero-cta { border-radius: 10px; }
html .gyg-hero-cta:not(:first-of-type) { background: var(--lk-raised); border-color: var(--lk-line); color: #e8e8f0; }
html .gyg-hero-cta:first-of-type svg { color: var(--on-cc); }
html .gyg-hero-cta:not(:first-of-type) svg { color: var(--lk-t2); }
html .jm-cat-tool-btn, html .jm-exp-tool-btn { border-radius: 10px; }

/* ---------- place cards ---------- */
html .card:hover { box-shadow: none; }
html .card.selected { border-color: var(--cc); box-shadow: none; }
html .card .cat {
  display: flex; align-items: center; gap: 8px;
  font: 400 12px/16px var(--lk-mono); letter-spacing: 0; text-transform: none; color: var(--lk-t3);
}
html .card .cat::before { content: ""; width: 8px; height: 8px; background: var(--cc); flex: none; }
html .card h3 { font-family: var(--lk-display); font-weight: 700; letter-spacing: -.01em; }
html .card-info { gap: 4px 12px; margin: 6px 0 8px; }
html .card-badge {
  background: none; border: 0; padding: 0; border-radius: 0;
  font: 400 12px/16px var(--lk-mono); color: var(--lk-t2); letter-spacing: 0;
}
html .badge-rating { color: var(--cc-ink); }
html .badge-reviews, html .badge-price, html .badge-hours { color: var(--lk-t2); }
html .badge-website { color: var(--lk-t2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(232, 232, 240, .3); }
html .badge-website:hover { background: none; color: #e8e8f0; }
html .badge-closed-day, html .badge-status-closed { background: none; color: #e5484d; }
html .badge-gem { background: var(--cc); color: var(--on-cc); border: 0; padding: 1px 6px; border-radius: 4px; font-weight: 500; letter-spacing: 0; }
html .card .links a, html .card .links button {
  color: #e8e8f0; border: 1px solid var(--lk-line); background: var(--lk-raised); border-radius: 8px;
}
html .card .links a:hover, html .card .links button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
html .card .links a.gyg-explore, html .card .links a.gyg-link {
  color: var(--on-cc) !important; background: var(--cc) !important; border-color: var(--cc) !important;
}
html .card .links a.gyg-explore:hover, html .card .links a.gyg-link:hover { background: color-mix(in srgb, var(--cc) 86%, #fff) !important; }

/* ---------- itinerary call to action: quiet card ---------- */
html .jm-itin-cta {
  background: #15151b !important; border: 1px solid var(--lk-line) !important; border-radius: 14px; box-shadow: none;
}
html .jm-itin-cta h3 { font-family: var(--lk-display); font-weight: 700; letter-spacing: -.01em; }

/* ---------- the poster band: seasonal box (or the itinerary CTA where a guide has no season) ---------- */
html .jm-season, html .jm-cat-grid:not(:has(.jm-season)) .jm-itin-cta {
  background: var(--cc) !important; border: 0 !important; border-radius: 20px; padding: 32px 36px; color: var(--on-cc); box-shadow: none;
}
html .jm-season h3, html .jm-cat-grid:not(:has(.jm-season)) .jm-itin-cta h3 {
  font: 700 clamp(24px, 2.6vw, 34px)/1.05 var(--lk-display); letter-spacing: -.025em; color: var(--on-cc);
}
html .jm-season h3 span { font-weight: 700; color: var(--on-cc); }
html .jm-season-pill { color: var(--on-cc); border-color: rgba(20, 7, 14, .4); border-radius: 6px; font-weight: 600; }
html .jm-season-status, html .jm-season-label, html .jm-cat-grid:not(:has(.jm-season)) .jm-itin-cta p { color: rgba(20, 7, 14, .78); }
html .jm-season-places { gap: 6px 16px; }
html .jm-season-places a {
  padding: 0; border: 0; background: none; border-radius: 0; color: var(--on-cc);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(20, 7, 14, .35);
}
html .jm-season-places a:hover { border: 0; text-decoration-color: var(--on-cc); }
html .jm-season-money a { border-radius: 10px; border: 1px solid rgba(20, 7, 14, .35); background: transparent; color: var(--on-cc); }
html .jm-season-money a:first-child, html .jm-cat-grid:not(:has(.jm-season)) .jm-itin-btn {
  background: var(--on-cc) !important; border-color: var(--on-cc) !important; color: #fff !important;
}
html .jm-season-money a:hover { background: rgba(20, 7, 14, .1); }
html .jm-season .jm-aff-note, html .jm-season .jm-aff-note a { color: rgba(20, 7, 14, .7) !important; }

/* ---------- trip budget calculator: neutral chrome, the grand total carries the country colour ---------- */
html .jm-budget-field label { text-transform: none; letter-spacing: 0; font-size: .78rem; color: var(--lk-t3); }
html .jm-budget-field input:focus, html .jm-budget-field select:focus, html .jm-daily-edit:focus { border-color: var(--cc); background: rgba(255, 255, 255, .06); }
html .jm-daily-edit { color: #e8e8f0; }
html .jm-budget-section-total { color: #e8e8f0; }
html .jm-budget-item { border-left-color: var(--lk-line); }
html .jm-budget-total { border-top: 1px solid var(--lk-line); }
html .jm-budget-total-row.main span:last-child { color: var(--cc-ink); font-weight: 700; }
html .jm-live-badge { color: var(--lk-t3); font-weight: 500; }
html .jm-season-alert, html .jm-season-alert:has(.warn), html .jm-season-alert:has(.good) { background: rgba(255, 255, 255, .03); border-left-color: var(--cc); }
html .jm-season-tag, html .jm-season-tag.warn, html .jm-season-tag.good { color: #e8e8f0; font-weight: 600; }

/* ---------- place detail view: neutral chips and buttons, one country-colour primary ---------- */
html .jm-cd-tag { background: rgba(255, 255, 255, .06); color: #c9cad6; }
html .jm-cd-description { border-left-color: var(--lk-line); }
html .jm-cd-thumb.active { border-color: var(--cc); }
html .jm-cd-hours h4 { text-transform: none; letter-spacing: 0; color: var(--lk-t3); font-weight: 500; }
html .jm-cd-hour-today { color: #e8e8f0; }
html .jm-cd-btn-maps { background: rgba(255, 255, 255, .06); color: #e8e8f0; border: 1px solid rgba(255, 255, 255, .1); }
html .jm-cd-btn-maps:hover { background: rgba(255, 255, 255, .12); }
html .jm-cd-btn-maps .jm-cd-lbl-long, html .jm-cd-btn-maps .jm-cd-lbl-short { color: inherit; }
html .jm-cd-btn-add:not(.jm-cd-btn-remove) { background: var(--cc); color: var(--on-cc); border-color: var(--cc); }
html .jm-cd-btn-add:not(.jm-cd-btn-remove):hover { background: var(--cc); filter: brightness(1.08); }
html .jm-cd-community-cta { color: var(--cc-ink); }

/* ---------- inline-styled CTAs (hubs and app pages): purple glow gradients become the band / solid ---------- */
html section[style*="rgba(124,77,255,.4)"] {
  background: var(--cc) !important; border: 0 !important;
}
html section[style*="rgba(124,77,255,.4)"] h2 { font-family: var(--lk-display) !important; font-weight: 700 !important; letter-spacing: -.02em; color: var(--on-cc) !important; }
html section[style*="rgba(124,77,255,.4)"] p { color: rgba(20, 7, 14, .78) !important; }
html section[style*="rgba(124,77,255,.4)"] a[style*="#7c4dff"] {
  background: var(--on-cc) !important; color: #fff !important; box-shadow: none !important; border-radius: 10px !important; font-weight: 600 !important;
}
html a[style*="linear-gradient(135deg,#ff1493,#7c4dff)"], html button[style*="linear-gradient(135deg,#ff1493,#7c4dff)"] {
  background: var(--cc) !important; color: var(--on-cc) !important; box-shadow: none !important; border-radius: 10px !important;
}
html .cgf-cta { background: #15151b !important; border-color: var(--lk-line) !important; }
html .cgf-cta-btn { color: var(--cc-ink) !important; border-color: var(--lk-line) !important; }

/* ---------- small chrome ---------- */
html .back-to-top {
  background: #1f1f27; border: 1px solid var(--lk-line); border-radius: 10px; box-shadow: none; color: #e8e8f0; font-size: 1.1rem;
}
html .back-to-top:hover { background: #2a2a34; }
/* trip builder: Back stays a ghost next to the one solid Continue; selections in the country colour, no pink-to-violet gradient */
html .tb-btn.ghost { background: transparent !important; color: #c9cad6 !important; border-color: var(--lk-line) !important; }
html .tb-btn.ghost:hover { background: rgba(255, 255, 255, .06) !important; }
html .tb-opt.sel { background: color-mix(in srgb, var(--cc) 10%, transparent); border-color: var(--cc); }
html .tb-city.sel, html .tb-day.sel { background: var(--cc); color: var(--on-cc); }
html .tb-dot.on { background: var(--cc); }
html body:has(.tb-nav) { padding-bottom: 80px; }   /* the fixed step bar covered the site footer links */
html .tb-eyebrow { color: var(--lk-t3) !important; text-transform: none !important; letter-spacing: 0 !important; font: 400 12px/16px var(--lk-mono) !important; }
html .jm-related > h2:nth-of-type(n) { text-transform: none; letter-spacing: 0; }

/* ---------- itinerary, where-to-stay, day-trip and JR pages (.it-*) ---------- */
html .it-plan .box {
  background: var(--cc); border: 0; border-radius: 20px; padding: 32px 36px; text-align: left; color: var(--on-cc);
}
html .it-plan h2 { font: 700 clamp(24px, 2.6vw, 34px)/1.05 var(--lk-display); letter-spacing: -.025em; color: var(--on-cc); }
html .it-plan p { color: rgba(20, 7, 14, .78); margin: 0; }
html .it-plan .plan-btn { background: var(--on-cc); color: #fff; border-radius: 10px; }
html .it-plan .plan-btn:hover { background: #2a1420; }
html .it-tours .tours-btn, html .it-cta a { border-radius: 10px; }
html .it-tours .tours-btn:first-child, html .it-cta a:not(.secondary) { background: var(--cc); color: var(--on-cc); border-color: var(--cc); }
html .it-tours .tours-btn:first-child:hover, html .it-cta a:not(.secondary):hover { background: color-mix(in srgb, var(--cc) 86%, #fff); }
html .ws-hotels { background: var(--cc) !important; color: var(--on-cc) !important; border-color: var(--cc) !important; border-radius: 10px !important; box-shadow: none !important; }
html .ws-hotels:hover { background: color-mix(in srgb, var(--cc) 86%, #fff) !important; }
/* inline cyan / purple text left in page markup */
html [style*="color:#00e5ff"], html [style*="color: #00e5ff"], html [style*="color:#7c4dff"], html [style*="color: #7c4dff"] { color: var(--cc-ink) !important; }
html [style*="rgb(0, 229, 255)"] { color: var(--cc-ink) !important; }   /* shared.js sets this via cssText */
html .hub-map-toggle { background: #1f1f27 !important; border-color: var(--lk-line) !important; box-shadow: none !important; animation: none; border-radius: 10px; font-size: .95rem; font-weight: 600; padding: 10px 18px; }
/* map button sits under the hero lede, on the hero's left edge, not centered alone under it */
html .hub-map-section { max-width: none; margin-top: -12px; padding: 0 16px; text-align: left; }
@media (min-width: 761px) { html .hub-map-section { padding: 0 48px; } }
html .hm-tip.leaflet-tooltip { border-color: var(--lk-line); }
html .price .once { color: rgba(232, 234, 242, .6); font-weight: 400; }   /* was gold, off palette */
html .jm-login-to-comment a { color: var(--cc-ink); }   /* was Thailand gold on every page */
html .jm-reviews-avg, html .jm-reviews-stars .star:not(.empty) { color: var(--cc-ink); }
/* no reviews yet: one compact left-aligned block, not a big header over two floating centered lines */
html .jm-reviews-section:has(.jm-reviews-list > .jm-no-comments) { margin: 16px auto 48px; padding-bottom: 0; }
html .jm-reviews-section:has(.jm-reviews-list > .jm-no-comments) .jm-reviews-header { margin-bottom: 4px; }
html .jm-reviews-section:has(.jm-reviews-list > .jm-no-comments) h2 { font-size: 1.25rem; }
html .jm-reviews-list:has(> .jm-no-comments) { margin-bottom: 0; }
html .jm-reviews-section .jm-no-comments, html .jm-reviews-section .jm-login-to-comment { text-align: left; padding: 0; margin: 0 0 4px; }
html .jm-itin-callout a { background: #15151b; border-color: var(--lk-line); }
html .jm-itin-callout a:hover { border-color: rgba(232, 232, 240, .3); transform: none; }
html .jm-related-grid a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(232, 232, 240, .3); transform: none; }

/* ---------- itinerary days: a route line in the country colour, stops read left to right (was a centred stack) ---------- */
html .it-intro { text-align: left; max-width: 820px; padding: 32px 24px 8px; }
html .it-day { border-left: 1px solid color-mix(in srgb, var(--cc) 50%, transparent); padding: 0 0 32px 28px; margin: 0 0 0 8px; max-width: none; text-align: left; }
html .it-day:last-child { border-left-color: transparent; }
html .it-day::before { display: block; content: ""; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border-radius: 0; background: var(--cc); }
html .it-day .day-label { font: 400 12px/16px var(--lk-mono); letter-spacing: 0; text-transform: none; color: var(--lk-t3); }
html .it-day h2 { font-family: var(--lk-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; margin: 4px 0 12px; }
html .it-stop { margin: 0 0 8px; max-width: none; text-align: left; padding: 12px 16px; }
/* every stop carries its photo (make_stop_photos.py wraps the stop; the stop markup itself is unchanged) */
html .it-ph { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0 0 8px; padding: 8px; background: var(--card); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; }
html .it-ph > img, html .it-ph > .it-ico { width: 120px; height: 90px; border-radius: 8px; object-fit: cover; background: #1c1d26; }
html .it-ph > .it-ico { display: grid; place-items: center; color: var(--lk-t3); }
html .it-ph .it-stop { margin: 0; padding: 0 8px 0 0; background: none; border: 0; border-radius: 0; }
@media (max-width: 560px) {
  html .it-ph { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  html .it-ph > img, html .it-ph > .it-ico { width: 88px; height: 72px; }
}
html .it-tips .box { text-align: left; }
html .it-faq > h2 { text-align: left; }

/* ---------- globe ---------- */
html .gs-head h2 { background: none; -webkit-text-fill-color: currentColor; color: #e8e8f0; font-weight: 700; }
html .logo-sub, html .stat-label { text-transform: none; letter-spacing: 0; font-family: var(--lk-mono); font-weight: 400; }
html .stat-box:hover { transform: none; }
html .dt-btn { background: var(--cc); color: var(--on-cc); border-radius: 10px; font-weight: 600; }
html .dt-btn:hover { background: color-mix(in srgb, var(--cc) 86%, #fff); }
html .dt-btn2 { border-radius: 10px; }
/* paid itinerary page: the buy button is the money action */
html button.cta#buy, html button.cta#buy2 { background: var(--cc) !important; color: var(--on-cc) !important; border-radius: 10px !important; box-shadow: none !important; font-weight: 600 !important; }
html button.cta#buy:hover, html button.cta#buy2:hover { background: color-mix(in srgb, var(--cc) 86%, #fff) !important; transform: none !important; }
/* My Trips signed out: panel centred above the footer (it floated mid-screen with a dead band under it), real link, no pill */
html .mt-wrap:has(> .mt-empty) { min-height: calc(100svh - 64px - 124px); display: flex; flex-direction: column; justify-content: center; }
html .mt-empty .mt-btn { border-radius: 10px; }
html .mt-empty p a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }

/* hubs: View map overlaps the hero edge by 12px and the hero painted over its top border; long intro paragraph read centred */
html .hub-map-section { position: relative; z-index: 1; }
html .cl-intro { text-align: left; max-width: 68ch; }

/* guide hero on phones: the text sits at the bottom, so the left-to-right desktop scrim only blacked out the photo; a light top fade for the nav and a bottom scrim for the text */
@media (max-width: 760px) { html .hero.uz-hero::before { background: linear-gradient(180deg, rgba(10, 12, 18, .55), rgba(10, 12, 18, 0) 22%), linear-gradient(0deg, rgba(10, 12, 18, .96), rgba(10, 12, 18, .82) 34%, rgba(10, 12, 18, 0) 66%); } }
/* budget chart (2026-11-06): legend rows read label, amount, percent side by side; total in the ring */
html .jm-donut-wrapper { gap: 28px; padding: 8px 0; }
html .jm-donut-legend { flex: 0 1 380px; gap: 2px; }
html .jm-donut-legend-item { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 3.2em; column-gap: 10px; font-size: .86rem; color: #d6d7e2; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); white-space: nowrap; }
html .jm-donut-legend-item:last-child { border-bottom: 0; }
html .jm-donut-dot { width: 10px; height: 10px; border-radius: 3px; }
html .jm-donut-name { overflow: hidden; text-overflow: ellipsis; }
html .jm-donut-amt { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
html .jm-donut-pct { color: #8a8ba0; margin: 0; text-align: right; }
html .jm-donut-total-label { fill: #8a8ba0; font-size: 10px; font-family: inherit; }
html .jm-donut-total { fill: #fff; font-size: 13px; font-weight: 700; font-family: inherit; }
@media (max-width: 520px) { html .jm-donut-wrapper { flex-direction: column; align-items: stretch; } html .jm-donut-svg { align-self: center; } html .jm-donut-legend { flex-basis: auto; } }
/* more guides (2026-11-06): rows of photo cards instead of a wall of city-name pills */
html .jm-related { max-width: 1120px; margin: 64px auto 32px; padding: 0 24px; background: none; border: 0; border-radius: 0; text-align: left; }
html .jm-related-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
html .jm-related-head + .jm-related-row + .jm-related-head { margin-top: 36px; }
html .jm-related .jm-related-head h2 { margin: 0; padding: 0; border: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: #fff; text-transform: none; }
html .jm-related-head + .jm-related-row + .jm-related-head h2 { font-size: 1rem; color: #c9cad8; }
html .jm-related-row { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
html .jm-related-row::-webkit-scrollbar { display: none; }
html .jm-related-head + .jm-related-row + .jm-related-head + .jm-related-row { grid-auto-columns: 152px; }
html .jm-rc { display: block; scroll-snap-align: start; color: #e8e9f2; text-decoration: none; }
html .jm-rc-img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #1c1d27; }
html .jm-rc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
html .jm-rc-name { display: block; margin-top: 8px; font-size: .95rem; font-weight: 600; }
html .jm-rc:hover .jm-rc-img img { transform: scale(1.04); }
html .jm-rc:hover .jm-rc-name { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
html .jm-rc:focus-visible { outline: 2px solid var(--cc, #fff); outline-offset: 4px; border-radius: 10px; }
html .jm-rel-nav { display: flex; gap: 8px; }
html .jm-rel-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: none; color: #e8e9f2; font-size: 1rem; line-height: 1; cursor: pointer; }
html .jm-rel-nav button:hover:not(:disabled) { border-color: rgba(255, 255, 255, .5); }
html .jm-rel-nav button:disabled { opacity: .3; cursor: default; }
@media (max-width: 600px) { html .jm-related { margin: 48px 0 24px; padding: 0 16px; } html .jm-related-row { grid-auto-columns: 42vw; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; } html .jm-related-head + .jm-related-row + .jm-related-head + .jm-related-row { grid-auto-columns: 34vw; } html .jm-rel-nav { display: none; } }
/* photo card grids (2026-11-06): itineraries + other countries on hubs, "More itineraries" on itinerary pages (make_hub_cards.py) */
html .jm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px 14px; text-align: left; justify-content: start; }
html .jm-rc-meta { display: block; margin-top: 2px; font: 400 12px/1.4 var(--lk-mono); color: var(--lk-t3); }
html section:has(> .jm-cards) > h2 { text-align: left; }
@media (max-width: 600px) { html .jm-cards { grid-template-columns: 1fr 1fr; gap: 18px 12px; } }
/* printable signup box (2026-11-06): neutral card, no pink tint, the printable shown beside the form */
html .jm-em-footer:not(.jm-em-wide) { max-width: 760px; background: #14151d; border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 28px; text-align: left; box-shadow: none; }
html .jm-em-footer:not(.jm-em-wide) h4 { font-size: 1.3rem; letter-spacing: -.01em; text-wrap: balance; }
html .jm-em-footer:not(.jm-em-wide) .jm-em-form { max-width: none; margin: 0; } html .jm-em-footer:not(.jm-em-wide) > p { text-wrap: pretty; }
html .jm-em-footer:not(.jm-em-wide) .jm-em-ok { text-align: center; }
html .jm-em-has-thumb { display: grid; grid-template-columns: 172px minmax(0, 1fr); column-gap: 28px; align-items: start; }
html .jm-em-has-thumb > :not(.jm-em-thumb) { grid-column: 2; }
html .jm-em-thumb { grid-column: 1; grid-row: 1 / span 4; width: 100%; height: auto; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .4); transform: rotate(-2deg); margin-top: 4px; }
@media (max-width: 600px) { html .jm-em-footer:not(.jm-em-wide) { padding: 22px 18px; } html .jm-em-footer:not(.jm-em-wide) h4 { font-size: 1.1rem; } html .jm-em-has-thumb > p:not(.jm-em-legal) { font-size: .86rem; } html .jm-em-has-thumb { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; } html .jm-em-thumb { grid-row: 1 / span 2; } html .jm-em-has-thumb > .jm-em-form, html .jm-em-has-thumb > .jm-em-legal { grid-column: 1 / -1; } html .jm-em-has-thumb > .jm-em-form { margin-top: 6px; } }
