/* Database-only public homepage and country directory. Structural CSS; business data is API-sourced. */
.nge-db-hero .nge-hero-grid{min-height:560px}
.nge-db-hero h1{font-size:clamp(44px,5vw,72px)}
.nge-db-hero .nge-hero-copy>p{max-width:580px}
/* Homepage hero photograph: crop at the medium-height frame shown in the design. */
.nge-db-hero .nge-hero-art{align-self:start;display:block;width:100%;height:390px;min-height:0;overflow:hidden;margin-top:0}
.nge-db-hero .nge-hero-art>img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center top;filter:none}

.nge-db-counters{display:flex;gap:28px;margin-top:33px;flex-wrap:wrap}
.nge-db-counters>div{border-left:2px solid #d5e6ec;padding-left:17px;min-width:120px;display:flex;flex-direction:column;gap:1px}
.nge-db-counters strong{font-family:Georgia,serif;color:#0b3855;font-size:34px;line-height:1.2}
.nge-db-counters span{font-size:11px;color:#61798d;font-weight:650}
.nge-db-finder{background:linear-gradient(114deg,#0b3352,#125169)}
.nge-db-finder .nge-finder-grid{align-items:center}
.nge-db-finder .nge-findform{max-width:none}
.nge-db-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin-top:16px}
.nge-db-fields .nge-field:last-child{grid-column:1/-1}
.nge-db-fields select{width:100%;min-width:0}
.nge-db-submit{width:100%;margin-top:18px}
.nge-db-submit:disabled{opacity:.57;cursor:not-allowed;transform:none;box-shadow:none}
.nge-db-helper{font-size:11px!important;line-height:1.6;color:#6e8393!important;margin:11px 0 0}
.nge-db-form-status{font-size:12px;color:#21526b;margin-top:6px}
.nge-db-country-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.nge-db-country-card{position:relative;isolation:isolate;border-radius:16px;min-height:295px;overflow:hidden;background:linear-gradient(147deg,#367f99,#0a2b43 90%);box-shadow:0 12px 32px rgba(11,44,65,.12);display:flex;align-items:end}
.nge-db-country-image,.nge-db-generic-map{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
.nge-db-generic-map{background:radial-gradient(circle at 78% 21%,#c3e0d6 0 10%,transparent 10.4%),radial-gradient(ellipse at 25% 85%,#75a5ad 0 25%,transparent 25.5%),linear-gradient(150deg,#79b6c6 0,#2b7289 55%,#12354d 100%)}
.nge-db-country-card:after{content:"";position:absolute;inset:28% 0 0;background:linear-gradient(to bottom,transparent,rgba(6,29,43,.92));z-index:-1}
.nge-db-country-content{padding:22px 20px 20px;color:white;width:100%}
.nge-db-country-kicker{font-size:10px;font-weight:900;letter-spacing:.12em;color:#f5d5a0}
.nge-db-country-card h3{font-family:Georgia,serif;font-size:clamp(22px,2.2vw,32px);line-height:1.16;color:white;margin:7px 0 8px;overflow-wrap:anywhere}
.nge-db-country-content p{font-size:11px;color:#e4f0f3;line-height:1.45;margin:0 0 6px}
.nge-db-country-link{display:inline-flex;margin-top:4px;font-size:12px;font-weight:800;color:white!important;text-decoration:underline!important;text-underline-offset:3px}
.nge-db-country-link:hover{color:#ffe2b0!important}
.nge-db-visa-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.nge-db-visa-card{background:#fff;border:1px solid #dce6ef;border-radius:17px;padding:24px 22px 22px;min-height:239px;display:flex;flex-direction:column;box-shadow:0 9px 25px rgba(20,47,71,.04)}
.nge-db-visa-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:850;color:#a8742d}
.nge-db-visa-top span:last-child{white-space:normal;letter-spacing:0;font-size:11px}
.nge-db-visa-card h3{font-family:Georgia,serif;color:#092b49;font-size:23px;margin:14px 0 6px}
.nge-db-visa-nationality{font-size:12px;color:#6e8098;margin:0 0 15px;overflow-wrap:anywhere}
.nge-db-visa-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:9px;color:#6e8195;font-size:11px;margin-top:auto;margin-bottom:22px}
.nge-db-card-button{align-self:flex-start;background:#123e72;color:#fff!important;padding:12px 17px;border-radius:9px;font-size:12px;font-weight:800;box-shadow:0 8px 20px rgba(18,62,114,.12)}
.nge-db-card-button:hover{background:#0b2a4b}
.nge-db-placeholder,.nge-db-empty,.nge-db-error{grid-column:1/-1;margin:0;min-height:110px;padding:30px;border-radius:15px;background:#f5f9fc;border:1px solid #dae7ef;color:#587080;font-size:14px;display:flex;align-items:center}
.nge-db-error{background:#fff4f4;border-color:#f1d1d1;color:#a13f3f}
.nge-db-results-label{font-size:12px;color:#57758a;font-weight:700;margin:0 0 18px}
.nge-db-cta .nge-cta-grid{align-items:center}
.nge-db-footer .nge-db-footer-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:45px 0}
.nge-db-footer .nge-logo b{color:#fff}
.nge-db-footer .nge-logo small{color:#f5cb81}
.nge-db-footer .nge-db-footer-top nav{display:flex;gap:18px;flex-wrap:wrap}
.nge-db-footer nav a{font-size:12px;font-weight:700;color:#d9e8ef}
.nge-db-footer nav a:hover{color:#fff}
.nge-db-directory-hero{background:linear-gradient(110deg,#edf6f8,#f6fafc);padding:82px 0 70px}
.nge-db-directory-hero h1{font:700 clamp(44px,5vw,68px)/1.12 Georgia,serif;letter-spacing:-.04em;color:#092b49;margin:15px 0}
.nge-db-directory-hero h1 em{color:#10838a;font-weight:400}
.nge-db-directory-hero p{color:#5b7688;max-width:650px;font-size:15px}
.nge-db-search-label{font-size:12px;font-weight:750;display:block;margin:27px 0 9px}
.nge-db-search{background:#fff;padding:15px 18px;width:min(100%,490px);border:1px solid #cedfe8;border-radius:10px;color:#122f45}
@media(max-width:1000px){.nge-db-country-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.nge-db-visa-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.nge-db-hero .nge-hero-grid{min-height:auto}.nge-db-counters{gap:15px;margin-top:26px}.nge-db-country-grid,.nge-db-visa-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nge-db-country-card{min-height:270px}.nge-db-footer .nge-db-footer-top{flex-direction:column;align-items:flex-start}.nge-db-directory-hero{padding:58px 0}}
@media(max-width:480px){.nge-db-fields{grid-template-columns:1fr}.nge-db-fields .nge-field:last-child{grid-column:auto}.nge-db-visa-grid,.nge-db-country-grid{grid-template-columns:1fr}.nge-db-country-card{min-height:290px}.nge-db-counters>div{min-width:80px}.nge-db-counters strong{font-size:27px}.nge-db-visa-card{min-height:210px}.nge-db-footer .nge-db-footer-top nav{gap:12px}}

/* Uploaded database images; text-only rendering remains valid if no image is set. */
.nge-db-visa-image{display:block;width:calc(100% + 44px);max-width:none;height:158px;object-fit:cover;margin:-24px -22px 19px;border-radius:16px 16px 0 0;background:#e9f2f5}
.nge-db-country-image{object-position:center}
@media(max-width:700px){.nge-db-visa-image{height:170px}}

/* 2026-11: DB-backed, keyboard-accessible promotional cards below the hero photo. */
.nge-db-hero .nge-db-hero-visual{align-self:center;min-width:0;display:flex;flex-direction:column;gap:14px;position:relative}
.nge-db-hero .nge-hero-art{height:360px;max-height:none;flex:none}
.nge-db-hero .nge-hero-art>img{object-fit:cover;object-position:center top}
.nge-db-hero-promos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.nge-db-promo-card{position:relative;isolation:isolate;display:flex;align-items:end;min-width:0;min-height:142px;padding:14px 15px;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#10164c;color:#fff!important;text-decoration:none!important;box-shadow:0 8px 24px rgba(12,22,67,.13);transition:transform .2s,box-shadow .2s}
.nge-db-promo-card:before{content:'';position:absolute;inset:-40% -25% auto auto;width:155px;height:155px;border:1px solid rgba(255,255,255,.16);border-radius:50%;z-index:-1}
.nge-db-promo-card:after{content:'';position:absolute;inset:0;background:linear-gradient(92deg,rgba(16,22,76,.98),rgba(16,22,76,.7) 68%,rgba(16,22,76,.35));z-index:-1}
.nge-db-promo-image{position:absolute;inset:0;width:100%;height:100%;max-width:none!important;object-fit:cover;object-position:center;z-index:-2}
.nge-db-promo-card:hover{transform:translateY(-3px);box-shadow:0 13px 25px rgba(12,22,67,.25)}
.nge-db-promo-card:focus-visible{outline:3px solid #e84b37!important;outline-offset:4px}
.nge-db-promo-content{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:4px;position:relative;z-index:1;width:100%}
.nge-db-promo-eyebrow{font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:#f1b4aa;max-width:100%;overflow-wrap:anywhere}
.nge-db-promo-title{font-family:Georgia,serif;font-size:clamp(17px,1.65vw,22px);line-height:1.2;font-weight:700;color:#fff;overflow-wrap:anywhere}
.nge-db-promo-cta{display:inline-flex;align-items:center;justify-content:center;min-height:33px;margin-top:5px;padding:7px 10px;background:#e84b37;color:#080923;border-radius:7px;font-size:11px;font-weight:900;line-height:1.15}
.nge-db-promo-loading{grid-column:1/-1;min-height:130px;display:grid;place-items:center;border-radius:14px;background:#10164c;color:#e7ecfa;font-size:12px}
/* All home-page visa cards use the same full-width media region and navy body. */
.nge-db-visa-card{background:#10164c;color:#fff;border:1px solid #262c61;border-radius:18px;padding:0;min-height:395px;overflow:hidden;box-shadow:0 12px 26px rgba(16,22,76,.12)}
.nge-db-visa-media{position:relative;isolation:isolate;flex:none;height:174px;width:100%;background:radial-gradient(circle at 85% 20%,#48558e 0 10%,transparent 10.4%),linear-gradient(135deg,#212c72,#10164c);overflow:hidden}
.nge-db-visa-media:after{content:'';position:absolute;inset:auto -32px -70px auto;width:190px;height:190px;border:14px solid rgba(244,248,255,.1);border-radius:50%;z-index:-1}
.nge-db-visa-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;background:transparent;margin:0;border:0;border-radius:0}
.nge-db-visa-card .nge-db-visa-top{margin:0;padding:20px 21px 0;align-items:start;color:#f6c9bf}
.nge-db-visa-card .nge-db-visa-destination{color:#ffd0bc}
.nge-db-visa-card .nge-db-visa-fee{color:#ffe3b2}
.nge-db-visa-card h3{margin:9px 0 5px;padding:0 21px;color:#fff;font-size:24px;line-height:1.25}
.nge-db-visa-card .nge-db-visa-nationality{color:#dce0f3;margin:0;padding:0 21px 18px;font-size:12px}
.nge-db-visa-card .nge-db-visa-nationality strong{color:#fff}
.nge-db-visa-card .nge-db-visa-meta{padding:0 21px;margin:auto 0 14px;color:#d0d8f5}
.nge-db-visa-card .nge-db-card-button{align-self:flex-start;display:inline-flex;justify-content:center;align-items:center;min-height:44px;margin:0 21px 21px;background:#e84b37;color:#080923!important;border-radius:9px;font-size:13px;font-weight:900;box-shadow:0 6px 15px rgba(0,0,0,.16);transition:background .2s,transform .2s}
.nge-db-card-button:hover{background:#fa6753;transform:translateY(-2px)}
.nge-db-card-button:focus-visible{outline:3px solid #fff!important;outline-offset:3px}
/* Country cards keep the user-uploaded photo, with a navy default and coral action. */
.nge-db-country-card{background:#10164c}
.nge-db-generic-map{background:radial-gradient(circle at 79% 22%,rgba(245,248,255,.12) 0 11%,transparent 11.5%),linear-gradient(139deg,#222e72,#10164c 80%)}
.nge-db-country-card:after{background:linear-gradient(to bottom,rgba(16,22,76,.03) 5%,rgba(16,22,76,.97) 100%)}
.nge-db-country-link{background:#e84b37;color:#080923!important;text-decoration:none!important;padding:9px 13px;min-height:36px;border-radius:8px;margin-top:9px;align-items:center;font-weight:900}
.nge-db-country-link:hover{color:#080923!important;background:#fa6753}
.nge-db-country-link:focus-visible{outline:3px solid #fff!important;outline-offset:3px}
@media(max-width:1100px){.nge-db-hero .nge-hero-art{height:315px}.nge-db-promo-card{min-height:142px}}
@media(max-width:920px){.nge-db-hero .nge-db-hero-visual{width:100%}.nge-db-hero .nge-hero-art{height:auto;aspect-ratio:1.65;max-height:355px}.nge-db-promo-card{min-height:150px}}
@media(max-width:700px){.nge-db-hero .nge-hero-art{margin-top:24px;height:auto;min-height:0;max-height:none;aspect-ratio:1.6}.nge-db-hero .nge-db-hero-visual{gap:12px}.nge-db-promo-card{min-height:143px}.nge-db-visa-card{min-height:390px}}
@media(max-width:480px){.nge-db-hero-promos{grid-template-columns:1fr 1fr;gap:9px}.nge-db-promo-card{padding:11px;min-height:142px}.nge-db-promo-title{font-size:18px}.nge-db-promo-eyebrow{font-size:9px}.nge-db-promo-cta{font-size:10px;padding:7px 9px}.nge-db-visa-card{min-height:365px}}
@media(max-width:350px){.nge-db-hero-promos{grid-template-columns:1fr}.nge-db-promo-card{min-height:122px}}
@media(prefers-reduced-motion:reduce){.nge-db-promo-card,.nge-db-card-button{transition:none!important}.nge-db-promo-card:hover,.nge-db-card-button:hover{transform:none}}

@media(max-width:700px){.nge-db-visa-card .nge-db-visa-image{height:100%}}

/* Public navigation contact actions and branded credits. */
.nge-db-topbar .nge-topbar-right{gap:19px}
.nge-contact-quick-actions{display:inline-flex;align-items:center;gap:8px}
.nge-db-topbar .nge-quick-contact{display:inline-flex;gap:6px;align-items:center;justify-content:center;min-height:27px;padding:4px 12px;border-radius:6px;background:#e84b37;color:#fff;font-size:11px;font-weight:800;line-height:1;text-decoration:none;white-space:nowrap;transition:background-color .18s,transform .18s}
.nge-db-topbar .nge-quick-contact:hover{background:#fa6753;color:#fff;transform:translateY(-1px)}
.nge-db-topbar .nge-quick-contact:focus-visible,.nge-developer-link:focus-visible{outline:3px solid #f6bf77;outline-offset:3px}
.nge-quick-contact svg{display:block;width:14px;height:14px;flex:none}
.nge-db-footer .nge-db-footer-top .nge-logo>img{mix-blend-mode:normal;display:block;background:#fff;padding:5px;border-radius:10px;box-sizing:border-box;box-shadow:0 2px 9px rgba(0,0,0,.14)}
.nge-db-footer .nge-developer-link{font-size:11px;font-weight:700;color:#e9d3a1;text-decoration:underline;text-underline-offset:4px}
.nge-db-footer .nge-developer-link:hover{color:#fff}
@media(max-width:920px){
 .nge-db-topbar .nge-topbar-right{display:flex}
 .nge-db-topbar-secondary{display:none!important}
}
@media(max-width:520px){
 .nge-db-topbar .nge-wrap{flex-wrap:wrap;justify-content:center;gap:7px;padding:6px 0}
 .nge-db-topbar .nge-topbar-left{flex-basis:100%;justify-content:center}
 .nge-db-topbar .nge-topbar-right{justify-content:center}
 .nge-db-footer .nge-footer-bottom{gap:12px}
}

.nge-db-footer-right{display:flex;min-width:0;align-items:flex-end;justify-content:center;flex-direction:column;gap:22px}
.nge-db-footer-right nav{justify-content:flex-end}
.nge-db-footer .nge-developer-link{display:inline-block;text-align:right;line-height:1.5}
@media(max-width:700px){.nge-db-footer .nge-db-footer-top{align-items:flex-start;flex-wrap:wrap}.nge-db-footer-right{align-items:flex-start}.nge-db-footer-right nav{justify-content:flex-start}.nge-db-footer .nge-developer-link{text-align:left}}

/* Accessible official contact and social links in the database-backed footer. */
.nge-db-footer .nge-db-social-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px 15px;max-width:690px}
.nge-db-footer .nge-db-social-links a{color:#f5d9ad;font-size:11px;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.nge-db-footer .nge-db-social-links a:hover{color:#fff}
.nge-db-footer .nge-db-social-links a:focus-visible{outline:3px solid #e5ad55;outline-offset:3px}
@media(max-width:700px){.nge-db-footer .nge-db-social-links{justify-content:flex-start}}
