/* OSHO 0.34 — a simpler, touch-friendly experience for phones. */
@media (max-width: 980px) {
  .site-header { position: sticky; top: 0; z-index: 120; box-shadow: 0 1px 10px rgba(75,35,35,.065); }
  .site-header .header-inner { min-height: 68px; }
  .site-header .menu-toggle { display: flex; margin-left: auto; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; }
  .site-header .search-toggle { display: inline-flex; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; }
  .site-header .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 5; padding: 14px max(18px, env(safe-area-inset-right)) 18px; background: #fffaf3; box-shadow: 0 18px 28px rgba(45,25,25,.15); max-height: min(75dvh, 640px); overflow-y: auto; overscroll-behavior: contain; }
  .site-header .primary-nav.is-open { display: block; }
  .site-header .nav-list { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header .nav-list a { display: flex; padding: 11px 8px; min-height: 48px; align-items: center; white-space: normal; font-size: 17px; line-height: 1.3; }
  .site-header .nav-list .sub-menu a { padding: 10px 16px; font-size: 16px; }
  .site-header .header-search { position: absolute; left: 0; right: 0; top: 100%; z-index: 6; width: 100%; padding: 16px; }
  .site-header .header-search form { display: flex; max-width: 100%; gap: 8px; flex-wrap: wrap; }
  .site-header .header-search input[type="search"] { flex: 1 1 190px; min-width: 0; font-size: 16px; }
  .osho-mobile-menu-backdrop { position: fixed; inset: 68px 0 0; z-index: 2; background: rgba(46,31,38,.32); }
  .osho-mobile-menu-backdrop[hidden] { display: none; }
  body.osho-mobile-nav-open { overflow: hidden; }
  body.home .site-header .menu-toggle { display: flex; }
  body.home .site-header .primary-nav { display: none; }
  body.home .site-header .primary-nav.is-open { display: block; }
}
.osho-mobile-dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .osho-mobile-dock { position: fixed; inset: auto 0 0 0; z-index: 110; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); align-items: stretch; min-height: 66px; padding: 3px max(8px,env(safe-area-inset-right, 0px)) calc(3px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px)); border-top: 1px solid #e6cebd; background: rgba(255,250,244,.98); box-shadow: 0 -6px 25px rgba(52,30,36,.1); }
  .osho-mobile-dock a { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 57px; padding: 6px 3px; border-radius: 12px; font: 600 11.5px/1.15 Arial,sans-serif; color: #633144; text-align: center; text-decoration: none; }
  .osho-mobile-dock svg { display: block; width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; fill: none; }
  .osho-mobile-dock a[aria-current="page"] { background: #f6e6d9; color: #883a32; }
  .osho-mobile-dock a.osho-mobile-dock-signup { color: #8c2c43; }
  .osho-mobile-dock a:focus-visible { outline: 3px solid #af6535; outline-offset: -2px; }
  body.osho-mobile-input-focused .osho-mobile-dock { display: none; }
  .osho-mobile-dock :where(span) { overflow-wrap: anywhere; }
  .site-footer { padding-bottom: 26px; }
  .site-footer .footer-inner { display: grid; gap: 18px; }
  .footer-inner ul { display: flex; flex-wrap: wrap; gap: 12px 18px; }
  .footer-inner :is(a,button) { min-height: 44px; display: inline-flex; align-items: center; }
  :where(.container,.inner-page,.single-content) { min-width: 0; }
  .entry-content, .single-content { overflow-wrap: anywhere; }
  .entry-content :is(p,li) { line-height: 1.67; }
  .inner-page { padding-top: 28px; padding-bottom: 48px; }
  .inner-page h1 { font-size: clamp(31px, 8vw, 42px); line-height: 1.13; }
  .inner-page h2 { font-size: clamp(25px, 6.5vw, 33px); line-height: 1.18; }
  .inner-page h3 { font-size: clamp(21px,5.3vw,27px); }
  .section-heading, .osho-v25-section-head { flex-wrap: wrap; align-items: start; }
  .section-heading a, .oa-section-more { min-height: 42px; display: inline-flex; align-items: center; }
  .button-primary,.button-outline,.oa-button { min-height: 46px; align-items: center; justify-content: center; text-align: center; }
  .osho-event-signup-form { gap: 19px; }
  .osho-event-signup-form label { gap: 9px; font-size: 16px; }
  .osho-event-signup-form input:not([type=checkbox]), .osho-event-signup-form textarea { min-height: 50px; width: 100%; padding: 13px 14px; border-radius: 12px; font-size: 16px; }
  .osho-event-signup-form textarea { min-height: 116px; resize: vertical; }
  .osho-event-signup-form .osho-consent { font-size: 14px; line-height: 1.5; }
  .osho-event-signup-form .osho-consent input { width: 23px; height: 23px; margin-top: 1px; }
  .osho-event-signup-form button[type=submit] { width: 100%; min-height: 54px; font-size: 16px; border-radius: 16px; }
  .osho-event-signup { scroll-margin-top: 86px; }
  .osho-registration-feedback { border: 1px solid #cfa37f; border-radius: 10px; padding: 13px 16px; background: #fffaf3; font-size: 15px; }
  .osho-v25-event-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .osho-v25-event-hero__actions a { min-height: 46px; }
  .osho-v25-filter-form { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .osho-v25-filter-form label { min-width: 0; }
  .osho-v25-filter-form :is(select,input,button) { width: 100%; max-width: 100%; min-height: 48px; font-size: 16px; }
  .osho-calendar-heading .osho-month-nav { min-width: 48px; min-height: 48px; display: grid; place-items: center; }
  .osho-v32-agenda-day li { padding: 14px 0; }
  .osho-v32-agenda-day li a { min-height: 44px; padding: 4px 0; }
  :where(.inner-page,.single-content,.entry-content) :is(table,pre) { max-width: 100%; }
  :where(.entry-content,.single-content) pre { overflow-x: auto; }
  :where(.entry-content,.single-content) iframe { max-width: 100%; }
  .osho-v23-practice-card a { display: grid; grid-template-columns: 40% minmax(0,1fr); height: 100%; }
  .osho-v23-practice-card__image { height: 100%; min-height: 152px; aspect-ratio: auto; }
  .osho-v23-practice-card__body { padding: 14px; display: flex; flex-direction: column; }
  .osho-v23-practice-card__body h3 { font-size: clamp(18px,4.7vw,22px); }
  .osho-v23-practice-card__body p { font-size: 14px; line-height: 1.42; min-height: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .osho-v23-practice-card__meta { margin-top: auto; padding-top: 4px; font-size: 13px; }
  .osho-v23-practice-card__meta .arrow { min-width: 38px; min-height: 38px; }
  .osho-v23-practice-stages__grid { gap: 8px; }
  .osho-v23-practice-stages__grid article { min-width: 0; }
  .osho-v23-practice-bottom { gap: 18px; }
  .osho-v23-practice-event-row { padding: 17px; }
  .osho-v23-practice-event-row .action a { display: inline-flex; width: 100%; }
  .oa-pathways { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px 0; padding: 12px 0; }
  .oa-pathway { min-width: 0; grid-column: span 2; padding: 9px 5px; }
  .oa-pathway:nth-child(4) { grid-column: 2 / span 2; }
  .oa-pathway:nth-child(5) { grid-column: 4 / span 2; }
  .oa-pathway span { font-size: clamp(12px,3.3vw,15px); line-height: 1.25; }
  .oa-pathway:nth-child(4)::before { display: none; }
  .oa-feature-tiles { gap: 14px; }
  .oa-feature-copy :where(.oa-button,.button-outline) { min-height: 42px; }
  .oa-home-contact { flex-wrap: wrap; }
  .oa-home-contact .oa-button { min-height: 48px; }
  .oa-gallery-rail { scroll-padding-inline: 8px; }
}
@media(max-width:740px) {
  .site-header .brand-ru, .site-header .brand-divider { display: none; }
  .site-header .brand-mark-svg { width: 42px; height: 42px; }
  .site-header .brand-english { font-size: 21px; }
}
@media(max-width:360px) {
  .osho-mobile-dock a { font-size: 10.5px; }
  .osho-v23-practice-card a { grid-template-columns: 36% minmax(0,1fr); }
  .osho-v23-practice-card__body { padding: 12px; }
  .site-header .brand-ru { display: none; }
  .site-header .brand-divider { display: none; }
}
@media(prefers-reduced-motion:reduce){ .osho-mobile-dock *, .osho-mobile-dock *::before { transition: none!important; } }
@media(max-width:760px) {
  .osho-lightbox { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; border-radius: 0; padding: 62px 9px calc(18px + env(safe-area-inset-bottom,0px)); }
  .osho-lightbox-content { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 3px; }
  .osho-lightbox-prev,.osho-lightbox-next { width: 44px; height: 48px; font-size: 25px; }
  .osho-lightbox-close { width: 48px; height: 48px; top: 8px; right: 9px; }
  .osho-lightbox-content img { touch-action: pan-y pinch-zoom; }
}
