:root {
    --aie-green-dark:  #1B3A2D;
    --aie-green-mid:   #2D5A45;
    --aie-green-light: #4A7E63;
    --aie-teal:        #085041;
    --aie-teal-dark:   #04342C;
    --aie-accent:      #0F6E56;
    --aie-bg:          #F7F4EF;
    --aie-border:      #E2DDD7;
    --font-display:    'Cormorant Garamond', Georgia, serif;
    --font-body:       'Inter', system-ui, sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--aie-bg);
    color: #1C1C1C;
    font-size: 0.9375rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.aie-page-content {
    flex: 1;
}

/* ── Typography ── */
h1, h2, h3, .display-font { font-family: var(--font-display); font-weight: 500; }

/* ── Navbar ── */
.aie-navbar {
    background: var(--aie-teal);
    padding: 0.625rem 0;
}
.aie-navbar .navbar-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    color: #E1F5EE !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.aie-navbar .nav-link {
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.85rem;
    font-weight: 500;
}
.navbar-brand-icon {
    width: 22px;
    height: 22px;
}

.aie-navbar .nav-link:hover { color: #fff !important; }

.aie-navbar .navbar-search {
    max-width: 160px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.25rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.8125rem;
    color: #9FE1CB;
    font-family: var(--font-body);
    outline: none;
}
.aie-navbar .navbar-search::placeholder { color: rgba(255,255,255,0.4); }
.aie-navbar .navbar-search:focus { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }

/* ── Hero ── */
.aie-hero {
    background: var(--aie-teal-dark);
    padding: 3.5rem 0 4rem;
}
.aie-hero .hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5DCAA5;
}
.aie-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #E1F5EE;
    line-height: 1.15;
}
.aie-hero h1 em { color: #9FE1CB; font-style: italic; }
.aie-hero .hero-sub { color: #5DCAA5; font-size: 0.9375rem; }
.aie-hero .hero-search {
    display: flex;
    max-width: 460px;
    border: 1px solid #1D9E75;
    border-radius: 0.375rem;
    overflow: hidden;
    background: rgba(29,158,117,0.1);
}
.aie-hero .hero-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.625rem 1rem;
    color: #E1F5EE;
    font-family: var(--font-body);
    font-size: 0.875rem;
    outline: none;
}
.aie-hero .hero-search input::placeholder { color: rgba(255,255,255,0.35); }
.aie-hero .hero-search button {
    background: #1D9E75;
    border: none;
    padding: 0 1.25rem;
    color: #E1F5EE;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
}
.aie-hero .hero-search button:hover { background: var(--aie-accent); }
.aie-hero .quick-link {
    font-size: 0.75rem;
    color: #9FE1CB;
    background: rgba(29,158,117,0.15);
    border: 1px solid #1D9E75;
    padding: 0.2rem 0.75rem;
    border-radius: 2rem;
    text-decoration: none;
    transition: background 0.15s;
}
.aie-hero .quick-link:hover { background: rgba(29,158,117,0.3); color: #fff; }

/* ── Section headings ── */
.aie-section { padding: 2.5rem 0; }
.aie-section-title { font-size: 1.6rem; color: #1C1C1C; margin-bottom: 0; }
.aie-section-sub   { font-size: 0.8125rem; color: #6B6860; }
.aie-section-link  { font-size: 0.8125rem; font-weight: 500; color: var(--aie-accent); text-decoration: none; }
.aie-section-link:hover { text-decoration: underline; }

/* ── City cards ── */
.city-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0.5rem;
    aspect-ratio: 3/4;
    padding: 0.875rem;
    text-decoration: none;
    transition: transform 0.2s;
    overflow: hidden;
    position: relative;
}
.city-card--sq { aspect-ratio: 1/1; }
.city-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
    transition: background 0.2s;
}
.city-card:hover { transform: translateY(-3px); }
.city-card:hover::after { background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 55%); }
.city-card-body { position: relative; z-index: 1; }
.city-card-country { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 2px; }
.city-card-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: #fff; line-height: 1.1; }

/* City card colour palettes */
.cc-paris     { background: #3C3489; }
.cc-rome      { background: #711B13; }
.cc-amsterdam { background: #0C447C; }
.cc-barcelona { background: #633806; }
.cc-london    { background: #444441; }
.cc-prague    { background: #27500A; }
.cc-lisbon    { background: #72243E; }
.cc-berlin    { background: #791F1F; }
.cc-brussels  { background: #085041; }
.cc-budapest  { background: #3C3489; }
.cc-copenhagen{ background: #0C447C; }
.cc-dubrovnik { background: #085041; }
.cc-istanbul  { background: #711B13; }
.cc-madrid    { background: #633806; }
.cc-milan     { background: #444441; }
.cc-stockholm { background: #27500A; }
.cc-default   { background: #444441; }

/* ── Blog cards ── */
.article-card {
    background: #fff;
    border: 1px solid var(--aie-border);
    border-radius: 0.5rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
    display: block;
    height: 100%;
}
.article-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.article-card-img { height: 160px; background: var(--aie-teal); overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 1rem; }
.article-card-cat { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aie-accent); margin-bottom: 0.375rem; }
.article-card-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: #1C1C1C; margin-bottom: 0.375rem; line-height: 1.3; }
.article-card-excerpt { font-size: 0.8125rem; color: #6B6860; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── City hero banner ── */
.city-hero { padding: 2rem 0 1.75rem; }
.city-hero .breadcrumb-item a { color: rgba(255,255,255,0.6); text-decoration: none; }
.city-hero .breadcrumb-item a:hover { color: rgba(255,255,255,0.9); }
.city-hero .breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.city-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }
.city-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #E6F1FB; }
.city-hero .hero-sub { font-size: 0.8125rem; color: rgba(255,255,255,0.6); }

/* ── Attraction list ── */
.attraction-item { padding: 1.25rem 0; border-bottom: 1px solid var(--aie-border); }
.attraction-item:last-child { border-bottom: none; }
.attraction-thumb {
    width: 90px;
    height: 90px;
    border-radius: 0.375rem;
    flex-shrink: 0;
    background: var(--aie-green-mid);
    overflow: hidden;
    object-fit: cover;
}
.attraction-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: #1C1C1C; margin-bottom: 0.25rem; }
.attraction-desc { font-size: 0.8125rem; color: #6B6860; line-height: 1.6; }
.attraction-link { font-size: 0.75rem; font-weight: 500; color: var(--aie-accent); text-decoration: none; }
.attraction-link:hover { text-decoration: underline; }

/* ── Sidebar cards ── */
.sidebar-card { border: 1px solid var(--aie-border); border-radius: 0.5rem; overflow: hidden; margin-bottom: 1rem; background: #fff; }
.sidebar-card-head { background: var(--aie-teal); padding: 0.5625rem 1rem; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #9FE1CB; }
.sidebar-card-body { padding: 0.875rem 1rem; }
.info-row { display: flex; justify-content: space-between; padding: 0.3125rem 0; border-bottom: 1px solid var(--aie-border); font-size: 0.8125rem; }
.info-row:last-child { border-bottom: none; }
.info-label { color: #6B6860; font-weight: 500; }
.info-value { color: #1C1C1C; font-weight: 500; text-align: right; }
.nearby-tag { font-size: 0.75rem; font-weight: 500; color: #6B6860; background: var(--aie-bg); border: 1px solid var(--aie-border); padding: 0.25rem 0.625rem; border-radius: 0.25rem; text-decoration: none; transition: all 0.15s; }
.nearby-tag:hover { background: var(--aie-teal); color: #fff; border-color: var(--aie-teal); }

/* ── Custom fields ── */
.custom-field-row { padding: 0.5rem 0; border-bottom: 1px solid var(--aie-border); font-size: 0.8125rem; }
.custom-field-row:last-child { border-bottom: none; }
.field-label { color: #6B6860; font-weight: 500; min-width: 100px; }
.field-value a { color: var(--aie-accent); text-decoration: none; }
.field-value a:hover { text-decoration: underline; }

/* ── Breadcrumb ── */
.aie-breadcrumb { font-size: 0.75rem; }
.aie-breadcrumb .breadcrumb-item a { color: var(--aie-accent); text-decoration: none; }

/* ── Footer ── */
.aie-footer { background: var(--aie-teal-dark); padding: 1.5rem 0; margin-top: 0; }
.aie-footer .footer-brand { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: #9FE1CB; }
.aie-footer a { color: rgba(255,255,255,0.45); font-size: 0.8rem; text-decoration: none; }
.aie-footer a:hover { color: rgba(255,255,255,0.7); }
.aie-footer .footer-copy { font-size: 0.75rem; color: #1D9E75; }

/* ── Blog post content ── */
.article-content h2 { font-family: var(--font-display); font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.article-content h3 { font-family: var(--font-display); font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.article-content h4 { font-family: var(--font-display); font-size: 1.5rem; margin-top: 1.25rem; margin-bottom: 0.4rem; }
.article-content p  { margin-bottom: 1rem; line-height: 1.75; }
.article-content img { max-width: 100%; height: auto; border-radius: 0.375rem; margin: 1rem 0; }
.city-content h3 a,
.city-content h4 a { color: inherit; text-decoration: none; }
.city-content h3 a:hover,
.city-content h4 a:hover { color: var(--aie-accent); }
.city-content h3,
.city-content h4 {
    font-size: 1.35rem !important;
    color: var(--aie-green-dark) !important;
    margin-top: 2rem !important;
    margin-bottom: 0.5rem !important;
    padding-left: 0.875rem;
    border-left: 3px solid var(--aie-accent);
}

/* ── Utilities ── */
.bg-aie-alt { background: #fff; border-top: 1px solid var(--aie-border); border-bottom: 1px solid var(--aie-border); }
.btn-aie { background: var(--aie-teal); border-color: var(--aie-teal); color: #fff; font-size: 0.875rem; font-weight: 500; }
.btn-aie:hover { background: var(--aie-green-mid); border-color: var(--aie-green-mid); color: #fff; }
.text-muted-sm { font-size: 0.8125rem; color: #6B6860; }

/* Navbar brand responsive sizing */
@media (max-width: 575px) {
    .navbar-brand svg {
        width: 20px;
        height: 20px;
    }
    .navbar-brand {
        font-size: 1.6rem;
    }
}

@media (max-width: 299px) {
    .navbar-brand svg {
        width: 16px;
        height: 16px;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
}