/*
Theme Name: Beko Light
Theme URI: https://bekocapital.com
Description: Lightweight bilingual (EN/FR) theme for Beko Capital Advisory. All texts editable in the Customizer, lists in the admin, optional Elementor pages, BVMAC ticker on every page.
Version: 2.4.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
Author: Beko Capital Advisory
License: GPL-2.0-or-later
Text Domain: beko-light
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
@font-face {
	font-family: "Onest";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("assets/fonts/onest-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Onest";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("assets/fonts/onest-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--dark: #12151b;
	--dark-2: #1b1f27;
	--lime: #d7df27;
	--olive: #b2b91c;
	--navy: #00008b;
	--blue: #032ac2;
	--sky: #6ec1e4;
	--yellow: #fcca06;
	--grey: #ededed;
	--light: #f3f3f3;
	--text: #303030;
	--muted: #7a7a7a;
	--line: rgba(76, 76, 255, .39);
	--font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1300px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 120px);
	--radius: 14px;
	--header-h: 84px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 54px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--dark); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); line-height: 1.15; margin: 0 0 .5em; font-weight: 500; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.icon { width: 1em; height: 1em; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--text { max-width: calc(820px + 2 * var(--gutter)); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; color: var(--navy); padding: 8px 16px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.site-main { display: block; overflow-x: clip; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 12px 28px; border-radius: 999px; border: 1.5px solid transparent; font-size: 15px; font-weight: 500; letter-spacing: .02em; line-height: 1.2; text-align: center; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #0000b8; }
.btn--outline { color: #fff; border-color: #fff; background: transparent; }
.btn--outline:hover { background: #fff; color: var(--dark); }
.btn--yellow { background: var(--yellow); color: var(--dark); font-weight: 600; }
.btn--yellow:hover { background: var(--lime); }
.btn--lime { background: var(--lime); color: var(--dark); font-weight: 600; }
.btn--lime:hover { background: #e4ea5a; color: var(--dark); }
.btn--block { display: flex; width: 100%; }
.btn--royal { background: #23159b; color: #fff; }
.btn--royal:hover { background: #2f1fc4; }
.btn--sm { min-height: 40px; padding: 9px 22px; font-size: 14px; border-radius: 20px; }
.btn .icon { width: 16px; height: 16px; }
.btn.is-loading { opacity: .6; pointer-events: none; }

/* Sections */
.section { padding-block: var(--section); }
.section--dark { background: var(--dark); color: #d1d1d1; }
.section--grey { background: var(--grey); color: var(--text); }
.section--light { background: var(--light); color: var(--text); }
.section--white { background: #fff; color: var(--text); }
.section--paper { background: var(--light-bg, #f0f0f0); color: #333; }
.section--paper .eyebrow { color: #515151; }
.section--paper .title-xl { color: var(--navy); }
.section--paper .muted { color: #666; }
.section--paper .about__statement { color: #555; }
.section--paper .carousel__btn { border-color: rgba(0, 0, 0, .25); color: var(--dark); }

.title-xl { font-size: clamp(32px, 4.2vw, 48px); font-weight: 500; color: #fff; margin-bottom: 24px; }
.section--grey .title-xl, .section--white .title-xl, .section--light .title-xl { color: var(--navy); font-weight: 400; }
.title--olive { color: var(--olive) !important; }
.title-lg { font-size: clamp(28px, 3.5vw, 43px); font-weight: 500; color: #fff; margin: 0 0 20px; }
.title--sky { color: var(--sky); }
.title-md { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; color: #3128c5; margin: 56px 0 24px; }
.eyebrow { display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: #a6a6a6; margin: 0 0 24px; }
.eyebrow span { color: var(--olive); }
.muted { color: #8a8a8a; }
.lead-dark { color: var(--text); max-width: 75ch; }
.crumb { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: #797979; margin-bottom: 18px; }
.crumb__arrow { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #c9c9c9; color: #858585; }

/* Split layout (two columns ~ 635 / 645 on desktop) */
.split { display: grid; gap: 32px 40px; }
.split--intro { margin-bottom: 40px; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--intro { align-items: start; margin-bottom: 56px; }
}

/* Icon list */
.icon-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.icon-list li { display: flex; gap: 10px; align-items: flex-start; }
.icon-list .icon { color: var(--lime); margin-top: .25em; width: 16px; height: 16px; }

.social { display: flex; gap: 10px; }
.social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .2s; }
.social a:hover { background: var(--navy); }
.social .icon { width: 17px; height: 17px; }
.social--dark a { background: var(--navy); }
.social--dark a:hover { background: var(--blue); }

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-top { position: sticky; top: 0; z-index: 50; }
.site-header { background: #fff; transition: box-shadow .2s; }
.site-top.is-scrolled .site-header { box-shadow: 0 2px 18px rgba(0, 0, 0, .12); }
.admin-bar .site-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-top { top: 0; } }
.has-ticker { --ticker-h: 38px; }
@media (max-width: 600px) { .has-ticker { --ticker-h: 34px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-logo img { width: 140px; height: auto; }
@media (min-width: 1024px) { :root { --header-h: 99px; } .site-logo img { width: 159px; } }

.nav-burger { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; background: transparent; color: var(--navy); }
.nav-burger .icon { width: 28px; height: 28px; }
.nav-burger .i-close, .nav-open .nav-burger .i-open { display: none; }
.nav-open .nav-burger .i-close { display: block; }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list a, .nav__toggle { display: flex; align-items: center; gap: 6px; padding: 12px 0; font-size: 17px; color: #000; background: none; border: 0; width: 100%; text-align: left; }
.home .nav__list > li > a, .home .nav__list > li > .nav__toggle { color: var(--navy); }
.nav__list a:hover, .nav__toggle:hover { color: var(--navy); text-decoration: none; }
.nav__list .current-menu-item > a, .nav__list .current-menu-item > .nav__toggle, .nav__list .current-menu-ancestor > a { color: var(--navy); font-weight: 600; }
.nav__list li { list-style: none; }
.nav__list .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.nav__toggle .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu { list-style: none; margin: 0; padding: 0 0 8px 16px; display: none; }
.nav__toggle[aria-expanded="true"] + .sub-menu, .menu-item-has-children.is-open > .sub-menu { display: block; }
.sub-menu a { font-size: 15px; padding: 8px 0; }

@media (max-width: 1023px) {
	.nav { position: fixed; inset: calc(var(--header-h) + var(--ticker-h, 0px)) 0 0; background: #fff; padding: 12px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; }
	.admin-bar .nav { top: calc(var(--header-h) + var(--ticker-h, 0px) + 46px); }
	.nav-open .nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav__list > li { border-bottom: 1px solid #eee; }
}
/* Language switcher */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid #d6d6e8; border-radius: 999px; padding: 2px; font-size: 13px; font-weight: 600; }
.lang-switch a { padding: 5px 10px; border-radius: 999px; color: var(--navy); line-height: 1; }
.lang-switch a:hover { text-decoration: none; background: #eef0fb; }
.lang-switch a.is-active { background: var(--navy); color: #fff; }
.site-header__tools { display: flex; align-items: center; gap: 6px; }
.nav__end { display: flex; align-items: center; gap: 14px; }
.lang-switch--footer { border-color: rgba(255, 255, 255, .2); }
.lang-switch--footer a { color: #fff; }
.lang-switch--footer a:hover { background: rgba(255, 255, 255, .1); }
.lang-switch--footer a.is-active { background: var(--lime); color: var(--dark); }
@media (max-width: 1023px) { .lang-switch--desktop { display: none; } .nav__end { margin-top: 24px; } .nav__end .nav__cta { flex: 1; } }
@media (min-width: 1024px) {
	.site-header__tools { display: none; }
	.nav-burger { display: none; }
	.nav { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 24px; }
	.nav__list { display: flex; gap: clamp(14px, 2vw, 34px); margin-inline: auto; }
	.nav__list > li { position: relative; }
	.nav__list a, .nav__toggle { padding: 10px 0; width: auto; }
	.sub-menu { position: absolute; top: 100%; left: -18px; min-width: 240px; padding: 10px 0; background: #fff; border-radius: 10px; box-shadow: 0 12px 34px rgba(0, 0, 0, .14); }
	.sub-menu a { padding: 9px 20px; color: #222; }
	.sub-menu a:hover { background: #f4f4fb; }
	.menu-item-has-children:hover > .sub-menu, .menu-item-has-children:focus-within > .sub-menu { display: block; }
	.nav__cta { min-height: 39px; padding: 9px 26px; }
}

/* ==========================================================================
   4. Home
   ========================================================================== */
.hero { position: relative; min-height: min(900px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--dark); isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; animation: kenburns 12s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(18, 21, 27, .26) 0%, #12151b 100%); opacity: .95; }
.hero__content { display: grid; gap: 24px; padding-block: 140px 32px; }
.hero__title { font-size: clamp(36px, 5.6vw, 60px); font-weight: 400; line-height: 1.1; margin: 0; color: #fff; }
.hero__title span { color: var(--sky); white-space: nowrap; }
.hero__side { border-left: 1px solid var(--olive); padding-left: 20px; }
.hero__side p { color: #d1d1d1; font-size: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__license { font-size: 14px; }
.hero__strip { display: grid; gap: 6px; padding-block: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: #b2b2b2; }
@media (min-width: 900px) {
	.hero__content { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; padding-bottom: 48px; }
	.hero__strip { grid-template-columns: repeat(3, 1fr); }
	.hero__strip span:nth-child(2) { text-align: center; }
	.hero__strip span:nth-child(3) { text-align: right; }
}


.about__img { width: 100%; border-radius: 4px; margin-bottom: 20px; aspect-ratio: 635 / 536; object-fit: cover; }
.about__statement { font-size: clamp(20px, 2vw, 27px); line-height: 1.45; color: var(--muted); }
@media (min-width: 900px) { .split--top .split__col:last-child { padding-top: 70px; } }

.firm-media { display: grid; gap: 32px; margin-top: 24px; }
.firm-media__img { width: 100%; border-radius: 4px; }

/* YouTube facade */
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; margin-block: 8px 20px; }
.yt__btn { position: absolute; inset: 0; border: 0; padding: 0; background: #000; width: 100%; }
.yt__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); transition: transform .2s; }
.yt__btn:hover .yt__play { transform: translate(-50%, -50%) scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Deals (track record) */
.deals { display: grid; gap: 24px; }
.deal { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08); color: #d1d1d1; min-height: 100%; }
.deal__logo { width: 96px; height: 96px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; margin-bottom: 18px; }
.deal__logo img { width: 100%; height: 100%; object-fit: contain; }
.deal__title { font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--lime); margin: 0 0 8px; }
.deals--yellow .deal__title { color: var(--yellow); }
.deal__role { font-weight: 600; color: #fff; margin: 0; }
.deal__deal { margin: 0 0 16px; }
.deal__status { margin-top: auto; align-self: flex-start; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: rgba(215, 223, 39, .15); color: var(--lime); }
.deals--grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 82%); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (min-width: 700px) { .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (min-width: 1100px) { .carousel__track { grid-auto-columns: calc((100% - 48px) / 3); } }
.carousel__nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.carousel__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; }
.carousel__btn:hover { background: var(--lime); color: var(--dark); border-color: var(--lime); }

/* Track records (home) – same layout as the original site */
.track__intro { border-left: 1px solid #b1b900; padding-left: 20px; }
.track__intro .muted { margin-bottom: 18px; }
.carousel--photo .carousel__track { gap: 8px; grid-auto-columns: 100%; }
@media (min-width: 800px) { .carousel--photo .carousel__track { grid-auto-columns: calc((100% - 8px) / 2); } }
.deal-photo { position: relative; height: clamp(360px, 40vw, 540px); overflow: hidden; background: #2a2f38; }
.deal-photo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.deal-photo:hover .deal-photo__img { transform: scale(1.04); }
.deal-photo__band { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 12px 16px; background: rgba(18, 21, 27, .67); color: #fff; }
.deal-photo__title { font-size: clamp(20px, 2.1vw, 28px); font-weight: 600; color: var(--lime); margin: 0 0 4px; line-height: 1.1; }
.deal-photo__role { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; margin: 0; line-height: 1.2; }
.deal-photo__deal { font-size: 16px; font-weight: 600; margin: 2px 0 0; }
.deal-photo__status { font-size: 16px; color: #d1d1d1; margin: 2px 0 0; }

/* Contact section */
.contact { position: relative; isolation: isolate; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(18, 21, 27, .84) 79%, #12151b 100%); }
.contact__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact__title { font-size: clamp(28px, 3vw, 40px); font-weight: 400; color: rgba(240, 240, 240, .9); margin-bottom: 24px; }
.contact__lead { color: #ccc; max-width: 500px; }
.contact__label { font-size: 16px; font-weight: 500; color: rgba(240, 240, 240, .5); margin: 24px 0 8px; letter-spacing: .04em; }
.contact__hours { font-size: 14px; color: rgba(240, 240, 240, .8); }
.contact__city { font-size: 18px; color: rgba(240, 240, 240, .5); margin: 20px 0 12px; }
.contact .icon-list { font-size: 16px; color: #e8e8e8; max-width: 420px; }
.contact__note { font-size: 12px; color: rgba(240, 240, 240, .6); max-width: 380px; }
.contact__box { background: rgba(136, 153, 236, .384); border-radius: var(--radius); padding: 32px 24px 40px; }

/* ==========================================================================
   5. Forms
   ========================================================================== */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; color: #fff; }
.section--grey .form label, .section--white .form label { color: var(--text); }
.tabs__panel--dark .form label, .section--dark .form label { color: #fff; }
.form input:not([type="file"]), .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--dark); background: #fff; border: 1px solid #d5d5d5; border-radius: 8px; padding: 12px 14px; }
.form input[type="file"] { font-size: 14px; color: #fff; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--lime); border-color: transparent; }
.form button[type="submit"] { justify-self: start; min-width: 160px; }
.contact .form button[type="submit"] { justify-self: stretch; }
@media (min-width: 700px) {
	.form--row { grid-template-columns: 1fr 1fr; }
	.form--row .form__full, .form--row button { grid-column: 1 / -1; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 12px 16px; border-radius: 8px; font-weight: 500; margin-bottom: 16px; }
.form-notice.is-ok { background: #e7f7ec; color: #12623a; }
.form-notice.is-error { background: #fdecec; color: #8a1f1f; }

/* ==========================================================================
   6. Inner pages
   ========================================================================== */
.page-hero { position: relative; min-height: clamp(260px, 36vw, 522px); display: flex; align-items: flex-end; padding-bottom: clamp(32px, 4vw, 50px); color: #fff; background: var(--dark); isolation: isolate; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#12151b 19%, rgba(18, 21, 27, .46) 100%); }
.page-hero__title { font-size: clamp(38px, 5.5vw, 68px); font-weight: 400; margin: 0; color: #fff; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__inner { max-width: 1100px; }
.page-hero--center .page-hero__title { font-size: clamp(32px, 4.6vw, 60px); }

/* Service pages */
.svc { border-top: 1px solid var(--line); padding-top: 28px; margin-bottom: 32px; }
.svc__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; color: var(--blue); margin-bottom: 14px; }
.svc p { color: var(--text); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; }
.check-list .icon { color: var(--navy); width: 18px; height: 18px; margin-top: .2em; }
.engage__label { font-size: 18px; color: #595959; margin: 28px 0 6px; }
.engage__mail { font-size: 22px; font-weight: 300; color: #033ec2; margin: 0; }

/* Team */
.tabs { margin-top: 40px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs__list [role="tab"] { padding: 12px 26px; border-radius: 999px; border: 1px solid var(--navy); background: transparent; color: var(--navy); font-weight: 500; }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--navy); color: #fff; }
.tabs--yellow .tabs__list [role="tab"] { border-radius: 0; border: 0; background: var(--dark); color: #fff; }
.tabs--yellow .tabs__list [role="tab"][aria-selected="true"] { background: var(--yellow); color: var(--dark); }
.tabs--yellow .tabs__list { gap: 0; margin-bottom: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tabs--yellow .tabs__list [role="tab"] { white-space: nowrap; flex: none; }
.tabs__panel--dark { background: var(--dark); color: #ddd; padding: clamp(24px, 4vw, 48px); }
.section--dark .tabs--yellow .tabs__list [role="tab"] { background: #232833; }
.section--dark .tabs--yellow .tabs__list [role="tab"][aria-selected="true"] { background: var(--yellow); }
.section--dark .tabs--yellow .tabs__panel { background: var(--dark-2); padding: clamp(24px, 4vw, 48px); }
.apply__title { color: #fff; font-size: 28px; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 28px 20px; }
@media (min-width: 700px) { .people { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.person__btn { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 0; border: 0; background: none; text-align: center; color: inherit; }
.person__photo { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #dcdcdc; margin-bottom: 14px; transition: transform .25s, box-shadow .25s; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
button.person__btn:hover .person__photo { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 139, .18); }
.person__name { font-size: 18px; font-weight: 600; color: var(--dark); }
.person__role { font-size: 14px; color: #666; }

.modal { width: min(720px, 92vw); max-height: 88vh; border: 0; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); color: var(--text); }
.modal::backdrop { background: rgba(18, 21, 27, .7); }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f0f0f0; display: grid; place-items: center; }
.modal__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: top; margin-bottom: 16px; background: #dcdcdc; }
.modal__role { color: var(--olive); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; margin: 0 0 4px; }
.modal__name { color: var(--navy); font-size: 28px; }

/* Newsletter */
.newsletters { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 24px; }
.newsletter { display: flex; flex-direction: column; gap: 14px; }
.newsletter:hover { text-decoration: none; }
.newsletter__cover { position: relative; aspect-ratio: 210 / 260; border-radius: 10px; background: linear-gradient(150deg, #00008b, #12151b 70%); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); transition: transform .25s; }
.newsletter:hover .newsletter__cover { transform: translateY(-4px); }
.newsletter__cover .icon { width: 56px; height: 56px; color: var(--lime); }
.newsletter__brand { font-size: 20px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; }
.newsletter__title { font-size: 20px; font-weight: 500; color: var(--navy); }

/* Finance Africa */
.news { display: grid; gap: 0; margin-top: 16px; }
.news__item { border-top: 1px solid var(--line); padding-block: 28px; }
.news__title { font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; color: var(--blue); }
.news__more { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 18px; }

/* Become an investor */
.anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.anchors a { padding: 8px 16px; border-radius: 999px; background: var(--dark); color: #fff; font-size: 14px; }
.anchors a:hover { background: var(--navy); text-decoration: none; }
.accordion { display: grid; gap: 10px; margin: 32px 0 48px; }
.accordion details { background: #fff; border-radius: 10px; }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 500; color: #000; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .2s; color: var(--navy); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion details p { padding: 0 22px 20px; margin: 0; color: var(--text); }
.investor__fig { margin: 0; }
.investor__fig img { width: 100%; border-radius: 8px; }

.lifecycle { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: none; }
.lifecycle__step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); background: #fff; border-top: 4px solid #172be6; }
.lifecycle__step:nth-child(3n+2) { border-top-color: var(--olive); }
.lifecycle__step:nth-child(3n) { border-top-color: var(--yellow); }
.lifecycle__who { font-size: 14px; color: #172be6; font-weight: 600; }
.lifecycle__what { font-size: 18px; color: var(--dark); }
.lifecycle__desc { font-size: 15px; color: #555; }

.hexes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; justify-items: center; margin: 64px auto 0; max-width: 760px; }
.hex { display: grid; place-items: center; width: 100%; max-width: 180px; aspect-ratio: 180 / 156; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); color: #fff; text-align: center; font-size: 16px; font-weight: 500; padding: 16px; line-height: 1.2; transition: transform .25s, filter .25s; }
.hex:hover { transform: scale(1.06); filter: brightness(1.15); }
.hex--navy { background: #003087; }
.hex--grey { background: #808080; }
.hex--steel { background: #4682b4; }
.hex--orange { background: #ffa500; }
.hex--center { background: #4169e1; font-size: 22px; font-weight: 700; grid-column: 1 / -1; max-width: 220px; order: -1; }
@media (min-width: 700px) {
	.hexes { grid-template-columns: repeat(3, 1fr); }
	.hex--center { order: 0; grid-column: 2; }
	.hex { font-size: 18px; }
	.hexes > .hex:nth-child(3) { grid-column: 3; grid-row: 1; }
	.hex--center { grid-row: 2; }
	.hexes > .hex:nth-child(5) { grid-column: 1; grid-row: 3; }
	.hexes > .hex:nth-child(6) { grid-column: 2; grid-row: 3; }
	.hexes > .hex:nth-child(7) { grid-column: 3; grid-row: 3; }
}

/* ==========================================================================
   7. Posts
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.filters a { padding: 8px 18px; border-radius: 999px; border: 1px solid #ddd; font-size: 14px; color: #333; }
.filters a.is-active, .filters a:hover { background: var(--navy); border-color: var(--navy); color: #fff; text-decoration: none; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 32px 24px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 22px rgba(0, 0, 0, .07); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .12); }
.card__media { display: block; aspect-ratio: 16 / 10; background: #e4e4e4; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.card__title { font-size: 20px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.card__date { font-size: 13px; color: #888; margin-bottom: 10px; }
.card__excerpt { font-size: 15px; color: #555; }
.card__more { margin-top: auto; align-self: flex-start; font-weight: 600; color: var(--navy); font-size: 14px; letter-spacing: .03em; }
.posts__more { text-align: center; margin: 48px 0 0; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #ddd; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

.entry { font-size: 18px; line-height: 1.75; color: #333; }
.entry__meta { font-size: 14px; color: #888; }
.entry__meta a { color: var(--navy); }
.entry__thumb { width: 100%; border-radius: var(--radius); margin: 8px 0 32px; }
.entry h2, .entry h3, .entry h4 { color: var(--navy); margin-top: 1.6em; }
.entry h2 { font-size: clamp(24px, 3vw, 32px); }
.entry h3 { font-size: clamp(20px, 2.4vw, 26px); }
.entry a { color: var(--blue); text-decoration: underline; }
.entry img { border-radius: 8px; margin-block: 16px; }
.entry figure { margin: 24px 0; }
.entry blockquote { border-left: 4px solid var(--lime); margin: 24px 0; padding: 4px 0 4px 20px; color: #555; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid #e3e3e3; padding: 8px 12px; text-align: left; }
.entry ul, .entry ol { padding-left: 1.3em; }
.elementor-post { background: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; padding-block: 32px; font-size: 15px; color: #ccc; }
.post-nav a { color: var(--lime); }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--dark); color: #fff; padding-top: 56px; }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; } }
.site-footer__logo { display: inline-block; margin-bottom: 16px; }
.site-footer__brand p { font-size: 15px; max-width: 340px; }
.site-footer__title { font-size: 16px; font-weight: 500; color: var(--lime); margin-bottom: 18px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.site-footer__links a:hover { color: var(--lime); }
.site-footer .icon-list { font-size: 14px; font-weight: 300; }
.icon-list--addr { gap: 16px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 12px; font-size: 13px; color: #aaa; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.site-footer__logo img { width: 180px; height: auto; }

/* Newsletter cover image */
.newsletter__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

/* Ticker plugin v1 (if not updated yet) */
.ticker-v1 { background: #1b1b1b; }

/* ==========================================================================
   9. Loader (white logo, corporate)
   ========================================================================== */
.loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--dark); opacity: 1; visibility: visible; transition: opacity .45s ease, visibility .45s ease; animation: loader-failsafe .4s ease 3s forwards; }
.loader.is-done { opacity: 0; visibility: hidden; animation: none; }
.loader.is-leaving { opacity: 1; visibility: visible; animation: none; transition-duration: .25s; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader__logo { width: 150px; height: auto; animation: loader-breathe 1.6s ease-in-out infinite; }
.loader__bar { position: relative; width: 120px; height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; border-radius: 2px; }
.loader__bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--lime); animation: loader-bar 1.1s ease-in-out infinite; }
@keyframes loader-bar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes loader-breathe { 50% { opacity: .7; } }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

/* Print */
@media print { .loader, .site-top, .site-footer, .hero__slides, .carousel__nav, .yt { display: none !important; } body { background: #fff; color: #000; } }

/* Beko Souscription button (plugin) */
.nav__subs { white-space: nowrap; }
@media (max-width: 1023px) { .nav__end { flex-wrap: wrap; } .nav__end .nav__subs { flex: 1 1 100%; order: -1; } }
@media (min-width: 1024px) and (max-width: 1240px) { .nav__end .nav__cta { padding-left: 16px; padding-right: 16px; } }
