/* AirlyGo language-aware typography
   English remains Work Sans/Baloo 2 when the interface language changes. */
:root{
  --ag-font-latin:'Work Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  --ag-font-display:'Baloo 2','Work Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  --ag-font-sinhala:'Noto Sans Sinhala',system-ui,sans-serif;
  --ag-font-tamil:'Noto Sans Tamil',sans-serif;
}

html[lang="si"] body,
html[lang="ta"] body{
  font-family:var(--ag-font-latin)!important;
}

body .airlygo-script-en{
  font-family:var(--ag-font-latin)!important;
}

body h1.airlygo-script-en,
body h2.airlygo-script-en,
body h3.airlygo-script-en,
body h4.airlygo-script-en,
body .airlygo-script-en h1,
body .airlygo-script-en h2,
body .airlygo-script-en h3,
body .airlygo-script-en h4{
  font-family:var(--ag-font-display)!important;
}

/* Baloo 2 is the AirlyGo display face for large and medium Latin headings. */
body h1,body h2,body h3,body h4{
  font-family:var(--ag-font-display)!important;
}

body .airlygo-script-si,
body .airlygo-script-si *{
  font-family:var(--ag-font-sinhala)!important;
  letter-spacing:normal!important;
}

/* Sinhala glyphs are optically larger than the Latin UI face; compact them subtly. */
html[lang="si"] body{font-size:15px;}
html[lang="si"] :is(h1,h2,h3,h4).airlygo-script-si{
  line-height:1.16!important;
}
html[lang="si"] .footer-new .fn-link.airlygo-script-si,
html[lang="si"] .footer-new .fn-contact-val.airlygo-script-si{font-size:13px!important;}
html[lang="si"] .footer-new .fn-heading.airlygo-script-si{font-size:10px!important;}
html[lang="si"] .nav-links a.airlygo-script-si{font-size:14px!important;}

/* Travel News previously forced Work Sans throughout its footer. */
html[lang="si"] .footer-new .airlygo-script-si,
html[lang="si"] .footer-new .airlygo-script-si *{
  font-family:var(--ag-font-sinhala)!important;
  letter-spacing:normal!important;
}

/* Deterministic footer typography, including Travel News' independent i18n. */
html[lang="si"] .footer-new [data-i18n],
html[lang="si"] .footer-new [data-i18n-html],
html[lang="si"] .footer-new [data-si]{
  font-family:var(--ag-font-sinhala)!important;
  font-style:normal!important;
  font-synthesis:none!important;
  letter-spacing:normal!important;
}
html[lang="si"] .footer-new .fn-link[data-i18n],
html[lang="si"] .footer-new .fn-link [data-i18n],
html[lang="si"] .footer-new .fn-contact-val[data-i18n-html]{
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.65!important;
}
html[lang="si"] .footer-new .fn-heading[data-i18n]{
  font-size:10px!important;
  font-weight:600!important;
  line-height:1.5!important;
}

body .airlygo-script-ta,
body .airlygo-script-ta *{
  font-family:var(--ag-font-tamil)!important;
  letter-spacing:normal!important;
}

/* These values are always Latin regardless of the selected interface language. */
body .currency-code,
body .airport-code,
body .booking-reference,
body .email-address,
body [type="email"],
body [type="tel"]{
  font-family:var(--ag-font-latin)!important;
}

/* Keep anchored homepage content below the fixed ticker/navigation stack. */
html{scroll-padding-top:132px;}
#home{scroll-margin-top:132px;}

@media(max-width:760px){
  html{scroll-padding-top:106px;}
  #home{scroll-margin-top:106px;}
}

/* Footer links use hover/focus feedback only; no persistent current-page state. */
.footer-new .fn-link{
  position:relative;
  padding-left:0!important;
  border-left:0!important;
}
.footer-new .fn-link:hover,
.footer-new .fn-link:focus-visible{
  color:#ff7a00!important;
}
.footer-new .fn-link.active,
.footer-new .fn-link[aria-current="page"]{
  color:inherit!important;
  border-left:0!important;
  padding-left:0!important;
}
.footer-new a.fn-contact-val:hover,
.footer-new a.fn-contact-val:focus-visible{
  color:#ff7a00!important;
}

/* Sinhala display text needs slightly more scale than the compact Latin line. */
html[lang="si"] #v6HeroTitle{
  font-size:clamp(38px,3.5vw,54px)!important;
  line-height:1.13!important;
}
@media(max-width:900px){
  html[lang="si"] #v6HeroTitle{font-size:clamp(33px,5.7vw,44px)!important;}
}
@media(max-width:560px){
  html[lang="si"] #v6HeroTitle{font-size:30px!important;line-height:1.18!important;}
}

/* Remove duplicate promotional WhatsApp buttons; contact methods remain available. */
.cta-box>a[href*="wa.me"],
.cta-banner a[href*="wa.me"],
.emergency-banner a[href*="wa.me"],
.emergency-inner>a[href*="wa.me"]{
  display:none!important;
}
.cta-box,.cta-banner-inner,.emergency-inner{justify-content:flex-start!important;}

/* Payment hero heading must remain legible on its navy background. */
.pay-hero h1{color:#fff!important;opacity:1!important;visibility:visible!important;transform:none!important;}

/* Accessible AirlyGo star-rating control. */
.feedback-rating{border:0;padding:0;margin:0;}
.feedback-rating legend{font-weight:800;color:#0b1f3a;margin-bottom:8px;}
.feedback-stars{display:flex!important;gap:5px!important;flex-direction:row-reverse!important;justify-content:flex-end!important;align-items:center!important;}
.feedback-stars input[type="radio"]{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;margin:0!important;}
.feedback-stars label{font-size:34px;line-height:1;color:#b8c3d1;cursor:pointer;transition:color .15s,transform .15s;}
.feedback-stars label:hover,
.feedback-stars label:hover~label,
.feedback-stars input:checked~label{color:#ff7a00;}
.feedback-stars input:focus-visible+label{outline:3px solid rgba(255,122,0,.3);outline-offset:3px;border-radius:4px;}
.feedback-stars label:hover{transform:translateY(-1px);}
.feedback-status{min-height:22px;font-size:14px;font-weight:700;}
.feedback-status.success{color:#087f6b;}.feedback-status.error{color:#b42318;}
.feedback-rating.feedback-invalid,.enquiry textarea.feedback-invalid{outline:2px solid #b42318!important;outline-offset:4px!important;border-radius:8px!important;}
.feedback-honeypot{display:none!important;position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;}

/* Fixed ticker + navigation clearance and critical page recovery rules. */
.contact-premium .contact-hero{padding-top:132px!important;overflow:visible!important;}
.contact-premium .contact-hero h1{color:#fff!important;opacity:1!important;visibility:visible!important;transform:none!important;}
.feedback-rating{display:block!important;border:0!important;margin:0 0 12px!important;padding:0!important;min-width:0!important;}
.feedback-rating legend{display:block!important;margin-bottom:8px!important;}
.feedback-stars label{display:inline-block!important;width:auto!important;height:auto!important;}
@media (max-width:760px){.contact-premium .contact-hero{padding-top:112px!important;}}

/* Feedback page: compact premium card layout with a useful contact rail. */
.feedback-page-shell .contact-hero{padding:154px 24px 24px!important;background:#fbf5eb!important;text-align:center!important;}
.feedback-page-shell .contact-hero .contact-wrap{max-width:760px!important;}
.feedback-page-shell .contact-hero>div>span{font-size:12px!important;letter-spacing:.16em!important;color:#ff7a00!important;}
.feedback-page-shell .contact-hero h1{margin:7px 0 4px!important;font-size:clamp(32px,3.2vw,44px)!important;line-height:1.05!important;color:#0b1f3a!important;letter-spacing:-.025em!important;}
.feedback-page-shell .contact-hero p{margin:0 auto!important;max-width:620px!important;color:#65758b!important;font-size:15px!important;}
.feedback-page-shell .contact-grid{display:none!important;}
.feedback-page-shell .enquiry{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(290px,.72fr)!important;grid-template-rows:auto 1fr!important;gap:0 24px!important;align-items:start!important;padding-top:0!important;padding-bottom:54px!important;}
.feedback-page-shell .enquiry>div:first-child{grid-column:1!important;grid-row:1!important;background:#fff!important;border:1px solid #e2e8f0!important;border-bottom:0!important;border-radius:20px 20px 0 0!important;padding:28px 30px 12px!important;text-align:center!important;}
.feedback-page-shell .enquiry>div:first-child h2{font-size:30px!important;line-height:1.1!important;margin:5px 0 6px!important;}
.feedback-page-shell .enquiry>div:first-child p{max-width:610px!important;margin:0 auto!important;font-size:14px!important;line-height:1.55!important;}
.feedback-page-shell #airlygoFeedbackForm{grid-column:1!important;grid-row:2!important;width:100%!important;max-width:none!important;margin:0!important;border-radius:0 0 20px 20px!important;border-top:0!important;padding:10px 30px 28px!important;box-shadow:0 18px 42px rgba(11,31,58,.07)!important;}
.feedback-page-shell #airlygoFeedbackForm select{height:48px!important;}
.feedback-page-shell #airlygoFeedbackForm textarea{min-height:120px!important;}
.feedback-page-shell .feedback-rating{margin-bottom:14px!important;}
.feedback-page-shell .feedback-rating legend{text-align:center!important;width:100%!important;font-size:13px!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:#65758b!important;}
.feedback-page-shell .feedback-stars{justify-content:center!important;}
.feedback-page-shell .feedback-stars label{font-size:38px!important;}
.feedback-side{grid-column:2!important;grid-row:1/3!important;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:20px;box-shadow:0 18px 42px rgba(11,31,58,.07);}
.feedback-side h2{font-size:22px!important;margin:0 0 6px!important;color:#0b1f3a!important;}
.feedback-side>p{font-size:13px;color:#65758b;margin:0 0 16px;line-height:1.55;}
.feedback-contact-item{display:flex;align-items:center;gap:12px;border:1px solid #dbe4ef;border-radius:12px;padding:12px 13px;margin-top:10px;color:#0b1f3a;text-decoration:none;}
.feedback-contact-item:hover{border-color:#ff7a00;}
.feedback-contact-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#fff4e8;color:#ff7a00;font-size:17px;flex:none;}
.feedback-contact-item small{display:block;color:#8593a5;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
.feedback-contact-item strong{display:block;font-size:13px;margin-top:2px;overflow-wrap:anywhere;}
.feedback-side-social{border-top:1px solid #e2e8f0;margin-top:18px;padding-top:17px;display:flex;gap:9px;justify-content:center;}
.feedback-side-social a{width:38px;height:38px;border-radius:10px;background:#f1f5f9;color:#0b1f3a;display:grid;place-items:center;text-decoration:none;font-weight:800;}
.feedback-side-social a:hover{background:#ff7a00;color:#fff;}
@media(max-width:850px){.feedback-page-shell .enquiry{grid-template-columns:1fr!important;gap:20px!important;}.feedback-page-shell .enquiry>div:first-child,.feedback-page-shell #airlygoFeedbackForm,.feedback-side{grid-column:1!important;}.feedback-side{grid-row:3!important;}}
@media(max-width:600px){.feedback-page-shell .contact-hero{padding:124px 18px 20px!important;}.feedback-page-shell .contact-hero h1{font-size:31px!important;}.feedback-page-shell .enquiry>div:first-child{padding:22px 18px 10px!important;}.feedback-page-shell #airlygoFeedbackForm{padding:10px 18px 22px!important;}.feedback-page-shell .form-row{grid-template-columns:1fr!important;}}

/* Combined Contact + Feedback section. */
.contact-feedback-section{background:#fbf5eb;padding:18px 0 58px;scroll-margin-top:132px;}
.contact-feedback-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.72fr);gap:24px;align-items:start;}
.contact-feedback-card,.contact-feedback-side{background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 18px 42px rgba(11,31,58,.07);}
.contact-feedback-card{padding:28px 30px;}
.contact-feedback-head{text-align:center;margin-bottom:22px;}
.contact-feedback-head .eyebrow{color:#ff7a00;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;}
.contact-feedback-head h2{font-size:32px!important;line-height:1.08!important;margin:6px 0!important;color:#0b1f3a!important;}
.contact-feedback-head p{color:#65758b;font-size:14px;margin:0 auto;max-width:620px;}
.contact-feedback-form{display:grid;gap:12px;}
.contact-feedback-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.contact-feedback-form input,.contact-feedback-form select,.contact-feedback-form textarea{width:100%;border:1px solid #cbd6e4;border-radius:11px;background:#fff;color:#0b1f3a;padding:12px 14px;font:500 14px var(--ag-font-latin);outline:0;}
.contact-feedback-form input:focus,.contact-feedback-form select:focus,.contact-feedback-form textarea:focus{border-color:#ff7a00;box-shadow:0 0 0 3px rgba(255,122,0,.12);}
.contact-feedback-form textarea{min-height:126px;resize:vertical;}
.contact-feedback-form button[type="submit"]{border:0;border-radius:11px;background:#ff7a00;color:#fff;padding:14px 18px;font-weight:800;cursor:pointer;}
.contact-feedback-form button[type="submit"]:hover{background:#e96f00;}
.contact-feedback-form button[disabled]{opacity:.65;cursor:wait;}
.contact-feedback-status{min-height:21px;font-size:13px;font-weight:700;}
.contact-feedback-status.success{color:#087f6b}.contact-feedback-status.error{color:#b42318}
.contact-feedback-side{padding:20px;}
.contact-feedback-side h2{font-size:22px!important;margin:0 0 6px!important;color:#0b1f3a!important;}
.contact-feedback-side>p{font-size:13px;color:#65758b;margin:0 0 16px;line-height:1.55;}
.contact-feedback-item{display:flex;align-items:center;gap:12px;border:1px solid #dbe4ef;border-radius:12px;padding:12px 13px;margin-top:10px;color:#0b1f3a;text-decoration:none;}
.contact-feedback-item:hover{border-color:#ff7a00;}
.contact-feedback-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#fff4e8;color:#ff7a00;flex:none;}
.contact-feedback-icon svg{width:19px;height:19px;display:block;}
.contact-feedback-item small{display:block;color:#8593a5;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
.contact-feedback-item strong{display:block;font-size:13px;margin-top:2px;overflow-wrap:anywhere;}
.contact-feedback-social{border-top:1px solid #e2e8f0;margin-top:18px;padding-top:17px;display:flex;gap:9px;justify-content:center;}
.contact-feedback-social a{width:40px;height:40px;border-radius:10px;background:#f1f5f9;color:#0b1f3a;display:grid;place-items:center;}
.contact-feedback-social a:hover{background:#ff7a00;color:#fff;}
.contact-feedback-social svg{width:19px;height:19px;display:block;}
@media(max-width:850px){.contact-feedback-grid{grid-template-columns:1fr}.contact-feedback-section{scroll-margin-top:112px;}}
@media(max-width:600px){.contact-feedback-card{padding:22px 18px}.contact-feedback-row{grid-template-columns:1fr}.contact-feedback-head h2{font-size:28px!important;}}
