
/**
 * AZORES_VIATOR_20260930_R049_tours.css
 * Main /tours/ hub.
 * Visual architecture follows the approved PortugalOnline R116 featured-image stage,
 * adapted to Azores.com and the existing Azores product-card system.
 */

.azores-viator-hub-page .az-hub {
    background: #fff;
    color: #24364b;
}

.az-hub-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.az-hub-featured-stage {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(rgba(18, 31, 47, .48), rgba(18, 31, 47, .58)),
        var(--az-hub-featured-image, linear-gradient(135deg, #285d94, #5d748d));
    background-size: cover;
    background-position: center;
    padding: 0 0 46px;
}

.az-hub-featured-stage.no-featured-image {
    background: linear-gradient(135deg, #315f8f, #7b6e73);
}

.az-hub-hero {
    padding: 100px 0 28px;
    text-align: center;
    color: #fff;
}

.az-hub-kicker {
    margin: 0 0 8px;
    color: #1d64ad;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}


.az-hub-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.025em;
    text-shadow: 0 2px 18px rgba(0,0,0,.24);
}

.az-hub-lead {
    max-width: 780px;
    margin: 12px auto 0;
    color: rgba(255,255,255,.98);
    font-size: 16px;
    line-height: 1.55;
    text-shadow: 0 1px 12px rgba(0,0,0,.28);
}

.az-hub-discovery-section {
    position: relative;
    z-index: 2;
}

.az-hub-discovery-card {
    max-width: 1060px;
    margin: 0 auto;
    padding: 17px 20px 20px;
    border: 1px solid rgba(205, 217, 230, .95);
    border-radius: 13px;
    background: rgba(250, 252, 255, .95);
    box-shadow: 0 12px 32px rgba(13, 36, 61, .18);
    backdrop-filter: blur(2px);
}

.az-hub-explore {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dbe5ef;
}

.az-hub-explore-title {
    flex: 0 0 auto;
    margin: 5px 0 0;
    color: #2168af;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.az-hub-island-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.az-hub-island-links a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #245f9d;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.az-hub-island-links a:hover,
.az-hub-island-links a:focus-visible,
.az-hub-island-links a.is-active {
    background: #3f83d3;
    color: #fff;
}

.az-hub-direct-search {
    padding: 15px 0 2px;
}

.az-hub-direct-search .az-hub-kicker,
.az-hub-finder-heading .az-hub-kicker {
    margin-bottom: 7px;
}

.az-hub-direct-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
}

.az-hub-direct-search-form input,
.az-hub-finder-form input,
.az-hub-finder-form select,
.az-hub-sort select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #bacbdd;
    border-radius: 7px;
    background: #fff;
    color: #26384b;
    font: inherit;
}

.az-hub-direct-search-form input,
.az-hub-finder-form input,
.az-hub-finder-form select {
    padding: 9px 11px;
}

.az-hub-direct-search-form button,
.az-hub-find-button {
    min-height: 44px;
    padding: 9px 20px;
    border: 0;
    border-radius: 7px;
    background: #3f83d3;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.az-hub-direct-search-form button:hover,
.az-hub-direct-search-form button:focus-visible,
.az-hub-find-button:hover,
.az-hub-find-button:focus-visible {
    background: #2869b5;
}

.az-hub-divider {
    height: 1px;
    margin: 17px 0 15px;
    background: #dbe5ef;
}

.az-hub-finder-heading {
    margin-bottom: 11px;
}

.az-hub-finder-heading p:last-child {
    margin: 0;
    color: #56697b;
    font-size: 13px;
}

.az-hub-finder-form {
    display: grid;
    grid-template-columns: 1.25fr 1.35fr .95fr auto;
    gap: 9px;
    align-items: end;
}

.az-hub-finder-form label {
    display: grid;
    gap: 5px;
    color: #344b62;
    font-size: 12px;
    font-weight: 800;
}

.az-hub-find-button {
    white-space: nowrap;
}

.az-hub-section {
    padding: 54px 0;
}

.az-hub-results-section {
    padding-top: 56px;
}

.az-hub-results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 16px;
}

.az-hub-results-heading h2,
.az-hub-section-heading h2 {
    margin: 0;
    color: #184f86;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.12;
}

.az-hub-results-heading p:last-child {
    margin: 7px 0 0;
    color: #607184;
}

.az-hub-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4c6073;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.az-hub-sort select {
    min-width: 155px;
    min-height: 38px;
    padding: 6px 30px 6px 9px;
}

.az-hub-results-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 15px;
    padding: 10px 12px;
    border-top: 1px solid #dce5ee;
    border-bottom: 1px solid #dce5ee;
    color: #637487;
    font-size: 12px;
}

.azores-viator-hub-page .az-viator-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


.az-hub-island-guide {
    padding-top: 28px;
    padding-bottom: 54px;
    border-top: 1px solid #e2e9f1;
}

.az-hub-island-guide-heading p:last-child {
    margin: 9px 0 0;
    color: #607184;
    line-height: 1.55;
}

.az-hub-island-guide-heading a {
    color: #1d64ad;
    font-weight: 700;
}

.az-hub-island-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.az-hub-island-grid article {
    padding: 18px 19px;
    border: 1px solid #d9e4ee;
    border-radius: 9px;
    background: #fff;
}

.az-hub-island-grid h3 {
    margin: 0 0 7px;
    font-size: 17px;
    line-height: 1.25;
}

.az-hub-island-grid h3 a {
    color: #1b5f9f;
    text-decoration: none;
}

.az-hub-island-grid h3 a:hover,
.az-hub-island-grid h3 a:focus-visible {
    text-decoration: underline;
}

.az-hub-island-grid p {
    margin: 0;
    color: #5f7183;
    line-height: 1.5;
}

.az-hub-faq-section {
    padding-top: 48px;
    padding-bottom: 38px;
    background: #f7f9fc;
    border-top: 1px solid #e2e9f1;
}

.az-hub-faq-section .az-hub-section-heading {
    max-width: 760px;
    margin: 0 auto 22px;
    text-align: center;
}

.az-hub-faq-section .az-hub-section-heading h2 {
    margin-bottom: 0;
}

.az-hub-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 1040px;
    margin: 0 auto;
}

.az-hub-faq details {
    position: relative;
    align-self: start;
    border: 1px solid #d7e2ed;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(27, 75, 119, .05);
    overflow: hidden;
}

.az-hub-faq details[open] {
    border-color: #bfd4e9;
    box-shadow: 0 6px 18px rgba(27, 75, 119, .08);
}

.az-hub-faq summary {
    position: relative;
    list-style: none;
    padding: 18px 48px 18px 20px;
    color: #1c568f;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
}

.az-hub-faq summary::-webkit-details-marker {
    display: none;
}

.az-hub-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    border: 1px solid #bed2e6;
    border-radius: 50%;
    color: #2468aa;
    font-size: 19px;
    font-weight: 700;
    line-height: 23px;
    text-align: center;
    background: #f4f8fc;
}

.az-hub-faq details[open] summary::after {
    content: "–";
}

.az-hub-faq summary:hover,
.az-hub-faq summary:focus-visible {
    background: #f8fbfe;
}

.az-hub-faq details p {
    margin: 0;
    padding: 0 20px 19px;
    color: #5f7081;
    line-height: 1.6;
}

.az-hub-advice {
    background: #f7f9fc;
    border-top: 1px solid #e1e8ef;
}

.az-hub-section-heading {
    max-width: 760px;
    margin-bottom: 22px;
}

.az-hub-advice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.az-hub-advice-grid article {
    padding: 20px;
    border: 1px solid #d8e3ee;
    border-radius: 10px;
    background: #fff;
}

.az-hub-advice-grid h3 {
    margin: 0 0 8px;
    color: #1b5f9f;
    font-size: 17px;
}

.az-hub-advice-grid p {
    margin: 0;
    color: #5e6f80;
    line-height: 1.55;
}

.az-hub-planning {
    padding-top: 36px;
    padding-bottom: 30px;
}

.az-hub-planning-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 34px;
    align-items: center;
    padding: 31px 34px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f75c5, #4a91dc);
    color: #fff;
    box-shadow: 0 12px 30px rgba(21, 73, 126, .18);
}

.az-hub-planning-copy {
    max-width: 690px;
}

.az-hub-planning-card h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.7rem, 2.7vw, 2.3rem);
    line-height: 1.12;
}

.az-hub-planning-card p {
    margin: 0;
    line-height: 1.58;
}

.az-hub-kicker-light {
    color: rgba(255,255,255,.9);
}

.az-hub-planning-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    align-items: stretch;
}

.az-hub-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.az-hub-button-light {
    background: #fff;
    color: #2869b5;
}

.az-hub-button-outline {
    border-color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.az-hub-button-light:hover,
.az-hub-button-light:focus-visible {
    background: #f1f7fd;
}

.az-hub-button-outline:hover,
.az-hub-button-outline:focus-visible {
    background: rgba(255,255,255,.18);
}

.az-hub-disclosure-section {
    padding-top: 0;
    padding-bottom: 44px;
}

.az-hub-disclosure {
    margin: 0;
    color: #728091;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 920px) {
    .az-hub-finder-form {
        grid-template-columns: 1fr 1fr;
    }

    .az-hub-find-button {
        width: 100%;
    }

    .az-hub-island-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .az-hub-advice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .az-hub-planning-actions {
        max-width: 620px;
    }
}

@media (max-width: 760px) {
    .az-hub-shell {
        width: min(100% - 24px, 1180px);
    }

    .az-hub-featured-stage {
        padding-bottom: 26px;
    }

    .az-hub-hero {
        padding: 64px 0 20px;
    }

    .az-hub-hero h1 {
        font-size: clamp(1.85rem, 8vw, 2.45rem);
    }

    .az-hub-lead {
        font-size: 14px;
    }

    .az-hub-discovery-card {
        padding: 14px;
    }

    .az-hub-explore {
        display: block;
    }

    .az-hub-explore-title {
        margin: 0 0 8px;
    }

    .az-hub-island-links {
        gap: 4px;
    }

    .az-hub-island-links a {
        font-size: 11px;
        padding-inline: 8px;
    }

    .az-hub-direct-search-form,
    .az-hub-finder-form {
        grid-template-columns: 1fr;
    }

    .az-hub-results-heading {
        display: block;
    }

    .az-hub-sort {
        margin-top: 13px;
    }

    .az-hub-results-toolbar {
        display: block;
    }

    .az-hub-results-toolbar span {
        display: block;
    }

    .azores-viator-hub-page .az-viator-product-grid {
        grid-template-columns: 1fr;
    }

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

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

    .az-hub-faq-section .az-hub-section-heading {
        text-align: left;
    }

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

    .az-hub-planning-card {
        padding: 25px 22px;
    }

    .az-hub-planning-actions {
        grid-template-columns: 1fr;
        width: 100%;
    }

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