/* Public copy is sized for reading, with room for its new line breaks. */
:root body { --gd-copy: 17px; --gd-small-copy: 15px; }
:root body main { font-size: var(--gd-copy); }
:root body main :is(p,li):not(.eyebrow,.eyebrow-light,.school-offer-eyebrow,.group-reference-eyebrow,.hero-kicker) {
  font-size: var(--gd-copy) !important;
  line-height: 1.55 !important;
}
:root body main :is(label,input,textarea,select) { font-size: 16px !important; line-height: 1.45 !important; }
:root body main :is(.button,.button-outline,.text-link) { font-size: 16px !important; line-height: 1.4 !important; }
:root body :is(.tour-modal-card,.catalog-request-card,.school-dialog) :is(p,label,input,textarea,select,li) { font-size: 16px !important; line-height: 1.55 !important; }
:root body :is(.tour-modal-card,.catalog-request-card,.school-dialog) :is(input,textarea,select) { min-width: 0; }
:root body footer :is(p,a,small,.footer-contact span,.footer-contact-row span) { font-size: 15px !important; line-height: 1.6 !important; }
:root body footer :is(.footer-legal-links,.school-footer-legal,.legal-links) a { font-size: 14px !important; }
:root body footer .footer-company span { font-size: 15px !important; line-height: 1.6 !important; }

/* Home: body copy, cards, reviews and seasonal navigation. */
:root body.home-page :is(.section-intro p,.tours-note p,.reviews-heading p,.review-card p,.about-strip p) { font-size: 17px !important; line-height: 1.6 !important; }
:root body.home-page :is(.tour-date,.tour-meta span,.home-tour-place-link,.review-source-link) { font-size: 15px !important; line-height: 1.5 !important; }
:root body.home-page .tour-body h3 { font-size: 18px !important; line-height: 1.35 !important; }
:root body.home-page :is(.review-person strong,.review-person small) { font-size: 15px !important; line-height: 1.45 !important; }
:root body.home-page .review-card { height: auto !important; min-height: 340px; }
:root body.home-page .format-card .format-card-copy p { height: auto !important; min-height: 0; max-height: none; -webkit-line-clamp: unset; overflow: visible; }
:root body.home-page .season-tabs { margin: 24px 0 !important; }
:root body.home-page .season-tab { min-height: 44px; font-size: 16px !important; }
:root body.home-page .city-events-photo-credit { font-size: 14px !important; line-height: 1.5 !important; }
.home-page .formats:not(:has([data-home-format="events"][style*="city-events-kirovka-v225"])) .city-events-photo-credit { display: none; }

/* The map itself and its parent now share the same outside edges. */
:root body.home-page section.map-section-interactive[data-site-section="map"] > .map-layout.shell {
  width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important;
  left: auto !important; right: auto !important; transform: none !important;
}
:root body.home-page .map-section-interactive { overflow: hidden; }
:root body.home-page .map-intro-details summary { font-size: 16px !important; line-height: 1.5 !important; }
:root body.home-page .tour-map-search > label { font-size: 16px !important; }
:root body.home-page .tour-map-search input { font-size: 16px !important; min-height: 52px; height: 52px; }

/* Tour prose and the itinerary are primary copy, not captions. */
:root body.tour-page :is(.tour-about p,.tour-timeline p,.tour-route-copy p,.tour-included li,.route-leg-copy p) { font-size: 17px !important; line-height: 1.6 !important; }
:root body.tour-page .tour-timeline b { font-size: 18px !important; line-height: 1.45 !important; }
:root body.tour-page .program-day { font-size: 15px !important; line-height: 1.5 !important; }
:root body.tour-page :is(.tour-fact span,.tour-highlight b,.tour-location) { font-size: 16px !important; line-height: 1.5 !important; }
:root body.tour-page :is(.tour-fact small,.tour-book-note,.tour-book-price-caption,.tour-book-link,.tour-modal-summary) { font-size: 15px !important; line-height: 1.5 !important; }
:root body.tour-page .tour-route-stats b { font-size: 16px !important; line-height: 1.5 !important; }
:root body.tour-page .tour-route-stats strong { font-size: 17px !important; line-height: 1.5 !important; }
:root body.tour-page .tour-included li { padding: 7px 0 7px 26px; }
:root body.tour-page .tour-included li::before {
  content: '' !important; top: 18px; left: 2px;
  width: 10px; height: 6px; border: solid currentColor;
  border-width: 0 0 2px 2px; transform: rotate(-45deg);
}

/* Catalogue copy can grow without colliding with dates or action buttons. */
:root body.catalog-page.catalog-cards-view .real-tour-card .tour-card-body {
  grid-template-rows: minmax(84px,auto) minmax(72px,auto) minmax(40px,auto) 1fr !important;
}
:root body.catalog-page .real-tour-card .tour-card-body h3 { height: auto !important; overflow: visible; }
:root body.catalog-page .real-tour-card .tour-card-location { font-size: 16px !important; line-height: 1.5 !important; height: auto !important; overflow: visible !important; }
:root body.catalog-page .real-tour-card .tour-card-location > span { display: block; -webkit-line-clamp: unset; overflow: visible; }
:root body.catalog-page .real-tour-card .tour-card-details { align-self: end; }
:root body.catalog-page :is(.catalog-intro,.sidebar-promo p) { font-size: 17px !important; line-height: 1.55 !important; }
:root body.catalog-page.catalog-cards-view .sidebar-promo .sidebar-promo-content p { font-size: 17px !important; line-height: 1.55 !important; }
:root body.tour-page .tour-location-inline { font-size: 16px !important; line-height: 1.5 !important; }
:root body.catalog-page .real-tour-card .tour-meta { font-size: 15px !important; line-height: 1.5 !important; }
:root body.catalog-page.catalog-cards-view .real-tour-card .tour-meta span { font-size: 15px !important; line-height: 1.5 !important; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-details > strong { font-size: 17px !important; line-height: 1.4 !important; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-details > span { font-size: 15px !important; line-height: 1.5 !important; }
:root body.catalog-page .real-tour-card .tour-place-link { font-size: 15px !important; height: auto; min-height: 40px !important; line-height: 20px; white-space: normal; }
:root body.catalog-page .real-tour-card .tour-tag { font-size: 13px; }

/* School and group text: preserve the display headings and photographs. */
:root body.school-page :is(.school-card-body p,.school-offer-features li,.school-offer-features li span,.school-benefits p,.school-process li p,.school-review-grid p,.school-offer-note,.school-offer-group) { font-size: 17px !important; line-height: 1.55 !important; }
:root body.school-page .school-card-body p { min-height: 0; }
:root body.school-page .school-card-meta { font-size: 15px !important; line-height: 1.5 !important; }
:root body.school-page .school-card-meta span { font-size: 15px !important; line-height: 1.5 !important; }
:root body.school-page .school-class strong { font-size: 18px !important; line-height: 1.35 !important; }
:root body.school-page .school-class small { font-size: 15px !important; line-height: 1.45 !important; }
:root body.school-page .school-review-grid :is(strong,small) { font-size: 15px !important; line-height: 1.5 !important; }
:root body.group-page :is(.group-reference-lead,.group-reference-step-body p,.group-reference-cta p,.group-reference-services li) { font-size: 18px !important; line-height: 1.55 !important; }
:root body.about-page:not(.group-page) main p { font-size: 18px !important; line-height: 1.65 !important; }

@media (max-width: 700px) {
  :root body.home-page .season-tabs { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; overflow: visible !important; }
  :root body.home-page .season-tab { width: 100%; padding: 10px 6px !important; margin: 0; }
  :root body.home-page .map-section-interactive .map-copy { top: 24px; left: 24px !important; width: calc(100% - 48px) !important; }
  :root body.home-page .map-section-interactive .map-copy .eyebrow { font-size: 13px !important; letter-spacing: .12em; }
  :root body.home-page .tour-map-search { top: 220px; left: 24px; right: 24px; }
  :root body.home-page .map-section-interactive:has(.map-intro-details[open]) .tour-map-search { top: 360px; }
  :root body.home-page .tour-map-widget { height: max(820px,90svh) !important; }
  :root body.home-page .tour-map-toolbar { width: calc(100% - 32px); max-width: none; display: grid; grid-template-columns: 1fr 1.6fr .8fr; }
  :root body.home-page .tour-map-toolbar button { width: 100%; padding-inline: 5px; font-size: 14px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  :root body.home-page .map-section-interactive .map-copy { top: 24px; left: 32px !important; width: calc(100% - 64px) !important; max-width: none; }
  :root body.home-page .map-section-interactive .map-copy h2 { font-size: 44px !important; line-height: 1.1 !important; }
  :root body.home-page .tour-map-search { top: 220px; left: 32px; right: 32px; width: auto; }
  :root body.home-page .map-section-interactive:has(.map-intro-details[open]) .tour-map-search { top: 430px; }
  :root body.home-page .tour-map-widget { height: max(850px,90svh) !important; }
}
@media (max-width: 600px) {
  :root body.catalog-page .catalog-content .tour-grid { grid-template-columns: minmax(0,1fr) !important; }
  :root body.catalog-page.catalog-cards-view .real-tour-card .tour-card-body { padding: 18px !important; }
  :root body.catalog-page .real-tour-card .tour-card-image-link { aspect-ratio: 1.65 !important; }
  :root body.school-page .school-intro .school-hero .school-lead { max-width: 100% !important; font-size: 20px !important; line-height: 1.35 !important; margin-bottom: 14px !important; }
  :root body.school-page .school-intro .school-hero .school-hero-details { max-width: 100% !important; font-size: 17px !important; line-height: 1.45 !important; }
  :root body.school-page .school-intro .school-hero.shell,
  :root body.school-page .school-intro .school-hero-copy { min-height: max(850px,195cqw) !important; }
  :root body.school-page .school-intro .school-reward-hook { bottom: 36px; min-height: 96px; grid-template-columns: 36px minmax(0,1fr) 22px; gap: 14px !important; padding: 14px !important; }
  :root body.school-page .school-intro .school-reward-hook strong,
  :root body.school-page .school-intro .school-reward-hook strong [data-vx-slot] { font-size: 15px !important; line-height: 1.35 !important; white-space: normal !important; }
  :root body.school-page .school-intro .school-reward-hook small { font-size: 14px !important; line-height: 1.4 !important; }
  :root body.school-page .school-class { min-height: 210px !important; align-items: flex-start; }
  :root body.school-page .school-class strong { font-size: 17px !important; }
  :root body.school-page .school-class small { font-size: 15px !important; }
  :root body.school-page .school-card-meta { display: grid; gap: 8px; }
  :root body.school-page .school-offer-features li { min-height: 0; }
  :root body.school-page .school-reviews .school-review-grid { grid-template-columns: 1fr; }
  :root body.school-page .school-final-inner { display: grid; gap: 24px; }
  :root body.school-page .school-footer nav { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 360px) {
  :root body.home-page .tour-map-search { top: 260px; }
  :root body.home-page .map-section-interactive:has(.map-intro-details[open]) .tour-map-search { top: 430px; }
  :root body.home-page .tour-map-toolbar button { font-size: 12px; }
  :root body.school-page .school-class { display: flex; flex-direction: column; gap: 10px; min-height: 240px !important; }
}
@media (max-width: 420px) {
  :root body.tour-page .tour-route-stats { grid-template-columns: minmax(0,1fr) !important; }
}
