/*
Theme Name: TTweakAirline Light
Theme URI: https://ttweakairlinediscount.com/
Author: TTweakAirlineDiscount.com
Description: Lightweight editorial and discount landing pages for WordPress.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: ttweakairline-light
*/
:root{--navy:#172554;--lime:#65A30D;--deep-lime:#4D7C0F;--ink:#111827;--muted:#667085;--line:#dce4ed;--pale-blue:#f2f6fc;--pale-green:#f5f9ef;--pale-gray:#f8fafc;--max:1120px}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:400 18px/1.6 Inter, system-ui, -apple-system, "system-ui", "Segoe UI", sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}a{color:inherit;text-decoration:none}img,svg{max-width:100%}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{color:var(--navy);font-weight:700}h1{font-size:48px;line-height:1.25;letter-spacing:-.03em}h2{font-size:42px;line-height:1.13;letter-spacing:-.04em}h3{font-size:22px;line-height:1.35}h4{font-size:19px}.container{width:min(var(--max),calc(100% - 48px));margin:auto}.section{padding:50px 0}.muted{color:var(--muted)}.narrow{max-width:880px}.site-header{background:var(--navy);color:#fff;position:sticky;top:0;z-index:30;box-shadow:0 2px 10px #0b184a24}.header-inner{min-height:86px;display:flex;justify-content:space-between;align-items:center;gap:18px}.brand{display:flex;gap:12px;align-items:center;flex-shrink:0}.brand-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:11px;background:var(--lime);color:var(--navy)}.brand-mark svg{width:29px;height:29px;transform:rotate(45deg)}.brand-name{color:#fff;font-size:25px;font-weight:800;letter-spacing:-.04em;line-height:1.05}.brand-sub{display:block;margin-top:4px;font-size:14px;letter-spacing:.11em;line-height:1.1;color:#c5f28a;font-weight:800}.header-nav{display:flex;gap:clamp(12px,1.7vw,24px);align-items:center}.header-nav a,.mobile-links a{font-size:15px;font-weight:500;color:#e2e8f0}.header-nav a:hover,.header-nav .current{color:#ccfa8d}.mobile-nav{display:none}.mobile-nav summary{cursor:pointer;list-style:none;padding:8px 12px;border:1px solid #7180a8;border-radius:8px;color:#fff}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-links{position:absolute;top:100%;left:0;right:0;background:var(--navy);padding:16px 24px 20px;box-shadow:0 9px 15px #0b184a33;display:grid;gap:14px}.hero,.tool-hero{background:linear-gradient(120deg,#eff4fc,#f5f9ef);border-bottom:1px solid #e5eaf2;text-align:center}.hero-inner{padding:43px 0 31px}.hero h1,.tool-hero h1{max-width:840px;margin:0 auto 13px}.hero .lead,.tool-hero .lead{font-size:20px;font-weight:400;line-height:28px;color:#475467;max-width:768px;margin:auto}.badge-row{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:19px}.hero-badge{display:inline-flex;gap:8px;align-items:center;padding:8px 15px;border:1px solid #e3ebde;border-radius:999px;background:#fff;color:#476927;font-size:14px;font-weight:600}.hero-badge svg{width:18px;height:18px}.tools{background:#fff;padding:41px 0 49px}.section-title{text-align:center;margin-bottom:22px}.section-title p{color:var(--muted);margin:8px auto 0;font-size:18px}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.tool-card{padding:25px 24px;min-height:245px;display:flex;flex-direction:column;border-radius:16px;border:1px solid var(--line);background:#fff;box-shadow:0 3px 14px #1624430a;transition:transform .18s,box-shadow .18s,border-color .18s}.tool-card:hover{transform:translateY(-4px) scale(1.01);box-shadow:0 15px 28px #1725541e;border-color:#8dbd4c}.tool-card:focus-visible{outline:3px solid var(--lime);outline-offset:3px}.icon-tile{width:50px;height:50px;margin-bottom:18px;border-radius:11px;display:grid;place-items:center}.icon-tile svg{width:27px;height:27px}.icon-tile.green{background:#eaf7d4;color:var(--deep-lime)}.icon-tile.blue{background:#e9edfb;color:#283b82}.icon-tile.gold{background:#fff3d8;color:#a06004}.tool-card h3{font-size:18px;font-weight:700;line-height:1.55;margin-bottom:10px}.tool-card p{font-size:18px;font-weight:400;color:var(--muted);line-height:1.55}.card-indicator{margin-top:auto;padding-top:14px;color:var(--deep-lime);font-size:23px;text-align:right}.article-section{background:var(--pale-blue);border-block:1px solid #e5ecf5}.article-section .container,.codes-article-area .container{max-width:1010px}.article-copy{color:var(--ink);font-size:18px;line-height:1.73}.article-copy h2{margin-bottom:18px}.article-copy h3{margin:32px 0 13px;font-size:25px}.article-copy h4{margin:23px 0 10px}.article-copy p{font-size:18px;line-height:1.73;margin:0 0 16px;color:#344054}.article-copy a{color:#3c7110;text-decoration:underline;text-underline-offset:3px}.article-copy ul,.article-copy ol{padding-left:28px;margin:12px 0 20px}.article-copy li{padding-left:3px;margin-bottom:8px}.article-copy table{width:100%;border-collapse:collapse;margin:20px 0;background:#fff;border:1px solid #dbe3ee}.article-copy th,.article-copy td{text-align:left;padding:12px 14px;border-bottom:1px solid #dbe3ee}.article-copy th{color:var(--navy);background:#edf3f9}.article-copy blockquote{border-left:4px solid var(--lime);margin:15px 0;padding:12px 16px;background:#fff}.article-copy .article-part{border-top:1px solid #dfe8ef;padding-top:4px}.article-copy .article-intro{margin-bottom:22px}.article-copy strong{font-weight:700;color:#22304b}.codes-article-area{background:var(--pale-blue);padding:51px 0}.traveltweaks-article-area,.ticket-article-area{background:var(--pale-green)}.tool-hero{padding:37px 0 31px}.tool-content{padding:29px 0 47px;background:var(--pale-gray)}.calc-card{max-width:800px;margin:auto;background:#fff;border:1px solid #dfe5ee;border-radius:16px;padding:30px;box-shadow:0 12px 30px #17255412}.calc-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.calc-head h2{font-size:24px;line-height:1.4;letter-spacing:0}.discount-pill{white-space:nowrap;border-radius:999px;background:#e9f6d6;color:#38600b;font-size:14px;font-weight:800;padding:7px 13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.field label{font-size:16px;font-weight:600;color:#273659}.field input{height:50px;padding:0 14px;font-size:16px;font-weight:600;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#253149;min-width:0}.field input:focus{outline:3px solid #e5f4cb;border-color:#65a30d}.form-note{display:flex;gap:10px;align-items:start;background:#f6faef;border:1px solid #e6eddf;color:#485d31;padding:13px 15px;border-radius:10px;margin:4px 0 20px;font-size:14px}.main-button{width:100%;min-height:50px;padding:12px;border:none;border-radius:9px;background:var(--lime);color:#172554;font-size:17px;font-weight:700;cursor:pointer}.main-button:hover{background:#80ba2f}.main-button:disabled{cursor:not-allowed;opacity:.6}.form-message{max-width:800px;margin:20px auto 0;padding:17px;border-radius:11px;border:1px solid #e3eaf0;background:#fff;font-size:16px}.form-message.error{border-color:#e2b6b6}.code-output{margin-top:14px;overflow-wrap:anywhere;padding:15px;border:1px dashed #94b858;background:#f6faee;border-radius:8px;font-size:16px;font-weight:700}.result-line{display:flex;gap:12px;justify-content:space-between;border-bottom:1px solid #e6edf2;padding:11px 0;font-size:16px}.result-line strong{text-align:right}.disclaimer{color:var(--muted);font-size:13px;margin-top:11px}.faq-section{background:#fff;padding:49px 0 54px}.faq-wrap{max-width:900px;margin:auto}.faq-wrap h2{margin-bottom:20px}.faq-wrap details{border-bottom:1px solid #e5eaf0}.faq-wrap details:first-of-type{border-top:1px solid #e5eaf0}.faq-wrap summary{cursor:pointer;list-style:none;color:var(--navy);font-size:16px;font-weight:700;padding:12px 30px 12px 2px;position:relative}.faq-wrap summary:after{content:'+';position:absolute;right:4px;color:var(--deep-lime);font-size:21px;top:9px}.faq-wrap details[open] summary:after{content:'−'}.faq-wrap summary::-webkit-details-marker{display:none}.faq-wrap details p{font-size:16px;line-height:1.6;color:#475467;padding:0 30px 16px 2px}.blog-section{background:var(--pale-green);padding:53px 0 50px}.section-bar{margin-bottom:22px}.section-bar p{font-size:18px;color:var(--muted);margin-top:8px}.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-card{border:1px solid #e0e7dd;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.post-card:hover{box-shadow:0 12px 25px #17255418}.post-art{height:134px;background:#e8f0fa;display:grid;place-items:center;color:#536583}.post-art svg{width:42px;height:42px}.post-copy{padding:19px 19px 22px}.post-copy h3{font-size:18px;line-height:1.5}.post-copy p{font-size:16px;color:var(--muted);margin-top:9px}.pager{display:flex;gap:8px;justify-content:center;align-items:center;margin-top:25px}.pager a,.page-numbers{display:inline-block;background:#fff;padding:7px 15px;border:1px solid #d7e0d4;border-radius:8px;font-size:16px;font-weight:600}.pager a:hover,.page-numbers.current{background:#e8f5d0}.site-footer{background:var(--navy);color:#fff}.foot-grid{padding:54px 0 28px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.foot-logo{display:flex;align-items:center;gap:10px;color:#fff;font-size:28px;font-weight:800;letter-spacing:-.04em}.foot-logo svg{width:28px;height:28px;color:#b3e46a;flex-shrink:0;transform:rotate(45deg)}.foot-description{font-size:16px;color:#c7d1e2;margin-top:12px;max-width:440px}.foot-title{font-size:16px;font-weight:700;margin-bottom:14px;color:#fff}.foot-links{display:grid;gap:9px}.foot-links a{color:#c7d1e2;font-size:14px;font-weight:400}.foot-links a:hover{color:#caf28c}.foot-bottom{border-top:1px solid #394675;text-align:center;padding:18px 0;font-size:13px;color:#c7d1e2}.archive-header{padding:48px 0;background:var(--pale-blue)}.archive-header p{color:var(--muted);font-size:18px;margin-top:8px}.archive-body{background:var(--pale-gray)}.post-body{padding:50px 0}.post-body .article-copy{max-width:850px;margin:auto}.simple-page{padding:55px 0;min-height:360px;background:var(--pale-gray)}.simple-page .container{max-width:900px}.simple-page .article-copy{margin-top:18px}
@media(max-width:1040px){.header-nav{display:none}.mobile-nav{display:block}.brand-name{font-size:25px}.brand{min-width:0}}
@media(max-width:780px){.container{width:min(var(--max),calc(100% - 32px))}.header-inner{min-height:74px}.tool-grid{grid-template-columns:1fr}.tool-card{min-height:auto}.blog-grid{grid-template-columns:repeat(2,1fr)}.foot-grid{grid-template-columns:1fr 1fr}.foot-grid>div:first-child{grid-column:1/-1}.form-grid{grid-template-columns:1fr;gap:0}.section{padding:42px 0}h2{font-size:34px}.hero-inner{padding:44px 0 32px}}
@media(max-width:480px){h1{font-size:30px}h2{font-size:34px}.hero .lead,.tool-hero .lead{font-size:20px;line-height:28px}.brand-name{font-size:17px}.brand-sub{font-size:12px}.brand-mark{width:36px;height:36px}.brand-mark svg{width:25px}.blog-grid{grid-template-columns:1fr}.calc-card{padding:22px}.article-copy h3{font-size:22px}.article-copy h2{font-size:34px}.article-copy th,.article-copy td{padding:9px}.foot-grid{gap:24px}.foot-logo{font-size:24px}.result-line{flex-wrap:wrap}.result-line strong{text-align:left}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tool-card{transition:none}}
