/* Azores.com — Independent Travel Hub
 * Used by travel-azores.php for /travel-azores/
 */

.az-independent-travel {
    --az-blue: #3B7BCD;
    --az-blue-hover: #326BB3;
    --az-blue-light: #9DBBE2;
    --az-dark: #2f3748;
    --az-text: #3f4a56;
    --az-muted: #66717c;
    --az-line: #dbe2ea;
    --az-soft: #f4f6fc;
    background: #fff;
    color: var(--az-text);
    font-family: Helvetica, Arial, "DejaVu Sans", "Liberation Sans", Freesans, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.az-independent-travel *,
.az-independent-travel *::before,
.az-independent-travel *::after {
    box-sizing: border-box;
}

.az-travel-shell {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

.az-travel-breadcrumb {
    border-bottom: 1px solid #e4e9ed;
    background: #f3f5f8;
    font-size: 14px;
    line-height: 1.4;
}

.az-travel-breadcrumb .az-travel-shell {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    min-height: 44px;
}

.az-travel-breadcrumb a {
    color: var(--az-blue);
    text-decoration: none;
}

.az-travel-breadcrumb a:hover {
    text-decoration: underline;
}

.az-travel-breadcrumb span:last-child {
    color: #6a7880;
}

.az-travel-hero {
    display: flex;
    align-items: center;
    min-height: 390px;
    padding: 62px 0 66px;
    background: var(--az-blue);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.az-travel-hero .az-travel-shell {
    max-width: 960px;
}

.az-travel-eyebrow,
.az-travel-kicker,
.az-service-label,
.az-choice-label {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.az-travel-eyebrow {
    color: #eef4fc;
}

.az-travel-kicker,
.az-service-label,
.az-choice-label {
    color: var(--az-blue);
}

.az-travel-hero h1 {
    max-width: 880px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -.03em;
}

.az-travel-lead {
    max-width: 850px;
    margin: 22px auto 0;
    color: #fff;
    font-size: 19px;
    line-height: 1.6;
}

.az-travel-section {
    padding: 70px 0;
}

.az-travel-intro {
    text-align: center;
}

.az-travel-intro > .az-travel-shell > p:not(.az-travel-kicker):not(.az-affiliate-disclosure) {
    max-width: 850px;
    margin: 0 auto;
}

.az-independent-travel h2 {
    margin: 0 0 16px;
    color: var(--az-blue);
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.02em;
}

.az-service-grid,
.az-choice-grid {
    display: grid;
    gap: 22px;
}

.az-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 38px;
}

.az-service-card,
.az-choice-card {
    padding: 28px 26px;
    border: 1px solid var(--az-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 42, 75, .07);
}

.az-service-card {
    text-align: center;
}

.az-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: #edf4fc;
}

.az-service-icon svg {
    width: 31px;
    height: 31px;
    fill: var(--az-blue);
}

.az-service-card h3,
.az-choice-card h3 {
    margin: 0 0 12px;
    color: var(--az-dark);
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.az-service-card > p:not(.az-service-label):not(.az-service-partner),
.az-choice-heading > p:last-child,
.az-help-card p {
    font-size: 16px;
    line-height: 1.6;
}

.az-service-card > p:not(.az-service-label):not(.az-service-partner) {
    min-height: 102px;
    margin: 0 0 22px;
}

.az-service-partner {
    margin: 12px 0 0;
    color: var(--az-muted);
    font-size: 12px;
    line-height: 1.45;
}

.az-travel-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 19px;
    border: 2px solid var(--az-blue);
    border-radius: 8px;
    background: var(--az-blue);
    color: #fff !important;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    text-decoration: none !important;
}

.az-travel-button:hover,
.az-travel-button:focus {
    border-color: var(--az-blue-hover);
    background: var(--az-blue-hover);
}

.az-affiliate-disclosure {
    max-width: 900px;
    margin: 34px auto 0;
    padding: 15px 18px;
    border-radius: 9px;
    background: #f6f7f9;
    color: #68727b;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}

.az-choice-section {
    background: var(--az-soft);
}

.az-choice-heading {
    max-width: 850px;
    margin: 0 auto 36px;
    text-align: center;
}

.az-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 930px;
    margin: 0 auto;
}

.az-choice-card {
    text-align: center;
}

.az-choice-card ul {
    display: inline-grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 9px 9px;
    max-width: 390px;
    margin: 10px auto 25px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.az-choice-card li {
    display: contents;
}

.az-choice-card li::before {
    content: "✓";
    color: var(--az-blue);
    font-weight: 800;
}

.az-choice-card-featured {
    border-color: var(--az-blue-light);
}

.az-travel-text-link {
    color: var(--az-blue) !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.az-help-section {
    padding-top: 56px;
    padding-bottom: 56px;
}

.az-help-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    padding: 34px 38px;
    border-radius: 16px;
    background: var(--az-blue);
}

.az-help-card h2,
.az-help-card p {
    color: #fff;
}

.az-travel-kicker-light {
    color: #eef4fc;
}

.az-help-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-width: 245px;
}

.az-travel-button-light {
    border-color: #fff;
    background: #fff;
    color: var(--az-blue) !important;
}

.az-travel-button-light:hover,
.az-travel-button-light:focus {
    border-color: #eef4fc;
    background: #eef4fc;
}

.az-help-link {
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .az-service-grid {
        grid-template-columns: 1fr;
    }

    .az-service-card > p:not(.az-service-label):not(.az-service-partner) {
        min-height: 0;
    }

    .az-choice-grid {
        grid-template-columns: 1fr;
    }

    .az-help-card {
        grid-template-columns: 1fr;
    }

    .az-help-actions {
        max-width: 330px;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .az-travel-shell {
        width: min(100% - 28px, 1100px);
    }

    .az-travel-hero {
        min-height: 0;
        padding: 52px 0 56px;
    }

    .az-travel-hero h1 {
        font-size: 39px;
    }

    .az-travel-lead {
        font-size: 18px;
    }

    .az-travel-section {
        padding: 52px 0;
    }

    .az-service-card,
    .az-choice-card {
        padding: 24px 20px;
    }

    .az-help-card {
        padding: 28px 23px;
    }

    .az-travel-button {
        width: 100%;
    }
}
