/* ===========================================
    Pages.css - Inner Pages Styling (Redesigned)
    ==========================================
    Table of Contents:
    1. Page Header (Hero Banner)
    2. Breadcrumb Bar
    3. Sub Navigation
    4. Page Content Layout
    5. Section Headers
    6. Main Content Typography
    7. Components
        - Info Boxes
        - Cards & Grids
        - Icon Link Grid
        - Detail Lists
        - Tables
        - Documents and Forms
        - Images & Media
    8. Responsive Styles
    ========================================= */

/*-------------------------------------
    1. Page Header (Hero Banner)
--------------------------------------*/
.page-header {
    position: relative;
    /* Opaque floor behind .page-title. The photo (.page-header-image) and the wash
       (.page-header-overlay) are absolutely-positioned siblings of
       .page-header-content, so the white title has no resolvable background — it
       reads as white-on-white to a contrast checker and genuinely is if the photo
       fails to load. White on this = 11.4:1. Applies to all 42 interior pages. */
    background-color: var(--primary-color-dark);
    height: 280px;
    overflow: hidden;
}

.page-header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(33, 33, 33, 0.85) 0%,
        rgba(33, 33, 33, 0.5) 40%,
        rgba(33, 33, 33, 0.2) 70%,
        transparent 100%
    );
}

.page-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 0;
    z-index: 1;
}

.page-title {
    color: var(--white);
    font-size: 2.75rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/*-------------------------------------
    2. Breadcrumb Bar
--------------------------------------*/
.breadcrumb-bar {
    background-color: var(--white);
    padding: 0.875rem 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--mid-gray);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--mid-gray);
    content: ">";
    padding: 0 0.5rem;
}

/*-------------------------------------
    3. Sub Navigation
--------------------------------------*/
.sub-nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    z-index: 100;
}

.sub-nav .container {
    max-width: 1400px;
}

.sub-nav-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.sub-nav-menu > li {
    position: relative;
}

.sub-nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 1rem 1rem;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.sub-nav-menu > li > a:hover,
.sub-nav-menu > li > a:focus {
    color: var(--primary-color);
    background-color: var(--light-gray);
}

.sub-nav-menu > li > a.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

.sub-nav-menu > li > a i {
    font-size: 0.7rem;
    transition: transform var(--transition-normal);
}

.sub-nav-menu > li:hover > a i,
.sub-nav-menu > li:focus-within > a i {
    transform: rotate(180deg);
}

/* Sub Nav Dropdown */
.sub-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-top: 3px solid var(--accent-color);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow-md);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 101;
}

.sub-nav-menu > li:hover .sub-nav-dropdown,
.sub-nav-menu > li:focus-within .sub-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.sub-nav-dropdown li a:hover,
.sub-nav-dropdown li a:focus {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.sub-nav-dropdown li a i {
    font-size: 0.7rem;
    color: var(--mid-gray);
}

/* Mobile "In this section" dropdown — shown <=992px in place of the bar */
.sub-nav-mobile { display: none; }
.sub-nav-mobile-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mid-gray);
    margin-bottom: 0.3rem;
}
.sub-nav-select {
    width: 100%;
    font: inherit;
    font-size: 0.95rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    color: var(--primary-color);
    background-color: var(--white);
    font-weight: 500;
    cursor: pointer;
}

/*-------------------------------------
    4. Page Content Layout
--------------------------------------*/
.page-content-wrapper {
    padding: 2rem 0 4rem;
    background-color: var(--white);
}

.page-content-wrapper .container {
    max-width: 1300px;
}

.page-article {
    max-width: 100%;
}

/*-------------------------------------
    5. Section Headers
--------------------------------------*/
.content-section {
    margin-bottom: 3.5rem;
}

.content-section:last-of-type {
    margin-bottom: 2rem;
}
.section-header-primary {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    position: relative;
    border-bottom: 3px solid var(--accent-color);
}
.section-header {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Sub-headers within sections */
.page-article h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.page-article h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/*-------------------------------------
    6. Main Content Typography
--------------------------------------*/
.page-article p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.page-article ul,
.page-article ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-article ul {
    list-style: disc;
}

.page-article ol {
    list-style: decimal;
}

.page-article li {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.page-article a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-normal);
}

.page-article a:hover,
.page-article a:focus {
    color: var(--primary-color-dark);
}

/*-------------------------------------
    7. Components
--------------------------------------*/

/* Info Boxes */
.info-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.info-box-blue {
    background-color: rgba(9, 73, 137, 0.08);
    border-left: 4px solid var(--primary-color);
}

.info-box h3,
.info-box h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.info-box h3 i,
.info-box h4 i {
    margin-right: 0.5rem;
}

.info-box p {
    margin-bottom: 0;
}

.info-box p:not(:last-child) {
    margin-bottom: 0.75rem;
}
.info-box p i {
    width: 1.25rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* An icon inside a solid button takes the button's own text color — the rule
   above targets the <i> directly at (0,1,2), so the button's white `color`
   never reached it and the icon rendered blue on a blue button. This selector
   is (0,2,1), which outweighs it. Spacing is handled by .primary-btn's gap. */
.info-box .primary-btn i {
    color: inherit;
    width: auto;
    margin-right: 0;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0;
}
/* Card Grid - 3 column variant */
.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-3 .menu-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.card-grid-3 .menu-card h3 i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}
.menu-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.menu-card .card-text {
    flex-grow: 1;
}

.menu-card .card-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 0.625rem 1rem;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color var(--transition-normal);
    margin-top: 1rem;
}

.menu-card .card-btn:hover,
.menu-card .card-btn:focus {
    background-color: var(--primary-color-dark);
    color: var(--white);
}

/* Button Grid */
.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.service-card {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 1.25rem;
    border-left: 4px solid var(--accent-color);
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.service-card h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.service-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.service-card li {
    margin-bottom: 0.25rem;
}
/* Warning / caution info-box variant */
.info-box-warning {
    background-color: #fff3cd;
    border-left: 4px solid #f79a00;
}
/* Spacing for an action button inside an info-box */
.info-box-action {
    margin-top: 0.75rem;
}
/* ------------------------------
   Airline Cards
   ------------------------------ */
.airline-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.airline-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.airline-logo {
    max-width: 180px;
    max-height: 50px;
    width: auto;
    height: auto;
}

.airline-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}


/* Icon Link Grid */
.icon-link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.icon-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    text-decoration: none !important;
    transition: all var(--transition-normal);
}
/* .is-static opts a chip out of every hover affordance — see the block after
   this section. */
.icon-link-item:not(.is-static):hover,
.icon-link-item:not(.is-static):focus {
    background-color: var(--primary-color);
    transform: translateX(4px);
    text-decoration: none;
    /* Covers the bare trailing arrow icon, which has no rule of its own and
       would otherwise inherit the dark link color on this dark background. */
    color: var(--white);
}

.icon-link-item:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.item-code {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    min-width: 40px;
    transition: color var(--transition-normal);
}

.icon-link-item:not(.is-static):hover .item-code,
.icon-link-item:not(.is-static):focus .item-code {
    color: var(--white);
}

.item-label {
    flex-grow: 1;
    color: var(--dark-gray);
    font-size: 0.95rem;
    transition: color var(--transition-normal);
}

.icon-link-item:not(.is-static):hover .item-label,
.icon-link-item:not(.is-static):focus .item-label {
    color: var(--white);
}

/* Icon inside item-code (left icon) - always visible */
.icon-link-item .item-code i {
    color: var(--primary-color);
    font-size: 1rem;
    opacity: 1;
    transform: none;
    transition: color var(--transition-normal);
}

.icon-link-item:not(.is-static):hover .item-code i,
.icon-link-item:not(.is-static):focus .item-code i {
    color: var(--white);
}

/* Informational chip, not a link: same grey surface, no hover, no pointer, no
   trailing arrow. Used for the non-stop destination list, which named other
   airports' websites. */
.icon-link-item.is-static {
    cursor: default;
}
/* ------------------------------
   Project Phases & Timelines
   ------------------------------ */
.project-phase {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.project-phase:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.phase-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.phase-header h3 {
    margin: 0;
    flex: 1;
}

.phase-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.status-in-progress {
    background-color: #fff3cd;
    color: #856404;
}

.status-upcoming {
    background-color: #e2e3e5;
    color: #495057;
}

.phase-details {
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.phase-details p {
    margin: 0.25rem 0;
}

/* Update Timeline */
.update-timeline {
    border-left: 3px solid var(--primary-color);
    margin-left: 0.5rem;
    padding-left: 1.5rem;
}

.update-item {
    position: relative;
    padding-bottom: 1.25rem;
}

.update-item:last-child {
    padding-bottom: 0;
}

.update-item::before {
    content: '';
    position: absolute;
    left: -1.65rem;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.update-date {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.update-item p {
    margin: 0;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
    -webkit-overflow-scrolling: touch;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
    border: 1px solid var(--light-gray);
}

.custom-table th,
.custom-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--light-gray);
    text-align: left;
}

.custom-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

/* Row headers (th scope="row") in the body keep the normal row look —
   the dark treatment above is for column headers in <thead>. */
.custom-table tbody th {
    background-color: transparent;
    color: inherit;
    font-weight: 600;
}

.custom-table tbody tr:nth-child(odd) {
    background-color: var(--white);
}

.custom-table tbody tr:nth-child(even) {
    background-color:  var(--light-gray);
}

/* Destination tables (airlines.html): fixed layout + explicit column widths
   so every same-shape table aligns down the page instead of sizing to its
   own content. Scoped — other custom-tables keep auto layout. */
.custom-table.destinations-table {
    table-layout: fixed;
}

.custom-table.destinations-table th:nth-child(1) { width: 45%; } /* Destination */
.custom-table.destinations-table th:nth-child(2) { width: 22%; } /* Airport Code */
.custom-table.destinations-table th:nth-child(3) { width: 33%; } /* Flight Type */
/* Contact Table (used within airline cards and elsewhere) */
.contact-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-table th {
    text-align: left;
    padding: 0.5rem 1rem 0.5rem 0;
    color: var(--mid-gray);
    font-weight: 600;
    width: 40%;
    vertical-align: top;
}

.contact-table td {
    padding: 0.5rem 0;
}

.contact-table a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-table a:hover,
.contact-table a:focus {
    color: var(--primary-color-dark);
}

/* Documents and Forms */
.doc-list {
    display: flex;
    flex-direction: column;
    margin: 1rem 0;
}

.doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid var(--light-gray);
    text-decoration: none !important;
    color: inherit;
    transition: background-color var(--transition-normal);
}

.doc-item:hover {
    background-color: rgba(9, 73, 137, 0.04);
}

.doc-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.doc-item:last-child {
    border-bottom: none;
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
}

.doc-info i {
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
    display: inline-block;
    text-decoration: none !important;
}

.doc-title {
    font-weight: 600;
    color: var(--primary-color);
    transition: color var(--transition-normal);
}

.doc-item:hover .doc-title {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

.doc-item > .fa-download {
    color: var(--primary-color);
    flex-shrink: 0;
    padding: 0.5rem;
    transition: color var(--transition-normal);
}

/* Was --accent-color (#6AADE4), ~2.4:1 on the near-white row background — an AA
   failure. --primary-color is ~7.5:1. */
.doc-item:hover > .fa-download {
    color: var(--primary-color);
}

/* Images and Media */
.content-image {
    margin: 1.5rem 0;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.content-image figcaption {
    font-size: 0.875rem;
    color: var(--mid-gray);
    margin-top: 0.5rem;
    font-style: italic;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* Document Iframe */
.doc-container {
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
}

.doc-container iframe {
    width: 100%;
    height: 600px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
}

.doc-fallback {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--mid-gray);
}
/* ------------------------------
   Parking Availability Widget
   ------------------------------ */
.parking-widget {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.parking-widget-header {
    background-color: var(--light-gray);
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
}

.parking-widget-header p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--mid-gray);
}

.parking-widget-header i {
    margin-right: 0.35rem;
}

.parking-availability-notice {
    margin: 0;
    padding: 1rem 1.25rem;
    color: var(--mid-gray);
}

/* Individual Lot Row */
.parking-lot-row {
    display: grid;
    grid-template-columns: 140px 80px 1fr 100px;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--light-gray);
}

.parking-lot-row:last-child {
    border-bottom: none;
}

/* Lot Name & Type */
.parking-lot-info {
    display: flex;
    flex-direction: column;
}

.parking-lot-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.parking-lot-type {
    font-size: 0.8rem;
    color: var(--mid-gray);
}

/* Status Badge */
.parking-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.parking-status-open {
    background-color: #d4edda;
    color: #155724;
}

.parking-status-full {
    background-color: #f8d7da;
    color: #721c24;
}

/* Occupancy Bar Section */
.parking-occupancy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.parking-bar-track {
    width: 100%;
    height: 12px;
    background-color: var(--light-gray);
    border-radius: 6px;
    overflow: hidden;
}

.parking-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.4s ease;
}

.parking-bar-fill.occupancy-low {
    background-color: #28a745;
}

.parking-bar-fill.occupancy-med {
    background-color: #ffc107;
}

.parking-bar-fill.occupancy-high {
    background-color: #dc3545;
}

.parking-spots-label {
    font-size: 0.8rem;
    color: var(--mid-gray);
}

.parking-spots-label strong {
    color: var(--dark-gray);
}

/* Daily Rate */
.parking-rate {
    text-align: right;
    font-size: 0.85rem;
    color: var(--mid-gray);
}

.parking-rate strong {
    display: block;
    font-size: 1.05rem;
    color: var(--dark-gray);
}

/* Widget Footer */
.parking-widget-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--light-gray);
    background-color: var(--light-gray);
}

.parking-updated {
    font-size: 0.8rem;
    color: var(--mid-gray);
    margin: 0;
}

.parking-widget-footer a {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.parking-widget-footer a:hover {
    color: var(--primary-color-dark);
}

.parking-widget-footer a i {
    margin-right: 0.3rem;
}
/*extra stuff */
.fee-rate {
    font-size: 1.5rem;
}
.icon-allowed {
    color: #2e7d32;
}
.icon-not-allowed {
    color: #c62828;
}
.section-cta {
    margin-top: 2rem;
}
/* FAQ items */
.faq-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--light-gray);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}
.faq-item p {
    margin: 0;
    color: var(--dark-gray);
}
/*-------------------------------------
    8. Responsive Styles
--------------------------------------*/

/* Large Tablets and Small Desktops (992px - 1199px) */
@media (max-width: 1199.98px) {
    .page-content-wrapper .container {
        max-width: 960px;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991.98px) {
    .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
}
    .page-header {
        height: 240px;
    }

    .page-title {
        font-size: 2.25rem;
    }

    .page-content-wrapper {
        padding: 2.5rem 0 3rem;
    }

    .page-content-wrapper .container {
        max-width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .content-section {
        margin-bottom: 3rem;
    }
    .section-header-primary {
    font-size: 1.875rem;
    }
    .section-header {
        font-size: 1.5rem;
    }

    /* Sub Nav -> compact "In this section" dropdown on tablet/phone */
    .sub-nav {
        overflow: visible;
    }

    .sub-nav .sub-nav-menu {
        display: none;
    }

    .sub-nav-mobile {
        display: block;
        padding: 0.6rem 1rem;
    }

    .sub-nav-menu > li > a {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .icon-link-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .parking-lot-row {
        grid-template-columns: 120px 70px 1fr 90px;
        gap: 0.75rem;
        padding: 0.875rem 1rem;
    }
}

/* Mobile Landscape and Small Tablets (576px - 767px) */
@media (max-width: 767.98px) {
    .card-grid-3 {
    grid-template-columns: 1fr;
}
    /* Airline cards responsive */
.airline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.airline-logo {
    max-width: 150px;
}

.airline-header h3 {
    font-size: 1.25rem;
}

.contact-table th {
    width: 35%;
}
    .doc-container iframe {
    height: 400px;
}
    .phase-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .phase-status {
        align-self: flex-start;
    }
    .page-header {
        height: 200px;
    }

    .page-header-content {
        padding: 1.5rem 0;
    }

    .page-title {
        font-size: 1.875rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .page-content-wrapper {
        padding: 2rem 0 2.5rem;
    }

    .page-content-wrapper .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .content-section {
        margin-bottom: 2.5rem;
    }
    .section-header-primary {
        font-size: 1.625rem;
    }

    .section-header {
        font-size: 1.375rem;
    }

    .section-header::after {
        width: 80px;
        height: 2px;
    }

    .page-article h3 {
        font-size: 1.2rem;
    }

    .page-article p {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    /* Sub Nav is handled by the "In this section" dropdown at <=992px (above). */

    /* Grids stack */
    .icon-link-grid,
    .card-grid,
    .button-grid {
        grid-template-columns: 1fr;
    }

    .icon-link-item {
        padding: 1rem;
    }

    /* Tables */
    .custom-table th,
    .custom-table td {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Documents */
    .doc-item {
        padding: 0.875rem 0;
    }

    .doc-info > .fa-file-pdf {
        font-size: 1.25rem;
    }

    .doc-title {
        font-size: 0.9rem;
    }

    .info-box {
        padding: 1.25rem;
    }

    .parking-lot-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem 1rem;
        padding: 1rem;
    }

    .parking-lot-info {
        grid-column: 1;
        grid-row: 1;
    }

    .parking-status {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .parking-occupancy {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .parking-rate {
        display: none;
    }

    .parking-widget-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Mobile Portrait (below 576px) */
@media (max-width: 575.98px) {
    .page-header {
        height: 180px;
    }

    .page-title {
        font-size: 1.625rem;
    }

    .breadcrumb-bar {
        padding: 0.75rem 0;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.35rem;
    }

    .page-content-wrapper {
        padding: 1.5rem 0 2rem;
    }

    .content-section {
        margin-bottom: 2rem;
    }
    .section-header-primary {
        font-size: 1.5rem;
    }

    .section-header {
        font-size: 1.25rem;
        padding-bottom: 0.625rem;
    }

    .page-article h3 {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }

    .page-article p {
        font-size: 0.9rem;
    }

    /* Sub Nav */
    .sub-nav-menu > li > a {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }

    .sub-nav-dropdown li a {
        padding: 0.5rem 1rem 0.5rem 1.75rem;
        font-size: 0.8rem;
    }

    /* Documents */
    .doc-item > .fa-download {
        display: none;
    }

    .doc-info {
        min-width: 0;
    }

    .doc-title {
        font-size: 0.875rem;
    }

    .doc-desc {
        display: none;
    }

    /* Info box */
    .info-box {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .info-box h3,
    .info-box h4 {
        font-size: 1rem;
    }
}
/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
