/* Referral replaces the hamburger; compact screens keep a native page selector. */
body#page-start.cp-wide-layout.g75 .g82-referral{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:112px;min-height:44px;padding:6px 8px;border:1px solid #c5aa6e;border-radius:7px;background:linear-gradient(140deg,#dfc78e,#b89b5c);color:#162016;font-size:12px;line-height:1.25;text-decoration:none;text-align:center;font-weight:650}
body#page-start.cp-wide-layout.g75 .g82-referral svg{flex:none}
body#page-start.cp-wide-layout.g75 .g82-referral{position:relative}
body#page-start.cp-wide-layout.g75 .g82-referral span{min-width:0;overflow-wrap:anywhere}
@media(min-width:1360px){
 html[lang=hy] body#page-start.cp-wide-layout.g75 .g80-primary .cp-primary-row:first-child{grid-template-columns:1fr 1fr 1.3fr 1.25fr 1fr 1.05fr 1.1fr 1fr}
 html[lang=hy] body#page-start.cp-wide-layout.g75 .g82-referral,html[lang=ru] body#page-start.cp-wide-layout.g75 .g82-referral{font-size:11px;gap:4px;padding:6px}
 html[lang=hy] body#page-start.cp-wide-layout.g75 .g82-referral svg,html[lang=ru] body#page-start.cp-wide-layout.g75 .g82-referral svg{width:15px;height:15px}
}
body#page-start.cp-wide-layout.g75 .g82-referral-short{display:none}
body#page-start.cp-wide-layout.g75 .g82-mobile-navigation{display:none}
.g82-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body#page-start.cp-wide-layout.g75 :is(.g82-referral,.g82-claims-shortcut,.g82-mobile-tow,#g82-page-select):focus-visible{outline:2px solid #f0d59a;outline-offset:3px}
body#page-start.cp-wide-layout.g75 a[data-g82-live]::after{content:'↗';font-size:10px;line-height:1;flex:none;opacity:.8;margin-left:2px}
body#page-start.cp-wide-layout.g75 .g82-referral:hover{filter:brightness(1.08)}
.g82-referral-dialog{width:min(620px,calc(100vw - 28px));max-height:calc(100dvh - 28px);box-sizing:border-box;margin:auto;padding:26px;border:1px solid #b69e65;border-radius:16px;background:linear-gradient(140deg,#1e3022,#0b1710);color:#f0eddf;box-shadow:0 24px 80px #0009;font-family:Arial,sans-serif}
.g82-referral-dialog::backdrop{background:#020a07c9;backdrop-filter:blur(5px)}
.g82-dialog-close{display:block;margin:0 0 8px auto;padding:6px 10px;border:1px solid #6f795b;border-radius:5px;background:transparent;color:#eee4cb;font:inherit;font-size:12px;cursor:pointer}
.g82-dialog-eyebrow{margin:0 0 8px;color:#d6bd7e;font-size:12px;text-transform:uppercase;letter-spacing:.1em}
.g82-referral-dialog h2{margin:0 0 12px;font-size:30px;font-weight:500;line-height:1.15;letter-spacing:-.02em}
.g82-dialog-intro{margin:0 0 20px;font-size:15px;line-height:1.5;color:#d0d6c8}
.g82-referral-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;list-style:none;counter-reset:referral;margin:0 0 18px}
.g82-referral-steps li{counter-increment:referral;padding:12px;border:1px solid #53634a;border-radius:8px;font-size:14px;line-height:1.35;background:#ffffff04}
.g82-referral-steps li::before{content:'0' counter(referral);display:block;margin-bottom:10px;color:#dfc98b;font-size:22px}
.g82-dialog-note{margin:0 0 18px;color:#b6c0ad;font-size:13px;line-height:1.5}
.g82-dialog-actions{display:flex;gap:8px;flex-wrap:wrap}
.g82-dialog-actions :is(a,button){flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;border:1px solid #b49c63;border-radius:6px;font:inherit;font-size:13px;text-align:center;text-decoration:none;cursor:pointer}
.g82-dialog-account{background:#d3bc83;color:#142017}
.g82-dialog-contact{background:transparent;color:#edd59c}
.g82-referral-dialog :is(a,button):focus-visible{outline:2px solid #edd59c;outline-offset:3px}
body#page-start.cp-wide-layout.g75 .g82-referral-dialog h2{margin:0 0 12px;font-size:30px;line-height:1.15;font-weight:500}
body#page-start.cp-wide-layout.g75 .g82-referral-dialog .g82-dialog-eyebrow{margin:0 0 8px;font-size:12px;line-height:1.3;color:#d6bd7e}
body#page-start.cp-wide-layout.g75 .g82-referral-dialog .g82-dialog-intro{margin:0 0 20px;font-size:15px;line-height:1.5;color:#d0d6c8}
body#page-start.cp-wide-layout.g75 .g82-referral-dialog .g82-dialog-note{margin:0 0 18px;font-size:13px;line-height:1.5;color:#b6c0ad}
@media(max-width:599px){.g82-referral-dialog{padding:18px}.g82-referral-dialog h2{font-size:25px}.g82-referral-steps{grid-template-columns:1fr;gap:6px}.g82-referral-steps li{display:flex;align-items:center;gap:12px;padding:8px 10px}.g82-referral-steps li::before{margin:0;font-size:18px}.g82-dialog-actions{flex-direction:column}.g82-dialog-intro{margin-bottom:14px}.g82-dialog-note{margin-bottom:12px}}
@media(max-width:599px){
 body#page-start.cp-wide-layout.g75 .g82-referral-dialog h2{font-size:24px;margin-bottom:10px}
 body#page-start.cp-wide-layout.g75 .g82-referral-dialog .g82-dialog-intro{font-size:14px;line-height:1.4;margin-bottom:14px}
 body#page-start.cp-wide-layout.g75 .g82-referral-dialog .g82-dialog-note{font-size:12px;line-height:1.4;margin-bottom:12px}
}
@media(max-width:1023px) and (max-height:740px){
 body#page-start.cp-wide-layout.g75 main.fq-page{height:auto!important;min-height:600px!important}
 body#page-start.cp-wide-layout.g75 main.fq-page .fq-wrap{height:auto!important;min-height:576px!important}
 body#page-start.cp-wide-layout.g75 .fq-grid{flex:none;grid-template-rows:auto}
 body#page-start.cp-wide-layout.g75 .fq-card{min-height:300px}
}
body#page-start.cp-wide-layout.g75 .fq-heading{display:grid;grid-template-columns:auto minmax(150px,1fr) minmax(220px,320px);gap:12px;align-items:center}
body#page-start.cp-wide-layout.g75 .fq-heading .fq-search{width:100%;min-width:0}
body#page-start.cp-wide-layout.g75 .g82-claims-shortcut{display:inline-flex;align-items:center;justify-content:center;gap:12px;justify-self:start;min-height:40px;padding:8px 12px;border:1px solid #a18a54;border-radius:6px;background:#263823;color:#efcf8b;font-size:14px;font-weight:650;line-height:1.25;text-decoration:none}
body#page-start.cp-wide-layout.g75 .g82-claims-shortcut:hover{background:#34472c}
@media(max-width:1359px){
 body#page-start.cp-wide-layout.g75 .cp-location{display:none}
 body#page-start.cp-wide-layout.g75 .g82-mobile-navigation{display:flex;align-items:center;gap:8px;min-width:0;max-width:520px;padding:3px 0}
 body#page-start.cp-wide-layout.g75 .g82-mobile-tow{display:inline-flex;align-items:center;justify-content:center;min-height:34px;max-width:140px;padding:4px 9px;border:1px solid #76865b;border-radius:5px;color:#e5d29a;background:#18271b;font-size:12px;line-height:1.2;text-align:center;text-decoration:none;flex:0 1 auto}
 body#page-start.cp-wide-layout.g75 .g82-page-picker{display:block;min-width:0;flex:1}
 body#page-start.cp-wide-layout.g75 #g82-page-select{width:100%;min-width:0;height:34px;min-height:34px;padding:4px 22px 4px 8px;border:1px solid #506045;border-radius:5px;background:#122016;color:#eee4c8;font:inherit;font-size:12px;line-height:1.2;cursor:pointer}
}
@media(max-width:1023px){
 /* The persistent footer already provides Ask GLOBUS and the phone action. */
 body#page-start.cp-wide-layout.g75 main.fq-page .fq-wrap{gap:8px!important}
 body#page-start.cp-wide-layout.g75 .fq-help{display:none!important}
 body#page-start.cp-wide-layout.g75 .fq-card{padding:12px;gap:0}
 body#page-start.cp-wide-layout.g75 .fq-card>svg{display:none}
 body#page-start.cp-wide-layout.g75 .fq-card>div{display:flex;flex-direction:column;gap:6px;min-height:0}
 body#page-start.cp-wide-layout.g75 .fq-card p{line-height:1.5!important}
 body#page-start.cp-wide-layout.g75 .cp-topline{gap:6px!important}
 body#page-start.cp-wide-layout.g75 .g82-mobile-navigation{gap:5px}
 body#page-start.cp-wide-layout.g75 .g82-mobile-tow{max-width:82px;font-size:10px;padding:4px 6px}
 body#page-start.cp-wide-layout.g75 #g82-page-select{font-size:11px}
 body#page-start.cp-wide-layout.g75 .g82-referral{width:112px;min-height:40px;font-size:11px;gap:4px;padding:5px 7px}
 body#page-start.cp-wide-layout.g75 .g82-referral-full{display:none}
 body#page-start.cp-wide-layout.g75 .g82-referral-short{display:inline}
 body#page-start.cp-wide-layout.g75 .fq-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 8px}
 body#page-start.cp-wide-layout.g75 .fq-heading h1{grid-column:1/-1}
 body#page-start.cp-wide-layout.g75 .g82-claims-shortcut{width:100%;min-height:44px;font-size:12px;gap:5px;padding:6px 8px}
 body#page-start.cp-wide-layout.g75 .fq-heading .fq-search input{font-size:13px;padding-left:8px}
}
@media(max-width:359px){
 body#page-start.cp-wide-layout.g75 .g82-referral{width:98px;font-size:10px;padding:4px 5px}
 body#page-start.cp-wide-layout.g75 .g82-referral svg{width:15px;height:15px}
 body#page-start.cp-wide-layout.g75 .g82-mobile-tow{max-width:72px}
 body#page-start.cp-wide-layout.g75 .g80-account{max-width:72px}
}
