.gt-more,.gt-swipe-meta,.gt-table-more{display:none}
/* Phone layout (max-width 700px only). Desktop and tablet styles are untouched.
   Loaded after every other stylesheet; selectors are prefixed with "html" so they
   win over the base rules without !important. */
@media (max-width:700px){
  /* ---------- 1. Density: line height, gaps, headings ---------- */
  html body{line-height:1.55}
  html p{line-height:1.6}
  html .text-slot.filled{line-height:1.6;font-size:15.5px}
  html:lang(de) main,html:lang(ru) main,html .about-fact-card,html .partner-card,html .person-card,html .document-card,html .form-grid label{hyphens:auto;-webkit-hyphens:auto}
  html .text-slot.filled{overflow-wrap:break-word}
  html .text-slot{margin:12px 0}
  html .section{padding-top:32px;padding-bottom:32px}
  html .section-heading{gap:8px;margin-bottom:16px}
  html .section-heading :is(h2:where(:not([data-heading-style])),div:where([data-heading-style="h2"])),html :is(h2:where(:not([data-heading-style])),div:where([data-heading-style="h2"])){font-size:25px;line-height:1.22;margin-bottom:14px}
  html .section-heading .eyebrow,html .page-hero .eyebrow{margin-bottom:8px}
  html .page-hero{padding:14px 0 22px}
  html .page-hero h1{font-size:30px;line-height:1.15;margin-bottom:12px}
  html .breadcrumb{margin-bottom:10px}
  html .content-section h2,html .article-section h2{font-size:22px;margin-bottom:10px}
  html .content-section .text-slot{margin-bottom:16px}
  html .article-section{margin-top:18px;padding-top:16px}
  html :is(h3,:is(h2,h4,div):where([data-heading-style="h3"])){line-height:1.3}
  html .cta-section{padding:28px 0}
  html .cta-inner h2{font-size:24px}
  html .split-section{gap:20px}
  html .related-links{gap:8px}
  html .related-links a{padding:10px 12px;font-size:13px;gap:10px}
  html .related-section .related-links{display:block}
  html .related-section .related-links a{display:flex;justify-content:space-between;align-items:center;border:0;border-bottom:1px solid var(--line);padding:11px 0;font-size:14.5px;line-height:1.4}
  html .text-link{margin-top:10px}
  html .site-footer{padding-top:28px}

  /* Tables: compact cells */
  html table{font-size:14px}
  html th,html td{padding:8px 10px}
  html .gt-table-more{margin:8px 0 0}

  /* ---------- 2. Header: compact, hides while scrolling down ---------- */
  html .site-header{transition:transform .25s ease;will-change:transform}
  html .site-header.gt-header-hidden{transform:translateY(-100%)}
  html .site-header>.header-inner{min-height:56px;padding-block:6px}
  html .header-inner>.brand img{width:104px;height:34px}
  html .header-inner nav{max-height:calc(100dvh - 64px)}

  /* ---------- 3. Swipe rows (one card and a peek of the next) ---------- */
  html .application-grid,
  html body[data-page] .application-grid,
  html .team-grid,
  html .document-grid,
  html .manufacturing-flow,
  html body[data-page] .home-process-flow,
  html body[data-page] .capability-overview-grid,
  html body[data-page] .application-overview-grid,
  html .gt-swipe{
    display:flex;grid-template-columns:none;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scroll-padding-inline:18px;padding:2px 18px 6px;margin-inline:-18px;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;list-style:none
  }
  html .application-grid::-webkit-scrollbar,html .team-grid::-webkit-scrollbar,html .document-grid::-webkit-scrollbar,
  html .manufacturing-flow::-webkit-scrollbar,html .home-process-flow::-webkit-scrollbar,html .gt-swipe::-webkit-scrollbar{display:none}
  html .application-grid>*,html body[data-page] .application-grid>.application-card,
  html .team-grid>*,html .document-grid>*,html .manufacturing-flow>*,html body[data-page] .home-process-flow>*,html body[data-page] .capability-overview-grid>*,html body[data-page] .application-overview-grid>*,html .gt-swipe>*{
    flex:0 0 80%;max-width:80%;min-width:0;scroll-snap-align:start;margin:0
  }
  html .person-card{max-width:80%;margin-inline:0}
  html .person-portrait{aspect-ratio:4/3.4}
  html .person-portrait img{object-position:50% 22%}
  html .person-details{padding:14px}
  html .person-name.filled{font-size:21px!important}
  html .person-bio.filled{font-size:14px!important;line-height:1.6!important}
  html .manufacturing-flow>li,html body[data-page] .home-process-flow>li{border:1px solid var(--line);padding:14px;background:var(--white)}
  html .dark-section .manufacturing-flow>li{background:transparent}
  html body[data-page] .capability-overview-grid>*,html body[data-page] .application-overview-grid>*{border:1px solid var(--line);padding:14px;background:var(--white)}
  html body[data-page="index"] .application-card .card-title{min-height:0}
  html .link-grid,html body[data-page] .link-grid{row-gap:0}
  html .link-card,html body[data-page] .link-card{margin-top:0;padding-bottom:14px}
  html .link-card .card-title{padding-top:14px}
  html .link-card h3{font-size:20px}
  html body[data-page] .home-capability-copy,html .link-card .text-slot.filled{margin-top:6px;font-size:15px;line-height:1.55}
  html body[data-page="index"] .home-application-copy{font-size:14.5px;line-height:1.55}

  /* Swipe counter added by mobile.js */
  html .gt-swipe-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin:8px 0 0}
  html .gt-swipe-meta .gt-dots{display:flex;gap:6px}
  html .gt-swipe-meta .gt-dots i{width:6px;height:6px;border-radius:50%;background:var(--line);display:block}
  html .gt-swipe-meta .gt-dots i.on{background:var(--gold)}
  html .dark-section .gt-swipe-meta{color:rgba(255,255,255,.7)}

  /* ---------- 4. Photo grids: two or three per row ---------- */
  html .gallery-grid,
  html .visit-gallery,
  html .application-project-grid,
  html body[data-page] .application-project-grid,
  html body[data-page] .overview-project-grid{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:none;margin-inline:0
  }
  html .gallery-grid .image-slot{min-height:0;aspect-ratio:4/3}
  html .visit-gallery figcaption,html .visit-feature figcaption,html .application-project-card :is(h3,:is(h2,h4,div):where([data-heading-style="h3"])),html .application-project-grid figcaption{font-size:12.5px;line-height:1.4;padding-top:6px;margin:0}
  html .application-project-card :is(h3,:is(h2,h4,div):where([data-heading-style="h3"])){font-size:13px}
  html .visit-gallery .image-slot{aspect-ratio:1/1}
  html .visit-feature{gap:14px}
  html .visit-feature-copy h3{font-size:21px}
  html .visit-feature-copy p{font-size:15.5px;line-height:1.6}
  html .partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  html .partner-card{width:auto;min-width:0;height:auto;padding:10px 6px 8px;gap:6px;font-size:11.5px;line-height:1.25;text-align:center}
  html .partner-card img{max-width:100%;height:30px;width:auto;object-fit:contain}
  html body[data-page] .about-fact-grid,html .fact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html body[data-page="about"] .about-fact-card .text-slot.filled{font-size:16px;line-height:1.45}
  html .about-fact-card{padding:14px}
  html .about-fact-card h3{font-size:14px;margin-bottom:6px}
  html body[data-page] .about-fact-grid>.about-output-card{grid-column:1/-1}
  html .cert-layout .image-slot{width:58%;min-height:0}
  html .image-slot[data-slot="about-certificate"]{width:58%;margin-inline:auto}
  html .company-timeline li{padding-top:12px;padding-bottom:12px}

  /* Images: flatter crops for wide photos */
  html .image-slot.filled[data-image-ratio="16:9"],html .image-slot[data-image-ratio="16:9"]{aspect-ratio:16/9}
  html .image-slot.filled[data-image-ratio="4:3"]:not(.hero-image){aspect-ratio:16/10}

  /* ---------- 5. Article library: compact list with thumbnails ---------- */
  html .library-grid{display:flex;flex-direction:column;gap:10px}
  html .library-card{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;align-items:start;padding:10px;border:1px solid var(--line);background:var(--white)}
  html .library-card-image{display:block;aspect-ratio:4/3;overflow:hidden;margin:0}
  html .library-card .library-image{width:100%;height:100%;object-fit:cover}
  html .library-card .library-image[src*="/product-supplement-20261023/"]{object-fit:contain;padding:3px}
  html .library-card-copy{padding:0}
  html .library-card-copy h3{font-size:15.5px;line-height:1.3;margin:2px 0 4px}
  html .library-card-copy p{font-size:13.5px;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  html .library-category{font-size:11.5px}
  html .resource-rows a{padding-top:12px;padding-bottom:12px}

  /* ---------- 6. Collapsible intros (mobile.js adds the classes) ---------- */
  html .gt-clamp{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:4px}
  html .gt-table-more{display:flex}
  html .gt-more{display:flex;width:fit-content;align-items:center;gap:6px;background:none;border:0;padding:4px 0;margin:0 0 12px;font:inherit;font-size:14px;color:var(--gold-dark);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
  html .dark-section .gt-more,html .cta-section .gt-more{color:var(--gold)}
  html .gt-rows-hidden tbody tr.gt-row-extra{display:none}

  /* ---------- 7. Home first screen: headline, photo, then text ---------- */
  html .hero{padding:16px 0 26px}
  html .hero-grid{display:flex;flex-direction:column;align-items:stretch;gap:0;text-align:start}
  html .hero-copy>*{margin-inline:0;max-width:none;align-self:stretch}
  html .hero-copy{display:contents}
  html .hero-copy>.eyebrow{order:1;margin-bottom:8px}
  html .hero-copy>h1{order:2;font-size:32px;line-height:1.1;margin-bottom:12px}
  html .hero-visual{order:3;margin:0 0 14px}
  html .hero-visual .hero-image{aspect-ratio:16/10!important}
  html .hero-visual .visual-caption{display:none}
  html .hero-copy>.hero-positioning{order:4;margin-bottom:8px;font-size:15px;line-height:1.5}
  html .hero-copy>.text-slot{order:5;margin:0 0 4px}
  html .hero-copy>.gt-more{order:6}
  html .hero-copy>.button-row{order:7;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0 10px}
  html .hero .button-row>.button{width:auto;justify-content:center;padding:13px 10px;font-size:14px;text-align:center}
  html .hero-copy>.quiet-link{order:8}

  /* ---------- 8. Contact form: short fields side by side ---------- */
  html .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
  html .form-grid>*{grid-column:1/-1;min-width:0}
  html .form-grid>label:has(input[name="name"]),html .form-grid>label:has(input[name="company"]),
  html .form-grid>label:has(input[name="whatsapp"]),html .form-grid>label:has(input[name="country"]),
  html .form-grid>label:has(select[name="customer_type"]),html .form-grid>label:has(select[name="product"]),
  html .form-grid>label:has(select[name="order_type"]),
  html .form-grid>label:has(select[name="timeframe"]){grid-column:auto}
  html .form-grid label{font-size:13px;gap:5px;line-height:1.35}
  html .form-grid input,html .form-grid select,html .form-grid textarea{padding:10px 9px}
  html .form-grid select{text-overflow:ellipsis}
  html .form-grid textarea{min-height:120px}
  html .contact-layout{gap:24px}
  html .contact-person .person-portrait{max-width:200px}
  html body .contact-block{padding:10px 0}
  html body .contact-block>span:first-child{margin-bottom:2px}
  html body .contact-action,html body .contact-block a{min-height:36px;padding-block:4px}
  html body .contact-aside h2{margin-bottom:6px}
  html body .contact-aside .text-slot{margin-top:10px}

  /* ---------- 9. Buttons: 44px touch height, proportional to the text ---------- */
  html body .button,html body main .button-row>.button,html body .hero .button-row>.button,html body .cta-inner .button-row>.button{height:auto;min-height:44px;padding:10px 14px;font-size:14px;line-height:1.3;gap:10px}
  html .button .inline-arrow{width:16px;height:16px;flex:0 0 16px}
  html body .button-row:has(>.button:nth-child(2)) .button .inline-arrow,html body .button-row:has(>.button:nth-child(2)) .button>span[aria-hidden]{display:none}
  html .button-row{gap:8px}
  html .button-row:has(>.button:nth-child(2)):not(:has(>.button:nth-child(3))){display:grid;grid-template-columns:1fr 1fr;width:100%}
  html body .button-row:has(>.button:nth-child(2))>.button{font-size:13.5px;padding-inline:6px;gap:6px}
  html body .button-row.gt-stack:has(>.button:nth-child(2)):not(:has(>.button:nth-child(3))){grid-template-columns:1fr}
  html body .button-row.gt-stack:has(>.button:nth-child(2))>.button{font-size:14px;padding-inline:14px}
  html body .button-row:has(>.button:nth-child(2))>.button[href*="wa.me"]{gap:6px;min-width:0}
  html body .button-row:has(>.button:nth-child(2))>.button[href*="wa.me"]::before{width:1.1em;height:1.1em}
  html .footer-link[data-whatsapp] .contact-value{margin-inline-start:1.5em}
  html body .button-row>.button,html body .hero .button-row>.button,html body .cta-inner .button-row>.button{justify-content:center;text-align:center;width:auto;max-width:none;padding-inline:10px}
  html .inquiry-actions .button{width:100%}
  html .library-search button,html form[role="search"] button{min-height:44px;padding:8px 14px;font-size:15px}
  html .inline-next{padding-top:14px}

  /* Header controls sized to the 56px bar */
  html .language-switcher>summary{min-height:36px;padding:6px 8px;font-size:13px}
  html .language-switcher>summary img,html .language-switcher>summary svg{width:20px;height:auto}
  html .site-search-toggle{width:40px;height:40px}
  html .header-inner>.menu-toggle{width:40px;height:40px;min-width:40px;min-height:40px;padding:8px}

  /* ---------- 10. Bottom contact bar: slimmer, hides with the header ---------- */
  html .mobile-contact-bar{padding:2px 6px calc(2px + env(safe-area-inset-bottom,0px));transition:transform .25s ease}
  html .mobile-contact-bar>a{min-height:44px;font-size:11px;gap:2px;justify-content:flex-start;padding-top:5px;line-height:1.15;text-align:center}
  html .mobile-contact-bar svg{width:20px;height:20px}
  html body.gt-bars-hidden .mobile-contact-bar{transform:translateY(105%)}
  html body{padding-bottom:calc(48px + env(safe-area-inset-bottom,0px))}

  /* Swipe arrows (alternative to swiping) */
  html .gt-swipe-meta .gt-arrows{display:flex;gap:6px;margin-inline-start:auto}
  html .gt-swipe-meta .gt-arrows button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--white);color:var(--ink);padding:0;cursor:pointer;font-size:16px;line-height:1}
  html .gt-swipe-meta .gt-arrows button:disabled{opacity:.35;cursor:default}
  html .dark-section .gt-swipe-meta .gt-arrows button{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
  html .application-grid img,html .team-grid img,html .document-grid img,html .gt-swipe img{-webkit-user-drag:none;user-select:none}

  /* ---------- 11. Home photo pairs, partner logos, footer ---------- */
  html .factory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html .factory-grid .image-slot{aspect-ratio:4/3}
  html .partner-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  html .partner-card{padding:8px 4px 6px;font-size:11px}
  html .partner-card img{height:26px}
  html .site-footer{padding-top:24px}
  html .footer-grid{grid-template-columns:1fr 1fr;gap:16px 18px;padding-bottom:18px}
  html .footer-grid>div:first-child{grid-column:1/-1}
  html .footer-grid>div:nth-child(3){grid-column:auto}
  html .footer-brand{margin-bottom:8px}
  html .footer-brand img{width:150px;height:46px}
  html .footer-grid :is(h3,:is(h2,h4,div):where([data-heading-style="h3"])){margin:0 0 8px}
  html .footer-grid>div>a:not(.brand),html .footer-link{margin:6px 0;font-size:13.5px;line-height:1.45}
  html .footer-link .contact-value{display:block;font-size:12.5px;color:var(--line)}
  html .site-footer .footer-wechat{flex-direction:column;align-items:flex-start;gap:6px;margin:10px 0}
  html .footer-wechat img{width:96px;height:96px}
  html .social-section{padding-bottom:12px}
  html .social-section :is(h3,:is(h2,h4,div):where([data-heading-style="h3"])){margin-bottom:8px}
  html .footer-bottom{padding:12px 0}

  /* ---------- 12. Tighter vertical rhythm (strong selectors beat page-specific rules) ---------- */
  html body .section,html body section.section,html body .section.wrap,html body .section.soft-section,html body .section.dark-section{padding-top:22px;padding-bottom:22px}
  html body .cta-section{padding:22px 0}
  html body .page-hero{padding:10px 0 16px}
  html body .page-hero h1{margin-bottom:8px}
  html body .section-heading{margin-bottom:12px;gap:6px}
  html body .section-heading :is(h2:where(:not([data-heading-style])),div:where([data-heading-style="h2"])),html body main :is(h2:where(:not([data-heading-style])),div:where([data-heading-style="h2"])){margin-bottom:10px}
  html body .eyebrow{margin-bottom:6px}
  html body main p{margin-bottom:10px}
  html body .text-slot{margin-top:8px;margin-bottom:8px}
  html body .content-section,html body .article-section,html body .detail-content .article-section{margin-top:12px;padding-top:12px;padding-bottom:0}
  html body .article-section h2,html body .content-section h2{margin-bottom:8px}
  html body .article-copy,html body .text-slot.filled.article-copy,html body p.article-copy{line-height:1.6;margin-bottom:10px}
  html body .content-section .text-slot{margin-bottom:10px}
  html body main table,html body .article-table-scroll{margin-top:10px;margin-bottom:12px}
  html body main figure{margin-top:10px;margin-bottom:12px}
  html body main figcaption{padding-top:6px}
  html body .text-link{margin-top:6px}
  html body .factory-audit-link{margin:12px 0 4px}
  html body .faq-item summary{padding-top:10px;padding-bottom:10px}
  html body .detail-layout{gap:16px}
  html body .detail-image,html body .detail-content>.image-slot{margin-bottom:12px}
  html body .section-number{margin-bottom:4px}
  html body .related-section{margin-top:16px;padding-top:12px}
  html body .company-timeline li{padding-top:10px;padding-bottom:10px}
  html body .milestone-year{margin-bottom:2px}
  html body .detail-content .content-section,html body main .content-section{padding-top:12px;padding-bottom:4px}
  html body.buyer-article .page-hero,html body .buyer-article .page-hero,html body main .page-hero{padding-bottom:16px}
  html body .buyer-article .page-hero .article-copy,html body .page-hero .article-copy{font-size:16px;line-height:1.6}
  html body main .article-table-scroll{margin:10px 0 12px}
  html body main th,html body main td{padding:8px 10px;line-height:1.45}
  html body main caption{padding-bottom:6px;line-height:1.4}
  html body .company-article .article-mobile-toc,html body .article-mobile-toc{margin-block:10px 4px;padding-block:8px}
  html body .article-mobile-toc nav{padding-top:6px;gap:2px}
  html body .article-mobile-toc a{padding-block:3px}
  html body .section,html body section.section,html body .section.wrap,html body .section.soft-section,html body .section.dark-section{padding-top:20px;padding-bottom:20px}
  html body .cta-section{padding:20px 0}
  html body .technical-table tbody th{padding:10px 12px;font-size:16px}
  html body .technical-table td{padding:8px 12px}
  html body .split-section.visit-planning,html body main .split-section{margin-top:16px}
}
@media (max-width:359px){
  html .form-grid>label{grid-column:1/-1}
  html .partner-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:700px) and (prefers-reduced-motion:reduce){
  html .site-header,html .mobile-contact-bar{transition:none}
}

/* ---------- Tablets (iPad portrait and similar, 701–1100px) ---------- */
@media (min-width:701px) and (max-width:1100px){
  html body{line-height:1.6}
  html p,html .text-slot.filled,html body .article-copy{line-height:1.65}
  html body .section,html body section.section,html body .section.wrap,html body .section.soft-section,html body .section.dark-section{padding-top:44px;padding-bottom:44px}
  html body .cta-section{padding:36px 0}
  html body .page-hero,html body main .page-hero{padding:22px 0 30px}
  html body .section-heading{margin-bottom:20px}
  html body .content-section,html body .article-section,html body .detail-content .article-section{margin-top:18px;padding-top:18px}
  html body main p{margin-bottom:12px}
  /* header: compact, hides while scrolling down */
  html .site-header{transition:transform .25s ease}
  html .site-header.gt-header-hidden{transform:translateY(-100%)}
  html .site-header>.header-inner{min-height:64px;padding-block:8px}
  html .header-inner>.brand img{width:120px;height:auto}
  html .mobile-contact-bar{transition:transform .25s ease}
  html body.gt-bars-hidden .mobile-contact-bar{transform:translateY(105%)}
  html .mobile-contact-bar>a{min-height:46px;font-size:12px;gap:2px;justify-content:flex-start;padding-top:6px;line-height:1.15}
  /* buttons */
  html body .button,html body main .button-row>.button,html body .hero .button-row>.button,html body .cta-inner .button-row>.button{height:auto;min-height:44px;padding:10px 18px;font-size:14px}
  html body .hero .button-row{flex-direction:row;flex-wrap:wrap}
  html body .related-links a{padding:11px 14px;font-size:14px;line-height:1.5}
  /* home application cards: three per row */
  html .application-grid,html body[data-page] .application-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  html body[data-page] .application-grid .image-slot,html .application-grid .image-slot{aspect-ratio:4/3}
  html body[data-page="index"] .application-card .card-title{min-height:0;font-size:17px}
  html body[data-page="index"] .home-application-copy{font-size:14.5px;line-height:1.55}
  /* team and certificates: swipe rows, two cards visible */
  html body .team-grid,html body .document-grid,html body[data-page] .team-grid{display:flex;grid-template-columns:none;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:28px;padding:2px 28px 8px;margin-inline:-28px;max-width:none;scrollbar-width:none}
  html .team-grid::-webkit-scrollbar,html .document-grid::-webkit-scrollbar{display:none}
  html .team-grid>*,html .document-grid>*{flex:0 0 44%;max-width:44%;min-width:0;scroll-snap-align:start;margin:0}
  html .gt-swipe-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin:10px 0 0}
  html .gt-swipe-meta .gt-dots{display:flex;gap:6px}
  html .gt-swipe-meta .gt-dots i{width:6px;height:6px;border-radius:50%;background:var(--line);display:block}
  html .gt-swipe-meta .gt-dots i.on{background:var(--gold)}
  html .gt-swipe-meta .gt-arrows{display:flex;gap:6px;margin-inline-start:auto}
  html .gt-swipe-meta .gt-arrows button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--white);color:var(--ink);padding:0;cursor:pointer;font-size:16px}
  html .gt-swipe-meta .gt-arrows button:disabled{opacity:.35}
  /* photo grids and logos */
  html .visit-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:none}
  html .visit-gallery .image-slot{aspect-ratio:1/1}
  html .partner-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
  html .partner-card{width:auto;min-width:0;height:auto;padding:10px 6px 8px;gap:6px;font-size:12px;text-align:center}
  html .partner-card img{max-width:100%;height:32px;width:auto;object-fit:contain}
}
/* Narrow desktops and landscape tablets: keep the floating contact buttons out of the content */
@media (min-width:1101px) and (max-width:1439px){
  html .contact-rail{right:6px;bottom:16px}
  html[dir="rtl"] .contact-rail{right:auto;left:6px}
  html .contact-rail>a{width:38px;height:38px}
  html .contact-rail svg{width:19px;height:19px}
}
