/* E-Z WINGS site styles — shared across all pages (c) 2026 Aeronautical Proficiency Training LLC */

.container {
    max-width: 800px;
}

.bluebox {
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    font-size: xx-large;
    color: rgba(255,255,255,1.00);
    background-color: rgba(11,0,168,1.00);
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 25px;
    width: 100%;
}

.space {
    padding-top: 25px;
    padding-bottom: 25px;
}

/* Type scale */
.headertext, h1.headertext {
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.15;
    color: rgba(161,3,3,1.00);
    padding-top: 0;
    margin: 0.25rem 0 0.5rem;
}

.subheadertext, h2.subheadertext {
    color: rgba(1,4,150,1.00);
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin: 0;
}

.hero-tagline {
    font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #222;
    line-height: 1.45;
    max-width: 36rem;
    margin: 0 auto 1.25rem;
}

.section-label {
    font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #040892;
    font-weight: 700;
    margin: 0.5rem 0 0.25rem;
}

.buttontext {
    color: rgba(251,251,251,1.00);
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    font-size: 1.25rem;
}

.buttontext1 {
    color: rgba(0,0,0,1.00);
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    font-size: clamp(1.25rem, 2.4vw + 0.85rem, 1.5rem); /* ~20px phone → 24px desktop */
    font-weight: 600;
    line-height: 1.25;
}


.darkbluebkgd {
    background-color: rgba(4,8,146,1.00);
    padding: 0.75rem 0.75rem 0.25rem;
    border-radius: 1rem;
}

.cta-group {
    background-color: #f4f5fb;
    border: 1px solid #d8dced;
    border-radius: 1rem;
    padding: 0.75rem;
}

.logos {
    max-width: 280px;
    margin-bottom: 0;
}

.logos-fw {
    max-width: 220px;
}

.smallspace {
    padding-top: 10px;
    padding-bottom: 10px;
}

.pillshape {
    border-radius: 50px;
}

.margin20 {
    margin-top: 12px;
    margin-bottom: 12px;
}

/* Mobile tap targets */
.btn.pillshape,
a.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: normal;
    line-height: 1.25;
    padding: 0.65rem 1.1rem;
}

.btn-primary-cta {
    background-color: #040892 !important;
    border-color: #040892 !important;
    color: #fff !important;
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    font-weight: 700;
    min-height: 56px;
}

.btn-primary-cta:hover,
.btn-primary-cta:focus {
    background-color: #03066e !important;
    border-color: #03066e !important;
    color: #fff !important;
}

.btn-secondary-cta {
    background-color: #fff !important;
    border: 2px solid #040892 !important;
    color: #040892 !important;
    font-weight: 600;
}

.btn-secondary-cta:hover,
.btn-secondary-cta:focus {
    background-color: #eef0ff !important;
    color: #040892 !important;
}

.btn-back {
    font-size: 1rem;
    min-height: 44px;
    line-height: 1.2;
}

.undertext {
    color: rgba(251,251,251,1.00);
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 30px;
}

.acstext {
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: rgba(1,4,150,1.00);
    font-size: 15px;
    white-space: nowrap;
}
@media (min-width: 410px) {
    .acstext { font-size: 18px; }
}
@media (min-width: 768px) {
    .acstext { font-size: 24px; }
}

.site-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e3e5ef;
}

.footer-note {
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.5rem;
    text-align: center;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.75rem;
}
.footer-note em {
    font-style: italic;
}



.ezw-tagline {
    display: block;
    margin: 0.1rem auto 0.05rem;
    padding: 0 0.5rem;
    color: #040892;
    font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
    font-size: clamp(0.92rem, 3.4vw, 1.28rem);
    font-weight: 700;
    letter-spacing: 0.005em;
    text-align: center;
    line-height: 1.25;
    white-space: nowrap;
}
.ezw-tagline em {
    font-style: italic;
    font-weight: 700;
}
@media (max-width: 400px) {
    .ezw-tagline {
        font-size: clamp(0.82rem, 4.1vw, 1.05rem);
        letter-spacing: 0;
        padding: 0 0.25rem;
    }
}

.ezw-byline {
    display: block;
    margin: 0.05rem auto 0.55rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #040892;
    font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    line-height: 1.25;
}

header .logos, .container > .row .logos {
    margin-bottom: 0;
}
.headertext.visually-hidden,
h1.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.section-label.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.how-bar { margin-bottom: 0.1rem; }
.smallspace { padding-top: 8px; padding-bottom: 8px; }


/* Equal action buttons — no promoted CTA */
.darkbluebkgd a.btn-light,
.darkbluebkgd a.btn {
    background-color: #fff !important;
    color: #000 !important;
    border: none;
}
.btn-primary-cta { /* unused in v4 equal layout */ }

.how-link {
    font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    color: #040892;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}
.how-link:hover, .how-link:focus { color: #03066e; }
.how-bar { margin-bottom: 0.25rem; }
.how-page .how-section {
    margin: 1.25rem 0;
    padding-top: 0.5rem;
    scroll-margin-top: 0.75rem;
}
.how-page .how-h2 {
    font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
    color: #040892;
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
}
.how-page .how-h3 {
    font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
    color: #040892;
    font-size: 1.05rem;
    font-weight: 700;
}
.how-page .how-list, .how-page .how-steps { padding-left: 1.2rem; }
.how-page .how-list li, .how-page .how-steps li { margin-bottom: 0.55rem; }
.how-page p { line-height: 1.45; }
.how-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
}
.how-toc-list a { font-size: 0.9rem; }

.home-note {
    text-align: center;
    font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
    font-size: clamp(0.8rem, 2vw, 0.92rem);
    color: #444;
    line-height: 1.35;
    margin: 0.35rem auto 0.85rem;
    max-width: 28rem;
    padding: 0 0.75rem;
}

.home-note-link {
    margin-top: -0.35rem;
    margin-bottom: 0.75rem;
}
.home-note-link a {
    color: #040892;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.home-note-link a:hover, .home-note-link a:focus { color: #03066e; }

/* v10 — larger equal button labels; prefer one line, allow clean wrap */
.darkbluebkgd a.btn,
a.btn.buttontext1,
a.btn.btn-light.pillshape {
    font-size: clamp(1.25rem, 2.4vw + 0.85rem, 1.5rem);
    font-weight: 600;
    line-height: 1.25;
    min-height: 3.25rem;
    height: auto;
    padding: 0.7rem 0.85rem;
    white-space: normal;
    text-wrap: balance;
    hyphens: manual;
    overflow-wrap: normal;
    word-break: normal;
}
@media (max-width: 400px) {
    .darkbluebkgd a.btn,
    a.btn.buttontext1,
    a.btn.btn-light.pillshape {
        font-size: 1.25rem; /* 20px */
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }
}
@media (min-width: 768px) {
    .darkbluebkgd a.btn,
    a.btn.buttontext1,
    a.btn.btn-light.pillshape {
        font-size: 1.5rem; /* 24px */
        min-height: 3.5rem;
    }
}


/* v13: more prominent login note */
.home-note.home-note-main {
    font-size: clamp(1.15rem, 1.6vw + 0.8rem, 1.4rem);
    font-weight: 700;
    color: #03066e;
    line-height: 1.35;
    max-width: 40rem;
}
.home-note-main .nl { display: block; }
/* v15: fit each line on iPhone 15 Pro (393px) */
.home-note.home-note-main { font-size: clamp(0.95rem, 0.6rem + 1.6vw, 1.3rem); max-width: 40rem; padding: 0 0.5rem; }
.home-note.home-note-main { font-weight: 600; }


/* v22 — single sticky Home (left) / Top (right) row on howitworks */
.how-page .how-topnav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid #e3e5ef;
    box-shadow: 0 1px 3px rgba(4, 8, 146, 0.08);
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    margin-bottom: 0.5rem;
}
.how-page .how-topnav .how-link { white-space: nowrap; }
.how-page .how-section,
.how-page #top {
    scroll-margin-top: 3rem;
}

/* v23 — home byline removed; keep the gap it gave under the home tagline */
.ezw-tagline { margin-bottom: 0.6rem; }

/* === v24 footer pin (centered column) === */
/* === v26 larger pin: 160px phone / 200px desktop === */
.site-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e3e5ef;
    text-align: center;
}
.site-footer .footer-pin-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 44rem;
    margin: 0 auto;
}
.site-footer .subheadertext,
.site-footer h2.subheadertext {
    text-align: center;
    width: 100%;
}
.site-footer .footer-note {
    text-align: center;
    width: 100%;
}
.site-footer .footer-note a {
    display: inline-block;
}
.footer-wings-pin {
    width: 160px;
    max-width: 70vw;
    height: auto;
    display: block;
    margin: 0 auto 0.55rem;
}
@media (min-width: 768px) {
    .footer-wings-pin {
        width: 200px;
        max-width: none;
    }
}
/* Leaf-page footers already stack; pin size + center links */
.row > .col-12 > img.footer-wings-pin,
img.footer-wings-pin.logos {
    width: 160px;
    max-width: 70vw;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.55rem;
}
@media (min-width: 768px) {
    .row > .col-12 > img.footer-wings-pin,
    img.footer-wings-pin.logos {
        width: 200px;
        max-width: none;
    }
}

/* === v25 FAA external links (new tab) === */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
a.faa-ext::after {
    content: "";
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin-left: 0.35em;
    flex: 0 0 auto;
    background-color: currentColor;
    opacity: 0.62;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%202.25H2.75A1.25%201.25%200%200%200%201.5%203.5v5.75A1.25%201.25%200%200%200%202.75%2010.5h5.75A1.25%201.25%200%200%200%209.75%209.25V7%27%2F%3E%3Cpath%20d%3D%27M6.75%201.5H10.5V5.25M10.5%201.5%205.5%206.5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%202.25H2.75A1.25%201.25%200%200%200%201.5%203.5v5.75A1.25%201.25%200%200%200%202.75%2010.5h5.75A1.25%201.25%200%200%200%209.75%209.25V7%27%2F%3E%3Cpath%20d%3D%27M6.75%201.5H10.5V5.25M10.5%201.5%205.5%206.5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    pointer-events: none;
    vertical-align: 0.05em;
}
.faa-ext-note {
    color: #e4e6f8;
    font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.3;
    text-align: center;
    margin: 0.1rem 0.35rem 0.5rem;
    padding: 0;
}
.faa-ext-note--mixed::before,
.faa-ext-note::before {
    content: "";
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin-right: 0.3em;
    vertical-align: -0.05em;
    background-color: currentColor;
    opacity: 0.85;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%202.25H2.75A1.25%201.25%200%200%200%201.5%203.5v5.75A1.25%201.25%200%200%200%202.75%2010.5h5.75A1.25%201.25%200%200%200%209.75%209.25V7%27%2F%3E%3Cpath%20d%3D%27M6.75%201.5H10.5V5.25M10.5%201.5%205.5%206.5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%202.25H2.75A1.25%201.25%200%200%200%201.5%203.5v5.75A1.25%201.25%200%200%200%202.75%2010.5h5.75A1.25%201.25%200%200%200%209.75%209.25V7%27%2F%3E%3Cpath%20d%3D%27M6.75%201.5H10.5V5.25M10.5%201.5%205.5%206.5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
