:root {
    --aa-ink: #18323d;
    --aa-muted: #58717a;
    --aa-ocean: #0b6673;
    --aa-ocean-dark: #084d58;
    --aa-ocean-light: #e7f4f4;
    --aa-sky: #f4f8f7;
    --aa-moss: #496c52;
    --aa-sand: #f4eee4;
    --aa-white: #ffffff;
    --aa-border: #d9e3e1;
    --aa-shadow: 0 18px 46px rgba(24, 50, 61, 0.10);
    --aa-radius: 18px;
    --aa-shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--aa-ink);
    background: var(--aa-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--aa-ocean); }
a:hover { color: var(--aa-ocean-dark); }
.aa-shell { width: min(calc(100% - 40px), var(--aa-shell)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 99999; padding: 10px 14px; background: #fff; color: #000; border-radius: 4px; }
.skip-link:focus { top: 16px; }

.independence-bar { background: #153a45; color: rgba(255,255,255,.92); font-size: 13px; line-height: 1.35; }
.independence-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 7px; padding-bottom: 7px; }
.independence-bar a { color: #fff; font-weight: 700; white-space: nowrap; }

.site-header { position: relative; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--aa-border); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-brand { flex: 0 0 auto; }
.brand-text-link { display: flex; flex-direction: column; text-decoration: none; color: var(--aa-ink); line-height: 1; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 700; letter-spacing: -.02em; }
.brand-tagline { margin-top: 7px; color: var(--aa-muted); font-size: 12px; font-weight: 650; letter-spacing: .01em; line-height: 1.2; }
.custom-logo { max-height: 62px; width: auto; }
.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: var(--aa-ink); text-decoration: none; font-size: 15px; font-weight: 650; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--aa-ocean); }
.nav-toggle { display: none; border: 1px solid var(--aa-border); background: var(--aa-white); color: var(--aa-ink); border-radius: 9px; padding: 9px 13px; font: inherit; font-weight: 700; }

.home-hero, .archive-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(121, 187, 179, .30), transparent 30%),
        radial-gradient(circle at 18% 78%, rgba(92, 128, 83, .18), transparent 34%),
        linear-gradient(135deg, #eef7f5 0%, #f9fbfa 48%, #edf2ea 100%);
}
.home-hero::after, .archive-hero::after {
    content: "";
    position: absolute;
    right: -150px;
    bottom: -250px;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(11,102,115,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(11,102,115,.035), 0 0 0 140px rgba(11,102,115,.025);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 850px; margin-left: max(20px, calc((100vw - min(100vw - 40px, var(--aa-shell))) / 2)); padding-top: 98px; padding-bottom: 104px; }
.archive-hero .aa-shell { position: relative; z-index: 1; padding-top: 76px; padding-bottom: 74px; }
.eyebrow { margin: 0 0 12px; color: var(--aa-moss); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--aa-ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 860px; margin-bottom: 22px; font-size: clamp(48px, 6vw, 82px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 25px; }
.hero-lead { max-width: 750px; margin: 0 0 30px; color: #36535d; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.52; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-weight: 750; line-height: 1.2; transition: .2s ease; }
.button-primary { background: var(--aa-ocean); color: #fff; }
.button-primary:hover { background: var(--aa-ocean-dark); color: #fff; transform: translateY(-1px); }
.button-secondary { background: #fff; color: var(--aa-ocean); border-color: rgba(11,102,115,.25); }
.button-secondary:hover { background: var(--aa-ocean-light); color: var(--aa-ocean-dark); }
.hero-partner-note { margin: 16px 0 0; color: var(--aa-muted); font-size: 13px; }

.identity-strip { border-top: 1px solid var(--aa-border); border-bottom: 1px solid var(--aa-border); background: #fff; }
.identity-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.identity-grid > div { padding: 24px 30px; border-right: 1px solid var(--aa-border); }
.identity-grid > div:first-child { padding-left: 0; }
.identity-grid > div:last-child { border-right: 0; padding-right: 0; }
.identity-grid strong, .identity-grid span { display: block; }
.identity-grid strong { margin-bottom: 3px; font-size: 15px; }
.identity-grid span { color: var(--aa-muted); font-size: 14px; line-height: 1.45; }

.section { padding: 82px 0; }
.section-soft { background: var(--aa-sky); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading.centered { display: block; max-width: 790px; margin: 0 auto 38px; text-align: center; }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p:last-child { margin-bottom: 0; color: var(--aa-muted); }
.text-link { color: var(--aa-ocean); font-weight: 750; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.planning-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.planning-card { display: block; min-height: 300px; padding: 34px; color: var(--aa-ink); text-decoration: none; background: #fff; border: 1px solid var(--aa-border); border-radius: var(--aa-radius); box-shadow: 0 8px 30px rgba(24,50,61,.045); transition: .2s ease; }
.planning-card:hover { color: var(--aa-ink); transform: translateY(-3px); border-color: #aac8c5; box-shadow: var(--aa-shadow); }
.card-kicker { display: block; margin-bottom: 36px; color: var(--aa-moss); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.planning-card h3 { margin-bottom: 14px; font-size: 32px; }
.planning-card p { margin: 0 0 24px; color: var(--aa-muted); }
.planning-card strong { color: var(--aa-ocean); }

.island-name-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.island-name-card { padding: 22px 24px; background: #fff; border: 1px solid var(--aa-border); border-radius: 11px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 700; }

.editorial-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.editorial-split h2 { margin-bottom: 0; }
.editorial-copy { color: var(--aa-muted); font-size: 18px; }
.editorial-copy p:first-child { margin-top: 0; }

.cta-section { padding-top: 28px; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 38px; padding: 44px 48px; background: var(--aa-sand); border-radius: var(--aa-radius); }
.cta-card h2 { margin-bottom: 10px; font-size: 36px; }
.cta-card p:last-child { margin-bottom: 0; color: var(--aa-muted); }
.cta-card .button { flex: 0 0 auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; flex: 0 0 auto; }
.cta-actions .button { white-space: nowrap; }


.standard-page { padding: 0 0 88px; }
.standard-page > .aa-shell.content-shell { padding-top: 70px; }
.content-shell { max-width: var(--aa-shell); }
.narrow-shell { max-width: 760px; }
.page-header { margin-bottom: 34px; }
.page-header h1 { margin-bottom: 14px; font-size: clamp(42px, 5vw, 64px); }
.page-lead { margin: 0; color: var(--aa-muted); font-size: 21px; }
.page-featured-image { margin: 0 0 34px; }
.page-featured-image img { display: block; width: 100%; border-radius: 14px; }
.entry-content { font-size: 18px; }
.entry-content h2 { margin-top: 2.2em; font-size: 36px; }
.entry-content h3 { margin-top: 1.8em; }
.entry-content a { font-weight: 650; }

.snapshot-card { margin: 0 0 36px; padding: 26px 28px; background: var(--aa-sky); border: 1px solid var(--aa-border); border-radius: 14px; }
.snapshot-card h2 { margin-bottom: 18px; font-size: 26px; }
.snapshot-card dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px 28px; margin: 0; }
.snapshot-card dl > div { border-top: 1px solid var(--aa-border); padding-top: 10px; }
.snapshot-card dt { color: var(--aa-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.snapshot-card dd { margin: 3px 0 0; font-weight: 700; }

.content-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.content-card { overflow: hidden; background: #fff; border: 1px solid var(--aa-border); border-radius: var(--aa-radius); }
.content-card-link { display: block; height: 100%; color: var(--aa-ink); text-decoration: none; }
.content-card-link:hover { color: var(--aa-ink); }
.content-card-image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--aa-sky); }
.content-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.content-card-link:hover .content-card-image img { transform: scale(1.025); }
.content-card-body { padding: 24px; }
.content-card-body h2 { margin-bottom: 11px; font-size: 26px; }
.content-card-body p { color: var(--aa-muted); }
.content-card-body strong { color: var(--aa-ocean); }
.empty-state { padding: 36px; background: var(--aa-sky); border-radius: var(--aa-radius); text-align: center; }
.pagination-wrap { margin-top: 36px; }

.site-footer { margin-top: 30px; padding: 58px 0 24px; background: #153a45; color: rgba(255,255,255,.82); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); gap: 30px; padding-bottom: 38px; }
.footer-about strong, .footer-links strong { display: block; margin-bottom: 13px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.footer-about p { margin: 0; max-width: 390px; }
.footer-links a { display: block; margin: 6px 0; color: rgba(255,255,255,.84); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-disclaimer { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; line-height: 1.55; }
.footer-disclaimer p { margin: 6px 0; }

@media (max-width: 920px) {
    .header-inner { min-height: 76px; }
    .nav-toggle { display: inline-flex; }
    .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 12px 20px 22px; background: #fff; border-bottom: 1px solid var(--aa-border); box-shadow: 0 12px 25px rgba(24,50,61,.08); }
    .primary-nav.is-open { display: block; }
    .primary-nav .menu { display: block; }
    .primary-nav .menu li { border-top: 1px solid var(--aa-border); }
    .primary-nav .menu li:first-child { border-top: 0; }
    .primary-nav a { display: block; padding: 12px 4px; }
    .planning-grid { grid-template-columns: 1fr; }
    .island-name-grid { grid-template-columns: repeat(2, 1fr); }
    .editorial-split { grid-template-columns: 1fr; gap: 26px; }
    .content-card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .aa-shell { width: min(calc(100% - 30px), var(--aa-shell)); }
    .independence-inner { align-items: flex-start; flex-direction: column; gap: 4px; padding-top: 8px; padding-bottom: 8px; }
    .independence-bar a { white-space: normal; }
    .brand-name { font-size: 22px; }
    .brand-tagline { max-width: 220px; font-size: 10.5px; line-height: 1.25; }
    .hero-inner { margin-left: 15px; margin-right: 15px; padding-top: 67px; padding-bottom: 72px; }
    .archive-hero .aa-shell { padding-top: 54px; padding-bottom: 54px; }
    h1 { font-size: clamp(42px, 14vw, 58px); }
    .hero-lead { font-size: 20px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .identity-grid { grid-template-columns: 1fr; }
    .identity-grid > div, .identity-grid > div:first-child, .identity-grid > div:last-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--aa-border); }
    .identity-grid > div:last-child { border-bottom: 0; }
    .section { padding: 58px 0; }
    .section-heading { display: block; }
    .section-heading .text-link { display: inline-block; margin-top: 10px; }
    .planning-card { min-height: 0; padding: 26px; }
    .card-kicker { margin-bottom: 25px; }
    .planning-card h3 { font-size: 28px; }
    .island-name-grid { grid-template-columns: 1fr; }
    .cta-card { align-items: stretch; flex-direction: column; padding: 31px 26px; }
    .cta-actions { justify-content: flex-start; flex-direction: column; }
    .cta-actions .button { width: 100%; text-align: center; }
    .cta-card h2 { font-size: 31px; }
    .standard-page { padding: 0 0 68px; }
    .standard-page > .aa-shell.content-shell { padding-top: 52px; }
    .page-header h1 { font-size: 42px; }
    .entry-content { font-size: 17px; }
    .snapshot-card dl { grid-template-columns: 1fr; }
    .content-card-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-about { grid-column: auto; }
}

/* R003 content foundation */
.primary-nav .menu > li { position: relative; }
.primary-nav .sub-menu {
    position: absolute;
    left: -18px;
    top: calc(100% + 14px);
    z-index: 30;
    display: none;
    min-width: 240px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--aa-border);
    border-radius: 12px;
    box-shadow: var(--aa-shadow);
}
.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu li { margin: 0; }
.primary-nav .sub-menu a { display: block; padding: 9px 10px; border-radius: 7px; white-space: nowrap; }
.primary-nav .sub-menu a:hover { background: var(--aa-sky); }

/* R036: bridge the desktop hover gap between a top-level item and its dropdown.
 * The submenu remains visually separated by 14px, but the transparent hit area
 * makes moving the pointer into the menu reliable so child links can be clicked. */
@media (min-width: 921px) {
    .primary-nav .sub-menu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -14px;
        height: 14px;
    }
    .primary-nav .sub-menu a {
        cursor: pointer;
    }
}

.island-name-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--aa-ink);
    text-decoration: none;
    transition: .2s ease;
}
.island-name-card span { color: var(--aa-ocean); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 13px; font-weight: 750; }
.island-name-card:hover { color: var(--aa-ink); transform: translateY(-2px); border-color: #aac8c5; box-shadow: 0 10px 26px rgba(24,50,61,.07); }

.legacy-section { padding-top: 28px; }
.legacy-card {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    padding: 46px 48px;
    background: var(--aa-sky);
    border: 1px solid var(--aa-border);
    border-radius: var(--aa-radius);
}
.legacy-card h2 { margin-bottom: 0; font-size: clamp(32px, 3.5vw, 44px); }
.legacy-card p:first-child { margin-top: 0; }

.aa-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0 36px;
}
.aa-fact-grid > div {
    padding: 24px 26px;
    background: var(--aa-sky);
    border: 1px solid var(--aa-border);
    border-radius: 14px;
}
.aa-fact-grid h3 { margin-bottom: 9px; font-size: 24px; }
.aa-fact-grid p { margin: 0; color: var(--aa-muted); }

.aa-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
    margin: 32px 0;
}
.aa-link-grid a {
    display: block;
    padding: 23px 24px;
    color: var(--aa-ink);
    text-decoration: none;
    border: 1px solid var(--aa-border);
    border-radius: 13px;
    background: #fff;
}
.aa-link-grid a:hover { border-color: #aac8c5; box-shadow: 0 9px 26px rgba(24,50,61,.06); }
.aa-link-grid strong, .aa-link-grid span { display: block; }
.aa-link-grid strong { margin-bottom: 6px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.aa-link-grid span { color: var(--aa-muted); font-size: 15px; }

.aa-callout {
    margin: 38px 0;
    padding: 30px 32px;
    background: var(--aa-sand);
    border-radius: 15px;
}
.aa-callout-note { background: var(--aa-ocean-light); border: 1px solid #cfe4e2; }
.aa-callout h2, .aa-callout h3 { margin-top: 0; margin-bottom: 10px; }
.aa-callout p:last-child { margin-bottom: 0; }
.aa-callout .button + .button { margin-left: 8px; }

.aa-table-wrap { width: 100%; overflow-x: auto; margin: 30px 0 38px; border: 1px solid var(--aa-border); border-radius: 14px; }
.aa-table { width: 100%; min-width: 650px; border-collapse: collapse; background: #fff; }
.aa-table th, .aa-table td { padding: 14px 16px; border-bottom: 1px solid var(--aa-border); text-align: left; vertical-align: top; }
.aa-table th { background: var(--aa-sky); color: var(--aa-ink); font-size: 14px; }
.aa-table tbody tr:last-child td { border-bottom: 0; }

.aa-legacy-quote {
    margin: 34px 0;
    padding: 26px 30px;
    background: var(--aa-sky);
    border-left: 5px solid var(--aa-moss);
    border-radius: 0 12px 12px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.5;
}
.aa-legacy-quote p { margin: 0; }
.guide-back-link { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--aa-border); }
.guide-back-link a { font-weight: 750; text-decoration: none; }

@media (max-width: 920px) {
    .primary-nav .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        margin: 0;
        padding: 0 0 4px 16px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .primary-nav .sub-menu li { border-top: 0; }
    .primary-nav .sub-menu a { padding: 8px 4px; color: var(--aa-muted); white-space: normal; }
    .legacy-card { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 680px) {
    .aa-fact-grid, .aa-link-grid { grid-template-columns: 1fr; }
    .legacy-card { padding: 30px 26px; }
    .aa-callout { padding: 25px 23px; }
    .aa-callout .button + .button { margin-left: 0; margin-top: 10px; }
}
.footer-since { margin-top: 14px !important; color: rgba(255,255,255,.7); font-size: 13px; }

/* R004 visual destination layer */
.aa-independence-bar {
    display: block !important;
    position: relative;
    z-index: 120;
    background: #153a45;
    color: rgba(255,255,255,.94);
    font-size: 13px;
    line-height: 1.35;
}
.aa-independence-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 7px;
    padding-bottom: 7px;
}
.aa-independence-bar a { color: #fff; font-weight: 750; white-space: nowrap; }

.home-hero-photo {
    min-height: 610px;
    display: flex;
    align-items: stretch;
    background: #18323d;
}
.home-hero-photo::after { display: none; }
.home-hero-media,
.home-hero-overlay {
    position: absolute;
    inset: 0;
}
.home-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
}
.home-hero-overlay {
    background:
        linear-gradient(90deg, rgba(10,35,45,.91) 0%, rgba(10,35,45,.78) 37%, rgba(10,35,45,.42) 65%, rgba(10,35,45,.16) 100%),
        linear-gradient(0deg, rgba(8,30,38,.34), rgba(8,30,38,.06));
}
.home-hero-photo .hero-inner {
    width: min(calc(100% - 40px), var(--aa-shell));
    max-width: var(--aa-shell);
    margin: 0 auto;
    padding-top: 104px;
    padding-bottom: 108px;
}
.home-hero-photo .hero-inner > * { max-width: 720px; }
.home-hero-photo .eyebrow { color: #cfe5d5; }
.home-hero-photo h1,
.home-hero-photo .hero-lead { color: #fff; }
.home-hero-photo .hero-lead { color: rgba(255,255,255,.92); text-shadow: 0 1px 16px rgba(0,0,0,.15); }
.home-hero-photo .hero-partner-note { color: rgba(255,255,255,.78); }
.home-hero-photo .button-primary { background: #0b7584; }
.home-hero-photo .button-primary:hover { background: #096674; }
.home-hero-photo .button-secondary { background: rgba(255,255,255,.95); border-color: rgba(255,255,255,.75); }

.island-visual-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.island-visual-card {
    position: relative;
    display: block;
    min-height: 290px;
    overflow: hidden;
    border-radius: 16px;
    background: #18323d;
    box-shadow: 0 10px 28px rgba(24,50,61,.10);
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}
.island-visual-card:hover { color: #fff; box-shadow: 0 18px 40px rgba(24,50,61,.18); }
.island-visual-media,
.island-visual-overlay { position: absolute; inset: 0; }
.island-visual-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.island-visual-card:hover .island-visual-media img { transform: scale(1.045); }
.island-visual-overlay {
    background: linear-gradient(180deg, rgba(6,25,32,.04) 22%, rgba(6,25,32,.36) 58%, rgba(6,25,32,.88) 100%);
}
.island-visual-copy {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 22px;
}
.island-visual-copy strong,
.island-visual-copy span,
.island-visual-copy em { display: block; }
.island-visual-copy strong {
    margin-bottom: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.05;
}
.island-visual-copy span { color: rgba(255,255,255,.84); font-size: 14px; line-height: 1.4; }
.island-visual-copy em { margin-top: 12px; color: #fff; font-size: 13px; font-style: normal; font-weight: 750; }

.experience-section { background: #fff; }
.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}
.experience-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--aa-border);
    border-radius: 16px;
    color: var(--aa-ink);
    text-decoration: none;
    box-shadow: 0 8px 26px rgba(24,50,61,.055);
    transition: transform .2s ease, box-shadow .2s ease;
}
.experience-card:hover { color: var(--aa-ink); transform: translateY(-3px); box-shadow: var(--aa-shadow); }
.experience-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--aa-sky); }
.experience-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.experience-card:hover .experience-media img { transform: scale(1.035); }
.experience-body { display: block; padding: 22px 22px 23px; }
.experience-body small,
.experience-body strong,
.experience-body em { display: block; }
.experience-body small { margin-bottom: 8px; color: var(--aa-moss); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.experience-body strong { min-height: 58px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.25; }
.experience-body em { margin-top: 15px; color: var(--aa-ocean); font-size: 13px; font-style: normal; font-weight: 750; }

.page-featured-image-fallback { aspect-ratio: 16 / 8.3; overflow: hidden; }
.page-featured-image-fallback img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) {
    .island-visual-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .experience-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
    .aa-independence-inner { align-items: flex-start; flex-direction: column; gap: 3px; padding-top: 8px; padding-bottom: 8px; }
    .aa-independence-bar a { white-space: normal; }
    .home-hero-photo { min-height: 560px; }
    .home-hero-photo .hero-inner { width: min(calc(100% - 30px), var(--aa-shell)); padding-top: 72px; padding-bottom: 74px; }
    .home-hero-overlay { background: linear-gradient(90deg, rgba(10,35,45,.91) 0%, rgba(10,35,45,.71) 75%, rgba(10,35,45,.45) 100%); }
    .island-visual-grid, .experience-grid { grid-template-columns: 1fr; }
    .island-visual-card { min-height: 260px; }
    .experience-media { aspect-ratio: 16 / 10; }
    .experience-body strong { min-height: 0; }
}

/* R005 licensed Media Library hero carousel */
.aa-hero-carousel {
    position: relative;
    min-height: 610px;
    isolation: isolate;
    background: #28434b;
}
.aa-hero-slides,
.aa-hero-slide {
    position: absolute;
    inset: 0;
}
.aa-hero-slide {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}
.aa-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}
.aa-hero-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.aa-hero-carousel .home-hero-overlay {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(8,31,39,.66) 0%,
            rgba(8,31,39,.52) 27%,
            rgba(8,31,39,.28) 45%,
            rgba(8,31,39,.08) 63%,
            rgba(8,31,39,0) 79%),
        linear-gradient(0deg, rgba(8,30,38,.18) 0%, rgba(8,30,38,0) 42%);
}
.aa-hero-carousel .hero-inner {
    position: relative;
    z-index: 3;
}
.aa-hero-slide-caption {
    position: absolute;
    z-index: 2;
    right: max(20px, calc((100vw - min(100vw - 40px, var(--aa-shell))) / 2));
    bottom: 28px;
    max-width: 44%;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(8,31,39,.42);
    color: rgba(255,255,255,.94);
    backdrop-filter: blur(6px);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .02em;
}
.aa-hero-controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    transform: translateX(-50%);
}
.aa-hero-dots,
.aa-hero-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}
.aa-hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.88);
    border-radius: 50%;
    background: rgba(255,255,255,.28);
    cursor: pointer;
}
.aa-hero-dot.is-active {
    width: 26px;
    border-radius: 999px;
    background: #fff;
}
.aa-hero-arrow {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    background: rgba(8,31,39,.34);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
}
.aa-hero-arrow:hover,
.aa-hero-arrow:focus-visible {
    background: rgba(8,31,39,.66);
    outline: none;
}

@media (max-width: 680px) {
    .aa-hero-carousel { min-height: 610px; }
    .aa-hero-carousel .home-hero-overlay {
        background:
            linear-gradient(90deg, rgba(8,31,39,.65) 0%, rgba(8,31,39,.42) 70%, rgba(8,31,39,.22) 100%),
            linear-gradient(0deg, rgba(8,31,39,.26) 0%, rgba(8,31,39,.04) 55%);
    }
    .aa-hero-slide-image { object-position: center; }
    .aa-hero-slide-caption {
        right: 15px;
        bottom: 70px;
        max-width: calc(100% - 30px);
        font-size: 11px;
    }
    .aa-hero-controls { bottom: 20px; }
    .aa-hero-arrows { gap: 6px; }
    .aa-hero-arrow { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .aa-hero-slide { transition: none; }
}

/* R007 destination-guide depth and navigation */
.guide-jump-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 0 0 30px;
    padding: 15px 18px;
    background: #fff;
    border: 1px solid var(--aa-border);
    border-radius: 12px;
    box-shadow: 0 7px 20px rgba(24,50,61,.045);
}
.guide-jump-nav > span {
    margin-right: 4px;
    color: var(--aa-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.guide-jump-nav a {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--aa-sky);
    color: var(--aa-ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.guide-jump-nav a:hover { background: var(--aa-ocean-light); color: var(--aa-ocean); }
.entry-content section[id] { scroll-margin-top: 110px; }
.aa-check-list {
    margin: 22px 0 30px;
    padding: 0;
    list-style: none;
}
.aa-check-list li {
    position: relative;
    margin: 0 0 12px;
    padding: 0 0 0 30px;
}
.aa-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--aa-ocean-light);
    color: var(--aa-ocean);
    font-size: 12px;
    font-weight: 900;
}
.guide-related {
    margin-top: 54px;
    padding: 32px;
    background: var(--aa-sky);
    border: 1px solid var(--aa-border);
    border-radius: 16px;
}
.guide-related h2 { margin: 0 0 20px; font-size: 30px; }
.guide-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}
.guide-related-grid a {
    display: block;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--aa-border);
    border-radius: 12px;
    color: var(--aa-ink);
    text-decoration: none;
}
.guide-related-grid a:hover { border-color: #aac8c5; box-shadow: 0 8px 22px rgba(24,50,61,.06); }
.guide-related-grid strong,
.guide-related-grid span { display: block; }
.guide-related-grid strong { margin-bottom: 6px; font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.guide-related-grid span { color: var(--aa-muted); font-size: 14px; line-height: 1.5; }
.archive-hero-actions { margin-top: 26px; }
.archive-hero-actions .button-secondary { background: rgba(255,255,255,.94); }

@media (max-width: 760px) {
    .guide-jump-nav { align-items: flex-start; }
    .guide-jump-nav > span { width: 100%; margin-bottom: 2px; }
    .guide-related { padding: 26px 22px; }
    .guide-related-grid { grid-template-columns: 1fr; }
}

/* R009: breadcrumbs and contextual internal-link polish */
.aa-breadcrumbs {
    margin: 0 0 24px;
    color: var(--aa-muted);
    font-size: 13px;
}
.aa-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.aa-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.aa-breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: #9aa9ad;
}
.aa-breadcrumbs a {
    color: var(--aa-ocean);
    font-weight: 700;
    text-decoration: none;
}
.aa-breadcrumbs a:hover { text-decoration: underline; }
.aa-breadcrumbs [aria-current="page"] { color: var(--aa-muted); }
.archive-hero .aa-breadcrumbs {
    margin-bottom: 20px;
    color: rgba(24,50,61,.72);
}
.page-related { margin-top: 50px; }

@media (max-width: 760px) {
    .aa-breadcrumbs { margin-bottom: 18px; font-size: 12px; }
    .aa-breadcrumbs ol { gap: 5px 7px; }
    .aa-breadcrumbs li { gap: 7px; }
}


/* R033: universal breadcrumb bar below the site header or section hero. */
.aa-breadcrumb-bar {
    background: #f7f8f5;
    border-bottom: 1px solid var(--aa-border);
}
.aa-breadcrumb-bar .aa-breadcrumbs {
    margin: 0;
    padding: 11px 0;
}
@media (max-width: 760px) {
    .aa-breadcrumb-bar .aa-breadcrumbs { margin: 0; padding: 10px 0; }
}

/* R013: refined photographic hero typography and alignment for principal content hubs */
.standard-page-hub { padding: 0; }
.hub-page-content { padding-top: 68px; }
.section-hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background: #29434b;
    isolation: isolate;
}
.section-hero-media,
.section-hero-overlay {
    position: absolute;
    inset: 0;
}
.section-hero-media { z-index: 0; }
.section-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.section-hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(7,29,37,.70) 0%,
            rgba(7,29,37,.56) 31%,
            rgba(7,29,37,.29) 54%,
            rgba(7,29,37,.08) 75%,
            rgba(7,29,37,.01) 100%),
        linear-gradient(0deg, rgba(7,29,37,.18) 0%, rgba(7,29,37,0) 48%);
}
.aa-shell.section-hero-inner {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 40px), var(--aa-shell));
    max-width: var(--aa-shell);
    margin-left: auto;
    margin-right: auto;
    padding-top: 54px;
    padding-bottom: 58px;
    align-self: center;
}
.section-hero .eyebrow {
    margin-bottom: 10px;
    color: #dcefdc;
    font-size: 12px;
}
.section-hero h1 {
    max-width: 730px;
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(42px, 4.35vw, 60px);
    line-height: 1.04;
    text-shadow: 0 2px 20px rgba(0,0,0,.20);
}
.section-hero .hero-lead {
    max-width: 650px;
    margin-bottom: 0;
    color: rgba(255,255,255,.96);
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.5;
    text-shadow: 0 1px 15px rgba(0,0,0,.22);
}
.section-hero .hero-actions { margin-top: 24px; }
.section-hero .button-secondary {
    background: rgba(255,255,255,.96);
    border-color: rgba(255,255,255,.9);
}
.section-hero .aa-breadcrumbs {
    margin-bottom: 18px;
    color: rgba(255,255,255,.76);
}
.section-hero .aa-breadcrumbs a { color: #fff; }
.section-hero .aa-breadcrumbs [aria-current="page"] { color: rgba(255,255,255,.80); }
.section-hero .aa-breadcrumbs li:not(:last-child)::after { color: rgba(255,255,255,.55); }

@media (max-width: 760px) {
    .hub-page-content { padding-top: 52px; }
    .section-hero { min-height: 350px; }
    .aa-shell.section-hero-inner {
        width: min(calc(100% - 30px), var(--aa-shell));
        padding-top: 42px;
        padding-bottom: 46px;
    }
    .section-hero-overlay {
        background:
            linear-gradient(90deg, rgba(7,29,37,.72) 0%, rgba(7,29,37,.54) 76%, rgba(7,29,37,.28) 100%),
            linear-gradient(0deg, rgba(7,29,37,.20) 0%, rgba(7,29,37,.03) 55%);
    }
    .section-hero h1 {
        max-width: 94%;
        font-size: clamp(36px, 10.5vw, 48px);
        line-height: 1.05;
    }
    .section-hero .hero-lead {
        max-width: 94%;
        font-size: 17px;
        line-height: 1.48;
    }
}


/* R014: header tagline and consistent photographic hierarchy */
.island-guide .page-featured-image {
    aspect-ratio: 16 / 8;
    overflow: hidden;
    border-radius: 14px;
}
.island-guide .page-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}
@media (max-width: 680px) {
    .island-guide .page-featured-image { aspect-ratio: 16 / 9.2; }
}


/* R015: compact header tagline */
.brand-tagline {
    align-self: center;
    margin-top: 5px;
    max-width: 100%;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
}
@media (max-width: 680px) {
    .brand-tagline {
        max-width: 100%;
        font-size: 9px;
        white-space: nowrap;
    }
}


/* R016: configurable brand icon + text identity */
.brand-text-link {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.brand-copy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}
.brand-icon {
    display: inline-flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}
.brand-icon-image {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}
@media (max-width: 680px) {
    .brand-text-link { gap: 8px; }
    .brand-icon { flex-basis: 36px; width: 36px; height: 36px; }
    .brand-icon-image { width: 36px; height: 36px; }
}

/* R017: larger header emblem and balanced brand spacing */
.header-inner { min-height: 94px; }
.brand-text-link { gap: 13px; }
.brand-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
}
.brand-icon-image {
    width: 58px;
    height: 58px;
}
@media (max-width: 900px) {
    .brand-icon { flex-basis: 52px; width: 52px; height: 52px; }
    .brand-icon-image { width: 52px; height: 52px; }
}
@media (max-width: 680px) {
    .header-inner { min-height: 82px; }
    .brand-text-link { gap: 9px; }
    .brand-icon { flex-basis: 44px; width: 44px; height: 44px; }
    .brand-icon-image { width: 44px; height: 44px; }
}


/* R022: unified full Azores Travel Guide logo lockup */
.header-inner {
    min-height: 104px;
    gap: 28px;
}
.site-brand {
    flex: 0 0 auto;
    min-width: 0;
}
.site-logo-link {
    display: block;
    line-height: 0;
    text-decoration: none;
}
.site-logo-image {
    display: block;
    width: clamp(320px, 34vw, 410px);
    height: auto;
    max-height: 78px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 1100px) and (min-width: 1021px) {
    .header-inner { gap: 22px; }
    .site-logo-image { width: 300px; max-height: 64px; }
    .primary-nav .menu { gap: 16px; }
    .primary-nav a { font-size: 14px; }
}

/* Switch to the menu button before the horizontal logo and full nav compete for space. */
@media (max-width: 1020px) {
    .header-inner { min-height: 88px; }
    .site-logo-image { width: clamp(280px, 48vw, 360px); max-height: 68px; }
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        margin: 0;
        padding: 12px 20px 22px;
        background: #fff;
        border-bottom: 1px solid var(--aa-border);
        box-shadow: 0 12px 25px rgba(24,50,61,.08);
    }
    .primary-nav.is-open { display: block; }
    .primary-nav .menu { display: block; }
    .primary-nav .menu li { border-top: 1px solid var(--aa-border); }
    .primary-nav .menu li:first-child { border-top: 0; }
    .primary-nav a { display: block; padding: 12px 4px; }
}

@media (max-width: 680px) {
    .header-inner { min-height: 78px; gap: 12px; }
    .site-logo-image {
        width: min(245px, calc(100vw - 105px));
        max-height: 58px;
    }
    .nav-toggle { padding: 8px 11px; }
}


/* R023: separate hero carousel arrows from pagination dots */
.aa-hero-controls {
    justify-content: center;
}
.aa-hero-dots {
    justify-content: center;
}
.aa-hero-arrows {
    display: none;
}
.aa-hero-carousel > .aa-hero-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
}
.aa-hero-carousel > .aa-hero-arrow-prev {
    left: max(16px, calc((100vw - min(100vw - 40px, var(--aa-shell))) / 2));
}
.aa-hero-carousel > .aa-hero-arrow-next {
    right: max(16px, calc((100vw - min(100vw - 40px, var(--aa-shell))) / 2));
}
@media (max-width: 680px) {
    .aa-hero-controls {
        bottom: 18px;
    }
    .aa-hero-carousel > .aa-hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .aa-hero-carousel > .aa-hero-arrow-prev {
        left: 12px;
    }
    .aa-hero-carousel > .aa-hero-arrow-next {
        right: 12px;
    }
}

/* R024: richer Azores itineraries hub */
.itinerary-hub-intro .itinerary-heading-copy { align-items: flex-start; }
.itinerary-hub-intro .itinerary-heading-copy > div { max-width: none; }
.itinerary-hub-intro .itinerary-heading-copy p:not(.eyebrow) { max-width: none; color: var(--aa-muted); }
.itinerary-duration-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.itinerary-duration-card {
    position: relative;
    display: flex;
    min-height: 255px;
    flex-direction: column;
    padding: 27px 24px 24px;
    overflow: hidden;
    color: var(--aa-ink);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--aa-border);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(24,50,61,.045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.itinerary-duration-card:hover {
    color: var(--aa-ink);
    transform: translateY(-3px);
    border-color: #aac8c5;
    box-shadow: var(--aa-shadow);
}
.itinerary-duration-number {
    color: var(--aa-ocean);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 54px;
    font-weight: 700;
    line-height: .95;
}
.itinerary-duration-label {
    margin: 3px 0 26px;
    color: var(--aa-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.itinerary-duration-card strong {
    margin-bottom: 9px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.2;
}
.itinerary-duration-card p { margin: 0; color: var(--aa-muted); font-size: 15px; line-height: 1.55; }
.itinerary-guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.itinerary-guide-grid .content-card-body h2 { font-size: 23px; }
.itinerary-portugal-intro { margin-bottom: 38px; }
.itinerary-portugal-intro .editorial-copy p:first-child { font-size: 19px; color: var(--aa-ink); }
.portugal-combo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.portugal-combo-card {
    padding: 34px;
    background: #fff;
    border: 1px solid var(--aa-border);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(24,50,61,.055);
}
.portugal-combo-card-featured { background: var(--aa-sky); border-color: #bad2cf; }
.portugal-combo-heading { margin-bottom: 15px; }
.combo-days {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--aa-ocean-light);
    color: var(--aa-ocean);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.portugal-combo-card h3 { margin-bottom: 0; font-size: 30px; }
.portugal-combo-card > p { color: var(--aa-muted); }
.combo-link-list { margin: 24px 0 0; padding: 0; list-style: none; }
.combo-link-list li { border-top: 1px solid var(--aa-border); }
.combo-link-list li:last-child { border-bottom: 1px solid var(--aa-border); }
.combo-link-list a {
    display: block;
    padding: 13px 2px;
    color: var(--aa-ocean);
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
}
.combo-link-list a:hover { text-decoration: underline; }
.itinerary-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.itinerary-principles-grid article {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--aa-border);
    border-radius: 16px;
}
.itinerary-principles-grid article > span {
    display: block;
    margin-bottom: 26px;
    color: var(--aa-moss);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
}
.itinerary-principles-grid h3 { margin-bottom: 11px; font-size: 25px; }
.itinerary-principles-grid p { margin-bottom: 12px; color: var(--aa-muted); }
.itinerary-principles-grid a { font-weight: 750; text-decoration: none; }
.itinerary-faq-list { border-top: 1px solid var(--aa-border); }
.itinerary-faq-list details { border-bottom: 1px solid var(--aa-border); }
.itinerary-faq-list summary {
    padding: 22px 0;
    cursor: pointer;
    color: var(--aa-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}
.itinerary-faq-list details p { max-width: none; margin: -5px 0 24px; color: var(--aa-muted); }
.itinerary-cta-section { padding-bottom: 92px; }

@media (max-width: 980px) {
    .itinerary-duration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .itinerary-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .itinerary-principles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .itinerary-duration-grid,
    .portugal-combo-grid,
    .itinerary-guide-grid { grid-template-columns: 1fr; }
    .itinerary-duration-card { min-height: 0; }
    .itinerary-portugal-intro { gap: 28px; }
    .portugal-combo-card { padding: 27px 23px; }
    .portugal-combo-card h3 { font-size: 27px; }
    .itinerary-faq-list summary { font-size: 20px; }
}


/* R026: mobile static hero + partner travel sites footer */
@media (max-width: 680px) {
    .aa-hero-carousel .aa-hero-slide:not(:first-child),
    .aa-hero-carousel .aa-hero-controls {
        display: none !important;
    }
}

/* R027: reduce full header logo approximately 20% for better nav proportion */
.header-inner {
    min-height: 92px;
}
.site-logo-image {
    width: clamp(256px, 27.2vw, 328px);
    max-height: 62px;
}

@media (max-width: 1100px) and (min-width: 1021px) {
    .header-inner { min-height: 84px; }
    .site-logo-image { width: 240px; max-height: 51px; }
}

@media (max-width: 1020px) {
    .header-inner { min-height: 80px; }
    .site-logo-image { width: clamp(224px, 38.4vw, 288px); max-height: 54px; }
}

@media (max-width: 680px) {
    .header-inner { min-height: 72px; }
    .site-logo-image {
        width: min(196px, calc(100vw - 105px));
        max-height: 46px;
    }
}

/* R028: reduce full header logo an additional ~5% */
.header-inner {
    min-height: 88px;
}
.site-logo-image {
    width: clamp(243px, 25.84vw, 312px);
    max-height: 59px;
}

@media (max-width: 1100px) and (min-width: 1021px) {
    .header-inner { min-height: 80px; }
    .site-logo-image { width: 228px; max-height: 48px; }
}

@media (max-width: 1020px) {
    .header-inner { min-height: 76px; }
    .site-logo-image { width: clamp(213px, 36.48vw, 274px); max-height: 51px; }
}

@media (max-width: 680px) {
    .header-inner { min-height: 70px; }
    .site-logo-image {
        width: min(186px, calc(100vw - 105px));
        max-height: 44px;
    }
}

/* R032: content-only consistency pass built from the R028 visual baseline */
.itinerary-heading-copy .itinerary-planning-card {
    flex: 0 0 315px;
    display: block;
    padding: 24px 25px;
    color: var(--aa-ink);
    text-decoration: none;
    background: var(--aa-sky);
    border: 1px solid var(--aa-border);
    border-radius: 15px;
    box-shadow: 0 8px 26px rgba(24,50,61,.04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.itinerary-heading-copy .itinerary-planning-card:hover {
    color: var(--aa-ink);
    transform: translateY(-2px);
    border-color: #aac8c5;
    box-shadow: var(--aa-shadow);
}
.itinerary-planning-card-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--aa-moss);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.itinerary-planning-card strong {
    display: block;
    margin-bottom: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.25;
}
.itinerary-planning-card p {
    margin: 0 0 15px;
    color: var(--aa-muted);
    font-size: 14px;
    line-height: 1.55;
}
.itinerary-planning-card-link {
    color: var(--aa-ocean);
    font-size: 14px;
    font-weight: 800;
}

.aa-content-intro {
    max-width: none;
    margin: 0 0 42px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--aa-border);
}
.entry-content .aa-content-intro .eyebrow { margin-bottom: 10px; }
.entry-content .aa-content-intro h2 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4vw, 44px);
}
.entry-content .aa-content-intro p:not(.eyebrow) {
    margin-top: 0;
    color: var(--aa-muted);
    font-size: 19px;
    line-height: 1.7;
}
.entry-content .aa-content-intro p:last-child { margin-bottom: 0; }

.island-hub-intro .island-heading-copy {
    align-items: flex-start;
    margin-bottom: 32px;
}
.island-hub-intro .island-heading-copy > div { max-width: none; }
.island-hub-intro .island-heading-copy p:not(.eyebrow) {
    max-width: none;
    color: var(--aa-muted);
}
.island-group-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.island-group-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--aa-border);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(24,50,61,.04);
}
.island-group-card > span {
    display: block;
    margin-bottom: 18px;
    color: var(--aa-moss);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.island-group-card h3 { margin-bottom: 11px; font-size: 25px; }
.island-group-card p { margin: 0; color: var(--aa-muted); }
.island-guide-section .section-heading > div { max-width: none; }

.island-fit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.island-fit-grid article {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--aa-border);
    border-radius: 15px;
}
.island-fit-grid h3 { margin-bottom: 10px; font-size: 23px; }
.island-fit-grid p { margin: 0; color: var(--aa-muted); }
.island-hub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 34px;
}

@media (max-width: 980px) {
    .itinerary-heading-copy .itinerary-planning-card { flex-basis: 285px; }
    .island-group-grid,
    .island-fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .itinerary-heading-copy .itinerary-planning-card {
        width: 100%;
        margin-top: 22px;
    }
    .island-group-grid,
    .island-fit-grid { grid-template-columns: 1fr; }
    .aa-content-intro { margin-bottom: 34px; padding-bottom: 24px; }
    .entry-content .aa-content-intro p:not(.eyebrow) { font-size: 18px; }
}

/* R038: dedicated route-planning bridge on the Islands hub. */
.island-route-planning {
    margin-top: 54px;
    padding-top: 46px;
    border-top: 1px solid var(--aa-border);
}

.island-route-planning .section-heading {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .island-route-planning {
        margin-top: 38px;
        padding-top: 34px;
    }
}


/* R039: full-width editorial copy.
 * Keep the site-wide 1180px shell and intentional hero/centered-heading limits,
 * but do not artificially narrow normal left-aligned page, hub, guide or FAQ copy.
 */
.standard-page .page-header h1,
.standard-page .page-lead {
    max-width: none;
}

/* R040: all-island navigation row on individual island guides. */
.island-guide-switcher {
    display: flex;
    align-items: center;
    gap: 10px 14px;
    margin: 0 0 14px;
    padding: 13px 16px;
    background: #fff;
    border: 1px solid var(--aa-border);
    border-radius: 12px;
    box-shadow: 0 7px 20px rgba(24,50,61,.045);
}
.island-guide-switcher__label {
    flex: 0 0 auto;
    color: var(--aa-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.island-guide-switcher__links {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.island-guide-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 7px 9px;
    border-radius: 999px;
    background: var(--aa-sky);
    color: var(--aa-ink);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}
.island-guide-switcher a:hover {
    background: var(--aa-ocean-light);
    color: var(--aa-ocean);
}
.island-guide-switcher a[aria-current="page"] {
    background: var(--aa-ocean);
    color: #fff;
}

@media (max-width: 1050px) {
    .island-guide-switcher {
        align-items: flex-start;
        flex-direction: column;
    }
    .island-guide-switcher__links { flex-wrap: wrap; }
}

@media (max-width: 620px) {
    .island-guide-switcher { padding: 13px 14px; }
    .island-guide-switcher__links { gap: 6px; }
    .island-guide-switcher a { padding: 7px 9px; font-size: 12px; }
}


/* R045: itinerary hub consistency pass.
 * Match the approved hub/guide rhythm: navigation first, full-width editorial intro,
 * trip-length cards, then a full-width planning callout instead of a side card.
 */
.itinerary-hub-intro .itinerary-hub-switcher {
    margin-bottom: 14px;
}
.itinerary-hub-intro .itinerary-hub-jump {
    margin-bottom: 38px;
}
.itinerary-hub-intro .itinerary-heading-copy--full {
    display: block;
    margin-bottom: 34px;
}
.itinerary-hub-intro .itinerary-heading-copy--full > div {
    width: 100%;
    max-width: none;
}
.itinerary-planning-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 20px;
    padding: 22px 24px;
    color: var(--aa-ink);
    text-decoration: none;
    background: var(--aa-sky);
    border: 1px solid var(--aa-border);
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(24,50,61,.04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.itinerary-planning-callout:hover {
    color: var(--aa-ink);
    transform: translateY(-2px);
    border-color: #aac8c5;
    box-shadow: var(--aa-shadow);
}
.itinerary-planning-callout > span:first-child {
    min-width: 0;
}
.itinerary-planning-callout strong {
    display: block;
    margin: 0 0 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.25;
}
.itinerary-planning-callout-copy {
    display: block;
    color: var(--aa-muted);
    font-size: 15px;
    line-height: 1.55;
}
.itinerary-planning-callout > .itinerary-planning-card-link {
    flex: 0 0 auto;
    white-space: nowrap;
}
#trip-lengths,
#azores-only-itineraries,
#azores-mainland-portugal,
#itinerary-principles,
#itinerary-faqs {
    scroll-margin-top: 110px;
}
@media (max-width: 720px) {
    .itinerary-hub-intro .itinerary-hub-jump {
        margin-bottom: 30px;
    }
    .itinerary-planning-callout {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}


/* R048: bring the /azores/ overview into the same hub rhythm as the other primary sections. */
.azores-hub-page .azores-overview-switcher {
    margin-bottom: 14px;
}
.azores-hub-page .azores-overview-jump {
    margin-bottom: 34px;
}
.azores-overview-content {
    max-width: none;
}
.azores-overview-content > p:first-child {
    margin: 0 0 34px;
    color: var(--aa-muted);
    font-size: 19px;
    line-height: 1.7;
}
.azores-overview-content > h2 {
    margin-top: 1.45em;
    margin-bottom: 16px;
}
.azores-overview-content > .aa-fact-grid,
.azores-overview-content > .aa-link-grid {
    margin-top: 22px;
}
.azores-overview-content > .aa-callout {
    margin-top: 30px;
}
.azores-overview-content #perspective,
.azores-overview-content #island-groups,
.azores-overview-content #explore-islands,
.azores-overview-content #plan-trip,
.azores-overview-content #what-makes-different {
    scroll-margin-top: 110px;
}
@media (max-width: 760px) {
    .azores-hub-page .azores-overview-jump { margin-bottom: 28px; }
    .azores-overview-content > p:first-child { margin-bottom: 28px; font-size: 18px; }
    .azores-overview-content > h2 { margin-top: 1.3em; }
}
