/* GALINA HOME MOBILE V1 - final mobile overrides, 23.11.2026.
   The real calligraphic logo is preserved; no changes to calculators or GEO. */
.ga-gallery-mobile-heading,
.ga-gallery-mobile-subheading,
.ga-mobile-day-short,
.ga-mobile-calendar-link,
.ga-mobile-day-meta { display: none; }

@media (max-width: 700px) {
  /* Identity lives in an independent strip, never across the portrait. */
  body .approved-hero {
    display: flex !important;
    flex-direction: column !important;
    background: #17382d !important;
  }
  body .approved-hero .approved-hero-brand {
    display: flex !important;
    order: -3;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 82px !important;
    height: auto !important;
    padding: 10px 132px 10px 13px !important;
    margin: 0 !important;
    box-sizing: border-box;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    background: #163b2e !important;
    text-align: left !important;
    z-index: 15 !important;
    white-space: normal !important;
  }
  body .approved-hero .approved-hero-brand .brandmark-approved {
    display: block !important;
    flex: 0 0 53px !important;
    width: 53px !important;
    height: 62px !important;
    max-height: none !important;
    object-fit: contain !important;
    mix-blend-mode: normal !important;
    filter: brightness(1.6) saturate(1.3) drop-shadow(0 1px 2px rgba(0,0,0,.35)) !important;
  }
  body .approved-hero .approved-hero-wordmark {
    flex: 1 1 auto;
    display: block !important;
    min-width: 0;
    max-width: 165px !important;
    color: #fbe3aa !important;
    font: 600 clamp(11px, 3.4vw, 14px)/1.24 Georgia,serif !important;
    letter-spacing: .025em !important;
    text-transform: uppercase;
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: normal !important;
    text-wrap: balance;
    text-shadow: 0 1px 2px #0b251a !important;
  }
  body .approved-hero .gp-search-launch.gp-search-home {
    position: absolute !important;
    top: 19px !important;
    right: 79px !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 24 !important;
  }
  body .approved-hero .hero-menu-button {
    top: 14px !important;
    right: 13px !important;
    width: 52px !important;
    height: 53px !important;
    z-index: 24 !important;
  }
  body .approved-hero .approved-picture {
    order: -2;
    width: 100% !important;
    height: clamp(330px, 103vw, 466px) !important;
  }
  body .approved-hero .ga-new-hero-mobile-copy {
    order: -1;
    padding: 26px 20px 29px !important;
    text-align: center !important;
  }
  body .approved-hero .ga-new-hero-mobile-copy h2 {
    margin: 0 auto 14px !important;
    font-size: clamp(32px, 8.5vw, 41px) !important;
    line-height: 1.1 !important;
    text-align: center !important;
  }
  body .approved-hero .ga-new-hero-mobile-copy .ga-new-hero-divider {
    margin: 0 auto 13px !important;
  }
  body .approved-hero .ga-new-hero-mobile-copy p {
    margin: 0 auto 21px !important;
    width: 100% !important;
    max-width: none !important;
    font-size: clamp(11px, 3.4vw, 15px) !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    text-align: center !important;
  }
  body .approved-hero .ga-new-hero-mobile-actions a {
    min-height: 49px !important;
    padding: 11px 14px !important;
  }

  /* Guide: no split or awkward multi-line 'Step 1 of 3'. */
  body #ga-guide .ga-tool-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
    font-size: clamp(11px, 3.1vw, 13px) !important;
    line-height: 1.4 !important;
    letter-spacing: .06em !important;
  }
  body #ga-guide .ga-tool-head > span,
  body #ga-guide #ga-guide-step {
    display: block !important;
    width: auto !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }
  body #ga-guide #ga-guide-step { font-size: 12px !important; }
  body #ga-guide .ga-progress { margin: 15px 0 22px !important; }

  /* Direction gallery: group title is primary, the invitation is secondary. */
  body #directions .section-head .ga-gallery-desktop-heading { display: none !important; }
  body #directions .section-head .ga-gallery-mobile-heading {
    display: block !important;
    margin: 6px auto 9px !important;
    color: #163e31 !important;
    font: 400 clamp(29px, 7.7vw, 35px)/1.12 Georgia,serif !important;
    letter-spacing: -.02em !important;
    text-align: center !important;
    text-wrap: balance;
  }
  body #directions .section-head .ga-gallery-mobile-subheading {
    display: block !important;
    font: 500 clamp(17px, 4.5vw, 20px)/1.35 system-ui,'Segoe UI',sans-serif !important;
    color: #475d51 !important;
    margin: 0 auto 9px !important;
    text-align: center !important;
  }
  body #directions .section-head .kicker > .ga-ol-part:last-child,
  body #directions .section-head .kicker > .ga-ol-join { display: none !important; }
  body #directions .section-head > p:last-child {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin: 0 auto !important;
  }

  /* One calendar feature, one clear action, no duplicated giant card. */
  body #moi-den.ga-daily-band { padding: 26px 0 33px !important; }
  body #moi-den .ga-interactive-layout { display: block !important; }
  body #moi-den .ga-intro-column {
    box-sizing: border-box;
    padding: 26px 22px 23px !important;
    border-radius: 20px;
    background: #fffdf8;
    border: 1px solid #dfd1b9;
    box-shadow: 0 9px 24px rgba(24,47,35,.04);
    max-width: none !important;
  }
  body #moi-den .ga-intro-column > .kicker {
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 0 0 9px !important;
  }
  body #moi-den .ga-intro-column h2 {
    max-width: none !important;
    font-size: clamp(30px, 7.6vw, 36px) !important;
    line-height: 1.15 !important;
    margin: 0 0 15px !important;
    text-align: center !important;
  }
  body #moi-den .ga-intro-column > p:not(.kicker):not(.ga-mobile-day-short):not(.ga-mobile-day-meta),
  body #moi-den .ga-calendar-cta,
  body #moi-den .ga-mini-tag { display: none !important; }
  body #moi-den .ga-mobile-day-short {
    display: block !important;
    font-size: clamp(15px, 4.15vw, 17px) !important;
    line-height: 1.52 !important;
    text-align: left !important;
    color: #4c5b52 !important;
    margin: 0 0 19px !important;
  }
  body #moi-den .ga-mobile-calendar-link {
    display: block !important;
    background: #20543f !important;
    color: #fffaf0 !important;
    border-radius: 10px;
    text-align: center !important;
    text-decoration: none !important;
    font: 650 clamp(15px, 4.2vw, 17px)/1.3 system-ui,'Segoe UI',sans-serif !important;
    padding: 15px 13px;
    margin-bottom: 12px;
  }
  body #moi-den .ga-mobile-day-meta {
    display: block !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    text-align: center !important;
    color: #7c725c !important;
  }
  /* Number and category name form one aligned heading in each offer card. */
  body #services .service-offer-top {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
    padding-bottom: 15px !important;
    font-size: clamp(12px, 3.5vw, 15px) !important;
    line-height: 1.35 !important;
    letter-spacing: .035em !important;
  }
  body #services .service-offer-top .service-num {
    flex: 0 0 auto !important;
    display: inline-block !important;
    font-size: clamp(21px, 5.5vw, 26px) !important;
    line-height: 1 !important;
  }
  body #services .service-offer-top > span:last-child {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
    text-align: left !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /* Floating calendar and scroll controls must have their own zones. */
  body .ga-cal-dock { bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important; right: 12px !important; }
  body :is(.scroll-top,.back-to-top,.to-top,.go-top,.scroll-to-top,.back-top,#back-to-top,#scroll-top,#to-top) {
    bottom: calc(110px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
  }
}
@media (max-width: 360px) {
  body .approved-hero .approved-hero-brand { padding-left: 9px !important; padding-right: 125px !important; }
  body .approved-hero .approved-hero-brand .brandmark-approved {
    flex-basis: 45px !important; width: 45px !important; height: 55px !important;
  }
  body .approved-hero .approved-hero-wordmark { font-size: 10px !important; letter-spacing: 0 !important; }
  body .approved-hero .gp-search-launch.gp-search-home { right: 72px !important; width: 40px !important; height: 42px !important; }
  body .approved-hero .hero-menu-button { width: 47px !important; right: 11px !important; }
  body .approved-hero .ga-new-hero-mobile-copy { padding-inline: 15px !important; }
}

/* GALINA HOME MOBILE V2 | final polish of screenshots from 24.11.2026.
   The original portrait is kept; the replacement photo removes only embedded menu pixels. */
@media (max-width: 700px) {
  /* The calendar is already linked in a full standalone section of this page.
     Hiding its duplicated floating launcher removes overlaps with content/cards. */
  body .ga-cal-dock { display: none !important; }
  body :is(.scroll-top,.back-to-top,.to-top,.go-top,.scroll-to-top,.back-top,#back-to-top,#scroll-top,#to-top) {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    right: 12px !important;
  }
  /* Author line stays readable while remaining a single complete phrase. */
  body .approved-hero .ga-new-hero-mobile-copy p {
    font-size: clamp(12px, 3.45vw, 14px) !important;
    line-height: 1.45 !important;
    white-space: nowrap !important;
  }
  /* The three-part descriptor duplicates the primary calendar message and breaks
     into an orphaned tail on narrow screens: remove it entirely on mobile. */
  body #moi-den .ga-mobile-day-meta { display: none !important; }
  /* Number and heading share a row; subordinate explanation and action are aligned. */
  body #calculator .ga20 .ga20-grid .ga20-card,
  body #calculator .ga20-grid .ga20-card,
  body #calculator a.ga20-card {
    display: grid !important;
    grid-template-columns: 38px minmax(0,1fr) !important;
    align-items: baseline !important;
    column-gap: 10px !important;
    row-gap: 10px !important;
    padding: 17px !important;
    text-align: left !important;
  }
  body #calculator .ga20-card .ga20-num { grid-column: 1 !important; font-size: 27px !important; }
  body #calculator .ga20-card h3 {
    grid-column: 2 !important;
    margin: 0 !important;
    text-align: left !important;
    font-size: clamp(20px,5.8vw,23px) !important;
    line-height: 1.2 !important;
  }
  body #calculator .ga20-card p,
  body #calculator .ga20-card .ga20-more {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    text-align: left !important;
  }
}


/* GALINA HOME MOBILE V3: fixes narrow screens without changing the approved logo. */
@media (max-width: 359px) {
  /* The logo and controls use the top row; the name has its own space.
     This prevents the brand wordmark from running beneath the search control. */
  body .approved-hero .approved-hero-brand {
    position: relative !important;
    min-height: 117px !important;
    height: 117px !important;
    padding: 8px 10px 49px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }
  body .approved-hero .approved-hero-brand .brandmark-approved {
    flex: 0 0 53px !important;
    width: 53px !important;
    height: 58px !important;
    max-height: 58px !important;
  }
  body .approved-hero .approved-hero-wordmark {
    position: absolute !important;
    top: 70px !important;
    left: 8px !important;
    right: 8px !important;
    width: calc(100% - 16px) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font: 600 12px/1.22 Georgia, 'Times New Roman', serif !important;
    letter-spacing: .035em !important;
    white-space: normal !important;
  }
  body .approved-hero .gp-search-launch.gp-search-home {
    top: 14px !important;
    right: 76px !important;
    width: 42px !important;
    height: 42px !important;
  }
  body .approved-hero .hero-menu-button {
    top: 9px !important;
    right: 10px !important;
    width: 49px !important;
    height: 51px !important;
  }
  /* Keep the complete author credit on one line, without horizontal clipping. */
  body .approved-hero .ga-new-hero-mobile-copy p {
    font-size: 10.5px !important;
    line-height: 1.4 !important;
    letter-spacing: -.025em !important;
    white-space: nowrap !important;
    max-width: 100% !important;
  }
}


/* GALINA HOME MOBILE V4 — compact first screen + controlled kicker typography. */
@media (max-width: 700px) {
  /* Preserve the approved portrait; crop only excess vertical space on compact mobile screens. */
  body .approved-hero .approved-picture {
    height: clamp(265px, 49svh, 390px) !important;
    overflow: hidden !important;
  }
  body .approved-hero .approved-picture img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 18% !important;
  }
  body .approved-hero .ga-new-hero-mobile-copy {
    padding-top: 18px !important;
    padding-bottom: 22px !important;
  }
  body .approved-hero .ga-new-hero-mobile-copy h2 {
    font-size: clamp(27px, 7.3vw, 35px) !important;
    line-height: 1.08 !important;
    margin-bottom: 9px !important;
  }
  body .approved-hero .ga-new-hero-mobile-copy .ga-new-hero-divider {
    margin-bottom: 9px !important;
  }
  body .approved-hero .ga-new-hero-mobile-copy p {
    margin-bottom: 14px !important;
  }
  /* Two deliberate complete lines, no dangling hyphen / mid-word wrap. */
  body #ga-interaktivy .ga20-kicker-v4 {
    font-size: clamp(12px, 3.8vw, 16px) !important;
    line-height: 1.35 !important;
    letter-spacing: .025em !important;
    text-align: center !important;
  }
  body #ga-interaktivy .ga20-kicker-v4 .ga20-kicker-line {
    display: block !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  body #ga-interaktivy .ga20-kicker-v4 .ga20-kicker-separator {
    display: none !important;
  }
}
