/*
Theme Name: Africaning
Template: hello-elementor
Description: Africaning child theme for Hello Elementor (v2: warm editorial travel design).
Version: 2.1.1
Text Domain: africaning
*/

:root {
  --af-bg: #ffffff;
  --af-card: #ffffff;
  --af-sand: #f3ebdf;
  --af-ink: #1d2a23;
  --af-text: #3c4a42;
  --af-muted: #6b766f;
  --af-line: #e7ddcf;
  --af-green: #1f5a43;
  --af-green-2: #16402f;
  --af-gold: #e7a93b;
  --af-sun: #c8602f;
  --af-serif: "DM Serif Display", Georgia, serif;
  --af-sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --af-wrap: 1240px;
  --af-r: 16px;
  --af-r-sm: 10px;
  --af-shadow: 0 1px 2px rgba(29,42,35,.06), 0 8px 24px rgba(29,42,35,.07);
}

/* Base */
body { margin: 0; background: var(--af-bg); color: var(--af-text); font: 400 18px/1.75 var(--af-sans); -webkit-font-smoothing: antialiased; }
a { color: var(--af-green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--af-sun); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--af-serif); font-weight: 400; color: var(--af-ink); line-height: 1.18; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--af-gold); outline-offset: 2px; }
.af-wrap { max-width: var(--af-wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.af-skip { position: absolute; left: -9999px; }
.af-skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--af-ink); color: #fff; padding: 8px 14px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* Buttons + pills */
.af-btn, .af-cta, .elementor-widget-button.af-btn-w .elementor-button {
  display: inline-block; background: var(--af-sun); color: #fff !important; font: 700 16px/1 var(--af-sans); padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 0; transition: background .2s;
}
.af-btn:hover, .af-cta:hover, .elementor-widget-button.af-btn-w .elementor-button:hover { background: #a94d24; color: #fff; }
.af-btn-ghost .elementor-button { background: rgba(255,255,255,.14) !important; box-shadow: inset 0 0 0 2px #fff; }
.af-btn-green .elementor-button { background: var(--af-green) !important; }
.af-pill { display: inline-block; background: var(--af-gold); color: var(--af-ink); font: 700 13px/1 var(--af-sans); padding: 7px 12px; border-radius: 999px; text-decoration: none; }
.af-pill-static { margin-bottom: 14px; }
.af-pill-static:hover { color: var(--af-ink); background: #f0bb5b; }

/* Logo */
.af-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--af-ink); }
.af-logo span { font: 400 28px/1 var(--af-serif); color: var(--af-ink); }
.af-logo:hover span { color: var(--af-green); }

/* Header + mega menu */
.af-header { background: rgba(251,247,241,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--af-line); position: sticky; top: 0; z-index: 60; }
.admin-bar .af-header { top: 32px; }
.af-header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.af-nav { flex: 1; }
.af-menu-list { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.af-menu-list > li { position: relative; }
.af-menu-list > li > a { display: block; font: 600 16px/1 var(--af-sans); color: var(--af-ink); text-decoration: none; padding: 12px 14px; border-radius: 999px; }
.af-menu-list > li > a:hover, .af-menu-list > li:focus-within > a { background: var(--af-sand); color: var(--af-ink); }
.af-menu-list > li.menu-item-has-children > a::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.af-menu-list .sub-menu { list-style: none; margin: 0; padding: 14px; position: absolute; left: 0; top: 100%; background: #fff; border-radius: var(--af-r); box-shadow: var(--af-shadow); min-width: 250px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.af-menu-list > li:hover > .sub-menu, .af-menu-list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.af-menu-list .sub-menu a { display: block; font: 500 15px/1.3 var(--af-sans); color: var(--af-text); text-decoration: none; padding: 8px 10px; border-radius: var(--af-r-sm); }
.af-menu-list .sub-menu a:hover { background: var(--af-bg); color: var(--af-green); }
.af-menu-list > li.af-mega > .sub-menu { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 6px 18px; min-width: 760px; padding: 22px; }
.af-menu-list > li.af-mega > .sub-menu > li > a { font: 700 13px/1.2 var(--af-sans); color: var(--af-sun); letter-spacing: .02em; }
.af-menu-list > li.af-mega > .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; min-width: 0; background: transparent; }
.af-header-tools { display: flex; align-items: center; gap: 12px; }
.af-search input, .af-mobile-panel input { font: 500 15px/1 var(--af-sans); border: 1px solid var(--af-line); border-radius: 999px; padding: 11px 16px; width: 180px; background: #fff; color: var(--af-ink); }
.af-cta { padding: 12px 20px; font-size: 15px; }
.af-mobile { display: none; margin-left: auto; }
.af-mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: center; border-radius: 50%; background: var(--af-sand); }
.af-mobile summary::-webkit-details-marker { display: none; }
.af-mobile summary span { display: block; width: 20px; height: 2px; background: var(--af-ink); }
.af-mobile-panel { position: absolute; left: 0; right: 0; top: 76px; background: var(--af-bg); border-bottom: 1px solid var(--af-line); padding: 16px 24px 28px; max-height: 80vh; overflow: auto; }
.af-mobile-panel input { width: 100%; box-sizing: border-box; margin-bottom: 14px; }
.af-mobile-list, .af-mobile-list ul { list-style: none; margin: 0; padding: 0; }
.af-mobile-list > li > a { display: block; font: 700 19px/1 var(--af-sans); color: var(--af-ink); text-decoration: none; padding: 14px 0 8px; }
.af-mobile-list ul { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--af-line); }
.af-mobile-list ul a { display: inline-block; font: 500 15px/1 var(--af-sans); color: var(--af-text); background: #fff; padding: 9px 12px; border-radius: 999px; text-decoration: none; }
@media (max-width: 1080px) { .af-nav, .af-header-tools { display: none; } .af-mobile { display: block; } }
@media (max-width: 782px) { .admin-bar .af-header { top: 46px; } }

/* Crumbs + byline */
.af-crumbs { font: 500 14px/1.4 var(--af-sans); color: var(--af-muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.af-crumbs a { color: var(--af-muted); text-decoration: none; }
.af-crumbs a:hover { color: var(--af-green); }
.af-avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; background: var(--af-green); color: var(--af-gold); font-family: var(--af-serif); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--af-line); }
.af-byline { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.4; }
.af-byline p { margin: 0; }
.af-byline a { color: var(--af-ink); font-weight: 700; text-decoration: none; }
.af-byline-meta { color: var(--af-muted); display: flex; gap: 16px; flex-wrap: wrap; }

/* Single post */
.af-single { padding-bottom: 20px; }
.af-post-head { max-width: 860px; padding-top: 40px; }
.af-post-head h1 { font-size: clamp(36px, 4.6vw, 56px); margin: 0 0 22px; }
.af-feature { margin: 30px 0 34px; }
.af-feature img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--af-r); display: block; }
.af-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
@media (max-width: 1000px) { .af-layout { grid-template-columns: 1fr; } }
.af-prose { max-width: 760px; min-width: 0; }
.af-prose > * { margin-top: 0; margin-bottom: 1.15em; }
.af-prose h2 { font-size: clamp(28px, 3vw, 36px); margin: 1.8em 0 0.55em; scroll-margin-top: 100px; }
.af-prose h3 { font-size: 25px; margin: 1.5em 0 0.45em; scroll-margin-top: 100px; }
.af-prose h4 { font: 700 19px/1.3 var(--af-sans); color: var(--af-ink); margin: 1.4em 0 0.4em; }
.af-prose ul, .af-prose ol { padding-left: 1.3em; }
.af-prose li { margin-bottom: 0.45em; }
.af-prose li::marker { color: var(--af-sun); }
.af-prose img { border-radius: var(--af-r-sm); display: block; }
.af-prose figure, .af-prose .wp-caption { max-width: 100% !important; margin: 1.8em 0; }
.af-prose figcaption, .af-prose .wp-caption-text, .af-prose .wp-element-caption { font-size: 14px; color: var(--af-muted); margin-top: 8px; text-align: center; }
.af-prose blockquote { background: var(--af-sand); border-left: 4px solid var(--af-gold); margin: 1.6em 0; padding: 16px 20px; border-radius: 0 var(--af-r-sm) var(--af-r-sm) 0; }
.af-prose table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: var(--af-r-sm); overflow: hidden; box-shadow: var(--af-shadow); }
.af-prose th, .af-prose td { border-bottom: 1px solid var(--af-line); padding: 11px 14px; text-align: left; vertical-align: top; }
.af-prose th { background: var(--af-green); color: #fff; font-weight: 700; }
.af-prose strong { color: var(--af-ink); }
.af-disclosure { font-size: 14px; color: var(--af-muted); font-style: italic; border-bottom: 1px solid var(--af-line); padding-bottom: 14px; }

/* TOC */
.af-toc, .af-prose .table-of-contents, .af-prose .toc { background: #fff; border-radius: var(--af-r); box-shadow: var(--af-shadow); padding: 20px 24px; font-size: 16px; }
.af-toc summary { font: 400 22px/1.2 var(--af-serif); color: var(--af-ink); cursor: pointer; }
.af-toc ol { margin: 12px 0 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
@media (max-width: 700px) { .af-toc ol { columns: 1; } }
.af-toc a, .af-prose .table-of-contents a, .af-prose .toc a { color: var(--af-ink); text-decoration: none; }
.af-toc a:hover, .af-prose .table-of-contents a:hover { color: var(--af-sun); text-decoration: underline; }
.af-prose .table-of-contents h2, .af-prose .table-of-contents h3, .af-prose .toc h2 { margin-top: 0; font-size: 22px; }
.af-prose .featured-snippet, .af-prose [style*="border-left"] { background: #fff !important; border-left: 5px solid var(--af-gold) !important; border-radius: 0 var(--af-r) var(--af-r) 0; box-shadow: var(--af-shadow); padding: 20px 24px !important; }

/* Guide components */
.af-quick { background: #fff; border-radius: var(--af-r); box-shadow: var(--af-shadow); padding: 22px 26px; border-top: 5px solid var(--af-gold); }
.af-quick .qh { font: 400 23px/1.2 var(--af-serif); color: var(--af-ink); margin: 0 0 8px; }
.af-tw { overflow-x: auto; }
.af-glance { min-width: 520px; }
.af-info { list-style: none; padding: 0 !important; margin: 0 0 1.4em; background: #fff; border-radius: var(--af-r-sm); box-shadow: var(--af-shadow); font-size: 16px; }
.af-info li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--af-line); margin: 0 !important; }
.af-info li:last-child { border-bottom: 0; }
.af-info b { color: var(--af-ink); }
.af-tip { background: #fff6e3; border-left: 5px solid var(--af-gold); padding: 16px 20px; border-radius: 0 var(--af-r-sm) var(--af-r-sm) 0; font-size: 17px; }
.af-book { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--af-green); color: #e9f1ec; border-radius: var(--af-r); padding: 20px 24px; }
.af-book p { margin: 0; font-size: 16px; line-height: 1.5; }
.af-book p b { display: block; font: 400 22px/1.2 var(--af-serif); color: #fff; margin-bottom: 4px; }
.af-book a { flex: none; background: var(--af-gold); color: var(--af-ink); padding: 13px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 15px; }
.af-book a:hover { background: #f3bf5f; color: var(--af-ink); }
@media (max-width: 600px) { .af-book { flex-direction: column; align-items: flex-start; } .af-info li { grid-template-columns: 1fr; gap: 2px; } }
.af-faq details { background: #fff; border-radius: var(--af-r-sm); box-shadow: var(--af-shadow); padding: 14px 18px; margin-bottom: 10px; }
.af-faq summary { font-weight: 700; color: var(--af-ink); cursor: pointer; }
.af-faq details p { margin: 10px 0 0; }
.af-sources { background: var(--af-sand); border-radius: var(--af-r); padding: 18px 22px; font-size: 15px; }

/* Author box */
.af-author-box { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--af-r); box-shadow: var(--af-shadow); padding: 24px; margin: 44px 0 24px; font-size: 16px; line-height: 1.6; }
.af-author-box p { margin: 0 0 8px; }
.af-author-name { font: 400 22px/1.2 var(--af-serif); color: var(--af-ink); }

/* Sidebar */
.af-sidebar { display: flex; flex-direction: column; gap: 22px; font-size: 16px; line-height: 1.55; }
.af-side-card { background: #fff; border-radius: var(--af-r); box-shadow: var(--af-shadow); padding: 22px; }
.af-side-author { text-align: center; }
.af-side-author .af-avatar { margin: 0 auto 10px; }
.af-side-name { font: 400 24px/1.2 var(--af-serif); color: var(--af-ink); margin: 0; }
.af-side-role { color: var(--af-muted); font-size: 14px; margin: 2px 0 10px; }
.af-side-author p { margin-bottom: 10px; }
.af-side-author a { font-weight: 700; }
.af-side-title { font: 400 22px/1.2 var(--af-serif); color: var(--af-ink); margin: 0 0 14px; }
.af-side-plan { background: var(--af-green); }
.af-side-plan .af-side-title { color: #fff; }
.af-side-btn { display: block; text-align: center; background: var(--af-gold); color: var(--af-ink); font-weight: 700; text-decoration: none; padding: 13px; border-radius: 999px; margin-bottom: 10px; }
.af-side-btn-alt { background: #fff; }
.af-side-btn:hover { color: var(--af-ink); filter: brightness(1.05); }
.af-side-note { color: #cfe0d6; font-size: 13px; margin: 4px 0 0; }
.af-side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.af-side-list a { display: inline-block; background: var(--af-bg); color: var(--af-ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.af-side-list a:hover { background: var(--af-green); color: #fff; }
.af-side-posts { list-style: none; margin: 0; padding: 0; }
.af-side-posts li { margin-bottom: 12px; }
.af-side-posts a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--af-ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
.af-side-posts img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--af-r-sm); flex: none; }
.af-side-posts a:hover span { color: var(--af-sun); }
.af-side-sticky { position: sticky; top: 110px; }
.af-bigsearch { display: flex; gap: 8px; }
.af-bigsearch input { flex: 1; min-width: 0; font: 500 16px/1 var(--af-sans); border: 1px solid var(--af-line); border-radius: 999px; padding: 13px 18px; background: #fff; }
.af-bigsearch button { font: 700 15px/1 var(--af-sans); background: var(--af-green); color: #fff; border: 0; border-radius: 999px; padding: 0 18px; cursor: pointer; }

/* Cards + grids */
.af-grid { display: grid; gap: 28px; }
.af-cols-3 { grid-template-columns: repeat(3, 1fr); }
.af-cols-4 { grid-template-columns: repeat(4, 1fr); }
.af-cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .af-cols-3, .af-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .af-cols-3, .af-cols-4, .af-cols-2 { grid-template-columns: 1fr; } }
.af-card { background: var(--af-card); border-radius: var(--af-r); box-shadow: var(--af-shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.af-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(29,42,35,.08), 0 16px 36px rgba(29,42,35,.12); }
.af-card-link { text-decoration: none; color: var(--af-ink); display: flex; flex-direction: column; height: 100%; }
.af-card-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--af-sand); }
.af-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.af-card-img .af-pill { position: absolute; left: 14px; top: 14px; }
.af-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.af-card h3 { font-size: 22px; margin: 0 0 8px; line-height: 1.22; }
.af-card p { font-size: 15px; color: var(--af-text); margin: 0 0 12px; line-height: 1.55; }
.af-card-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--af-sun); }
.af-related { background: var(--af-sand); padding: 60px 0 70px; margin-top: 40px; }
.af-related h2 { font-size: 36px; margin: 0 0 28px; }

/* Archives */
.af-arch-head { background: var(--af-green); padding: 56px 0 52px; margin-bottom: 48px; color: #e3eee8; }
.af-arch-head h1 { font-size: clamp(38px, 5vw, 60px); margin: 0 0 14px; color: #fff; }
.af-arch-head .af-crumbs a, .af-arch-head .af-crumbs { color: #bcd3c6; }
.af-arch-desc { max-width: 700px; }
.af-arch-desc p { margin: 0 0 14px; }
.af-arch-body { margin-bottom: 70px; }
.af-empty { margin-bottom: 60px; }
.nav-links { display: flex; gap: 10px; margin: 40px 0 0; }
.nav-links .page-numbers { padding: 9px 15px; background: #fff; border-radius: 999px; text-decoration: none; color: var(--af-ink); box-shadow: var(--af-shadow); }
.nav-links .current { background: var(--af-green); color: #fff; }

/* Plain pages */
.page-content { max-width: 780px; margin: 0 auto; padding: 0 24px 60px; }
.page-header .entry-title { max-width: 780px; margin: 48px auto 20px; padding: 0 24px; font-size: clamp(36px, 5vw, 54px); }

/* Footer */
.af-footer { background: var(--af-green-2); color: #cfe0d6; font-size: 15px; line-height: 1.6; padding: 64px 0 26px; }
.af-footer .af-logo span { color: #fff; }
.af-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.af-footer-brand p { max-width: 360px; margin-top: 16px; }
.af-footer h2 { font: 400 21px/1.2 var(--af-serif); color: #fff; margin: 4px 0 14px; }
.af-footer ul { list-style: none; margin: 0; padding: 0; }
.af-footer li { margin-bottom: 8px; }
.af-footer a { color: #cfe0d6; text-decoration: none; }
.af-footer a:hover { color: var(--af-gold); }
.af-footer-base { border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 20px; font-size: 14px; color: #9fbcac; }
.af-footer-base p { margin: 0; }
@media (max-width: 860px) { .af-footer-grid { grid-template-columns: 1fr 1fr; } .af-footer-brand { grid-column: 1 / -1; } }

/* ---------- Elementor pages ---------- */
body[class*="elementor-kit-"] {
  --e-global-color-primary: #1d2a23; --e-global-color-secondary: #1d2a23; --e-global-color-text: #3c4a42; --e-global-color-accent: #c8602f;
  --e-global-typography-primary-font-family: "DM Serif Display"; --e-global-typography-primary-font-weight: 400;
  --e-global-typography-secondary-font-family: "DM Serif Display"; --e-global-typography-secondary-font-weight: 400;
  --e-global-typography-text-font-family: "DM Sans"; --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: "DM Sans"; --e-global-typography-accent-font-weight: 700;
}
body .elementor-widget-heading .elementor-heading-title { font-family: var(--af-serif); font-weight: 400; color: var(--af-ink); line-height: 1.15; }
body .elementor-widget-heading .elementor-heading-title a { color: inherit; text-decoration: none; }
body .elementor-widget-text-editor { font-family: var(--af-sans); font-size: 18px; line-height: 1.7; color: var(--af-text); }
body .elementor-widget-button .elementor-button { font-family: var(--af-sans); }
.af-center, .af-center .elementor-heading-title, .af-center p { text-align: center; margin-left: auto; margin-right: auto; }
.af-sec-title .elementor-heading-title { font-size: clamp(32px, 4vw, 46px); }
.af-kick p { font: 700 15px/1 var(--af-sans); color: var(--af-sun); margin: 0; }
.af-intro p { max-width: 720px; }

/* Hero: rounded inset photo card */
.e-con.af-hero, .e-con.af-hero-sm { position: relative; isolation: isolate; border-radius: 22px; overflow: hidden; }
.e-con.af-hero::after, .e-con.af-hero-sm::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(16,24,19,.25) 0%, rgba(16,24,19,.35) 45%, rgba(16,24,19,.75) 100%); }
.af-hero h1.elementor-heading-title { font-size: clamp(42px, 6vw, 78px); color: #fff; line-height: 1.05; }
.af-hero-sm h1.elementor-heading-title { font-size: clamp(40px, 5.4vw, 68px); color: #fff; line-height: 1.05; }
.af-hero .elementor-widget-text-editor, .af-hero p, .af-hero-sm .elementor-widget-text-editor, .af-hero-sm p { color: #f6f1e8; font-size: 20px; }
.af-hero .af-bigsearch { max-width: 560px; margin: 0 auto; }
.af-hero .af-bigsearch input { padding: 17px 22px; font-size: 17px; border: 0; }
.af-hero .af-bigsearch button { background: var(--af-sun); padding: 0 24px; font-size: 16px; }
.af-crumb-w p { font: 600 14px/1.4 var(--af-sans); margin: 0; color: #f6f1e8; }
.af-crumb-w a { color: #f6f1e8; text-decoration: none; }

/* Feature cards built in Elementor */
.af-ecard, .af-dcard { background: #fff; border-radius: var(--af-r); box-shadow: var(--af-shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.af-ecard:hover, .af-dcard:hover { transform: translateY(-3px); }
.af-ecard .elementor-widget-image img, .af-dcard .elementor-widget-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 0; display: block; }
.af-ecard > .elementor-element:not(.elementor-widget-image), .af-dcard > .elementor-element:not(.elementor-widget-image) { padding-left: 20px; padding-right: 20px; }
.af-ecard > .elementor-element:last-child, .af-dcard > .elementor-element:last-child { padding-bottom: 20px; }
.af-ecard .elementor-heading-title, .af-dcard .elementor-heading-title { font-size: 23px; }
.af-place p { font: 700 13px/1 var(--af-sans); color: var(--af-sun); margin: 0; }
.af-dcard p { font-size: 16px; margin: 0; }

/* Destination tiles */
.af-tile { border-radius: var(--af-r); overflow: hidden; position: relative; isolation: isolate; min-height: 260px; }
.af-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.7) 100%); }
.af-tile .elementor-heading-title { color: #fff !important; font-size: 28px; }
.af-tile p { color: #f1ebe0; font-size: 15px; margin: 0; }
.af-band { border-radius: 26px; }
.af-band .elementor-heading-title { color: #fff; }
.af-band .elementor-widget-text-editor, .af-band p { color: #d5e5db; }

/* Promise / steps / about */
.af-promise .elementor-heading-title { font-size: 24px; }
.af-promise .elementor-widget-text-editor { font-size: 16px; }
.af-promise > .e-con, .af-step { background: #fff; border-radius: var(--af-r); box-shadow: var(--af-shadow); }
.af-num p { font: 400 40px/1 var(--af-serif); color: var(--af-gold); margin: 0; }
.af-about-card { background: #fff; border-radius: 22px; box-shadow: var(--af-shadow); }
.af-monogram .af-avatar { width: 120px !important; height: 120px !important; font-size: 42px !important; }

/* Link lists on pillar pages */
.af-links ul { list-style: none; margin: 0; padding: 0; }
.af-links li { border-bottom: 1px solid var(--af-line); }
.af-links a { display: block; padding: 12px 0; color: var(--af-ink); font-weight: 600; text-decoration: none; }
.af-links a:hover { color: var(--af-sun); }

/* Country pages */
.af-facts ul { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: var(--af-r); box-shadow: var(--af-shadow); font-size: 16px; }
.af-facts li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--af-line); }
.af-facts li:last-child { border-bottom: 0; }
.af-facts b { color: var(--af-ink); }
.af-text p, .af-text li { font-size: 18px; }
.af-book-e { background: var(--af-green); border-radius: var(--af-r); }
.af-book-e .elementor-heading-title { color: #fff; }
.af-book-e .elementor-widget-text-editor, .af-book-e p { color: #d5e5db; }
.af-region-h .elementor-heading-title { font-size: clamp(32px, 4vw, 46px); }
.af-chips p { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.af-chips a { font: 700 15px/1 var(--af-sans); color: var(--af-ink); background: #fff; padding: 12px 16px; border-radius: 999px; text-decoration: none; box-shadow: var(--af-shadow); }
.af-chips a:hover { background: var(--af-green); color: #fff; }
.af-region { background: #fff; border-radius: var(--af-r); box-shadow: var(--af-shadow); }
.af-region .elementor-heading-title { font-size: clamp(28px, 3vw, 38px); }
.af-region .af-chips a { background: var(--af-bg); box-shadow: none; }
@media (max-width: 600px) { .af-facts li { grid-template-columns: 1fr; gap: 2px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* 2.0.1: stronger rules than Elementor defaults */
body .e-con.af-ecard, body .e-con.af-dcard, body .e-con.af-tile, body .e-con.af-band, body .e-con.af-about-card, body .e-con.af-step, body .e-con.af-region, body .e-con.af-book-e { border-radius: 16px; overflow: hidden; }
body .e-con.af-band, body .e-con.af-about-card { border-radius: 26px; }
body .e-con.af-ecard, body .e-con.af-dcard { --padding-top: 0px; --padding-right: 0px; --padding-left: 0px; --padding-bottom: 0px; padding: 0 !important; }
body .af-band .elementor-widget-heading .elementor-heading-title, body .af-tile .elementor-widget-heading .elementor-heading-title, body .af-book-e .elementor-widget-heading .elementor-heading-title, body .af-hero .elementor-widget-heading .elementor-heading-title, body .af-hero-sm .elementor-widget-heading .elementor-heading-title { color: #fff; }
body .af-band .elementor-widget-text-editor, body .af-book-e .elementor-widget-text-editor { color: #d5e5db; }
body .af-band .af-kick p { color: var(--af-gold); }
body .af-hero .elementor-widget-text-editor, body .af-hero-sm .elementor-widget-text-editor, body .af-tile .elementor-widget-text-editor { color: #f6f1e8; }
body .af-hero .af-kick p { color: var(--af-gold); }
.af-hero .elementor-widget-text-editor { max-width: 700px; }
.af-hero .elementor-widget-shortcode { width: 100%; max-width: 560px; }
body .e-con > .elementor-widget-image img { border-radius: 16px; }
body .af-ecard > .elementor-widget-image img, body .af-dcard > .elementor-widget-image img { border-radius: 0; }

/* 2.1.0: white background, full-width heroes, sticky tours box */
.af-header { background: rgba(255,255,255,.97); }
.af-menu-list > li > a:hover, .af-menu-list > li:focus-within > a { background: #f4f1ec; }
.af-mobile summary { background: #f4f1ec; }
body .e-con.af-hero, body .e-con.af-hero-sm { border-radius: 0 !important; }
.af-side-sticky { position: static; }
.af-side-plan.af-side-sticky { position: sticky; top: 100px; }
.admin-bar .af-side-plan.af-side-sticky { top: 132px; }
.af-side-list a, .af-region .af-chips a { background: #f4f1ec; }
.af-related { background: #f7f4ee; }
.af-sources { background: #f7f4ee; }
/* Country pillar pages */
.af-jump p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.af-jump a { font: 700 14px/1 var(--af-sans); color: var(--af-ink); background: #f4f1ec; padding: 10px 14px; border-radius: 999px; text-decoration: none; }
.af-jump a:hover { background: var(--af-green); color: #fff; }
.af-rich h3 { font-size: 24px; margin: 1.2em 0 .4em; }
.af-rich p, .af-rich li { font-size: 18px; }
.af-rich table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--af-shadow); margin: 8px 0 18px; }
.af-rich th, .af-rich td { border-bottom: 1px solid var(--af-line); padding: 11px 14px; text-align: left; vertical-align: top; }
.af-rich th { background: var(--af-green); color: #fff; }
.af-rich .af-note { font-size: 15px; color: var(--af-muted); }
.af-place-card { background: #fff; border-radius: 16px; box-shadow: var(--af-shadow); }
.af-place-card .elementor-heading-title { font-size: 23px; }
.af-place-card p { font-size: 16px; margin: 0; }
.af-faqe details { background: #fff; border-radius: 10px; box-shadow: var(--af-shadow); padding: 14px 18px; margin-bottom: 10px; }
.af-faqe summary { font-weight: 700; color: var(--af-ink); cursor: pointer; font-size: 18px; }
.af-faqe details p { margin: 10px 0 0; font-size: 17px; }
@media (max-width: 700px) { .af-rich table { font-size: 14px; } .af-rich th, .af-rich td { padding: 8px; } }

/* 2.1.1: nested lists inherit the parent's hidden state (mega menu only opens on hover/focus) */
.af-menu-list > li.af-mega > .sub-menu .sub-menu { visibility: inherit !important; opacity: 1; transform: none; }
.af-menu-list > li > .sub-menu { pointer-events: none; }
.af-menu-list > li:hover > .sub-menu, .af-menu-list > li:focus-within > .sub-menu { pointer-events: auto; }
