@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

:root {
    --primary-color: #0f172a;
    --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --secondary-color: #f8fafc;
    --accent-color: #38bdf8;
    --accent-gold: #fbbf24;
    --text-main: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-lift: 0 25px 30px -5px rgb(0 0 0 / 0.15), 0 10px 10px -5px rgb(0 0 0 / 0.1);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --font-heading: 'Manrope', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    outline: none;
    background: none;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Page Views */
.page-view {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.page-view.active-view {
    display: block;
    opacity: 1;
}

/* -------------------------------------
   Navbar
-------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 16px 0;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-item.active {
    color: #1e3a8a;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    padding: 8px;
    border-radius: 50%;
}

.icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.cta-btn {
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
}

.menu-btn .bar {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* -------------------------------------
   Buttons
-------------------------------------- */
.primary-btn {
    padding: 16px 32px;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    display: inline-block;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
}

.secondary-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* -------------------------------------
   Home Hero
-------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at center, #1e293b 0%, #020617 100%);
    display: block;
    object-fit: cover;
}

#globe-container canvas {
    width: 100% !important;
    height: 100% !important;
    cursor: default;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.4) 0%, rgba(2, 6, 23, 0.8) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 24px;
    color: var(--white);
}

.hero-content h1 {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-content p {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--white);
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* -------------------------------------
   Categories Section
-------------------------------------- */
.categories-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.category-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 150px;
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lift);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: var(--transition);
}

.category-card:hover .icon-wrapper {
    background: var(--primary-gradient);
    color: var(--white);
    transform: scale(1.1);
}

.category-card span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-color);
}

/* -------------------------------------
   Section Headers & Grids
-------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

/* -------------------------------------
   Cards
-------------------------------------- */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66%;
    /* 3:2 aspect ratio */
    overflow: hidden;
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    z-index: 2;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-excerpt {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
}

.card-author {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.read-more-btn {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 4px;
}

.read-more-btn:hover {
    color: #1e3a8a;
    gap: 8px;
}

/* -------------------------------------
   Secondary Pages Hero
-------------------------------------- */
.page-hero {
    padding: 160px 0 80px;
    background: var(--primary-gradient);
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 40px;
}





.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    padding: 40px 0;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* -------------------------------------
   About Us Page
-------------------------------------- */
.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-block {
    margin-bottom: 60px;
    text-align: center;
}

.about-block h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.about-block p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-main);
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.offer-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.offer-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.offer-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* -------------------------------------
   Article View
-------------------------------------- */
.article-container {
    padding-top: 140px;
    background: linear-gradient(135deg, #f5f7fa, #e3ecff);
    min-height: 100vh;
    position: relative;
    color: #333333;
}

.back-btn {
    position: fixed;
    top: 100px;
    left: 40px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.back-btn:hover {
    transform: translateX(-5px);
    background: var(--white);
}

.article-hero-img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.article-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 100px;
}

.article-header {
    margin-bottom: 60px;
}

.article-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: #111111;
    margin-bottom: 24px;
    line-height: 1.2;
}

.article-meta {
    font-size: 16px;
    color: #64748b;
    display: flex;
    gap: 20px;
}

.article-category-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.article-body > p {
    font-size: 19px;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 40px;
}

.content-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.content-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.content-card h2,
.content-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #111111;
    font-weight: 700;
}

.content-card p {
    font-size: 17px;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 0;
}

/* -------------------------------------
   Footer
-------------------------------------- */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.brand-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-icons a:hover {
    background: var(--primary-gradient);
}

.footer-col h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {


    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        left: 0;
    }

    .menu-btn {
        display: flex;
    }

    .menu-btn.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col a:hover {
        padding-left: 0;
    }

    .back-btn {
        top: 80px;
        left: 20px;
        padding: 8px 16px;
        font-size: 14px;
    }

    .hero-section {
        height: 55vh;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 15px;
        margin-top: 12px !important;
        margin-bottom: 24px;
    }

    .scroll-arrow {
        bottom: 20px;
    }

    .categories-grid {
        margin-top: -30px;
        gap: 15px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .home-filters {
        margin-bottom: 24px !important;
    }

    .category-card {
        padding: 16px;
        min-width: 120px;
    }

    .icon-wrapper {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .footer {
        padding: 40px 0 0;
    }
}

/* Static article architecture */
.bento-card,
.culinary-card,
.masonry-image-link,
.card-img-wrapper {
    display: block;
}

.masonry-image-link {
    position: relative;
}

.masonry-image-link img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.masonry-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.masonry-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.static-article {
    display: block;
    padding-top: 110px;
}

.static-article .back-btn {
    text-decoration: none;
}

.static-article .section-title {
    margin-bottom: 40px;
}

.error-page {
    min-height: 100vh;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 20px;
    padding: 24px;
    text-align: center;
}

@media (max-width: 768px) {
    .static-article {
        padding-top: 90px;
    }

    body .static-article .read-more-btn,
    body .static-article .explore-btn {
        display: inline-flex !important;
    }
}

/* -------------------------------------
   Minimal Background Colors per Page Setup
-------------------------------------- */
#view-home { background-color: #eef6ff !important; }
#view-destinations { background-color: #fff9f0 !important; }
#view-famous-places { background-color: #f5f5f5 !important; }
#view-food { background-color: #f0fff4 !important; }
#view-about { background-color: #fffaf0 !important; }

/* -------------------------------------
   Custom Grids
-------------------------------------- */
/* Bento Grid (Home) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}
#home-grid h1,
#home-grid h2,
#home-grid h3 {
    color: #ffffff !important;
}
.bento-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.bento-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.bento-card:hover .card-img {
    transform: scale(1.1);
}
.bento-card .bento-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: white;
    opacity: 0.9;
    transition: opacity 0.3s;
}
.bento-card:hover .bento-overlay {
    opacity: 1;
}
.bento-card.feat-large { grid-column: span 4; grid-row: span 2; }
.bento-card.feat-horiz { grid-column: span 2; grid-row: span 1; }
.bento-card.feat-vert { grid-column: span 1; grid-row: span 2; }
.bento-card.feat-small { grid-column: span 1; grid-row: span 1; }

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .bento-card.feat-large { grid-column: span 2; }
    .bento-card.feat-horiz { grid-column: span 2; }
    .bento-card.feat-vert { grid-column: span 1; grid-row: span 2; }
}
@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }
    .bento-card.feat-large, .bento-card.feat-horiz, .bento-card.feat-vert, .bento-card.feat-small,
    .culinary-card.large, .culinary-card.medium, .culinary-card.small { 
        grid-column: span 1; 
        grid-row: auto;
        height: auto !important;
        background: #fff !important;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .bento-card img, .culinary-card img {
        height: 200px !important;
        position: relative !important;
        object-fit: cover;
        border-radius: 20px 20px 0 0;
    }

    .bento-overlay, .culinary-overlay {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        background: #fff !important;
        padding: 20px !important;
        color: #000 !important;
        display: block !important;
    }

    body .bento-card, body .culinary-card, body .masonry-card, body .card,
    body .bento-overlay, body .culinary-overlay, body .masonry-content, body .card-content,
    body .bento-card h2, body .bento-card h3, body .culinary-card h3,
    body .masonry-card h3, body .card-content h3, body .card-title {
        color: #000 !important;
        font-weight: 800 !important;
        margin: 0 !important;
        font-size: 20px !important;
        line-height: 1.3 !important;
        text-shadow: none !important;
        -webkit-text-fill-color: #000 !important;
    }

    /* Hide non-title elements on mobile as requested */
    .bento-overlay span,
    .bento-overlay p,
    .card-badge,
    .card-excerpt,
    .card-author,
    .read-more-btn,
    .masonry-content p,
    .explore-btn,
    .culinary-overlay p {
        display: none !important;
    }

    .masonry-card {
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        overflow: hidden;
    }

    .masonry-card img {
        height: 200px !important;
        border-radius: 20px 20px 0 0;
    }

    .masonry-content {
        padding: 20px !important;
    }

    .card-img-wrapper {
        padding-top: 0 !important;
        height: 200px !important;
    }

    .card-img {
        height: 100% !important;
        border-radius: 20px 20px 0 0 !important;
    }

    .card {
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
        overflow: hidden !important;
    }

    .card-content {
        padding: 20px !important;
    }

    .card-footer {
        display: none !important;
    }
}

/* Masonry Grid (Destinations) */
.masonry-grid {
    column-count: 3;
    column-gap: 32px;
}
.masonry-card {
    break-inside: avoid;
    margin-bottom: 32px;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}
.masonry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.masonry-content {
    padding: 20px;
}
.explore-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 14px;
}
@media (max-width: 900px) { .masonry-grid { column-count: 2; } }
@media (max-width: 600px) { .masonry-grid { column-count: 1; } }

/* Timeline + Highlight (Famous Places) */
.timeline-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    padding-left: 20px;
}
.timeline-grid::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}
.timeline-item {
    padding-left: 60px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--border-color);
    z-index: 2;
}
.highlight-card {
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}
.highlight-card:hover { transform: translateY(-5px); }
.highlight-img-wrapper {
    flex: 1.5;
    position: relative;
    min-height: 250px;
}
.highlight-img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
}
.highlight-img-wrapper .overlay-text {
    position: absolute;
    bottom: 20px; left: 20px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 5px;
}
.highlight-content {
    flex: 1;
    padding: 24px;
}
.supporting-cards {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.support-card {
    flex: 1;
    min-width: 80px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    text-align: center;
    border: 1px solid var(--border-color);
}
@media (max-width: 768px) {
    .highlight-card { flex-direction: column; }
    .highlight-img-wrapper { min-height: 200px; }
}

/* Culinary Grid (Food) */
.culinary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.culinary-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    min-height: 200px;
}
.culinary-card.large { grid-column: span 2; grid-row: span 2; min-height: 400px; }
.culinary-card.medium { grid-column: span 1; grid-row: span 2; }
.culinary-card.small { grid-column: span 1; grid-row: span 1; }
.culinary-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.culinary-overlay {
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 20px;
    text-align: center;
}
.culinary-card:hover .culinary-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .culinary-grid {
        grid-template-columns: 1fr;
    }
    .culinary-card.large, .culinary-card.medium {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 250px;
    }
    .culinary-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
        justify-content: flex-end;
        align-items: flex-start;
        text-align: left;
    }
    .culinary-overlay h3 {
        font-size: 20px !important;
        margin-bottom: 5px !important;
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    }
    .culinary-overlay p {
        font-size: 13px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Share */
.article-share {
    margin-top: 20px; display: flex; gap: 10px; align-items: center;
    flex-wrap: wrap;
}
.share-btn {
    padding: 6px 16px; border-radius: 20px; color: white; font-size: 13px; font-weight: bold;
    border: none; cursor: pointer; transition: transform 0.2s;
}
.share-btn:hover { transform: scale(1.05); }
.share-btn.fb { background: #3b5998; }
.share-btn.tw { background: #1da1f2; }
.share-btn.pt { background: #E60023; }
.share-btn.wa { background: #25D366; }

@media (max-width: 768px) {
    .culinary-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .culinary-card.large, .culinary-card.medium, .culinary-card.small {
        grid-column: span 1; 
        grid-row: auto;
        min-height: 250px;
    }
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* -----------------------------------------------------------------
   About Page Specific Styles
----------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

.about-hero .hero-content {
    max-width: 800px;
}

/* -----------------------------------------------------------------
   Mobile Optimizations for Article View
----------------------------------------------------------------- */
@media (max-width: 768px) {
    .article-hero-img {
        margin-bottom: 20px !important;
        border-radius: 16px;
    }
    
    .article-header {
        margin-bottom: 24px !important;
    }
    
    .article-category-badge {
        margin-bottom: 12px !important;
        padding: 4px 12px;
        font-size: 12px;
    }
    
    .article-title {
        font-size: 26px !important;
        margin-bottom: 16px !important;
        line-height: 1.3 !important;
    }
    
    .article-meta {
        font-size: 14px !important;
    }
    
    .article-share {
        margin-top: 15px !important;
    }
    
    .article-body > p {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }
    
    .content-card {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .content-card h2,
    .content-card h3 {
        font-size: 22px !important;
        margin-bottom: 15px !important;
    }
    
    .content-card p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
}

/* -----------------------------------------------------------------
   Mobile Optimizations for Static Pages (Privacy, Contact, About)
----------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Prevent long links from breaking layouts */
    .policy-content a,
    #view-privacy a,
    #view-contact a,
    #view-about a {
        word-break: break-all;
        overflow-wrap: break-word;
    }
    
    /* Privacy Policy Overrides */
    #view-privacy h1 {
        font-size: 32px !important;
    }
    #view-privacy h2 {
        font-size: 24px !important;
        margin-top: 24px !important;
        margin-bottom: 16px !important;
    }
    #view-privacy .policy-content,
    #view-privacy p,
    #view-privacy li {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    
    /* Contact Overrides */
    #view-contact h1 {
        font-size: 32px !important;
        margin-bottom: 16px !important;
    }
    #view-contact h2 {
        font-size: 26px !important;
    }
    /* About Us Overrides */
    .about-hero h1 {
        font-size: 32px !important;
    }
    #view-about h2 {
        font-size: 28px !important;
    }
    #view-about h3 {
        font-size: 22px !important;
    }
    #view-about p,
    #view-about a.btn {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    .value-card {
        padding: 30px 20px !important;
    }
    #view-about div[style*="3.5rem"] {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    body .explore-btn,
    body .read-more-btn {
        display: inline-flex !important;
    }
}

/* M2 interaction and accessibility repairs */
.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 10000;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-150%);
    transition: none;
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 4px;
}

#main-content:focus {
    outline: none;
}

.category-card {
    border: 2px solid transparent;
    font: inherit;
}

.category-card.active,
.category-card[aria-pressed="true"] {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.22), var(--shadow-lift);
}

.filter-btn[aria-pressed="true"]::after {
    content: " ✓";
}

.filter-reset {
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    padding: 8px 20px;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
}

.filter-status {
    margin: -22px 0 28px;
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
}

/* M7 editorial homepage and shared story cards */
.hero-section {
    height: min(88vh, 820px);
    min-height: 680px;
    justify-content: flex-start;
    text-align: left;
    isolation: isolate;
}

.hero-section .hero-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    z-index: -3;
}

.hero-section .hero-overlay {
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 20, 45, 0.88) 0%, rgba(7, 20, 45, 0.68) 44%, rgba(7, 20, 45, 0.18) 78%),
        linear-gradient(0deg, rgba(12, 50, 82, 0.5) 0%, transparent 48%);
    z-index: -2;
}

.hero-content {
    width: min(100% - 48px, 1200px);
    max-width: none;
    margin: 70px auto 0;
    padding: 0;
}

.hero-content h1 {
    max-width: 760px;
    margin: 18px 0 22px;
    font-size: clamp(3.2rem, 6.7vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.hero-content > p:not(.hero-eyebrow) {
    max-width: 650px;
    margin: 0 0 32px;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.55;
}

.hero-eyebrow,
.section-kicker {
    margin: 0;
    color: #fbbf24;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions a {
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: transform 180ms ease, background-color 180ms ease;
}

.hero-actions a:hover { transform: translateY(-2px); }
.hero-primary { background: #fbbf24; color: #10234a; }
.hero-secondary { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.7) !important; color: #fff; backdrop-filter: blur(8px); }

.hero-accent {
    position: absolute;
    right: clamp(24px, 7vw, 110px);
    bottom: clamp(30px, 7vw, 90px);
    width: clamp(120px, 16vw, 230px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 42% 58% 65% 35% / 45% 35% 65% 55%;
    box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.06);
    z-index: -1;
}

.categories-section { padding-top: 0; }
.interest-heading { padding-top: 64px; text-align: center; }
.interest-heading h2 { margin: 8px 0 10px; font-size: clamp(2rem, 4vw, 3rem); }
.interest-heading > p:last-child { color: var(--text-light); }
.categories-grid { margin-top: 32px; }
.category-card { min-height: 154px; text-decoration: none; }
.category-card:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 4px; }

.featured-section {
    background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
    scroll-margin-top: 82px;
}

.featured-section .section-header { max-width: 700px; margin-inline: auto; }
.featured-section .section-kicker { margin-bottom: 10px; }
.featured-groups { display: grid; gap: 56px; }
.featured-group { min-width: 0; }
.featured-group-header {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(30, 58, 138, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
#home-grid .featured-group-header h3 { color: var(--primary-color) !important; font-size: clamp(1.55rem, 3vw, 2rem); }
.featured-group-header a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: #1d4ed8; font-family: var(--font-heading); font-weight: 700; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.story-card {
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 42, 86, 0.08);
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(15, 42, 86, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.story-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15, 42, 86, 0.14); }
.story-card-link { height: 100%; display: flex; flex-direction: column; color: var(--text-main); text-decoration: none; }
.story-card-link:focus-visible { outline: 3px solid #2563eb; outline-offset: -3px; border-radius: 22px; }
.story-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dbeafe; }
.story-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.story-card:hover .story-card-image { transform: scale(1.035); }
.story-card-badge {
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #18376f;
    font-size: 0.76rem;
    font-weight: 800;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16);
}
.story-card-body { min-height: 250px; padding: 22px 22px 24px; display: flex; flex: 1; flex-direction: column; }
.story-card-title {
    min-height: 3.25em;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: var(--font-heading);
    font-size: 1.24rem;
    font-weight: 750;
    line-height: 1.3;
}
.story-card-excerpt {
    margin: 12px 0 20px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.55;
}
.story-card-action {
    width: fit-content;
    min-height: 44px;
    margin-top: auto;
    padding: 10px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e40af;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
}

.grid-layout > .story-card { display: flex; }
.suggested-posts-wrapper .grid-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px) {
    .hero-section { height: 720px; min-height: 650px; }
    .hero-content { width: min(100% - 40px, 720px); }
    .hero-content h1 { max-width: 650px; }
    .hero-accent { opacity: 0.6; }
    .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .featured-grid .story-card:last-child { grid-column: 1 / -1; width: min(100%, 390px); justify-self: center; }
}

@media (max-width: 600px) {
    .hero-section { height: auto; min-height: 650px; }
    .hero-section .hero-bg { object-position: 62% center; }
    .hero-section .hero-overlay { background: linear-gradient(90deg, rgba(7, 20, 45, 0.91), rgba(7, 20, 45, 0.56)); }
    .hero-content { width: calc(100% - 40px); margin-top: 76px; }
    .hero-content h1 { font-size: clamp(2.7rem, 13vw, 3.6rem); }
    .hero-content > p:not(.hero-eyebrow) { font-size: 1rem; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions a { width: 100%; }
    .hero-accent { display: none; }
    .interest-heading { padding-top: 48px; }
    .categories-grid { gap: 14px; }
    .category-card { min-width: calc(50% - 7px); min-height: 132px; padding: 18px 12px; }
    .featured-groups { gap: 44px; }
    .featured-group-header { align-items: flex-start; flex-direction: column; gap: 4px; }
    .featured-grid, .suggested-posts-wrapper .grid-layout { grid-template-columns: 1fr; }
    .featured-grid .story-card:last-child { grid-column: auto; width: 100%; }
    .story-card-body { min-height: 228px; padding: 20px 20px 24px; }
    .story-card-title { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-actions a,
    .story-card,
    .story-card-image { transition: none; }
    .hero-actions a:hover,
    .story-card:hover { transform: none; }
    .story-card:hover .story-card-image { transform: none; }
}

.masonry-card-link,
.card-link {
    display: block;
    height: 100%;
}

.masonry-image-link,
.masonry-title,
.masonry-excerpt,
.card-link .card-img-wrapper,
.card-link .card-content,
.card-link .card-title,
.card-link .card-excerpt,
.card-link .card-footer {
    display: block;
}

.masonry-title {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.masonry-excerpt {
    margin-bottom: 18px;
}

.card-link .card-title {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
}

.share-btn {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
}

.share-btn.share-generic {
    background: var(--primary-color);
}

/* M8 responsive editorial magazine system */
:root {
    --space-1: 0.375rem;
    --space-2: 0.625rem;
    --space-3: 0.875rem;
    --space-4: 1.125rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4.5rem;
    --radius-card: 1.25rem;
    --radius-feature: 1.75rem;
    --border-editorial: #d9e3ef;
    --surface-paper: #ffffff;
    --surface-blue: #eef5fc;
    --surface-warm: #fbf7ef;
    --surface-ink: #0c1d36;
    --accent-destination: #19747e;
    --accent-famous: #3557a8;
    --accent-food: #a54f2d;
    --content-wide: 1280px;
    --content-reading: 760px;
    --shadow-editorial: 0 12px 36px rgba(13, 38, 68, 0.09);
}

html { scroll-padding-top: 88px; }
body { background: #f8fafc; }
.container, .nav-container { max-width: var(--content-wide); }
.section-padding { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.menu-btn { width: 44px; height: 44px; align-items: center; justify-content: center; }

/* Homepage pacing and topic shortcuts */
.categories-section {
    position: relative;
    background: var(--surface-paper);
    border-bottom: 1px solid var(--border-editorial);
}
.categories-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-destination) 0 33.333%, var(--accent-famous) 33.333% 66.666%, var(--accent-food) 66.666%);
}
.interest-heading { max-width: 760px; }
.categories-grid { margin-top: var(--space-6); gap: 12px; }
.category-card {
    min-width: 0;
    flex: 1 1 180px;
    min-height: 128px;
    padding: var(--space-4);
    justify-content: center;
    border: 1px solid var(--border-editorial);
    border-radius: var(--radius-card);
    box-shadow: none;
    background: #f8fbff;
}
.category-card:nth-child(3n + 2) { background: #f7f8fd; }
.category-card:nth-child(3n) { background: #fbf8f2; }
.category-card .icon-wrapper { width: 52px; height: 52px; font-size: 25px; background: #fff; border: 1px solid var(--border-editorial); }
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-editorial); }

.featured-section {
    position: relative;
    background: var(--surface-blue);
    border-bottom: 1px solid var(--border-editorial);
}
.featured-section .section-header { margin-bottom: var(--space-8); }
.featured-section .section-header h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); letter-spacing: -0.035em; }
.featured-groups { gap: clamp(4.5rem, 8vw, 7.5rem); }
.featured-group { position: relative; }
.featured-group::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 999px;
    background: var(--accent-destination);
}
.featured-group--famous-place::before { background: var(--accent-famous); }
.featured-group--food::before { background: var(--accent-food); }
.featured-group-header { margin-bottom: var(--space-5); padding-bottom: var(--space-4); }
.featured-group-header a { border-bottom: 1px solid currentColor; }
.featured-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(190px, auto));
    gap: var(--space-5);
    align-items: stretch;
}
.featured-grid > .story-card--lead { grid-column: span 7; grid-row: span 2; }
.featured-grid > .story-card--horizontal { grid-column: span 5; }

/* Shared card variants */
.story-card {
    border-color: var(--border-editorial);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-editorial);
}
.story-card[data-category="Destination"] { --card-accent: var(--accent-destination); }
.story-card[data-category="Famous Place"] { --card-accent: var(--accent-famous); }
.story-card[data-category="Food"] { --card-accent: var(--accent-food); }
.story-card-link { min-width: 0; }
.story-card-media { background: #d8e4ed; }
.story-card-badge {
    background: rgba(255,255,255,0.96);
    color: var(--card-accent, #18376f);
    border: 1px solid color-mix(in srgb, var(--card-accent, #18376f) 24%, transparent);
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}
.story-card-body { min-width: 0; }
.story-card-action { min-height: 44px; background: var(--card-accent, #1e40af); }
.story-card--lead { border-radius: var(--radius-feature); }
.story-card--lead .story-card-media { aspect-ratio: 16 / 9; }
.story-card--lead .story-card-body { min-height: 240px; padding: clamp(1.35rem, 2.5vw, 2.15rem); }
.story-card--lead .story-card-title { min-height: 0; font-size: clamp(1.65rem, 2.5vw, 2.35rem); letter-spacing: -0.025em; }
.story-card--lead .story-card-excerpt { max-width: 64ch; font-size: 1rem; -webkit-line-clamp: 3; }
.story-card--horizontal .story-card-link { flex-direction: row; }
.story-card--horizontal .story-card-media { width: 43%; min-width: 180px; aspect-ratio: auto; }
.story-card--horizontal .story-card-body { min-height: 0; padding: var(--space-4); }
.story-card--horizontal .story-card-title { min-height: 0; font-size: 1.08rem; }
.story-card--horizontal .story-card-excerpt { margin-block: 8px 12px; -webkit-line-clamp: 2; font-size: 0.875rem; }
.story-card--horizontal .story-card-action { min-height: 40px; padding: 8px 14px; font-size: 0.82rem; }
.story-card--feature .story-card-link { flex-direction: row; }
.story-card--feature .story-card-media { width: 54%; aspect-ratio: 16 / 9; }
.story-card--feature .story-card-body { min-height: 260px; justify-content: center; padding: var(--space-6); }
.story-card--feature .story-card-title { min-height: 0; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.story-card--related .story-card-body { min-height: 220px; }

/* Category mastheads and structured catalogues */
#view-destinations > .hero-section,
#view-famous-places > .hero-section,
#view-food > .hero-section {
    height: clamp(430px, 52vw, 610px);
    min-height: 430px;
    border-bottom: 5px solid var(--accent-destination);
}
#view-famous-places > .hero-section { border-bottom-color: var(--accent-famous); }
#view-food > .hero-section { border-bottom-color: var(--accent-food); }
#view-destinations > .hero-section .hero-overlay,
#view-famous-places > .hero-section .hero-overlay,
#view-food > .hero-section .hero-overlay {
    background: linear-gradient(90deg, rgba(5,18,37,0.84), rgba(5,18,37,0.44) 70%, rgba(5,18,37,0.25));
}
#view-destinations > .hero-section .hero-content,
#view-famous-places > .hero-section .hero-content,
#view-food > .hero-section .hero-content { margin-top: 74px; text-align: left; }
#view-destinations > .hero-section h1,
#view-famous-places > .hero-section h1,
#view-food > .hero-section h1 {
    max-width: 850px;
    font-size: clamp(2.65rem, 5vw, 5rem);
    letter-spacing: -0.035em;
}
#destinations-grid, #famous-places-grid, #food-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-5);
    align-items: stretch;
}
#destinations-grid > .story-card--lead,
#famous-places-grid > .story-card--lead,
#food-grid > .story-card--lead { grid-column: span 7; grid-row: span 2; }
#destinations-grid > .story-card--horizontal,
#famous-places-grid > .story-card--horizontal,
#food-grid > .story-card--horizontal { grid-column: span 5; }
#destinations-grid > .story-card--standard,
#famous-places-grid > .story-card--standard,
#food-grid > .story-card--standard { grid-column: span 4; }
#destinations-grid > .story-card--feature,
#famous-places-grid > .story-card--feature,
#food-grid > .story-card--feature { grid-column: span 8; }
#food-grid > .story-card--standard { grid-column: span 6; }

/* Article reading rhythm */
.article-container { padding-top: 126px; background: var(--surface-blue); }
.article-content-wrapper { max-width: 1160px; }
.article-hero-img { max-height: 610px; aspect-ratio: 16 / 9; border-radius: var(--radius-feature); }
.article-header, .article-body, .article-safety-note, .article-sources { max-width: var(--content-reading); margin-inline: auto; }
.article-title { font-size: clamp(2.45rem, 5.5vw, 4.65rem); letter-spacing: -0.035em; text-wrap: balance; overflow-wrap: anywhere; }
.article-meta { flex-wrap: wrap; gap: 8px 16px; }
.article-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.article-body > p, .content-card p { overflow-wrap: anywhere; }
.content-card { padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid var(--border-editorial); box-shadow: 0 8px 28px rgba(13,38,68,0.07); }
.content-card h2, .content-card h3 { scroll-margin-top: 100px; text-wrap: balance; }
.content-card img { width: 100%; height: auto; border-radius: 12px; }
.article-sources a, .article-sources span { overflow-wrap: anywhere; word-break: break-word; }
.suggested-posts-wrapper { margin-top: var(--space-7); background: var(--surface-paper); border-top: 1px solid var(--border-editorial); }

@media (min-width: 1200px) {
    .story-card:hover { transform: translateY(-3px); }
    .featured-grid > .story-card--lead .story-card-link,
    #destinations-grid > .story-card--lead .story-card-link,
    #famous-places-grid > .story-card--lead .story-card-link,
    #food-grid > .story-card--lead .story-card-link { height: 100%; }
}

@media (min-width: 601px) and (max-width: 1199px) {
    .container { padding-inline: 24px; }
    .featured-grid,
    #destinations-grid, #famous-places-grid, #food-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: var(--space-5);
    }
    .featured-grid > .story-card--lead,
    #destinations-grid > .story-card--lead,
    #famous-places-grid > .story-card--lead,
    #food-grid > .story-card--lead { grid-column: 1 / -1; grid-row: auto; }
    .featured-grid > .story-card--horizontal,
    #destinations-grid > .story-card--horizontal,
    #famous-places-grid > .story-card--horizontal,
    #food-grid > .story-card--horizontal,
    #destinations-grid > .story-card--standard,
    #famous-places-grid > .story-card--standard,
    #food-grid > .story-card--standard { grid-column: span 1; }
    .featured-grid .story-card--horizontal .story-card-link,
    #destinations-grid > .story-card--horizontal .story-card-link,
    #famous-places-grid > .story-card--horizontal .story-card-link,
    #food-grid > .story-card--horizontal .story-card-link { flex-direction: column; }
    .featured-grid .story-card--horizontal .story-card-media,
    #destinations-grid > .story-card--horizontal .story-card-media,
    #famous-places-grid > .story-card--horizontal .story-card-media,
    #food-grid > .story-card--horizontal .story-card-media { width: 100%; min-width: 0; aspect-ratio: 16 / 10; }
    .featured-grid .story-card--horizontal .story-card-body,
    #destinations-grid > .story-card--horizontal .story-card-body,
    #famous-places-grid > .story-card--horizontal .story-card-body,
    #food-grid > .story-card--horizontal .story-card-body { min-height: 230px; padding: var(--space-5); }
    #destinations-grid > .story-card--feature,
    #famous-places-grid > .story-card--feature,
    #food-grid > .story-card--feature { grid-column: 1 / -1; }
    .suggested-posts-wrapper .grid-layout { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .suggested-posts-wrapper .story-card:last-child { grid-column: 1 / -1; width: min(100%, 520px); justify-self: center; }
}

@media (max-width: 600px) {
    .container, .nav-container { padding-inline: 16px; }
    .section-padding { padding-block: 3.5rem; }
    .featured-section .section-header { margin-bottom: var(--space-7); }
    .featured-group::before { left: -10px; }
    .featured-group-header { gap: 8px; }
    .featured-group-header a { min-height: 44px; }
    .featured-grid,
    #destinations-grid, #famous-places-grid, #food-grid,
    .suggested-posts-wrapper .grid-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .featured-grid > .story-card,
    #destinations-grid > .story-card,
    #famous-places-grid > .story-card,
    #food-grid > .story-card { grid-column: auto; grid-row: auto; width: 100%; }
    .story-card--standard .story-card-link,
    .story-card--horizontal .story-card-link,
    .story-card--related .story-card-link { min-height: 176px; flex-direction: row; }
    .story-card--standard .story-card-media,
    .story-card--horizontal .story-card-media,
    .story-card--related .story-card-media { width: 38%; min-width: 124px; aspect-ratio: auto; }
    .story-card--standard .story-card-body,
    .story-card--horizontal .story-card-body,
    .story-card--related .story-card-body { min-height: 0; padding: 14px; }
    .story-card--standard .story-card-title,
    .story-card--horizontal .story-card-title,
    .story-card--related .story-card-title { min-height: 0; font-size: 1rem; line-height: 1.25; }
    .story-card--standard .story-card-excerpt,
    .story-card--horizontal .story-card-excerpt,
    .story-card--related .story-card-excerpt { margin: 7px 0 8px; -webkit-line-clamp: 2; font-size: 0.79rem; line-height: 1.4; }
    .story-card--standard .story-card-action,
    .story-card--horizontal .story-card-action,
    .story-card--related .story-card-action { min-height: 42px; padding: 8px 12px; }
    .story-card--standard .story-card-badge,
    .story-card--horizontal .story-card-badge,
    .story-card--related .story-card-badge { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 4px 7px; font-size: 0.64rem; }
    .story-card--lead .story-card-body,
    .story-card--feature .story-card-body { min-height: 0; padding: var(--space-5); }
    .story-card--lead .story-card-title,
    .story-card--feature .story-card-title { font-size: clamp(1.35rem, 7vw, 1.8rem); }
    .story-card--feature .story-card-link { flex-direction: column; }
    .story-card--feature .story-card-media { width: 100%; aspect-ratio: 16 / 9; }
    #view-destinations > .hero-section,
    #view-famous-places > .hero-section,
    #view-food > .hero-section { height: 520px; min-height: 520px; }
    #view-destinations > .hero-section .hero-content,
    #view-famous-places > .hero-section .hero-content,
    #view-food > .hero-section .hero-content { width: calc(100% - 32px); margin-top: 76px; }
    #view-destinations > .hero-section h1,
    #view-famous-places > .hero-section h1,
    #view-food > .hero-section h1 { font-size: clamp(2.35rem, 11vw, 3.2rem); }
    .article-container { padding-top: 108px; }
    .back-btn { position: static; width: fit-content; margin: 0 16px 20px; }
    .article-content-wrapper { padding-inline: 16px; padding-bottom: 64px; }
    .article-hero-img { margin-bottom: 28px; border-radius: var(--radius-card); }
    .article-title { font-size: clamp(2rem, 10vw, 3rem); }
    .article-header { margin-bottom: 38px; }
    .article-share { align-items: stretch; }
    .share-label { width: 100%; }
    .share-btn { min-height: 44px; }
    .content-card { margin-bottom: 20px; }
    .content-card h2, .content-card h3 { font-size: clamp(1.35rem, 7vw, 1.75rem); }
    .article-body > p, .content-card p { font-size: 1rem; line-height: 1.72; }
}

@media (max-width: 359px) {
    .brand { font-size: 21px; }
    .logo-img { height: 29px; }
    .story-card--standard .story-card-link,
    .story-card--horizontal .story-card-link,
    .story-card--related .story-card-link { min-height: 164px; }
    .story-card--standard .story-card-media,
    .story-card--horizontal .story-card-media,
    .story-card--related .story-card-media { width: 35%; min-width: 96px; }
    .story-card--standard .story-card-body,
    .story-card--horizontal .story-card-body,
    .story-card--related .story-card-body { padding: 11px; }
    .story-card--standard .story-card-excerpt,
    .story-card--horizontal .story-card-excerpt,
    .story-card--related .story-card-excerpt { -webkit-line-clamp: 1; }
    .story-card--standard .story-card-action,
    .story-card--horizontal .story-card-action,
    .story-card--related .story-card-action { min-height: 40px; padding: 7px 10px; }
    .category-card { flex-basis: 128px; }
    .hero-actions a { padding-inline: 16px; }
}

@media (hover: hover) and (pointer: fine) {
    .story-card:hover .story-card-image { transform: scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
    .category-card:hover, .story-card:hover, .hero-actions a:hover { transform: none; }
}

.share-status {
    flex-basis: 100%;
    min-height: 1.5em;
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        visibility: hidden;
        pointer-events: none;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        visibility: visible;
        pointer-events: auto;
    }

}

/* M9 contact */
.contact-page {
    position: relative;
    overflow: hidden;
    padding: clamp(118px, 12vw, 164px) 0 clamp(72px, 9vw, 120px);
    background:
        radial-gradient(circle at 92% 12%, rgb(56 189 248 / 0.14), transparent 24rem),
        linear-gradient(180deg, #f8fafc 0%, #eef6fb 58%, #f8fafc 100%);
}

.contact-page::before {
    content: "";
    position: absolute;
    width: 280px;
    aspect-ratio: 1;
    left: -150px;
    top: 390px;
    border: 1px solid rgb(30 58 138 / 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgb(56 189 248 / 0.04), 0 0 0 96px rgb(30 58 138 / 0.025);
    pointer-events: none;
}

.contact-shell {
    max-width: 1180px;
    position: relative;
}

.contact-intro {
    max-width: 850px;
    margin-bottom: clamp(40px, 6vw, 70px);
}

.contact-kicker {
    margin: 0 0 14px;
    color: #0369a1;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-intro h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: clamp(2.6rem, 6.3vw, 5.3rem);
    line-height: 0.99;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.contact-lead {
    max-width: 720px;
    color: var(--text-light);
    font-size: clamp(1.04rem, 1.7vw, 1.25rem);
    line-height: 1.75;
}

.contact-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(20px, 3vw, 34px);
    align-items: stretch;
}

.contact-company,
.contact-email-panel {
    min-width: 0;
    border-radius: clamp(22px, 3vw, 32px);
    padding: clamp(28px, 4.4vw, 54px);
}

.contact-company {
    border: 1px solid #d9e5ed;
    background: rgb(255 255 255 / 0.86);
    box-shadow: 0 24px 70px rgb(15 23 42 / 0.08);
}

.contact-compass {
    position: relative;
    width: 64px;
    aspect-ratio: 1;
    margin-bottom: 42px;
    border: 1px solid #a9d8ec;
    border-radius: 50%;
    background: #f0f9ff;
}

.contact-compass::before,
.contact-compass::after {
    content: "";
    position: absolute;
    inset: 8px 30px;
    background: #38bdf8;
}

.contact-compass::after {
    transform: rotate(90deg);
}

.contact-compass span {
    position: absolute;
    width: 18px;
    height: 30px;
    left: 22px;
    top: 16px;
    z-index: 1;
    background: #1e3a8a;
    clip-path: polygon(50% 0, 100% 100%, 50% 72%, 0 100%);
    transform: rotate(38deg);
}

.contact-company h2,
.contact-email-panel h2,
.contact-reasons h2 {
    margin: 0 0 16px;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    letter-spacing: -0.035em;
}

.contact-company > p:not(.contact-kicker) {
    max-width: 42ch;
    color: var(--text-light);
    line-height: 1.75;
}

.contact-details {
    margin-top: 34px;
    border-top: 1px solid var(--border-color);
}

.contact-details div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-details dt {
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 700;
}

.contact-details dd {
    min-width: 0;
    color: var(--primary-color);
    font-weight: 750;
    overflow-wrap: anywhere;
}

.contact-details a {
    text-decoration: underline;
    text-decoration-color: #7dd3fc;
    text-underline-offset: 4px;
}

.contact-email-panel {
    color: #e2e8f0;
    background:
        radial-gradient(circle at 85% 10%, rgb(56 189 248 / 0.2), transparent 16rem),
        linear-gradient(145deg, #0f172a 0%, #172554 100%);
    box-shadow: 0 28px 80px rgb(15 23 42 / 0.2);
}

.contact-kicker--light {
    color: #7dd3fc;
}

.contact-email-panel h2 {
    color: #fff;
}

.contact-email-panel > p:not(.contact-kicker, .contact-email-address, .contact-action-note, .contact-copy-status) {
    max-width: 46ch;
    line-height: 1.75;
}

.contact-email-address {
    margin: clamp(28px, 4vw, 44px) 0 30px;
}

.contact-email-address span {
    display: block;
    margin-bottom: 8px;
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-email-address a {
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.04rem, 2.15vw, 1.55rem);
    font-weight: 700;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-color: #38bdf8;
    text-underline-offset: 7px;
    overflow-wrap: anywhere;
    user-select: text;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.contact-action--primary {
    color: #082f49;
    background: #7dd3fc;
}

.contact-action--secondary {
    color: #fff;
    border-color: rgb(255 255 255 / 0.38);
    background: rgb(255 255 255 / 0.06);
}

.contact-action-note {
    margin-top: 22px;
    color: #cbd5e1;
    font-size: 0.87rem;
    line-height: 1.65;
}

.contact-copy-status {
    min-height: 1.5em;
    margin-top: 10px;
    color: #bae6fd;
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-reasons {
    display: grid;
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(30px, 6vw, 80px);
    margin-top: clamp(64px, 9vw, 110px);
    padding-top: clamp(34px, 5vw, 54px);
    border-top: 1px solid #cad8e2;
}

.contact-reasons ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
}

.contact-reasons li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 60px;
    border-bottom: 1px solid #d7e2e9;
    color: var(--primary-color);
    font-weight: 700;
}

.contact-reasons li span {
    color: #0284c7;
    font-size: 0.75rem;
    font-weight: 800;
}

@media (hover: hover) and (pointer: fine) {
    .contact-action:hover { transform: translateY(-2px); }
    .contact-action--primary:hover { background: #bae6fd; }
    .contact-action--secondary:hover { border-color: #7dd3fc; background: rgb(255 255 255 / 0.11); }
    .contact-details a:hover, .contact-email-address a:hover { text-decoration-thickness: 2px; }
}

@media (max-width: 800px) {
    .contact-editorial-grid,
    .contact-reasons { grid-template-columns: 1fr; }
    .contact-reasons { gap: 18px; }
}

@media (max-width: 520px) {
    .contact-page { padding-top: 106px; }
    .contact-shell { padding-inline: 16px; }
    .contact-intro h1 { font-size: clamp(2.35rem, 13vw, 3.6rem) !important; }
    .contact-company, .contact-email-panel { padding: 26px 22px; }
    .contact-compass { margin-bottom: 30px; }
    .contact-details div { grid-template-columns: 1fr; gap: 5px; }
    .contact-actions { flex-direction: column; }
    .contact-action { width: 100%; }
    .contact-reasons ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

.article-safety-note,
.article-sources {
    margin: 32px 0;
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid #dbe4ee;
    border-radius: var(--radius-md);
    background: #f8fafc;
    overflow-wrap: anywhere;
}

.article-safety-note {
    border-left: 5px solid #d97706;
    background: #fffaf0;
}

.article-safety-note h2,
.article-sources h2 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 4vw, 1.8rem);
}

.article-sources ul {
    margin: 20px 0;
    padding-left: 1.25rem;
}

.article-sources li {
    margin: 0 0 16px;
}

.article-sources a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-sources span {
    display: block;
    margin-top: 4px;
    color: var(--text-light);
    font-size: 0.92rem;
}

.source-freshness,
.source-endorsement {
    margin: 0;
    color: var(--text-light);
}

.source-endorsement {
    font-size: 0.88rem;
}

/* M8 cinematic motion and modern typography */
h1, h2, h3, h4,
.story-card-title,
.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

body,
.nav-item,
button,
input,
textarea,
select,
.hero-actions a,
.featured-group-header a,
.story-card-action,
.article-meta,
.article-sources {
    font-family: var(--font-body);
}

.hero-eyebrow,
.section-kicker,
.story-card-badge,
.article-category-badge {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

#view-home .hero-content h1 {
    max-width: 720px;
    font-size: clamp(3rem, 6vw, 5.4rem);
    font-weight: 700;
    letter-spacing: -0.055em;
}

.featured-section .section-header h2,
.article-title {
    font-weight: 700;
}

.article-body {
    max-width: var(--content-reading);
    margin-inline: auto;
    font-family: var(--font-body);
}

.article-body > p,
.content-card p {
    line-height: 1.78;
}

@keyframes heroDrift {
    from { transform: scale(1.015) translate3d(0, 0, 0); }
    to { transform: scale(1.075) translate3d(-1.1%, -0.8%, 0); }
}

@keyframes heroRise {
    from { opacity: 0; transform: translate3d(0, 18px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes compassTurn {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes cueFloat {
    0%, 100% { transform: translate3d(-50%, 0, 0); opacity: 0.72; }
    50% { transform: translate3d(-50%, 7px, 0); opacity: 1; }
}

#view-home .hero-bg {
    transform-origin: 58% 54%;
    animation: heroDrift 24s ease-in-out infinite alternate;
    will-change: transform;
}

#view-home .hero-eyebrow,
#view-home .hero-content h1,
#view-home .hero-content > p:not(.hero-eyebrow),
#view-home .hero-actions {
    animation: heroRise 680ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

#view-home .hero-eyebrow { animation-delay: 80ms; }
#view-home .hero-content h1 { animation-delay: 160ms; }
#view-home .hero-content > p:not(.hero-eyebrow) { animation-delay: 240ms; }
#view-home .hero-actions { animation-delay: 320ms; }

.hero-accent {
    border-radius: 50%;
    box-shadow: inset 0 0 0 14px rgba(255,255,255,0.045), 0 0 44px rgba(56,189,248,0.08);
    animation: compassTurn 30s linear infinite;
}

.hero-accent::before,
.hero-accent::after {
    content: "";
    position: absolute;
    inset: 50% 10%;
    height: 1px;
    background: rgba(255,255,255,0.38);
}

.hero-accent::after { transform: rotate(90deg); }
.hero-accent span {
    position: absolute;
    left: 50%;
    top: 18%;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 34px solid rgba(251,191,36,0.82);
    transform: translateX(-50%);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.22));
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.64);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    animation: cueFloat 2.6s ease-in-out infinite;
}

.hero-scroll-cue span {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.hero-scroll-cue:focus-visible {
    outline-color: #fbbf24;
    background: rgba(7,20,45,0.72);
}

.story-card.fade-in { animation: none; }
.reveal-item {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.reveal-item.is-revealed { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-delay-1 { transition-delay: 55ms; }
.reveal-delay-2 { transition-delay: 110ms; }
.reveal-delay-3 { transition-delay: 165ms; }

.story-card-action span { transition: transform 180ms ease; }
.story-card-link:focus-visible .story-card-image { transform: scale(1.025); }
.story-card-link:focus-visible .story-card-action span { transform: translateX(3px); }

@media (hover: hover) and (pointer: fine) {
    .story-card-link:hover .story-card-image { transform: scale(1.035); }
    .story-card-link:hover .story-card-action span { transform: translateX(4px); }
}

@media (max-width: 600px) {
    #view-home .hero-content h1 { font-size: clamp(2.35rem, 11.6vw, 3.25rem); }
    #view-home .hero-bg,
    .hero-accent,
    .hero-scroll-cue { animation: none; will-change: auto; }
    .hero-scroll-cue { display: none; }
    .reveal-item { transition-duration: 260ms; transition-delay: 0ms; transform: translate3d(0, 10px, 0); }
    .story-card-link:focus-visible .story-card-image { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    #view-home .hero-bg,
    #view-home .hero-eyebrow,
    #view-home .hero-content h1,
    #view-home .hero-content > p:not(.hero-eyebrow),
    #view-home .hero-actions,
    .hero-accent,
    .hero-scroll-cue {
        animation: none !important;
        transform: none;
        opacity: 1;
        will-change: auto;
    }
    .reveal-item,
    .reveal-item.is-revealed {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .story-card-link:hover .story-card-image,
    .story-card-link:focus-visible .story-card-image,
    .story-card-link:hover .story-card-action span,
    .story-card-link:focus-visible .story-card-action span { transform: none; }
}

