/*
Theme Name: Buy Airfare Last Minute
Theme URI: https://buyairfarelastminute.com/
Author: Buy Airfare Last Minute
Description: Responsive travel magazine and affiliate flight-search theme inspired by modern booking layouts. No artificial fare pricing or unverified deal claims.
Version: 2.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: balm
Tags: blog, custom-logo, custom-menu, featured-images, responsive-layout
*/
:root{--navy:#082b54;--navy2:#054579;--blue:#0568bc;--blue2:#1687cc;--orange:#ff6539;--ink:#102c4f;--muted:#60728a;--stroke:#e5ecf3;--pale:#f3f8fd;--white:#fff;--shadow:0 15px 44px rgba(15,54,93,.12);--round:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible{outline:3px solid #fa9b2d;outline-offset:3px}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}.wrap{width:min(1190px,calc(100% - 56px));margin-inline:auto}.skip-link{position:absolute;top:-70px;left:12px;z-index:999;background:#fff;padding:10px}.skip-link:focus{top:10px}.topline{background:#06447b;color:#dfedfc;font-size:12px;letter-spacing:.02em}.topline .wrap{min-height:37px;display:flex;justify-content:space-between;align-items:center;gap:15px}.topline a{color:#fff}.navhead{background:#fff;position:relative;z-index:50;box-shadow:0 2px 15px rgba(14,53,98,.065)}.navhead .wrap{display:flex;align-items:center;justify-content:space-between;min-height:94px;gap:26px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;flex-shrink:0}.brand:hover{text-decoration:none}.brand-mark{width:59px;height:59px}.brand-text{font-size:23px;font-weight:850;letter-spacing:-.9px;line-height:1.02;color:#06437e}.brand-text strong{color:var(--orange);display:block;font-weight:850}.menu-primary-container .menu,.primary-menu{list-style:none;display:flex;gap:30px;align-items:center;justify-content:flex-end;padding:0;margin:0}.primary-menu li{margin:0}.primary-menu a{color:#1e3654;font-weight:700;font-size:14px;white-space:nowrap}.primary-menu a:hover,.primary-menu .current-menu-item>a{color:var(--blue);text-decoration:none}.nav-cta{background:var(--orange);color:#fff!important;padding:12px 18px;border-radius:11px;box-shadow:0 7px 16px rgba(255,101,57,.2)}.nav-cta:hover{background:#e7532c}.menu-toggle{display:none;border:1px solid var(--stroke);background:#fff;border-radius:11px;padding:11px 14px;cursor:pointer;color:var(--navy)}
.hero{position:relative;background:linear-gradient(116deg,#06376f 0%,#07528a 62%,#087bc2 100%);min-height:470px;isolation:isolate;overflow:hidden}.hero::before{content:"";position:absolute;inset:0 0 0 45%;background:url('assets/images/hero.webp') center/cover no-repeat;opacity:.8;z-index:-2}.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,45,95,.98) 0%,rgba(3,54,108,.88) 43%,rgba(3,74,134,.1) 92%);z-index:-1}.hero-content{padding-top:76px;padding-bottom:146px;position:relative}.eyebrow{color:#a8d8fa;font-weight:800;letter-spacing:.13em;text-transform:uppercase;font-size:12px;display:flex;gap:9px;align-items:center}.eyebrow:before{content:"";background:var(--orange);height:3px;width:22px;border-radius:10px}.hero h1{color:white;font-size:clamp(40px,4.3vw,63px);letter-spacing:-2.5px;line-height:1.07;max-width:680px;margin:19px 0 17px;font-weight:850}.hero h1 em{color:#ffba85;font-style:normal}.hero p{max-width:520px;color:#dfedff;line-height:1.7;font-size:17px;margin:0}.hero-pills{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:30px;color:#eff8ff;font-size:13px;font-weight:600}.hero-pills span{display:flex;gap:8px;align-items:center}.hero-pills b{color:#a5e4ef}.search-overlap{position:relative;margin-top:-107px;z-index:10}.search-shell{background:#fff;border-radius:19px;box-shadow:0 22px 52px rgba(14,59,102,.21);border:1px solid rgba(255,255,255,.65);overflow:hidden}.search-tabs{display:flex;align-items:center;gap:0;background:#f7fafe;border-bottom:1px solid var(--stroke)}.search-tabs a{padding:17px 29px;font-size:14px;font-weight:800;color:#566e85;display:flex;align-items:center;gap:8px}.search-tabs a.current{background:var(--navy2);color:#fff}.search-tabs a:hover{text-decoration:none;color:var(--blue)}.search-tabs a.current:hover{color:#fff}.search-body{padding:28px 30px 33px}.search-body h2{font-size:23px;letter-spacing:-.6px;margin:0 0 5px}.search-body>p{margin:0;color:var(--muted);font-size:14px}.search-form-slot{margin-top:21px}.search-form-slot .widget{margin:0}.search-form-slot iframe{max-width:100%;border:0}.search-empty{display:flex;flex-wrap:wrap;align-items:center;gap:20px;justify-content:space-between;border:1px dashed #b5d1e4;border-radius:12px;padding:21px 22px;background:#f5fafe}.search-empty strong{display:block;color:#123a62;font-size:15px}.search-empty small{display:block;color:var(--muted);max-width:630px;margin-top:3px;font-size:13px}.btn{display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:11px;cursor:pointer;white-space:nowrap;padding:13px 21px;font-weight:800;font-size:14px;gap:9px;transition:transform .15s,box-shadow .15s;background:var(--orange);color:#fff}.btn:hover{transform:translateY(-2px);color:#fff;text-decoration:none;box-shadow:0 8px 23px rgba(255,101,57,.23)}.btn-outline{background:#fff;color:#0c5394;border:1px solid #bed9e9}.btn-outline:hover{color:#0c5394}.benefits{padding:36px 0 43px}.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.benefit{display:flex;align-items:center;gap:17px}.benefit-ico{height:55px;width:55px;border-radius:17px;background:#eaf5ff;color:#0865af;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:23px}.benefit b{font-size:14px;display:block}.benefit small{font-size:12px;color:var(--muted);display:block;margin-top:3px;line-height:1.55}.section{padding:70px 0}.section-soft{background:var(--pale)}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:27px;gap:20px}.overline{font-size:12px;text-transform:uppercase;letter-spacing:.13em;font-weight:900;color:#0d75ad}.section-heading h2,.feature-copy h2{font-size:clamp(26px,3vw,35px);line-height:1.18;letter-spacing:-1.2px;margin:7px 0 7px;color:#102f51}.section-heading p{font-size:14px;color:#677b92;margin:0}.section-link{white-space:nowrap;color:var(--blue);font-size:14px;font-weight:800}.destinations{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.dest-card{background:#fff;border:1px solid var(--stroke);border-radius:15px;overflow:hidden;box-shadow:0 6px 19px rgba(13,54,92,.055);transition:transform .2s,box-shadow .2s}.dest-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);text-decoration:none}.dest-card img{width:100%;height:154px;object-fit:cover;display:block}.dest-info{padding:15px}.dest-info h3{font-size:16px;color:var(--ink);line-height:1.1;margin:0 0 8px}.dest-info p{margin:0;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.dest-info p span{font-size:21px;color:var(--blue)}.guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.guide-card{background:white;border:1px solid #e5edf4;border-radius:15px;overflow:hidden;transition:transform .2s,box-shadow .2s;box-shadow:0 5px 17px rgba(15,50,90,.035)}.guide-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.guide-card img{width:100%;height:176px;object-fit:cover;display:block}.guide-copy{padding:18px 18px 20px}.guide-copy .meta{color:#3283ae;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.guide-copy h3{font-size:17px;line-height:1.32;margin:9px 0;color:#173655}.guide-copy h3 a{color:inherit}.guide-copy p{font-size:13px;color:var(--muted);margin:9px 0 13px;line-height:1.55}.readmore{font-size:13px;font-weight:800;color:#0873be}.empty-guides{grid-column:1/-1;background:#fff;padding:23px;border-radius:15px;border:1px solid var(--stroke)}.feature-section{padding:75px 0}.feature-shell{display:grid;grid-template-columns:1fr .9fr;gap:52px;align-items:center}.feature-photo{position:relative;overflow:hidden;border-radius:24px;background:#0861aa;min-height:315px}.feature-photo img{width:100%;height:360px;object-fit:cover;display:block}.feature-badge{position:absolute;bottom:23px;left:23px;background:white;color:#093968;border-radius:15px;padding:13px 18px;box-shadow:var(--shadow);font-size:13px;font-weight:800}.feature-copy p{font-size:15px;color:var(--muted);line-height:1.8}.feature-copy ul{padding:0;margin:20px 0 26px;list-style:none}.feature-copy li{display:flex;gap:12px;margin:12px 0;font-weight:650;font-size:14px}.feature-copy li:before{content:'✓';color:#0c9e87;font-weight:900}.faq-section{padding:65px 0;background:var(--pale)}.faq-list{display:grid;grid-template-columns:1fr 1fr;gap:15px}.faq-list details{background:#fff;padding:18px 21px;border-radius:12px;border:1px solid #e4ecf4}.faq-list summary{cursor:pointer;font-size:15px;font-weight:800;color:var(--ink)}.faq-list p{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:0}.cta{background:#07528c;color:#fff;padding:38px 0}.cta .wrap{display:flex;align-items:center;justify-content:space-between;gap:25px}.cta h2{font-size:24px;margin:0 0 7px;letter-spacing:-.6px}.cta p{color:#e1eefa;margin:0;font-size:14px}.footer{background:#052447;color:#d2e1ee;padding:56px 0 23px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:65px}.footer .brand-text{color:#fff;font-size:22px}.footer h3{font-size:14px;color:#fff;margin:4px 0 17px}.footer p{font-size:13px;line-height:1.75;color:#adc4d9}.footer-links{list-style:none;margin:0;padding:0}.footer-links li{margin:10px 0;font-size:13px}.footer-links a{color:#c9dcec}.footer-bottom{margin-top:40px;border-top:1px solid #28506c;padding-top:21px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;color:#bad0dd}.footer-disclosure{font-size:12px;line-height:1.6;color:#b5cddd;max-width:570px}.article-shell{padding:70px 0 95px}.article-shell.narrow{max-width:800px}.article-shell h1{font-size:clamp(32px,4vw,50px);line-height:1.12;letter-spacing:-1.3px}.article-shell .entry-meta{color:var(--muted);font-size:13px}.entry-content{font-size:17px;line-height:1.85}.entry-content img{height:auto;border-radius:14px}.entry-content h2,.entry-content h3{line-height:1.25}.entry-content a{text-decoration:underline}.post-list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.not-found{text-align:center;padding:90px 0}h1,h2,h3,h4,h5{overflow-wrap:break-word}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{clip:auto!important;background:#fff;width:auto;height:auto;z-index:10000}.wp-block-image img{height:auto}.alignwide{max-width:1100px;margin-left:auto;margin-right:auto}.alignfull{max-width:none;width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw}
@media(max-width:1050px){.menu-primary-container .menu,.primary-menu{gap:17px}.primary-menu a{font-size:13px}.destinations{grid-template-columns:repeat(3,1fr)}.guide-grid{grid-template-columns:repeat(2,1fr)}.hero::before{left:35%}.feature-shell{gap:28px}}
@media(max-width:800px){.wrap{width:min(100% - 36px,1190px)}.navhead .wrap{min-height:79px}.menu-toggle{display:flex;align-items:center;gap:8px}.primary-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid var(--stroke);padding:18px 24px;box-shadow:0 18px 22px rgba(4,45,83,.1)}.primary-nav.open{display:block}.menu-primary-container .menu,.primary-menu{display:flex;flex-direction:column;align-items:stretch;gap:0}.primary-menu li a{display:block;padding:12px;font-size:15px}.hero{min-height:455px}.hero-content{padding-top:61px}.hero h1{max-width:650px}.hero::before{inset:0;opacity:.35}.hero::after{background:linear-gradient(90deg,rgba(3,45,95,.97),rgba(3,45,95,.5))}.benefit-grid{gap:12px}.benefit{align-items:flex-start}.benefit-ico{height:43px;width:43px}.footer-grid{gap:30px}.feature-shell{grid-template-columns:1fr}.feature-photo{order:2}.feature-copy{order:1}}
@media(max-width:620px){.topline .wrap{justify-content:center;text-align:center}.topline .rightline{display:none}.brand-mark{width:47px;height:47px}.brand-text{font-size:18px}.hero{min-height:430px}.hero-content{padding-top:45px;padding-bottom:130px}.hero h1{font-size:39px;letter-spacing:-1.5px}.hero p{font-size:15px}.hero-pills{gap:12px}.search-overlap{margin-top:-92px}.search-tabs a{padding:14px 15px;font-size:12px;gap:4px}.search-body{padding:22px 19px}.search-empty{align-items:stretch}.search-empty .btn{width:100%}.benefits{padding:28px 0}.benefit-grid{grid-template-columns:1fr;gap:15px}.section{padding:51px 0}.section-heading{align-items:start}.section-link{white-space:normal;text-align:right;font-size:12px}.destinations{grid-template-columns:repeat(2,1fr);gap:12px}.dest-card img{height:127px}.dest-info{padding:12px}.dest-info h3{font-size:14px}.guide-grid,.post-list{grid-template-columns:1fr}.guide-card{display:grid;grid-template-columns:126px 1fr}.guide-card img{height:100%;min-height:165px}.guide-copy{padding:12px 14px}.guide-copy h3{font-size:15px}.guide-copy p{font-size:12px}.faq-list{grid-template-columns:1fr}.cta .wrap{flex-direction:column;align-items:flex-start}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* v2: combined clean-search + vibrant-deals direction */
.hero { min-height:520px; }
.hero-content { padding-top:65px; padding-bottom:180px; }
.hero h1 { max-width:700px; font-size:clamp(42px,5.3vw,68px); }
.hero h1 em { font-style:normal; color:#ff9750; }
.search-overlap { margin-top:-141px; position:relative; z-index:4; }
.search-shell { box-shadow:0 18px 55px rgba(3,27,59,.21); }
.search-tabs a { font-weight:800; }
.search-body h2 { margin-bottom:5px; }
.promo-grid { display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px; }
.promo-card { position:relative; min-height:216px;border-radius:15px;overflow:hidden;background:#093e72;display:flex;align-items:flex-end;box-shadow:0 6px 18px rgba(2,28,60,.08); }
.promo-card img {position:absolute;width:100%;height:100%;object-fit:cover;inset:0;}
.promo-card:after {content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,23,50,.9),rgba(4,23,50,.04) 90%);}
.promo-content {position:relative;z-index:1;padding:22px;color:#fff;}
.promo-content h3 {font-size:clamp(19px,2vw,27px);line-height:1.18;margin:0 0 8px;color:#fff;}
.promo-content p {font-size:13px;line-height:1.4;margin:0 0 10px;color:#edf6ff;}
.promo-link {display:inline-block;color:#fff;border-radius:8px;background:#ff6636;padding:8px 14px;font-size:12px;font-weight:800;}
.promo-card:not(:first-child) .promo-content h3 {font-size:21px;}
.route-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;}
.route-card {background:#fff;border:1px solid #e3eaf2;border-radius:13px;overflow:hidden;box-shadow:0 5px 19px rgba(3,37,75,.06);transition:transform .2s;}
.route-card:hover {transform:translateY(-4px);text-decoration:none;}
.route-card img {display:block;width:100%;height:126px;object-fit:cover;}
.route-info {padding:13px;}
.route-info strong {font-size:15px;color:#0e3255;display:block;}
.route-info span {font-size:12px;display:flex;justify-content:space-between;color:#42769e;margin-top:6px;font-weight:700;}
.note-live {color:#5b7084;font-size:12px;margin:20px 0 0;}
.section-tight {padding:50px 0;}
.starter-note{margin:15px 0 0;font-size:12px;color:#627993;}
.promo-tag {font-size:11px;letter-spacing:.1em;font-weight:900;color:#ffd7ad;text-transform:uppercase;margin-bottom:8px;}
.footer-disclosure {max-width:620px;}
@media(max-width:900px) {.promo-grid {grid-template-columns:1fr 1fr;}.promo-card:first-child {grid-column:1/-1;min-height:260px;}.route-grid {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:620px) {.hero {min-height:460px;}.hero-content {padding-top:45px;padding-bottom:135px;}.hero h1 {font-size:40px;}.search-overlap {margin-top:-94px;}.promo-grid {grid-template-columns:1fr;}.promo-card:first-child {grid-column:auto;}.promo-card {min-height:190px;}.route-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.route-card img {height:110px;}.section-tight {padding:40px 0;}}
