/* Discovery Armenia v23.1: language chooser, legibility and mobile layout */
.lang-menu{position:relative;z-index:850}
.lang-chip{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:72px;white-space:nowrap}
.lang-flag{display:inline-block;line-height:1;font-size:17px;font-family:system-ui,Apple Color Emoji,Segoe UI Emoji,sans-serif;font-weight:400;letter-spacing:0}
.lang-dropdown{z-index:950!important;min-width:174px!important;max-width:calc(100vw - 25px);padding:9px!important;border:1px solid #dce5dc!important;background:#fff!important;box-shadow:0 15px 44px #00180e38!important}
.lang-dropdown a{display:flex;align-items:center;gap:10px;white-space:nowrap;min-height:43px;padding:10px 12px!important;color:#183d32!important;font-size:13px!important}
.lang-dropdown a[aria-current="true"]{background:#f2e7d2!important;color:#123c2b!important}
.mobile-langs{flex-wrap:wrap}
.mobile-langs a{display:flex;align-items:center;gap:8px;white-space:nowrap}
/* Critical distinction: category pill is readable on photographs, UNESCO is a separate sharp gold certificate. */
.catalog-card .tag,.destination-card .card-top span,.hero-feature-card .tag{
 display:inline-flex;align-items:center;max-width:calc(100% - 34px);
 background:rgba(7,35,31,.94)!important;color:#fff!important;border:1px solid rgba(255,255,255,.8)!important;
 backdrop-filter:none!important;box-shadow:0 5px 20px #081f1ba6!important;
 font-size:clamp(11px,1.2vw,13px)!important;font-weight:850!important;
 letter-spacing:.055em!important;line-height:1.35!important;text-shadow:0 1px 2px #0008;
 padding:9px 13px!important;white-space:normal;overflow-wrap:anywhere;
}
.catalog-card .tag{top:15px!important;left:15px!important;right:auto;z-index:6}
.catalog-card.has-unesco .tag{max-width:calc(100% - 140px)}
.unesco-mark,.hero-unesco{
 background:linear-gradient(135deg,#fff0bf 0%,#edc36d 45%,#c99736 100%)!important;
 color:#4b300a!important;border:2px solid #fff1c5!important;
 box-shadow:0 3px 0 #8a631c,0 9px 21px #0007!important;
 text-shadow:none!important;backdrop-filter:none!important;
 font-weight:950!important;font-size:12px!important;letter-spacing:.075em!important;
 line-height:1.25;white-space:nowrap;z-index:7!important;
}
.catalog-card .shade,.destination-card .shade{background:linear-gradient(0deg,rgba(1,18,16,.92) 0%,rgba(1,18,16,.55) 35%,rgba(1,18,16,.05) 70%)}
.catalog-card>a>div:last-child{position:absolute;z-index:4;left:20px;right:20px;bottom:22px}
.catalog-card h2,.catalog-card p,.destination-card h3,.destination-card p{color:#fff!important;text-shadow:0 2px 7px rgba(0,0,0,.75)}
.catalog-card h2{font-size:clamp(25px,3vw,35px);line-height:1.12;overflow-wrap:break-word;hyphens:auto}
.catalog-card p{line-height:1.5;max-height:4.6em;overflow:hidden}
.catalog-card small,.destination-card .card-copy small{color:#fff!important;opacity:1!important;text-shadow:0 2px 6px #000}
/* Keep small-screen content inside its viewport; avoid clipping wide Armenian/Russian words. */
.hero-v2-grid>*,.hero-v2-copy,.hero-v2-actions,.hero-v2-side,.hero-v2-search,.hero-v2-search>*{min-width:0;max-width:100%}
.hero-v2-copy h1,.my-armenia-hero h1,.journey-hero-copy h1,.v23-page-intro h1,.section-head h2,.v21-hero-copy h1{
 overflow-wrap:break-word;word-break:normal;hyphens:auto;
}
.hero-v2-actions .btn,.v21-hero-actions .btn{white-space:normal;text-align:center;line-height:1.3}
@media(max-width:760px){
 html{overflow-x:clip} body{overflow-x:clip}
 .shell{width:calc(100% - 28px)!important;max-width:100%}
 .section{padding-block:clamp(32px,8vw,48px)}
 .topbar{max-width:calc(100vw - 24px);padding-inline:10px!important;gap:6px}
 .topbar .brand{min-width:0;max-width:none;flex:1 1 auto}
 .topbar .brand-copy{min-width:0}
 .topbar .brand-copy small{display:none}
 .topbar .brand-copy strong{font-size:10px;line-height:1.15;letter-spacing:.025em}
 .nav-actions{flex:0 0 auto;gap:5px!important}
 .nav-search-toggle,.menu-button{width:38px!important;height:38px!important;flex:0 0 38px}
 .lang-chip{min-width:65px;height:38px!important;padding:7px!important;border-radius:13px}
 .lang-chip .lang-flag{font-size:16px}
 .lang-dropdown{right:0}
 .premium-marquee{max-width:calc(100vw - 24px)}
 .hero-v2{min-height:0!important;height:auto;padding-bottom:30px}
 .hero-v2-grid{grid-template-columns:minmax(0,1fr)!important;padding-top:clamp(164px,40vw,190px)!important;gap:20px!important}
 .hero-v2-copy h1{font-size:clamp(35px,10.2vw,61px)!important;line-height:1.08!important;letter-spacing:-.025em!important;margin:14px 0 15px!important;max-width:100%!important}
 .hero-v2-copy>p{font-size:clamp(14px,4vw,17px)!important;line-height:1.52!important}
 .hero-v2-actions{flex-direction:column;align-items:stretch;width:100%}
 .hero-v2-actions .btn{display:flex;max-width:100%;width:100%;justify-content:center;min-height:49px;font-size:clamp(12px,3.5vw,15px);padding:12px}
 .hero-v2-points{display:flex;gap:7px;max-width:100%;margin-block:16px}
 .hero-v2-points span{font-size:11px;min-height:34px}
 .hero-v2-search{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))!important;border-radius:17px}
 .hero-v2-search>div{padding:12px!important}
 .hero-v2-search strong{font-size:clamp(12px,3.8vw,16px);overflow-wrap:anywhere}
 .hero-v2-search>div:nth-child(3){grid-column:1/-1}
 .home-hero-search-button{grid-column:1/-1;min-height:48px}
 .hero-v2-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .hero-feature-card,.hero-feature-card.hf1{min-width:0;min-height:170px}
 .hero-feature-card.hf1{grid-column:1/-1;min-height:210px}
 .hero-feature-copy{min-width:0;left:12px!important;right:12px!important}
 .hero-feature-copy strong{font-size:clamp(15px,4.7vw,21px);overflow-wrap:anywhere}
 .hero-v2-mini-stats{grid-column:1/-1}
 .section-head{flex-wrap:wrap;align-items:flex-start;gap:14px}
 .section-head h2{font-size:clamp(27px,7vw,40px)!important;line-height:1.12!important}
 .my-armenia-hero h1,.journey-hero-copy h1,.v23-page-intro h1,.v21-hero-copy h1{font-size:clamp(32px,9.4vw,54px)!important;line-height:1.12!important;letter-spacing:-.02em;max-width:100%}
 .my-armenia-hero{min-height:0;padding-bottom:clamp(36px,8vw,70px)}
 .my-armenia-hero p,.journey-hero-copy p{font-size:clamp(14px,3.8vw,17px)!important;line-height:1.6!important}
 .my-armenia-hero .btn,.journey-hero .btn{min-width:0;max-width:100%;white-space:normal;text-align:center}
 .v21-hero-actions{align-items:stretch;flex-direction:column}
 .v21-hero-actions .btn{width:100%}
 .catalog-grid,.destination-grid,.tour-grid,.excursion-grid{grid-template-columns:minmax(0,1fr)!important}
 .catalog-card{height:clamp(345px,108vw,430px)!important;min-width:0}
 .catalog-card h2{font-size:clamp(26px,7.7vw,36px)!important}
 .catalog-card .tag{max-width:calc(100% - 26px)!important;top:15px!important;left:15px!important;padding:9px 12px!important}
 .catalog-card.has-unesco .tag{top:62px!important;max-width:calc(100% - 30px)!important}
 .unesco-mark{top:12px!important;right:12px!important;font-size:11px!important;padding:7px 10px!important}
 .catalog-card>a>div:last-child{left:17px;right:17px;bottom:18px}
 .catalog-toolbar{flex-wrap:wrap}
 .destinations-list-page .catalog-toolbar .filter-row{max-width:100%}
 .chat-widget{right:12px!important;left:auto!important;width:min(335px,calc(100vw - 24px))!important;bottom:calc(82px + env(safe-area-inset-bottom))!important}
 .chat-toggle{padding:11px 13px!important;font-size:12px!important}
 .chat-widget:has([data-chat-panel]:not([hidden])){left:12px!important;width:auto!important}
 .v21-mobile-book{min-height:50px;padding:10px 14px;font-size:clamp(12px,3.6vw,16px);white-space:normal;text-align:center}
 .v23-sticky-tour{z-index:651}
}
@media(max-width:385px){
 .topbar .brand-logo-wrap{width:38px!important;height:38px!important;flex-basis:38px!important}
 .lang-chip{min-width:59px;gap:4px;padding:5px!important}
 .lang-chip .lang-flag{font-size:14px}
 .nav-search-toggle,.menu-button{width:34px!important;height:34px!important;flex-basis:34px}
 .hero-v2-copy h1{font-size:clamp(34px,10.1vw,42px)!important}
 .hero-v2-grid{padding-top:157px!important}
}

html[lang="hy"] .hero-v2-copy h1,html[lang="hy"] .my-armenia-hero h1,html[lang="hy"] .journey-hero-copy h1,html[lang="hy"] .v23-page-intro h1{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans Armenian","Arial Unicode MS",Arial,sans-serif;letter-spacing:normal!important;font-weight:650}
