/* ============================================================
   FoodTourTrails — Full redesign v2.1
   Palette: #0e3325 (forest green) · #c49959 (warm gold) · #fff
   Fonts:   Playfair Display (headings) · Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

/* ── Homepage destination cards — prevent image stretching ── */
.portfolio-item .image-placeholder {
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
}
.portfolio-item .image-placeholder img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* ── Reset / global on single posts ─────────────────────── */
.single-post {
    background: #fff;
}

/* ── Hero image – override Kalium's square placeholder ───── */
.single-post .post-image {
    position: relative;
    overflow: hidden;
    margin: 0;
    line-height: 0;
}

.single-post .post-image .image-placeholder {
    padding-bottom: 0 !important;
    height: 520px !important;
    display: block !important;
    position: relative !important;
    background-color: #0e3325 !important;
}

.single-post .post-image .image-placeholder img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Gradient overlay – bottom of hero */
.single-post .post-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(14, 51, 37, 0.65));
    pointer-events: none;
    z-index: 1;
}

/* ── Trust bar – sits above H1 ───────────────────────────── */
.single-post .post--column::before {
    content: "★★★★★  4.9 / 5  ·  Expert Local Guides  ·  Trusted by Food Lovers Worldwide";
    display: block;
    background: #0e3325;
    color: #c49959;
    text-align: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    padding: 13px 20px;
    text-transform: uppercase;
}

/* ── Entry header (title wrapper) ────────────────────────── */
.single-post .entry-header {
    max-width: 820px;
    margin: 0 auto;
    padding: 44px 28px 0;
}

/* ── H1 post title ───────────────────────────────────────── */
.single-post .post-title.entry-title,
.single-post h1.entry-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 3.1rem;
    font-weight: 900;
    color: #0e3325;
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.5px;
}

/* ── Post meta (date / category row) ────────────────────── */
.single-post .post-meta-only {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 28px 28px;
    border-bottom: 1px solid #e5dfd6;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.single-post .post-meta {
    color: #7a7069;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.82rem;
}

.single-post .post-meta a {
    color: #c49959;
    text-decoration: none;
    font-weight: 600;
}

.single-post .post-meta a:hover {
    text-decoration: underline;
}

/* ── Content wrapper ─────────────────────────────────────── */
.post-content.post-formatting,
.single-post .post-content {
    max-width: 820px;
    margin: 0 auto;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.18rem;
    line-height: 1.9;
    color: #2c2c2c;
    padding: 40px 28px 64px;
}

/* ── H2 section headings ─────────────────────────────────── */
.post-content.post-formatting h2,
.single-post .post-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.95rem;
    font-weight: 700;
    color: #0e3325;
    margin: 64px 0 22px;
    line-height: 1.2;
    padding-bottom: 14px;
    border-bottom: 2px solid #c49959;
    letter-spacing: -0.2px;
}

/* ── H3 item headings ────────────────────────────────────── */
.post-content.post-formatting h3,
.single-post .post-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0e3325;
    margin: 36px 0 12px;
    padding-left: 16px;
    border-left: 3px solid #c49959;
    line-height: 1.3;
}

/* ── Paragraphs ──────────────────────────────────────────── */
.post-content.post-formatting p,
.single-post .post-content p {
    margin-bottom: 24px;
    color: #2c2c2c;
    font-size: 1.18rem;
    line-height: 1.9;
}

/* ── Unordered lists ─────────────────────────────────────── */
.post-content.post-formatting ul,
.single-post .post-content ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 32px;
}

.post-content.post-formatting ul li,
.single-post .post-content ul li {
    position: relative;
    padding: 15px 18px 15px 52px;
    margin-bottom: 10px;
    background: #f8f5f0;
    border-radius: 8px;
    border-left: 3px solid #c49959;
    line-height: 1.7;
    color: #2c2c2c;
    font-size: 1.12rem;
    transition: background 0.15s ease;
}

.post-content.post-formatting ul li:hover,
.single-post .post-content ul li:hover {
    background: #f0e9db;
}

.post-content.post-formatting ul li::before,
.single-post .post-content ul li::before {
    content: "✓";
    position: absolute;
    left: 17px;
    top: 14px;
    color: #c49959;
    font-weight: 900;
    font-size: 0.92rem;
}

/* ── Blockquote / pull quotes ────────────────────────────── */
.post-content.post-formatting blockquote,
.single-post .post-content blockquote {
    border-left: 4px solid #c49959;
    margin: 32px 0;
    padding: 20px 28px;
    background: #f8f5f0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4a4a4a;
    font-size: 1.12rem;
}

/* ── Viator CTA block ────────────────────────────────────── */
.viator-cta {
    background: #0e3325 !important;
    border-radius: 20px !important;
    padding: 60px 52px !important;
    margin: 64px 0 !important;
    text-align: center !important;
    box-shadow: 0 20px 60px rgba(14, 51, 37, 0.28) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Decorative circles */
.viator-cta::before {
    content: '' !important;
    position: absolute !important;
    top: -60px !important;
    right: -60px !important;
    width: 240px !important;
    height: 240px !important;
    background: rgba(196, 153, 89, 0.1) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}

.viator-cta::after {
    content: '' !important;
    position: absolute !important;
    bottom: -40px !important;
    left: -40px !important;
    width: 160px !important;
    height: 160px !important;
    background: rgba(196, 153, 89, 0.07) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}

.viator-cta h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 2.1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    border: none !important;
    padding: 0 !important;
    letter-spacing: -0.3px !important;
    position: relative !important;
    z-index: 1 !important;
}

.viator-cta p {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 1.04rem !important;
    color: rgba(255, 255, 255, 0.78) !important;
    max-width: 500px !important;
    margin: 0 auto 36px !important;
    line-height: 1.72 !important;
    position: relative !important;
    z-index: 1 !important;
}

.viator-cta a {
    display: inline-block !important;
    background: #c49959 !important;
    color: #0e3325 !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-weight: 700 !important;
    padding: 18px 52px !important;
    border-radius: 50px !important;
    font-size: 0.98rem !important;
    text-decoration: none !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    box-shadow: 0 6px 24px rgba(196, 153, 89, 0.5) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
    position: relative !important;
    z-index: 1 !important;
}

.viator-cta a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 36px rgba(196, 153, 89, 0.7) !important;
    color: #0e3325 !important;
    background: #d4a86a !important;
}

/* ── Archive / blog listing cards ────────────────────────── */
.posts-list article,
.blog-posts article {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border-radius: 12px;
    overflow: hidden;
}

.posts-list article:hover,
.blog-posts article:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 52px rgba(14, 51, 37, 0.14);
}

/* ── Nav dropdown styling (HFE Elementor header) ────────── */
.hfe-nav-menu .sub-menu {
    background: #fff !important;
    border: 1px solid #e5dfd6 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 40px rgba(14, 51, 37, 0.18) !important;
    padding: 8px 0 !important;
    min-width: 200px !important;
}

.hfe-nav-menu .sub-menu li {
    border-bottom: none !important;
}

/* ── FIX: hide the sub-arrow toggle that creates the vertical line ── */
.hfe-nav-menu .sub-menu .hfe-menu-toggle.sub-arrow,
.hfe-nav-menu .sub-menu .hfe-has-submenu-container .hfe-menu-toggle {
    display: none !important;
}

/* Remove any border on the submenu container itself */
.hfe-nav-menu .sub-menu .hfe-has-submenu-container {
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Country/city link text */
.hfe-nav-menu .sub-menu li a,
.hfe-nav-menu .sub-menu li a.hfe-sub-menu-item,
.hfe-nav-menu .sub-menu .hfe-has-submenu-container a {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 0.9rem !important;
    color: #2c2c2c !important;
    padding: 10px 20px !important;
    display: block !important;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    transition: background 0.15s, color 0.15s !important;
    width: 100% !important;
}

.hfe-nav-menu .sub-menu li a:hover,
.hfe-nav-menu .sub-menu .hfe-has-submenu-container:hover a {
    background: #f8f5f0 !important;
    color: #0e3325 !important;
}

/* Country → cities submenu (flyout) */
.hfe-nav-menu .sub-menu .sub-menu {
    margin-left: 2px !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 30px rgba(14, 51, 37, 0.15) !important;
}

/* Show › arrow via CSS on country items that have children */
.hfe-nav-menu .sub-menu .menu-item-has-children .hfe-has-submenu-container a::after {
    content: ' ›' !important;
    opacity: 0.45 !important;
    float: right !important;
    margin-left: 8px !important;
}

/* Mobile 768px ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .single-post .post-image .image-placeholder {
        height: 280px !important;
    }

    .single-post .entry-header {
        padding: 32px 18px 0;
    }

    .single-post .post-meta-only {
        padding: 0 18px 22px;
    }

    .single-post .post-title.entry-title,
    .single-post h1.entry-title {
        font-size: 2.1rem;
    }

    .post-content.post-formatting,
    .single-post .post-content {
        padding: 32px 18px 48px;
        font-size: 1.08rem;
    }

    .post-content.post-formatting h2,
    .single-post .post-content h2 {
        font-size: 1.55rem;
        margin-top: 48px;
    }

    .post-content.post-formatting h3,
    .single-post .post-content h3 {
        font-size: 1.2rem;
    }

    .viator-cta {
        padding: 40px 24px !important;
    }

    .viator-cta h3 {
        font-size: 1.6rem !important;
    }

    .viator-cta a {
        padding: 16px 36px !important;
        font-size: 0.95rem !important;
    }
}

/* Mobile 480px ─────────────────────────────────────────── */
@media (max-width: 480px) {
    .single-post .post-image .image-placeholder {
        height: 220px !important;
    }

    .single-post .post-title.entry-title,
    .single-post h1.entry-title {
        font-size: 1.7rem;
    }

    .single-post .post--column::before {
        font-size: 0.65rem;
        letter-spacing: 0.8px;
    }
}

/* ── Internal Links Section ─────────────────────────────── */
.ftt-internal-links {
    background: #f0ebe3 !important;
    border: 2px solid #c49959 !important;
    border-radius: 12px !important;
    padding: 28px 32px !important;
    margin: 48px 0 32px !important;
    font-family: 'Inter', system-ui, sans-serif !important;
}

.ftt-links-heading {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #0e3325 !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.ftt-links-intro {
    font-size: 0.9rem !important;
    color: #555 !important;
    margin: 16px 0 8px !important;
    padding: 0 !important;
}

.ftt-links-intro strong {
    color: #0e3325 !important;
    font-weight: 700 !important;
}

.ftt-links-list {
    list-style: none !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.ftt-links-list li {
    margin: 0 !important;
    padding: 0 !important;
}

.ftt-links-list a {
    display: inline-block !important;
    background: #0e3325 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    transition: background 0.2s, color 0.2s !important;
}

.ftt-links-list a:hover {
    background: #c49959 !important;
    color: #0e3325 !important;
}

.ftt-links-country {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 400 !important;
    font-size: 0.8rem !important;
}

.ftt-links-list a:hover .ftt-links-country {
    color: rgba(14,51,37,0.6) !important;
}

@media (max-width: 480px) {
    .ftt-internal-links { padding: 20px 18px !important; }
    .ftt-links-list { gap: 6px !important; }
    .ftt-links-list a { font-size: 0.8rem !important; padding: 5px 12px !important; }
}

/* ── Center nav menu absolutely on the full header width ─── */
.elementor-element-f696ab1 {
    position: relative !important;
}
.elementor-element-a90f97f {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    flex: unset !important;
}
.elementor-element-a90f97f .hfe-nav-menu__layout-horizontal,
.elementor-element-a90f97f .hfe-nav-menu {
    justify-content: center !important;
}

/* ── Center nav in Kalium header (single posts) ──────────── */
.site-header .header-block__row--main {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}
.site-header .header-block__column.header-block__logo {
    flex-shrink: 0 !important;
}
.site-header .header-block__column.header-block--content-right {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    position: static !important;
    transform: none !important;
    text-align: center !important;
}
.site-header .header-block__items-row,
.site-header .standard-menu-container,
.site-header nav.nav-container-main-menu {
    display: flex !important;
    justify-content: center !important;
}
.site-header ul.menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
}
.site-header ul.menu > li {
    flex-shrink: 0 !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
}
