/* Scoped repair of readability and responsive layout; no hidden sections. */
html{scroll-padding-top:20px}body{overflow-wrap:break-word}img{max-width:100%}
main,article,.document-shell,.container,.shell,.wrap{min-width:0}main pre,main table{max-width:100%;overflow-x:auto}main pre{white-space:pre-wrap;word-break:break-word}
.page{width:min(1728px,100%)!important;max-width:100%;overflow:clip}
.page .top{height:auto;min-height:75px;flex-wrap:wrap;gap:14px;padding:14px 28px}
.page .top .brand{min-width:0;width:auto;flex:0 1 280px}
.page .top nav{min-width:0;flex:1 1 880px;flex-wrap:wrap;white-space:normal;justify-content:flex-start;gap:4px 16px;overflow:visible}
.page .top nav a{min-height:40px;display:inline-flex;align-items:center}
.page .top nav .urgent{color:#ff718d!important}
.page .brand-icon{display:inline-block;width:38px;height:38px;flex:0 0 38px;font-size:0;background:url('/assets/asilo-brand-mark.svg') center/contain no-repeat}
.page .little-line{height:auto;min-height:47px;flex-wrap:wrap;white-space:normal;gap:8px 28px;padding:12px 28px;overflow:visible}
.page .hero{height:auto;min-height:405px}.page .hero-text{min-width:0}.page .hero-text h1{overflow-wrap:normal}
.page .hero-right{margin-left:0;width:auto;min-height:360px;mask-image:none;-webkit-mask-image:none}
.page .hero-right img{object-fit:cover!important}.page .popular,.page .main-actions{flex-wrap:wrap;white-space:normal}
.page .photo-card{height:auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#fff}
.page .photo-card>img{width:100%;height:auto;aspect-ratio:1.86;object-fit:cover;flex:0 0 auto}
.page .photo-txt{height:auto;min-height:98px;padding:12px;overflow:visible;background:#fff;color:#142345}
.page .photo-txt b{font-size:14px;line-height:1.35;color:#142345}
.page .photo-txt small{font-size:13px;line-height:1.45;color:#4b5570}
.page .chip-symbol{display:inline-flex;width:25px;height:25px;flex:0 0 25px;align-items:center;justify-content:center}.page .chip-symbol img{display:block;width:24px;height:24px;object-fit:contain}
.page .section-chip{height:auto;min-height:64px;align-items:center}.page .chip-name{overflow-wrap:normal;line-height:1.35}
.page .banner strong,.page .banner small{color:#fff;text-shadow:0 1px 3px #0008}.page .banner::before{background-image:linear-gradient(90deg,#030a23e8,#081032b3),var(--bg)}
@media(max-width:1200px){.page .photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.page .top .brand{flex-basis:auto}.page .top nav{order:5;flex-basis:100%}}
@media(max-width:900px){.page .hero{grid-template-columns:1fr!important}.page .hero-right{min-height:310px}.page .photo-txt{min-height:86px}.asilo-editorial-layout{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:600px){.page .top{padding:12px;gap:10px}.page .brand-name{font-size:28px}.page .brand-sub{white-space:normal;font-size:11px;max-width:230px}.page .top nav{gap:2px 14px}.page .top nav a{min-height:44px}.page .header-btn{font-size:13px;padding:11px 13px}.page .little-line{padding:10px 12px;gap:6px 16px}.page .little-line a{min-height:32px;display:flex;align-items:center}.page .hero{margin:0 8px}.page .hero-text{padding:24px 16px}.page .hero-text h1{font-size:clamp(27px,7.5vw,36px);line-height:1.15}.page .hero-text p{font-size:16px}.page .hero-right{min-height:250px}.page .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.page .photo-txt{padding:11px;min-height:100px}.page .main-actions a{min-height:44px;display:flex;align-items:center;white-space:normal}.page .section-chip{min-height:76px}.page .banner-grid{grid-template-columns:minmax(0,1fr)!important}.document-shell{padding-inline:16px}.document-shell h1{font-size:clamp(26px,7vw,36px)}input,select,textarea{font-size:16px}}

.asilo-visa-home{padding:24px 28px;border-top:1px solid #e8e3f3;background:#fbfaff}.asilo-visa-home>p{max-width:84ch;color:#46516b;line-height:1.6}.asilo-visa-home h3{font-size:18px;color:#142345;margin:24px 0 12px}.asilo-visa-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.asilo-visa-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;min-height:68px;background:#fff;border:1px solid #ded5f0;border-radius:10px;color:#54209d;font-size:14px;font-weight:700;line-height:1.4}.asilo-visa-links a:hover{background:#f1eaff;border-color:#9f76df}.asilo-visa-links a:focus-visible{outline:3px solid #702be0;outline-offset:2px}@media(max-width:1000px){.asilo-visa-links{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.asilo-visa-home{padding:22px 14px}.asilo-visa-links{grid-template-columns:minmax(0,1fr)}.asilo-visa-home .section-head{align-items:flex-start;gap:10px;flex-wrap:wrap}.asilo-visa-home .section-head h2{font-size:22px}}

/* Owner request: scale 32px country emblems by exactly 0.70; keep the tap target. */
.page .flag-area .flag-cell img{width:22.4px!important;height:22.4px!important;min-width:22.4px;flex:0 0 22.4px;object-fit:cover;border-radius:50%}

.asilo-help{margin:24px 28px;padding:26px;background:#f2edff;border:1px solid #d6c7f3;border-radius:14px;display:flex;align-items:center;gap:28px;color:#172345}.asilo-help-copy{flex:1;min-width:0}.asilo-help-label{font-size:13px;font-weight:700;color:#6533a0}.asilo-help h2{font-size:25px;line-height:1.2;margin:8px 0 12px}.asilo-help p{font-size:16px;line-height:1.55;margin:8px 0}.asilo-help .asilo-help-note{font-size:14px;color:#4b5570}.asilo-help-cta{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:14px 18px;border-radius:9px;background:#6025aa;color:#fff;font-weight:700;max-width:100%;text-align:center}.asilo-help-cta:hover{background:#482080}.asilo-help-cta:focus-visible{outline:3px solid #172345;outline-offset:4px}@media(max-width:900px){.asilo-help{align-items:flex-start;flex-direction:column;gap:14px}.asilo-help h2{font-size:23px}}@media(max-width:600px){.asilo-help{margin:18px 10px;padding:18px}.asilo-help h2{font-size:22px}.asilo-help-cta{width:100%}}

/* Allow the header links to wrap on narrow screens. */
@media(max-width:650px){header>nav{flex-wrap:wrap;max-width:100%;min-width:0}}

/* Match the country grid to the approved round button widths. */
.page .flag-area .flag-grid{grid-template-columns:repeat(auto-fit,minmax(69px,1fr))!important}
@media(max-width:480px){.page .flag-area .flag-grid{grid-template-columns:repeat(auto-fit,minmax(62px,1fr))!important}}

/* Keep the desktop header controls in the same row as the brand and navigation. */
@media(min-width:1201px){.page .top nav{flex-basis:700px}}
