/* Applied to the service, lodging and editorial templates below desktop width. */
.rk-header .rk-nav {
  inset-inline: calc(-1 * var(--gutter));
  width: auto;
  transform: none;
}
#design-hero.rk-inner-cover > .rk-hero-photo { height: 100%; }
#design-hero.rk-inner-cover > .rk-shell { padding-block-end: var(--header-gap); }
#design-hero.rk-inner-cover .rk-hero-title { width: 100%; overflow-wrap: anywhere; }
#design-page :is(.camp-section, .edition-section, .contact-section, .edition-grid, .rk-action) { min-width: 0; }
#design-page .rk-button { max-inline-size: 100%; }
#design-page .camp-photo { align-self: start; }
#design-page .rk-grid[data-rk-mobile-list], #design-page .blog-grid[data-rk-mobile-list] { scroll-snap-type: none; }
@media (min-width: 641px) {
  #design-page :is(.edition-grid-2, .edition-grid-3, .edition-grid-4, .contact-details, .prices-media-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #design-page :is(.blog-grid, .transfer-routes.rk-grid)[data-rk-mobile-list] {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}
@media (max-width: 640px) {
  #design-page :is(.camp-section .rk-grid-two, .camp-info-row, .pryanik-guide, .transfer-tariffs, .transfer-routes, .transfer-intro-columns, .prices-water, .spot-grid) {
    grid-template-columns: minmax(0, 1fr);
  }
  #design-page .camp-info-row { gap: var(--card-gap); }
  #design-page #registration .rk-info-top { grid-template-columns: minmax(0, 1fr); }
  #design-page .weather-facts { flex-wrap: wrap; }
  #design-page .blog-grid[data-rk-mobile-list] { grid-template-columns: none; }
}
#design-page #design-hero.rk-article-cover {
  display: grid;
  height: auto;
  min-height: var(--photo-height);
}
#design-hero.rk-article-cover > .rk-hero-photo { height: 100%; }
#design-hero.rk-article-cover > .rk-shell {
  height: auto;
  padding-block: calc(var(--header-expanded-height) + var(--header-gap)) var(--header-gap);
}
#design-hero.rk-article-cover .rk-hero-copy { min-width: 0; gap: var(--gap); }
@media (max-width: 640px) {
  #design-page :is(.contact-method, .prices-quote-row) { grid-template-columns: minmax(0, 1fr); }
  #design-page :is(.contact-method, #registration .rk-action, .prices-quote-actions) > :is(.rk-button, .rk-phone) {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }
  #design-page .rk-article-meta { flex-wrap: wrap; gap: var(--s2) var(--gap); }
  .rk-article-meta-details { display: contents; }
  .rk-article-meta .rk-article-date { border: 0; padding: 0; }
  .rk-article-date time, .rk-article-date time > span { display: inline-flex; gap: .25em; }
  .rk-article-date time > strong[data-rk-type] { font: inherit; }
  .rk-article-categories { flex-basis: 100%; }
}
#design-page .edition-reading .rules-toc a {
  display: flex;
  align-items: center;
  min-block-size: 44px;
}
.edition-reading .rules-toc ul { gap: 0; }
@media (min-width: 641px) {
  #design-page .rk-grid.transfer-routes:has(.rk-price), .edition-reading .rules-toc ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gap);
  }
}
#design-page #design-hero.rk-inner-cover > img[data-rk-mobile-focus] { object-position: var(--mobile-photo-focus) center; }
/* Interior covers use the article heading group across its full reading width. */
#design-page .rk-article-cover > .rk-shell > .rk-hero-copy { width: 100%; gap: var(--gap); }
#design-page .contact-method > :is(.rk-button,.rk-phone) { margin-inline: 0; justify-self: start; }
#design-page .contact-location > :is(.company-story-photo,.edition-media) { order: -1; }
.edition-reading { gap: var(--header-gap); }
.weather-gallery > .weather-switcher { scrollbar-width: none; overscroll-behavior-inline: contain; }
.weather-switcher::-webkit-scrollbar { display: none; }
@media (max-width: 640px) {
  #design-page .rk-grid.transfer-routes[data-rk-mobile-list] { grid-template-columns: none; scroll-snap-type: none; }
  #design-page .transfer-routes > .transfer-route { align-self: stretch; }
  #questions #design-faq .rk-faq-grid > .rk-faq-card:last-child {
    grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center;
  }
  #questions #design-faq .rk-faq-grid > .rk-faq-card:last-child img { max-height: 100px; }
  #design-page :is(#services,#principles) { --type-step: clamp(64px,16vw,100px); }
  #design-page :is(#services,#principles) .rk-reason { grid-template-columns: max-content minmax(0,1fr); gap: var(--s3); }
  .camp-page #design-page .camp-body > .rk-gallery {
    grid-template-columns: repeat(2,minmax(0,1fr)); margin-block-start: calc(var(--header-gap) - var(--section-gap));
  }
  .camp-page #design-page .camp-body > .rk-gallery > :last-child:nth-child(odd) { grid-column: 1/-1; width: calc((100% - var(--s1)) / 2); justify-self: center; }
  #design-page .edition-gallery-grid { display: grid; grid-template-columns: minmax(0,1fr); }
  #design-page .edition-gallery-grid > button { width: 100%; }
  #design-page .edition-gallery-grid::after { content: none; }
  .payment-logos { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,1fr); align-items: center; }
  .payment-logos img { width: 100%; max-height: var(--control-height); }
  .weather-stage { min-block-size: 0; gap: var(--card-gap); }
  .weather-stage-heading { flex-wrap: wrap; }
  .weather-gallery .weather-switcher { order: -1; }
  .weather-gallery .weather-days { grid-template-columns: minmax(0,1fr); }
  .weather-days > li { grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: start; }
  .weather-days li > p { justify-self: end; }
  .weather-days li > img { width: 32px; }
  .weather-gallery .rk-gallery-frame > .rk-gallery-arrow { position: static; transform: none; translate: none; opacity: 1; pointer-events: auto; }
  .weather-gallery .rk-gallery-frame { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--card-gap); }
  .weather-gallery .weather-stage { grid-column: 1/-1; }
  .weather-gallery .rk-review-next { justify-self: end; }
}

#design-page:has(#registration) #design-hero img[data-rk-mobile-focus] { background: linear-gradient(#0367b2, #024074); }

#design-page #design-hero > .rk-hero-photo[src$="/img1794.webp"] { object-position: calc(70% - 20vw) center; }
#design-page .rk-inner-cover .rk-hero-title { line-height: 1.08; }
.weather-gallery .weather-switcher > button { flex: 0 0 max(7rem, calc((100% - 2 * var(--card-gap)) / 2.35)); min-inline-size: max-content; }
#design-page .weather-gallery .rk-gallery-arrow {
  display: grid; place-items: center; position: relative; inset: auto; margin: 0; translate: none; transform: none;
}
#design-page .weather-gallery .rk-gallery-arrow > .rk-arrow-mark {
  position: static; inset: auto; width: 19px; height: 15px; margin: 0; transform: none; translate: none; filter: brightness(0) invert(1);
}

@media (min-width: 641px) {
  .weather-gallery .rk-gallery-frame { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--card-gap); }
  .weather-gallery .weather-stage { grid-column: 1/-1; padding-inline: var(--inset); }
  .weather-gallery .rk-gallery-arrow { opacity: 1; pointer-events: auto; }
  .weather-gallery .rk-review-next { justify-self: end; }
}
