/* Menu: Our Doctors (6th item) on the last row, after Clinics' row position */
html body header.wp-block-template-part .wp-block-navigation li:nth-child(6) { order: 8; }

/* Partner logos on phones: square band, bigger logos (2 per row) */
@media (max-width: 781px) {
  html body .av-logos { border-radius: 0 !important; padding: 18px 10px !important; row-gap: 14px !important; }
  html body .av-logos > .wp-block-column { flex: 0 0 50% !important; max-width: 50% !important; }
  html body .av-logos img { max-width: 165px !important; }
}

/* Booking summary: each date reacts on hover like a button */
.av-dates .av-date-days b[data-s]{cursor:pointer;padding:4px 6px 3px;margin:-4px -6px -3px;border-radius:8px;transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease}
.av-dates .av-date-days b[data-s] .dd,.av-dates .av-date-days b[data-s] small{transition:color .18s ease,border-color .18s ease}
.av-dates .av-date-days b[data-s]:hover,.av-dates .av-date-days b[data-s]:focus-visible{background:#fff;transform:translateY(-2px);box-shadow:0 3px 10px rgba(0,0,0,.10);outline:none}
.av-dates .av-date-days b[data-s]:hover .dd,.av-dates .av-date-days b[data-s]:focus-visible .dd{color:var(--lc)}
.av-dates .av-date-days b[data-s]:hover small,.av-dates .av-date-days b[data-s]:focus-visible small{border-top-width:3px}
.av-dates .av-date-days b[data-s]:active{transform:translateY(0);box-shadow:0 1px 4px rgba(0,0,0,.12)}
@media (prefers-reduced-motion:reduce){.av-dates .av-date-days b[data-s]{transition:none}.av-dates .av-date-days b[data-s]:hover{transform:none}}

/* Booking summary: slightly smaller day numbers */
html body .av-dates .av-date-days b .dd{font-size:17px !important}
@media (max-width:600px){html body .av-dates .av-date-days b .dd{font-size:15px !important}}

/* Booking summary: slightly smaller day numbers */
html body .av-dates .av-date-days b .dd{font-size:17px !important}
@media (max-width:600px){html body .av-dates .av-date-days b .dd{font-size:16px !important}}

/* Booking summary: hover card centred vertically in the row */
html body .av-dates .av-date-days b[data-s]{padding:4px 7px !important;margin:-4px -7px !important}
html body .av-dates .av-date-days b[data-s]:hover,html body .av-dates .av-date-days b[data-s]:focus-visible,html body .av-dates .av-date-days b[data-s]:active{transform:none !important}

/* Booking summary: room around the hover card so it sits centred */
html body .av-dates .av-date-days b[data-s]{padding:3px 7px !important;margin:-3px -7px !important}
html body .av-dates .av-date-row{padding-top:11px !important;padding-bottom:11px !important}
@media (max-width:600px){html body .av-dates .av-date-row{padding-top:9px !important;padding-bottom:11px !important;row-gap:6px !important}}

/* Retreat page: compact header block, Book button under the places counter */
body:has(#av-places-20) .wp-block-post-featured-image{margin-top:22px !important;margin-bottom:0 !important}
body:has(#av-places-20) .av-oneline{margin-top:26px !important}
body:has(#av-places-20) .av-oneline ~ h4{margin-top:8px !important;margin-bottom:0 !important}
body:has(#av-places-20) .av-oneline ~ h4 + p{margin-top:12px !important}
body:has(#av-places-20) .av-oneline ~ .av-places{margin-top:6px !important;margin-bottom:0 !important}
body:has(#av-places-20) .av-oneline ~ .wp-block-buttons{margin-top:18px !important}
body:has(#av-places-20) .av-oneline ~ .wp-block-buttons + p{margin-top:34px !important}
body:has(#av-places-20) .av-share-title{margin-top:0 !important}

body:has(#av-places-20) .wp-block-post-content{margin-top:0 !important;padding-top:0 !important}
body:has(#av-places-20) .av-oneline{margin-top:22px !important}

/* Doctors page: same thin light ring around every portrait */
.avd-card:not(#dr-giovanni-brincivalli):not(#vaidya-sandhya-okada) .avd-photo{padding:3px;box-sizing:border-box;background:#e6e1d6}
.avd-card:not(#dr-giovanni-brincivalli):not(#vaidya-sandhya-okada) .avd-photo img{border-radius:50%}

/* Booking forms: no "(required)" hints; PayPal logo centred */
#book .grunion-label-required{display:none !important}
html body #book .av-pay .av-pay-logos{display:flex !important;justify-content:center !important;max-width:none !important}
html body #book .av-pay .av-pay-logos > a{width:auto !important}

/* Booking forms: all fields required, no "(required)" text shown */
#book .grunion-label-required{display:none !important}
/* PayPal box centred */
html body #book .av-pay.av-pay-cards{margin-left:auto !important;margin-right:auto !important;align-items:center !important;text-align:center}
html body #book .av-pay .av-pay-logos{width:100% !important;display:flex !important;justify-content:center !important;margin:0 auto !important}
html body #book .av-pay .av-pay-logos > a{width:auto !important;display:block}

/* Booking forms: PayPal logo (HD) next to the PayPal payment option, bigger centred PayPal tile */
.contact-form input[type=radio][value*="PayPal" i] + .grunion-radio-label{display:inline-flex !important;align-items:center;gap:12px;flex-wrap:wrap}
.contact-form input[type=radio][value*="PayPal" i] + .grunion-radio-label::after{content:"";display:inline-block;width:76px;height:48px;background:url(https://ayurvedavita.com/wp-content/uploads/2026/10/pay-paypal-hd.png) center/contain no-repeat;flex:none}
.av-pay .av-pay-logos{justify-content:center !important;width:100%}
.av-pay .av-pay-logos a{margin:0 auto}
.av-pay .av-pay-logos img{width:120px !important;height:auto !important}
.av-pay .av-pay-logos figcaption{display:none}

html body form .av-pay .av-pay-logos a figure img,html body .av-pay .av-pay-logos img[src*="pay-paypal-hd"]{width:120px !important;max-width:120px !important;height:auto !important}

html body #book .av-pay .av-pay-logos figure img,html body .av-pay .av-pay-logos figure img{width:120px !important;max-width:120px !important}

/* Retreat form: show "(required)" again */
html body #book .grunion-label-required{display:inline !important}

/* Consultation form: cash option first, PayPal second */
html body .avb fieldset.avbc-pay{display:flex !important;flex-direction:column}
html body .avb .avbc-pay > label.avbc-opt:has(input[value=cash]){order:1}
html body .avb .avbc-pay > label.avbc-opt:has(input[value=online]){order:2}
html body .avb .avbc-pay > .avbc-logos{order:3}

/* Menu with 7 items: natural order everywhere; phones in 3 rows (2 + 3 + 2) */
html:root body header.wp-block-template-part .wp-block-navigation li:nth-child(n){order:0}
@media (max-width:600px){
html:root body header.wp-block-template-part .wp-block-navigation li:nth-child(1){order:1}
html:root body header.wp-block-template-part .wp-block-navigation li:nth-child(2){order:2}
html:root body header.wp-block-template-part .wp-block-navigation li:nth-child(3),html:root body header.wp-block-template-part .wp-block-navigation li:nth-child(4),html:root body header.wp-block-template-part .wp-block-navigation li:nth-child(5){order:4}
html:root body header.wp-block-template-part .wp-block-navigation li:nth-child(6),html:root body header.wp-block-template-part .wp-block-navigation li:nth-child(7){order:7}
}
@media (min-width:601px) and (max-width:1000px){
html:root:root body header.wp-block-template-part .wp-block-navigation{font-size:13px !important;letter-spacing:.08em !important}
html:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container{column-gap:16px !important}
}

/* Remedies page (flyer headline + two option cards) */
.avf{max-width:980px;margin:0 auto;text-align:center;padding:0 20px}
.avf-eye{margin:0!important;font-size:13px;letter-spacing:.3em;text-transform:uppercase;color:#8a7f6c;font-weight:500}
html body .avf h2{margin:12px 0 0!important;font-size:clamp(36px,6vw,66px)!important;line-height:1.02!important;font-weight:500;color:#2b3a30!important}
html body .avf h2 em{font-weight:400;color:#4f6b58}
.avf-sub{margin:16px auto 0!important;max-width:640px;font-family:var(--wp--preset--font-family--cormorant);font-style:italic;font-size:clamp(20px,2.6vw,26px);line-height:1.25;color:#7a4a3c}
.avf-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:30px}
.avf-card{display:flex;flex-direction:column;align-items:center;padding:30px 26px;background:#fffdf7;border:1px solid #e6dcc6;border-radius:18px}
.avf-opt{margin:0!important;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:#9a6b34}
html body .avf-card h3{margin:8px 0 0!important;font-size:32px!important;line-height:1.1;color:#133124}
.avf-card p.avf-txt{margin:12px 0 0!important;font-size:16px;line-height:1.6;color:#2b3a30;max-width:360px}
.avf-art{position:relative;width:100%;max-width:440px;margin:14px auto 0;aspect-ratio:832/468;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='50 -6 832 468'%3E%3Ccircle cx='468' cy='232' r='226' fill='rgba(232,166,78,0.20)'/%3E%3Ccircle cx='480' cy='224' r='226' fill='none' stroke='%23c28a3e' stroke-opacity='0.32' stroke-width='1.4'/%3E%3Ccircle cx='150' cy='330' r='96' fill='rgba(74,148,106,0.20)'/%3E%3Ccircle cx='790' cy='132' r='88' fill='rgba(112,124,204,0.18)'/%3E%3Ccircle cx='806' cy='352' r='56' fill='rgba(206,118,108,0.20)'/%3E%3Cg fill='rgba(74,148,106,0.30)' stroke='%234f6b58' stroke-opacity='0.7' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M150 430 C146 350 150 270 170 190' fill='none'/%3E%3Cpath d='M152 380 C120 372 100 350 96 322 C126 326 146 348 152 380 Z'/%3E%3Cpath d='M153 330 C186 320 204 296 206 268 C176 274 158 298 153 330 Z'/%3E%3Cpath d='M158 284 C128 272 112 248 112 220 C140 228 156 254 158 284 Z'/%3E%3Cpath d='M164 236 C194 224 208 200 208 174 C182 182 166 206 164 236 Z'/%3E%3Cpath d='M170 190 C158 168 160 146 174 128 C186 148 184 170 170 190 Z'/%3E%3C/g%3E%3Cg fill='rgba(74,148,106,0.26)' stroke='%234f6b58' stroke-opacity='0.7' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M792 60 C800 130 796 200 776 276' fill='none'/%3E%3Cpath d='M795 108 C826 114 846 134 852 160 C822 158 802 138 795 108 Z'/%3E%3Cpath d='M794 156 C762 166 746 190 744 216 C774 210 790 186 794 156 Z'/%3E%3Cpath d='M788 204 C818 214 834 238 834 264 C806 258 790 234 788 204 Z'/%3E%3Cpath d='M776 276 C760 258 758 236 768 216 C784 234 786 256 776 276 Z'/%3E%3C/g%3E%3Cg fill='none' stroke='%237a4a3c' stroke-opacity='0.65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M756 352 C756 392 778 412 806 412 C834 412 856 392 856 352 Z' fill='rgba(206,118,108,0.22)'/%3E%3Cpath d='M746 352 L866 352'/%3E%3Cpath d='M786 412 L780 424 L832 424 L826 412'/%3E%3Cpath d='M812 350 L846 296' stroke-width='5' stroke-opacity='0.5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.avf-qr{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42%;box-sizing:border-box;padding:2.6%;background:#fff;border:1px solid #d9cbae;border-radius:14px;box-shadow:0 8px 24px rgba(43,58,48,.10);display:block}
.avf-qr img{display:block;width:100%;height:auto;margin:0}
.avf-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:20px 0 0;padding:0;list-style:none}
.avf-chips li{margin:0;padding:6px 12px;border-radius:999px;font-size:14px;background:#e3f0ea;border:1px solid #cfe1d7;color:#2b3a30}
.avf-gap{height:22px;flex:none}
a.avf-btn{display:inline-block;margin-top:auto;padding:12px 24px;border-radius:999px;background:#133124;color:#fff!important;text-decoration:none!important;font-size:14px;letter-spacing:.1em;text-transform:uppercase}
a.avf-btn:hover{background:#2f7a5f}
.avf-rule{width:120px;height:1px;background:#c9b896;margin:34px auto 0}
.avf-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:28px}
.avf-n{width:44px;height:44px;margin:0 auto;border-radius:50%;border:1.4px solid #9a6b34;display:flex;align-items:center;justify-content:center;font-family:var(--wp--preset--font-family--cormorant);font-size:24px;color:#8a5f2c}
html body .avf-steps h3{margin:10px 0 0!important;font-size:30px!important;line-height:1;color:#2b3a30}
.avf-steps p{margin:8px 0 0!important;font-size:16px;line-height:1.45;color:#5d6a60}
.avf-note{max-width:760px;margin:30px auto 0!important;font-size:15px;line-height:1.6;color:#6b7468}
@media (max-width:760px){.avf-cards{grid-template-columns:1fr}.avf-card{padding:26px 18px}html body .avf-card h3{font-size:28px!important}.avf-steps{grid-template-columns:1fr;gap:22px}}

/* Menu: gold dots + booking button (computer), fine framed + booking button (phone) */
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(2) > a{background:#133124 !important;border-radius:999px !important;border-bottom:0 !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(2) > a,html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(2) > a span{color:#f5efe4 !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(2) > a:hover{background:#2f7a5f !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container{align-items:center !important}
@media (min-width:601px){
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container{column-gap:0 !important;flex-wrap:nowrap !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li{display:flex !important;align-items:center !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a{padding:0 13px !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(n+4)::before{content:"";width:5px;height:5px;border-radius:50%;background:#b8873a;display:inline-block;flex:none}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(2) > a{padding:6px 17px !important;margin:0 6px !important}
}
@media (max-width:600px){
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li{display:flex !important;align-items:center !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation,html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a,html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a span{font-size:12px !important;letter-spacing:.16em !important;font-weight:400 !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container{column-gap:14px !important;row-gap:7px !important;border-top:1px solid #c9a868 !important;border-bottom:1px solid #c9a868 !important;padding:9px 6px !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(2) > a{padding:5px 14px !important}
}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a{white-space:nowrap !important}
@media (min-width:601px) and (max-width:1000px){
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a{padding:0 8px !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(2) > a{padding:5px 13px !important;margin:0 4px !important}
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation,html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a span{font-size:12px !important;letter-spacing:.07em !important}
}


/* Menu: Consultation button turns gold on hover, like the home page Consultation button */
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(2) > a:hover,html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(2) > a:focus-visible{background:#9a6b34 !important}


/* Home: a single retreat card stays card-sized and centred instead of stretching full width */
html body.home .wp-block-columns:has(> .av-card:only-child){justify-content:center}
html body.home .wp-block-columns > .av-card:only-child{flex:0 1 620px !important;max-width:620px}


/* Remedies page: shareable shop link under the "Open the shop link" button */
html body .avf-card p.avf-share{margin:16px 0 0!important;font-size:15px;line-height:1.5;color:#5d6a60;text-align:center;overflow-wrap:anywhere}
html body .avf-card p.avf-share a{color:#9a6b34;text-decoration:underline;text-underline-offset:3px}


/* Menu: Shop (5th item) styled like the Consultation button: green pill, gold on hover */
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a{background:#133124 !important;border-radius:999px !important;border-bottom:0 !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a,html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a span{color:#f5efe4 !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a:hover,html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a:focus-visible{background:#9a6b34 !important}
@media (min-width:601px){
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a{padding:6px 17px !important;margin:0 6px !important}
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5)::before,html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(6)::before{display:none !important}
}
@media (min-width:601px) and (max-width:1000px){
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a{padding:5px 13px !important;margin:0 4px !important}
}
@media (max-width:600px){
html:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a{padding:5px 14px !important}
}
/* Remedies page: category chips link to the Ayushakti shop */
.avf-chips li a{color:inherit !important;text-decoration:none !important;display:block}
.avf-chips li:has(a):hover{background:#cfe1d7;border-color:#9fc2b0}


/* Menu order is now Home, Consultation, Shop, Doctors, Clinics, Panchakarma, Retreats */
/* 5th item (Clinics) back to a plain link */
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a,html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a:hover,html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a:focus-visible{background:transparent !important;border-radius:0 !important;margin:0 !important}
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a,html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a span{color:#3d2b4a !important}
/* 3rd item (Shop): green pill, gold on hover, right next to Consultation */
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(3) > a{background:#133124 !important;border-radius:999px !important;border-bottom:0 !important}
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(3) > a,html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(3) > a span{color:#f5efe4 !important}
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(3) > a:hover,html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(3) > a:focus-visible{background:#9a6b34 !important}
@media (min-width:601px){
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a{padding:0 13px !important}
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(3) > a{padding:6px 17px !important;margin:0 6px 0 0 !important}
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4)::before{display:none !important}
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5)::before,html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(6)::before{display:inline-block !important}
}
@media (min-width:601px) and (max-width:1000px){
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a{padding:0 8px !important}
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(3) > a{padding:5px 13px !important;margin:0 4px 0 0 !important}
}
@media (max-width:600px){
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a{padding:0 !important}
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(3) > a{padding:5px 14px !important}
html:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(3){order:2 !important}
}
/* Shop page: both card buttons on the same line, green with gold on hover */
html body a.avf-btn:hover,html body a.avf-btn:focus-visible{background:#9a6b34 !important}
@media (min-width:761px){
html body .avf-cards .avf-card:not(:has(.avf-share))::after{content:"";display:block;height:calc(16px + 1.5 * 15px);flex:none}
}


@media (max-width:600px){
html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a{padding:0 0 3px !important}
}


/* Shop page: the Ayushakti note sentence on one line on computer screens */
@media (min-width:1000px){html body .avf p.avf-note{max-width:980px !important}}


/* Shop page: subtitle on one line on computer screens (French slightly smaller to fit) */
@media (min-width:1000px){
html body .avf p.avf-sub{max-width:980px !important}
html:lang(fr) body .avf p.avf-sub{font-size:23px !important}
}


/* Home hero: the two intro sentences, one row each, same size in every language */
@media (min-width:782px){
html body .wp-block-column:has(> .av-hero-lines){container-type:inline-size}
html body p.av-hero-lines{font-size:min(17.9px, calc((100cqw + 30px) / 45)) !important;width:calc(100% + 30px);max-width:none}
html body p.av-hero-lines > span{white-space:nowrap}
}


/* Menu order is now Home, Consultation, Shop, Retreats, Doctors, Clinics, Panchakarma */
/* 4th item (Retreats): green pill, gold on hover */
html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4) > a{background:#133124 !important;border-radius:999px !important;border-bottom:0 !important}
html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4) > a,html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4) > a span{color:#f5efe4 !important}
html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4) > a:hover,html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4) > a:focus-visible{background:#9a6b34 !important}
@media (min-width:601px){
html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4) > a{padding:6px 17px !important;margin:0 6px 0 0 !important}
html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4)::before,html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5)::before{display:none !important}
html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(6)::before,html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(7)::before{display:inline-block !important}
}
@media (min-width:601px) and (max-width:1000px){
html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4) > a{padding:5px 13px !important;margin:0 4px 0 0 !important}
}
@media (max-width:600px){
html:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4) > a{padding:5px 14px !important}
}


/* Home "Next dates": hide the consultation card until it has been refreshed with the next dates (shows anyway after 3s if the refresh fails) */
@keyframes avNdShow{to{visibility:visible}}
html:not(.av-nd-ready) body .av-card:has(a[href*="book-a-consultation"]),html:not(.av-nd-ready) body .av-card:has(a[href*="beratung-buchen"]),html:not(.av-nd-ready) body .av-card:has(a[href*="prenota-una-consulenza"]),html:not(.av-nd-ready) body .av-card:has(a[href*="reserver-une-consultation"]){visibility:hidden;animation:avNdShow 0s 3s forwards}


/* Booking calendar: retreat days (from the retreat posts' dates) */
html body .avb .avb-day.avb-retreat{background:#f6ead3 !important;border:1px solid #c98f45 !important;color:#7a4f1c !important;opacity:1 !important;cursor:pointer;position:relative;font-weight:600;border-radius:4px}
html body .avb .avb-day.avb-retreat::after{content:"";position:absolute;left:50%;bottom:22%;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:#c98f45}
html body .avb .avb-day.avb-retreat:hover,html body .avb .avb-day.avb-retreat:focus-visible{background:#9a6b34 !important;color:#fff !important;border-color:#9a6b34 !important;outline:none}
html body .avb .avb-day.avb-retreat:hover::after,html body .avb .avb-day.avb-retreat:focus-visible::after{background:#fff}
html body .avb a.avb-host-retreat{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:14px;row-gap:2px;text-decoration:none !important;background:#f6ead3;border:1px solid #e4c99a;border-radius:8px;padding:16px 20px;margin-top:10px;color:#3d2b4a}
html body .avb a.avb-host-retreat .avb-rt-tag{grid-column:1;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#9a6b34}
html body .avb a.avb-host-retreat strong{grid-column:1;font-size:17px;font-weight:600;color:#3d2b4a}
html body .avb a.avb-host-retreat .avb-rt-when{grid-column:1;font-size:14px;color:#6b7468}
html body .avb a.avb-host-retreat .avb-rt-go{grid-column:2;grid-row:1/4;background:#133124;color:#f5efe4;border-radius:999px;padding:9px 16px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
html body .avb a.avb-host-retreat:hover .avb-rt-go{background:#9a6b34}
@media (max-width:600px){html body .avb a.avb-host-retreat{grid-template-columns:1fr}html body .avb a.avb-host-retreat .avb-rt-go{grid-column:1;grid-row:auto;justify-self:start;margin-top:8px}}


html body .avb .avb-day.avb-retreat{pointer-events:auto !important}


/* Phone menu in 2 rows: Home · Consultation · Shop · Retreats / Doctors · Clinics · Panchakarma */
@media (max-width:600px){
html:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container{flex-wrap:wrap !important;column-gap:6px !important;row-gap:0 !important;padding:9px 0 !important}
html:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(-n+4){order:1 !important}
html:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(n+5){order:3 !important;margin:0 5px !important}
html:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container::after{content:"" !important;display:block !important;order:2 !important;flex-basis:100% !important;width:100% !important;height:10px !important}
html:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation,html:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a,html:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a span{font-size:clamp(9.5px,3.05vw,11.5px) !important;letter-spacing:.1em !important}
html:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(2) > a,html:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(3) > a,html:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4) > a{padding:5px 10px !important;margin:0 !important}
html[lang^="fr"]:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation,html[lang^="fr"]:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a,html[lang^="fr"]:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a span{font-size:clamp(8.5px,2.6vw,11.5px) !important;letter-spacing:.08em !important}
html[lang^="fr"]:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(2) > a,html[lang^="fr"]:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(3) > a,html[lang^="fr"]:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(4) > a{padding:5px 8px !important}
}


/* Menu standardised: same size and layout in every language; the 3 green buttons share one width */
html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(n+2):nth-child(-n+4) > a{display:inline-flex !important;justify-content:center !important;align-items:center !important;box-sizing:border-box !important;text-align:center !important;min-width:calc(9.3em + 34px) !important;padding:6px 17px !important}
@media (min-width:601px) and (max-width:1000px){
html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(n+2):nth-child(-n+4) > a{min-width:calc(8.4em + 26px) !important;padding:5px 13px !important}
html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation,html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a,html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a span{font-size:clamp(8.5px,calc(1.58vw - 1.2px),12px) !important}
}
@media (min-width:1001px){
html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation,html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a,html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a span{font-size:clamp(11px,calc(1.85vw - 9.2px),16.5px) !important}
}
@media (max-width:600px){
html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation,html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a,html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a span{font-size:clamp(9px,calc(4vw - 4px),11.5px) !important;letter-spacing:.1em !important}
html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container{column-gap:6px !important}
html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(n+2):nth-child(-n+4){order:1 !important;flex:0 0 calc((100% - 12px) / 3) !important;margin:0 !important}
html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(n+2):nth-child(-n+4) > a{width:100% !important;min-width:0 !important;padding:6px 4px !important;margin:0 !important}
html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(1),html:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(n+5){order:3 !important;margin:0 3px !important}
}


/* Doctors (5th item): same gold underline and colour as the other menu items when active or hovered */
html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a{background:linear-gradient(#9a6b34,#9a6b34) no-repeat 50% 100% / 0 1px !important;transition:background-size .25s ease,color .25s ease}
html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a:hover,html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a:focus-visible{background-size:100% 1px !important;color:#9a6b34 !important}
html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a:hover span,html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a:focus-visible span{color:#9a6b34 !important}
html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5).current-menu-item > a,html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a[aria-current=page]{background-size:100% 1px !important}
html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5).current-menu-item > a,html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5).current-menu-item > a span,html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a[aria-current=page],html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(5) > a[aria-current=page] span{color:#9a6b34 !important}


/* Phone menu: largest font that keeps the same 2-row layout in all 4 languages */
@media (max-width:600px){
html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation,html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a,html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li > a span{font-size:clamp(9px,calc(4.15vw - 3.85px),15px) !important;letter-spacing:.08em !important}
html:root:root:root:root:root:root:root:root body header.wp-block-template-part .wp-block-navigation .wp-block-navigation__container > li:nth-child(n+2):nth-child(-n+4) > a{padding:6px 2px !important}
}


/* Retreat program: every day has the same box size and layout (panels share one grid cell; the tallest sets the height) */
.wp-block-tabs .wp-block-tab-panels{display:grid !important}
.wp-block-tabs .wp-block-tab-panels > .wp-block-tab-panel{grid-area:1 / 1 !important;margin:0 !important}
.wp-block-tabs .wp-block-tab-panels > .wp-block-tab-panel[hidden]{display:block !important;visibility:hidden !important;content-visibility:visible !important;pointer-events:none}


/* Retreat program: "Program" title and the DAY 1–4 buttons centred */
.wp-block-heading:has(+ .wp-block-tabs){text-align:center !important}
.wp-block-tabs .wp-block-tab-list{justify-content:center !important}


/* Retreat pages: the banner stretches across the page, in its own 16:9 shape */
body.postid-92 .wp-block-post-featured-image,body.postid-1196 .wp-block-post-featured-image,body.postid-1197 .wp-block-post-featured-image,body.postid-1198 .wp-block-post-featured-image{max-width:min(860px,100%) !important;width:min(860px,100%) !important;margin-left:auto !important;margin-right:auto !important}
body.postid-92 .wp-block-post-featured-image img,body.postid-1196 .wp-block-post-featured-image img,body.postid-1197 .wp-block-post-featured-image img,body.postid-1198 .wp-block-post-featured-image img{aspect-ratio:auto !important;height:auto !important;object-fit:fill !important;width:100% !important}
/* Retreat page: payment methods row */
.av-rpay{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin:16px 0 0}
.av-rpay .av-rpay-label{width:100%;text-align:center;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:#6b7468;margin:0 0 6px}
.av-rpay a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:84px;height:52px;padding:7px 9px;border:1px solid #e2d8c6;border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(19,49,36,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.av-rpay a:hover{transform:translateY(-2px);border-color:#9a6b34;box-shadow:0 8px 18px rgba(19,49,36,.14)}
.av-rpay img{max-width:100%;max-height:100%;width:auto;height:auto;display:block}
@media (max-width:600px){.av-rpay{gap:9px}.av-rpay a{width:70px;height:46px}}


/* Retreat page: the two price buttons under the banner */
.av-price-btns{gap:12px !important;margin-top:20px !important;margin-bottom:6px !important}
.av-price-btns .av-price-full .wp-block-button__link{background-color:#9a6b34 !important;color:#fffaf2 !important;border:1.5px solid #9a6b34 !important}
.av-price-btns .av-price-full .wp-block-button__link:hover{background-color:#133124 !important;border-color:#133124 !important}
.av-price-btns .av-price-early .wp-block-button__link{background:transparent !important;color:#133124 !important;border:1.5px solid #c9b48a !important}
.av-price-btns .av-price-early .wp-block-button__link:hover{border-color:#9a6b34 !important;color:#9a6b34 !important}
.av-price-btns .wp-block-button__link{padding:12px 26px !important;font-size:14px !important;letter-spacing:.14em;text-transform:uppercase}
.av-price-btns .wp-block-button__link strong{font-weight:600;letter-spacing:.1em}
@media (max-width:600px){.av-price-btns .wp-block-button__link{font-size:12.5px !important;padding:11px 20px !important;letter-spacing:.1em}}


/* Retreat page: the two price buttons share one size (same width and height, the wider one sets it) */
html body .av-price-btns{display:grid !important;grid-template-columns:minmax(0,max-content) !important;grid-auto-rows:1fr !important;justify-content:center !important;row-gap:12px !important}
html body .av-price-btns > .wp-block-button{width:100% !important;margin:0 !important}
html body .av-price-btns > .wp-block-button > .wp-block-button__link{display:flex !important;align-items:center !important;justify-content:center !important;width:100% !important;height:100% !important;box-sizing:border-box !important;text-align:center !important}
@media (max-width:600px){html body .av-price-btns > .wp-block-button > .wp-block-button__link{font-size:clamp(10px,calc((100vw - 84px) / 23.5),12.5px) !important;letter-spacing:.06em !important;padding:13px 12px !important}}


/* Retreat pages on phones: banner without the registration line, and that line as text under the picture */
html body .av-m-banner{display:none !important}
@media (max-width:781px){
html body.postid-92 .wp-block-post-featured-image,html body.postid-1196 .wp-block-post-featured-image,html body.postid-1197 .wp-block-post-featured-image,html body.postid-1198 .wp-block-post-featured-image{display:none !important}
html body .av-m-banner{display:block !important;width:100vw !important;max-width:100vw !important;margin:22px 0 0 calc(50% - 50vw) !important;padding:0 !important}
html body .av-m-banner figure.wp-block-image{margin:0 !important}
html body .av-m-banner figure.wp-block-image img{display:block;width:100% !important;height:auto !important;border-radius:0 !important}
html body .av-m-banner p.av-m-reg{margin:16px auto 0 !important;padding:0 20px !important;text-align:center !important;font-size:11.5px !important;line-height:1.75 !important;letter-spacing:.16em !important;text-transform:uppercase !important;color:#133124 !important}
}


/* Retreat page (EN), mobile: hide the page title above the banner; the gold RETREAT label stays */
@media (max-width:781px){
html body.postid-92 h2.wp-block-post-title{display:none !important}
}


/* Retreat page (EN), mobile: remove empty space above and below the banner */
@media (max-width:781px){
html body.postid-92 main > .wp-block-spacer:first-child{display:none !important}
html body.postid-92 main > .wp-block-group:has(> .wp-block-post-title){display:none !important}
html body.postid-92 main > .entry-content{margin-top:0 !important;padding-top:0 !important}
html body.postid-92 .av-m-banner{margin-top:0 !important}
html body.postid-92 .av-m-banner p.av-m-label{margin:0 !important;padding:6px 0 12px !important}
html body.postid-92 .av-m-banner p.av-m-reg{margin-top:12px !important}
html body.postid-92 .entry-content > .wp-block-columns > .wp-block-column:empty{display:none !important}
html body.postid-92 .av-m-banner + .wp-block-columns{margin-top:12px !important;gap:0 !important}
}


/* Retreat page (EN), mobile: zoom the banner so its title and dates read larger; larger registration dates */
@media (max-width:781px){
html body.postid-92 .av-m-banner figure.wp-block-image{position:relative !important;overflow:hidden !important;aspect-ratio:1440/930 !important}
html body.postid-92 .av-m-banner figure.wp-block-image img{position:absolute !important;max-width:none !important;width:133.333% !important;height:auto !important;left:-16.667% !important;top:-3.226% !important}
html body.postid-92 .av-m-banner p.av-m-reg{font-size:13.5px !important;letter-spacing:.14em !important}
}
