/* Site-specific styles, loaded after the built stylesheet. */

/* A details table followed by its Google map: one box, side by side on wide screens. */
.content-prose .table-map { display: grid; margin: 2rem 0; overflow: hidden; border: 1px solid rgb(18 48 39 / .12); border-radius: 1.25rem; background: #fff; box-shadow: 0 18px 40px -28px rgb(15 40 30 / .45); }
.content-prose .table-map .table-scroll { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.content-prose .table-map table { height: 100%; }
.content-prose .table-map col { width: auto !important; }
.content-prose .table-map tr > :first-child { width: 42%; }
.content-prose .table-map tr:first-child > * { background: color-mix(in oklab, var(--brand-primary) 78%, black); color: #fff; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.content-prose .table-map tr:first-child strong { color: #fff; }
.content-prose .table-map tr:not(:first-child):nth-child(odd) > * { background: #f4f7f5; }
.content-prose .table-map-map { min-height: 18rem; border-top: 1px solid rgb(18 48 39 / .12); }
.content-prose .table-map-map iframe { display: block; width: 100%; height: 100%; min-height: 18rem; aspect-ratio: auto; margin: 0; border: 0; border-radius: 0; }
@media (min-width: 1024px) {
    .content-prose .table-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .content-prose .table-map-map { border-top: 0; border-left: 1px solid rgb(18 48 39 / .12); }
}

/* Car rental template: framed photo in the hero, calmer long-form content. */
.cr-hero-grid { display: grid; gap: 2rem; padding-top: 2.25rem; padding-bottom: 3.5rem; }
.cr-hero-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 1.5rem; box-shadow: 0 0 0 6px rgb(255 255 255 / .08), 0 30px 60px -30px rgb(0 0 0 / .7); }
.cr-logo { width: auto; min-width: 4rem; max-width: 12rem; height: 3rem; padding: .5rem .75rem; }
.cr-logo img { height: 100%; width: auto; }
.cr-hero .btn-accent, .cr-hero .btn-accent:hover { color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .25); }
.cr-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
    .cr-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 3.5rem; padding-top: 3.5rem; padding-bottom: 5rem; }
    .cr-hero-photo { aspect-ratio: 4 / 3; }
}

.cr-body h2 { padding-bottom: .75rem; }
.cr-body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3.5rem; height: 3px; border-radius: 3px; background: var(--brand-accent); }
.cr-body h3 { padding-left: .875rem; border-left: 3px solid var(--brand-primary); }
.cr-body h3 + p { margin-top: .5rem; }

.cr-faq > section { max-width: none; }
.cr-discover-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.cr-discover-card { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 1rem; background: #f4f7f5; box-shadow: 0 10px 24px -18px rgb(15 40 30 / .6); }
.cr-discover-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cr-discover-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklab, var(--brand-secondary) 92%, transparent) 0%, color-mix(in oklab, var(--brand-secondary) 35%, transparent) 45%, transparent 75%); transition: opacity .3s; }
.cr-discover-label { position: absolute; inset-inline: .75rem; bottom: .75rem; z-index: 1; color: #fff; font-size: .9375rem; font-weight: 700; line-height: 1.25; text-shadow: 0 1px 3px rgb(0 0 0 / .35); }
.cr-discover-card:hover img { transform: scale(1.06); }
.cr-discover-card:hover .cr-discover-label { color: var(--brand-accent); }

/* Car rental list template: a card per company. */
.crl-grid { display: grid; gap: 1.5rem; }
.crl-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgb(18 48 39 / .12); border-radius: 1.25rem; background: #fff; box-shadow: 0 18px 40px -30px rgb(15 40 30 / .5); transition: transform .2s, box-shadow .2s; }
.crl-card:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -28px rgb(15 40 30 / .55); }
.crl-photo { position: relative; display: block; aspect-ratio: 16 / 9; background: #f4f7f5; }
.crl-photo > img { width: 100%; height: 100%; object-fit: cover; }
.crl-logo { position: absolute; left: 1rem; bottom: -1.25rem; display: flex; align-items: center; height: 2.75rem; padding: .375rem .75rem; border-radius: .75rem; background: #fff; box-shadow: 0 6px 18px -8px rgb(0 0 0 / .35); }
.crl-logo img { height: 100%; width: auto; max-width: 9rem; object-fit: contain; }
.crl-body { display: flex; flex: 1; flex-direction: column; gap: .75rem; padding: 2rem 1.25rem 1.25rem; }
.crl-body h3 { color: var(--brand-secondary); font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.crl-body h3 a:hover { color: var(--brand-primary); }
.crl-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .5rem; color: #5a6a80; font-size: .875rem; }
.crl-rating strong { color: var(--brand-secondary); }
.crl-score { padding: .125rem .5rem; border-radius: .5rem; background: var(--brand-accent); color: var(--brand-secondary); font-weight: 700; }
.crl-facts { display: grid; gap: .5rem; color: #5a6a80; font-size: .875rem; }
.crl-facts li { display: flex; gap: .5rem; }
.crl-facts svg { margin-top: .125rem; color: var(--brand-primary); }
.crl-facts a { color: var(--brand-secondary); font-weight: 600; }
.crl-more { display: inline-flex; align-items: center; gap: .375rem; margin-top: auto; padding-top: .5rem; color: var(--brand-primary); font-weight: 700; font-size: .9375rem; }
.crl-more:hover { gap: .625rem; }
@media (min-width: 640px) {
    .crl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .crl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
    .crl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Small laptops (1024-1439px): a shorter home hero so the flight box shows on the first screen. ---------- */
@media (min-width: 1024px) and (max-width: 1439px) {
    main section > .container-site.pt-14:has(> h1.max-w-4xl) { padding-top: 3.5rem; }
    main section > .container-site.pt-14 > h1.max-w-4xl { margin-top: 1rem; font-size: clamp(2.75rem, 4.1vw, 3.5rem); }
    main section > .container-site.pt-14 > h1.max-w-4xl:first-child { margin-top: 0; }
    main section > .container-site.pt-14 > h1.max-w-4xl + p { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.7; }
}

/* ---------- Small laptops: beside long text, a square photo that stays in view while the text scrolls past. ---------- */
@media (min-width: 1024px) and (max-width: 1439px) {
    .home-sections section.grid.items-center:has(> .relative > .-inset-3) { align-items: start; }
    .home-sections section.grid.items-center > .relative:has(> .-inset-3) { position: sticky; top: 6.5rem; }
    .home-sections section.grid.items-center > .relative:has(> .-inset-3) img { aspect-ratio: 1 / 1; max-height: calc(100vh - 10rem); }
    .home-sections section.grid.items-center:has(> .relative > .-inset-3) > div:not(.relative) { align-self: center; }
}

/* ---------- Delayed / cancelled flights table: compact, every column (including "Call for help") fits without sideways scrolling. ---------- */
[data-disruptions] table[data-status] { table-layout: fixed; min-width: 0; font-size: .8125rem; }
[data-disruptions] table[data-status] th,
[data-disruptions] table[data-status] td { padding: .625rem .625rem; }
[data-disruptions] table[data-status] th { font-size: .6875rem; }
[data-disruptions] table[data-status] th:first-child,
[data-disruptions] table[data-status] td:first-child { padding-left: 1rem; }
[data-disruptions] table[data-status] th:last-child,
[data-disruptions] table[data-status] td:last-child { padding-right: 1rem; }
[data-disruptions] table[data-status] th:nth-child(1) { width: 27%; }
[data-disruptions] table[data-status] th:nth-child(3) { width: 6.25rem; }
[data-disruptions] table[data-status] th:nth-child(4) { width: 8.25rem; }
[data-disruptions] table[data-status] td:nth-child(1) .gap-3 { gap: .5rem; }
[data-disruptions] table[data-status] td:nth-child(1) .gap-3 > :first-child { width: 2.125rem; height: 2.125rem; border-radius: .625rem; font-size: .6875rem; }
[data-disruptions] table[data-status] td:nth-child(2) .gap-2 { gap: .375rem; }
[data-disruptions] table[data-status] td:nth-child(2) .font-mono { padding: .125rem .375rem; font-size: .6875rem; }
[data-disruptions] table[data-status] td:nth-child(2) .truncate { display: block; }
[data-disruptions] table[data-status] td:nth-child(4) a { padding: .375rem .625rem; font-size: .75rem; border-radius: .625rem; }
