/*
Theme Name: In-Vidia
Theme URI: https://in-vidia.it/
Author: Domenico Basile
Description: Tema WordPress leggero, SEO-first, multilingua e multicountry-ready per In-Vidia, consulenza eCommerce, marketing, startup, temporary management e formazione.
Version: 1.13.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: in-vidia
*/

:root {
  --iv-ink: #0c1d33;
  --iv-ink-2: #16304f;
  --iv-blue: #0f5bd8;
  --iv-blue-2: #0a46ad;
  --iv-soft: #eef5ff;
  --iv-soft-2: #f7f9fc;
  --iv-line: #dce5f0;
  --iv-white: #ffffff;
  --iv-muted: #5f6f82;
  --iv-radius: 18px;
  --iv-shadow: 0 14px 40px rgba(12, 29, 51, 0.08);
  --iv-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--iv-ink);
  background: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--iv-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--iv-blue-2); }
button, input, textarea, select { font: inherit; }

.iv-shell { width: min(calc(100% - 32px), var(--iv-max)); margin-inline: auto; }
.iv-section { padding: 72px 0; }
.iv-section--tight { padding: 48px 0; }
.iv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--iv-blue);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.iv-title, h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--iv-ink);
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 6vw, 5rem); margin: 0 0 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 18px; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
p { margin-top: 0; }
.iv-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--iv-ink-2); max-width: 720px; }
.iv-muted { color: var(--iv-muted); }

.iv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--iv-blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.iv-btn:hover { color: #fff; background: var(--iv-blue-2); transform: translateY(-1px); }
.iv-btn--ghost { background: #fff; color: var(--iv-ink); border-color: var(--iv-blue); }
.iv-btn--ghost:hover { color: var(--iv-blue); background: var(--iv-soft); }

/* Header */
.iv-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220,229,240,.9);
}
.iv-header__row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.iv-brand-wrap { flex: 0 0 auto; }
.iv-brand-wrap .custom-logo-link { display: inline-flex; align-items: center; }
.iv-brand-wrap .custom-logo { width: auto; max-height: 52px; }
.iv-brand { display: inline-flex; flex-direction: column; color: var(--iv-ink); text-decoration: none; line-height: 1; }
.iv-brand__name { font: 700 1.8rem/1 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.iv-brand__by { margin-top: 6px; font-size: .7rem; color: var(--iv-muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.iv-nav { display: flex; align-items: center; gap: 26px; }
.iv-nav ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.iv-nav li { margin: 0; }
.iv-nav a { color: var(--iv-ink); text-decoration: none; font-weight: 700; font-size: .94rem; }
.iv-nav a:hover, .iv-nav .current-menu-item > a, .iv-nav .current_page_item > a { color: var(--iv-blue); }
.iv-nav a:focus-visible, .iv-btn:focus-visible, .iv-menu-toggle:focus-visible { outline: 3px solid rgba(15,91,216,.32); outline-offset: 3px; }
.iv-menu-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--iv-ink); cursor: pointer; }

.iv-header__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.iv-market-switcher { position: relative; z-index: 30; }
.iv-market-switcher > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 10px; border: 1px solid var(--iv-line); border-radius: 999px; background: #fff; color: var(--iv-ink); cursor: pointer; font-size: .78rem; font-weight: 800; white-space: nowrap; user-select: none; }
.iv-market-switcher > summary::-webkit-details-marker { display: none; }
.iv-market-switcher > summary:hover { border-color: #b8c8dc; }
.iv-market-switcher > summary:focus-visible { outline: 3px solid rgba(15,91,216,.28); outline-offset: 2px; }
.iv-market-switcher[open] > summary { border-color: rgba(15,91,216,.45); }
.iv-market-switcher__flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(12,29,51,.08); flex: 0 0 auto; }
.iv-market-switcher__globe { color: var(--iv-blue); font-size: 1rem; line-height: 1; }
.iv-market-switcher__chevron { color: var(--iv-muted); font-size: .9rem; transition: transform .15s ease; }
.iv-market-switcher[open] .iv-market-switcher__chevron { transform: rotate(180deg); }
.iv-market-switcher__menu { position: absolute; right: 0; top: calc(100% + 8px); width: max-content; min-width: 245px; max-width: min(340px, calc(100vw - 24px)); padding: 8px; border: 1px solid var(--iv-line); border-radius: 14px; background: #fff; box-shadow: 0 18px 50px rgba(12,29,51,.15); }
.iv-market-switcher__menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.iv-market-switcher__option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 9px; color: var(--iv-ink); text-decoration: none; font-size: .82rem; font-weight: 700; }
a.iv-market-switcher__option:hover { background: var(--iv-soft); color: var(--iv-blue); }
.iv-market-switcher__option.is-current { background: var(--iv-soft-2); }
.iv-market-switcher__option.is-disabled { color: #9aa7b5; cursor: not-allowed; }
.iv-market-switcher__check { margin-left: auto; color: var(--iv-blue); }

/* Hero */
.iv-hero { padding: 68px 0 38px; }
.iv-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.iv-hero__copy p { max-width: 700px; }
.iv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.iv-hero__visual {
  min-height: 430px;
  border-radius: 28px;
  background: linear-gradient(140deg, #f8fbff 0%, #eef4ff 52%, #f7efe6 100%);
  border: 1px solid var(--iv-line);
  position: relative;
  overflow: hidden;
  box-shadow: var(--iv-shadow);
}
.iv-hero__orb { position: absolute; border-radius: 999px; opacity: .96; }
.iv-hero__orb--1 { width: 280px; height: 280px; background: var(--iv-blue); right: 34px; top: 70px; }
.iv-hero__orb--2 { width: 150px; height: 150px; background: #e8d7c2; right: 6px; top: 26px; }
.iv-hero__dashboard {
  position: absolute;
  left: 40px;
  right: 42px;
  bottom: 42px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 22px 60px rgba(12,29,51,.16);
}
.iv-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.iv-mini-stat { padding: 14px; border-radius: 12px; background: var(--iv-soft-2); border: 1px solid var(--iv-line); }
.iv-mini-stat strong { display: block; font-size: 1.2rem; }
.iv-bars { display: grid; gap: 9px; margin-top: 18px; }
.iv-bar { height: 9px; background: #e8eef7; border-radius: 99px; overflow: hidden; }
.iv-bar span { display: block; height: 100%; background: var(--iv-blue); border-radius: inherit; }

/* Services */
.iv-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.iv-services__investments { margin: 24px 0 0; text-align: right; font-weight: 800; }
.iv-card {
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: var(--iv-radius);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(12,29,51,.045);
}
.iv-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--iv-soft); color: var(--iv-blue); margin-bottom: 18px; }
.iv-card h3 { margin: 0 0 10px; }
.iv-card p { color: var(--iv-muted); margin-bottom: 0; }

/* Blog cards */
.iv-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.iv-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.iv-post-card { overflow: hidden; padding: 0; }
.iv-post-card__thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #edf4ff, #f7efe6); display: block; overflow: hidden; }
.iv-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iv-post-card__body { padding: 20px; }
.iv-chip { display: inline-flex; align-items: center; border-radius: 99px; padding: 5px 9px; background: var(--iv-blue); color: #fff; font-size: .72rem; font-weight: 800; text-decoration: none; margin-bottom: 10px; }
.iv-post-card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.iv-post-card h3 a { color: var(--iv-ink); text-decoration: none; }
.iv-post-card h3 a:hover { color: var(--iv-blue); }
.iv-meta { color: var(--iv-muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 12px; }

/* Blog category navigation: crawlable links, no duplicate filter URLs */
.iv-category-nav { margin-top: 26px; max-width: 100%; }
.iv-category-nav__list { display: flex; flex-wrap: wrap; gap: 10px; }
.iv-category-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--iv-line);
  border-radius: 999px;
  background: var(--iv-white);
  color: var(--iv-ink-2);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}
.iv-category-filter:hover,
.iv-category-filter:focus-visible { border-color: var(--iv-blue); color: var(--iv-blue); transform: translateY(-1px); }
.iv-category-filter.is-active { border-color: var(--iv-blue); background: var(--iv-blue); color: var(--iv-white); }
.iv-category-filter.is-active:hover,
.iv-category-filter.is-active:focus-visible { color: var(--iv-white); }

/* About */
.iv-about { display: grid; grid-template-columns: .72fr 1.28fr; gap: 32px; align-items: center; }
.iv-about__portrait {
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff 0, #eaf1fb 45%, #d9e6f7 100%);
  border: 1px solid var(--iv-line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.iv-about__portrait span { font: 700 clamp(3.5rem, 8vw, 6rem)/1 Georgia, serif; color: var(--iv-blue); letter-spacing: -.08em; }
.iv-about__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.iv-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.iv-point { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.iv-point b { color: var(--iv-blue); }

/* Author profile */
.iv-profile-hero { padding: 56px 0 72px; background: linear-gradient(145deg, #fff 0%, #f5f9ff 60%, #f7efe6 100%); border-bottom: 1px solid var(--iv-line); }
.iv-profile-hero__grid { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 56px; align-items: center; }
.iv-profile-hero__portrait { width: min(100%, 390px); aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 45% 42% 58% 55%; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 35% 35%, #fff 0, #eaf1fb 45%, #d9e6f7 100%); border: 1px solid var(--iv-line); box-shadow: 0 24px 60px rgba(12,29,51,.12); }
.iv-profile-hero__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iv-profile-hero__portrait span { font: 700 clamp(4rem, 9vw, 7rem)/1 Georgia, serif; color: var(--iv-blue); letter-spacing: -.08em; }
.iv-profile-hero h1 { font-size: clamp(2.55rem, 5.3vw, 4.8rem); max-width: 920px; }
.iv-profile-hero__extra { margin-top: 20px; }
.iv-profile-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.iv-profile-skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.iv-profile-skill { position: relative; overflow: hidden; }
.iv-profile-skill__number { display: block; color: var(--iv-blue); font-size: .78rem; font-weight: 900; letter-spacing: .1em; margin-bottom: 18px; }
.iv-profile-experience { background: var(--iv-soft-2); border-block: 1px solid var(--iv-line); }
.iv-profile-experience .iv-section-head > p { max-width: 520px; }
.iv-profile-timeline { position: relative; display: grid; gap: 16px; max-width: 960px; }
.iv-profile-timeline::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 11px; width: 2px; background: var(--iv-line); }
.iv-profile-experience-card { position: relative; display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 20px; }
.iv-profile-experience-card__marker { width: 24px; height: 24px; margin-top: 24px; border: 6px solid var(--iv-soft-2); border-radius: 50%; background: var(--iv-blue); box-shadow: 0 0 0 1px var(--iv-blue); z-index: 1; }
.iv-profile-experience-card__body { padding: 22px 24px; border: 1px solid var(--iv-line); border-radius: 16px; background: #fff; }
.iv-profile-experience-card__company { margin: 0 0 4px; color: var(--iv-blue); font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.iv-profile-experience-card h3 { margin: 0 0 9px; font-size: clamp(1.3rem, 2vw, 1.65rem); }
.iv-profile-experience-card__body > p:last-child { margin-bottom: 0; color: var(--iv-muted); }

/* Service pages */
.iv-service-hero { padding: 56px 0 76px; background: linear-gradient(145deg, #fff 0%, #f3f8ff 62%, #f7efe6 100%); border-bottom: 1px solid var(--iv-line); }
.iv-service-hero__grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.55fr); gap: 58px; align-items: center; }
.iv-service-hero h1 { max-width: 980px; font-size: clamp(2.55rem, 5.2vw, 4.75rem); }
.iv-service-hero__extra { margin-top: 22px; }
.iv-service-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.iv-service-summary { padding: 28px; border: 1px solid rgba(15,91,216,.22); border-radius: 18px; background: rgba(255,255,255,.86); box-shadow: 0 20px 50px rgba(12,29,51,.09); }
.iv-service-summary h2 { margin: 8px 0 12px; font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
.iv-service-summary > p { color: var(--iv-muted); }
.iv-service-summary__point { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--iv-line); font-size: .94rem; font-weight: 700; }
.iv-service-summary__point b { color: var(--iv-blue); font-size: .75rem; letter-spacing: .08em; }
.iv-service-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.iv-service-card h3 { margin-bottom: 9px; }
.iv-service-card p { margin-bottom: 0; color: var(--iv-muted); }
.iv-service-work { background: var(--iv-soft-2); border-block: 1px solid var(--iv-line); }
.iv-service-work__list { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.iv-service-work__list article { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 24px; border: 1px solid var(--iv-line); border-radius: 16px; background: #fff; }
.iv-service-work__list article > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--iv-blue); font-size: .78rem; font-weight: 900; }
.iv-service-work__list h3 { margin: 0 0 8px; }
.iv-service-work__list p { margin: 0; color: var(--iv-muted); }
.iv-service-method { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; counter-reset: service-step; }
.iv-service-method article { padding: 22px 18px; border-top: 3px solid var(--iv-blue); background: var(--iv-soft); border-radius: 0 0 14px 14px; }
.iv-service-method b { color: var(--iv-blue); font-size: .78rem; letter-spacing: .08em; }
.iv-service-method h3 { margin: 12px 0 8px; }
.iv-service-method p { margin: 0; color: var(--iv-muted); font-size: .94rem; }
.iv-service-boundary { color: #fff; background: var(--iv-ink); }
.iv-service-boundary .iv-kicker { color: #8bb6ff; }
.iv-service-boundary h2 { color: #fff; }
.iv-service-boundary__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 54px; align-items: center; }
.iv-service-boundary .iv-lead { color: #dce7f7; margin: 0; }
.iv-service-kpis { display: flex; flex-wrap: wrap; gap: 10px; }
.iv-service-kpis span { padding: 10px 14px; border: 1px solid rgba(15,91,216,.24); border-radius: 999px; background: #fff; color: var(--iv-ink); font-size: .9rem; font-weight: 800; }
.iv-service-faq { background: var(--iv-soft-2); border-block: 1px solid var(--iv-line); }
.iv-service-faq__grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 54px; align-items: start; }
.iv-service-faq details { border-bottom: 1px solid var(--iv-line); background: #fff; }
.iv-service-faq details:first-child { border-radius: 14px 14px 0 0; }
.iv-service-faq details:last-child { border-bottom: 0; border-radius: 0 0 14px 14px; }
.iv-service-faq summary { cursor: pointer; padding: 20px 22px; font-weight: 900; list-style: none; }
.iv-service-faq summary::-webkit-details-marker { display: none; }
.iv-service-faq summary::after { content: "+"; float: right; color: var(--iv-blue); font-size: 1.25rem; }
.iv-service-faq details[open] summary::after { content: "−"; }
.iv-service-faq details p { padding: 0 22px 20px; margin: 0; color: var(--iv-muted); }
.iv-service-related { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.iv-service-related .iv-card p { color: var(--iv-muted); }
.iv-service-insights { background: #fff; }
.iv-service-investment { background: linear-gradient(145deg, var(--iv-soft) 0%, #fff 100%); border-block: 1px solid var(--iv-line); }
.iv-service-investment__grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); gap: 54px; align-items: center; }
.iv-service-investment__card { padding: 28px; border: 1px solid #cfe0fb; border-radius: 18px; background: #fff; box-shadow: var(--iv-shadow); }
.iv-service-investment__card > span { display: block; color: var(--iv-muted); font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.iv-service-investment__card > strong { display: block; margin: 7px 0 11px; color: var(--iv-ink); font: 700 clamp(2rem,4vw,3.4rem)/1 Georgia, serif; }
.iv-service-investment__card p { color: var(--iv-muted); }
.iv-service-investment__card a { font-weight: 800; }

/* Collaboration and investments page */
.iv-investments-hero { padding: 56px 0 76px; background: linear-gradient(145deg,#fff 0%,#f3f8ff 62%,#f7efe6 100%); border-bottom: 1px solid var(--iv-line); }
.iv-investments-hero__grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); gap: 58px; align-items: center; }
.iv-investments-hero h1 { max-width: 980px; font-size: clamp(2.55rem,5.2vw,4.75rem); }
.iv-investments-hero__extra { margin-top: 22px; }
.iv-investments-hero__actions { margin-top: 28px; }
.iv-investments-brief { padding: 28px; border: 1px solid rgba(15,91,216,.22); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: var(--iv-shadow); }
.iv-investments-brief h2 { margin: 8px 0 12px; font-size: clamp(1.5rem,2.4vw,2.05rem); }
.iv-investments-brief > p { color: var(--iv-muted); }
.iv-investments-brief ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: brief; }
.iv-investments-brief li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--iv-line); font-weight: 750; }
.iv-investments-brief li::before { counter-increment: brief; content: counter(brief,decimal-leading-zero); color: var(--iv-blue); font-size: .76rem; font-weight: 900; }
.iv-investment-principles { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.iv-investment-principles .iv-card p { color: var(--iv-muted); margin-bottom: 0; }
.iv-investment-number { display: block; margin-bottom: 18px; color: var(--iv-blue); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.iv-investments-pricing { background: var(--iv-soft-2); border-block: 1px solid var(--iv-line); }
.iv-price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.iv-price-card { padding: 26px; border: 1px solid var(--iv-line); border-top: 4px solid var(--iv-blue); border-radius: 0 0 16px 16px; background: #fff; }
.iv-price-card h3 { margin: 0 0 14px; }
.iv-price-card__price { display: block; margin-bottom: 15px; color: var(--iv-blue); font: 700 clamp(1.65rem,3vw,2.35rem)/1 Georgia,serif; }
.iv-price-card p { margin: 0; color: var(--iv-muted); }
.iv-investments-pricing__note { margin: 22px 0 0; color: var(--iv-muted); font-size: .9rem; }
.iv-investments-selection { color: #fff; background: var(--iv-ink); }
.iv-investments-selection .iv-kicker { color: #8bb6ff; }
.iv-investments-selection h2,.iv-investments-selection h3 { color: #fff; }
.iv-investments-selection__head { max-width: 860px; }
.iv-investments-selection__head .iv-lead { color: #dce7f7; }
.iv-investments-criteria { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 34px; }
.iv-investments-criteria article { padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.05); }
.iv-investments-criteria h3 { margin: 0 0 8px; }
.iv-investments-criteria p { margin: 0; color: #c9d7e8; }
.iv-investments-notice { margin-top: 24px; padding: 24px; border-left: 5px solid #8bb6ff; border-radius: 0 14px 14px 0; background: rgba(255,255,255,.08); }
.iv-investments-notice h3 { margin: 0 0 7px; }
.iv-investments-notice p { margin: 0; color: #dce7f7; }
.iv-investments-process { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.iv-investments-process article { padding: 22px 18px; border-top: 3px solid var(--iv-blue); border-radius: 0 0 14px 14px; background: var(--iv-soft); }
.iv-investments-process article > span { color: var(--iv-blue); font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.iv-investments-process h3 { margin: 12px 0 8px; }
.iv-investments-process p { margin: 0; color: var(--iv-muted); }
.iv-investments-services { background: var(--iv-soft-2); border-block: 1px solid var(--iv-line); }

/* Method */
.iv-method { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.iv-step { border-top: 2px dotted var(--iv-line); padding-top: 18px; }
.iv-step__n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--iv-blue); color: #fff; font-weight: 900; margin-bottom: 12px; }
.iv-step strong { display: block; margin-bottom: 6px; }
.iv-step p { font-size: .9rem; color: var(--iv-muted); }

/* CTA */
.iv-cta { border: 1px solid #cfe0fb; background: linear-gradient(135deg, #f4f8ff, #eef5ff); border-radius: 20px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.iv-cta h2, .iv-cta h3 { margin: 0 0 6px; }
.iv-article > .iv-cta > div { min-width: 0; }
.iv-article > .iv-cta > .iv-btn { flex: 0 0 auto; white-space: nowrap; }

/* Footer */
.iv-footer { background: var(--iv-footer, var(--iv-ink)); color: #dbe7f5; padding: 52px 0 22px; margin-top: 60px; }
.iv-footer a { color: #fff; text-decoration: none; }
.iv-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 34px; }
.iv-footer h3 { color: #fff; font-family: inherit; font-size: .95rem; margin-top: 0; }
.iv-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.iv-footer__brand { font: 700 1.7rem/1 Georgia, serif; color: #fff; margin-bottom: 12px; }
.iv-footer__legal-note { color: #9fb0c3; font-size: .82rem; }
.iv-footer__menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.iv-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; color: #9fb0c3; font-size: .82rem; }

/* Blog / article */
.iv-page-head { padding: 56px 0 28px; }
.iv-page-head h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); }
.iv-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 52px; align-items: start; }
.iv-article { min-width: 0; }
.iv-article__hero { margin: 24px 0 28px; border-radius: 22px; overflow: hidden; border: 1px solid var(--iv-line); background: linear-gradient(135deg,#edf4ff,#f7efe6); }
.iv-article__hero img { width: 100%; display: block; }
.iv-content { font-size: 1.08rem; }
.iv-content > * { max-width: 780px; }
.iv-content h2 { margin-top: 2.2em; font-size: clamp(1.85rem, 3.5vw, 2.7rem); }
.iv-content h3 { margin-top: 1.8em; }
.iv-content p, .iv-content ul, .iv-content ol, .iv-content blockquote { margin-bottom: 1.25em; }
.iv-content ul, .iv-content ol { padding-left: 1.3em; }
.iv-content blockquote { border-left: 4px solid var(--iv-blue); background: var(--iv-soft); padding: 22px 24px; border-radius: 0 14px 14px 0; font-family: Georgia, serif; font-size: 1.18rem; }
.iv-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96rem; }
.iv-content th, .iv-content td { border: 1px solid var(--iv-line); padding: 12px; text-align: left; }
.iv-content th { background: var(--iv-soft-2); }
.iv-content img { border-radius: 14px; }
.iv-sidebar { position: sticky; top: 102px; display: grid; gap: 16px; }
.iv-sidebar .iv-card { box-shadow: none; }
.iv-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.iv-toc a { color: var(--iv-ink-2); text-decoration: none; font-size: .92rem; }
.iv-toc a:hover { color: var(--iv-blue); }
.iv-author { display: flex; gap: 14px; align-items: center; }
.iv-author__avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--iv-soft); display: grid; place-items: center; font-weight: 900; color: var(--iv-blue); }
.iv-author strong { display: block; }
.iv-related { margin-top: 52px; }
.iv-article-service { margin-top: 42px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid #cfe0fb; border-left: 5px solid var(--iv-blue); border-radius: 18px; background: var(--iv-soft); }
.iv-article-service h2 { margin: 0 0 9px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.iv-article-service p { margin: 0; color: var(--iv-muted); max-width: 680px; }
.iv-article-service .iv-btn { flex: 0 0 auto; max-width: 280px; text-align: center; }

/* Professional case studies */
.iv-profile-experience-card__link { display: inline-flex; margin-top: 14px; font-weight: 800; text-decoration: none; }
.iv-case-study-hero { padding: 54px 0 62px; background: linear-gradient(135deg,#f7faff 0%,#eef5ff 62%,#f7efe6 100%); border-bottom: 1px solid var(--iv-line); }
.iv-case-study-hero__grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); gap: 52px; align-items: start; }
.iv-case-study-hero h1 { font-size: clamp(2.6rem,5.5vw,4.8rem); }
.iv-case-study-hero__extra { margin-top: 24px; }
.iv-case-study-summary { display: grid; gap: 0; padding: 8px 24px; border: 1px solid #cfe0fb; border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: var(--iv-shadow); }
.iv-case-study-summary > div { display: grid; gap: 3px; padding: 17px 0; border-bottom: 1px solid var(--iv-line); }
.iv-case-study-summary > div:last-child { border-bottom: 0; }
.iv-case-study-summary span { color: var(--iv-muted); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.iv-case-study-summary strong { color: var(--iv-ink); }
.iv-case-study-notice { margin-top: 34px; padding: 20px 22px; border-left: 5px solid var(--iv-blue); border-radius: 0 14px 14px 0; background: #fff; }
.iv-case-study-notice strong { display: block; margin-bottom: 5px; }
.iv-case-study-notice p { margin: 0; color: var(--iv-muted); }
.iv-case-study-context { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 54px; align-items: start; }
.iv-case-study-context .iv-lead { max-width: none; }
.iv-case-study-role, .iv-case-study-results { background: var(--iv-soft-2); border-block: 1px solid var(--iv-line); }
.iv-case-study-role__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.iv-case-study-role__list article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--iv-line); border-radius: 16px; background: #fff; }
.iv-case-study-role__list article:last-child { grid-column: 1 / -1; }
.iv-case-study-role__list article > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--iv-blue); color: #fff; font-weight: 900; }
.iv-case-study-role__list h3 { margin: 0 0 8px; }
.iv-case-study-role__list p { margin: 0; color: var(--iv-muted); }
.iv-case-study-method { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.iv-case-study-method article { padding: 24px 20px; border-top: 4px solid var(--iv-blue); border-radius: 0 0 14px 14px; background: var(--iv-soft); }
.iv-case-study-method b { color: var(--iv-blue); font-size: .8rem; }
.iv-case-study-method h3 { margin: 12px 0 8px; }
.iv-case-study-method p { margin: 0; color: var(--iv-muted); }
.iv-case-study-results__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.iv-case-study-results__grid article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--iv-blue); color: #fff; font-weight: 900; }
.iv-case-study-results__grid h3 { margin: 16px 0 9px; }
.iv-case-study-results__grid p { margin: 0; color: var(--iv-muted); }
.iv-case-study-confidentiality { margin-top: 20px; padding: 22px 24px; border: 1px solid #cfe0fb; border-radius: 16px; background: var(--iv-soft); }
.iv-case-study-confidentiality strong { display: block; margin-bottom: 6px; }
.iv-case-study-confidentiality p { margin: 0; color: var(--iv-muted); }
.iv-service-case-study { background: linear-gradient(135deg,#f7faff,#eef5ff); border-block: 1px solid #cfe0fb; }
.iv-service-case-study__cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.iv-service-case-study__cards .iv-card { display: flex; flex-direction: column; }
.iv-service-case-study__cards h3 { margin: 0 0 10px; }
.iv-service-case-study__cards p { color: var(--iv-muted); }
.iv-service-case-study__cards small { display: block; margin-top: auto; padding-top: 12px; color: var(--iv-muted); border-top: 1px solid var(--iv-line); }
.iv-service-case-study__link { display: inline-flex; margin-top: 14px; font-weight: 800; text-decoration: none; }

/* Forms */
.iv-form { display: grid; gap: 14px; }
.iv-form label { font-weight: 800; font-size: .9rem; }
.iv-form input, .iv-form textarea {
  width: 100%;
  border: 1px solid var(--iv-line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--iv-ink);
  background: #fff;
}
.iv-form textarea { min-height: 150px; resize: vertical; }

/* WP alignment helpers */
.alignwide { width: min(100%, 1040px); max-width: 1040px !important; }
.alignfull { width: 100%; max-width: none !important; }
.wp-caption, .gallery-caption { color: var(--iv-muted); font-size: .88rem; }

/* Accessibility */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus { clip: auto !important; clip-path: none; width: auto; height: auto; padding: 12px 16px; background: #fff; z-index: 100000; }

@media (max-width: 980px) {
  .iv-nav { display: none; position: absolute; top: 76px; left: 16px; right: 16px; background: #fff; border: 1px solid var(--iv-line); border-radius: 14px; padding: 18px; box-shadow: var(--iv-shadow); }
  .iv-nav.is-open { display: block; }
  .iv-nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .iv-nav a { display: block; padding: 9px 6px; }
  .iv-menu-toggle { display: inline-flex; }
  .iv-header .iv-btn { display: none; }
  .iv-hero__grid, .iv-about, .iv-article-layout, .iv-profile-hero__grid, .iv-service-hero__grid, .iv-service-boundary__grid, .iv-service-faq__grid, .iv-service-investment__grid, .iv-investments-hero__grid { grid-template-columns: 1fr; }
  .iv-services, .iv-post-grid, .iv-profile-skills, .iv-service-related, .iv-investment-principles, .iv-price-grid { grid-template-columns: repeat(2, 1fr); }
  .iv-service-method { grid-template-columns: repeat(2,1fr); }
  .iv-investments-process { grid-template-columns: repeat(2,1fr); }
  .iv-profile-hero__portrait { width: min(100%, 300px); }
  .iv-method { grid-template-columns: repeat(2, 1fr); }
  .iv-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .iv-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .iv-case-study-hero__grid, .iv-case-study-context { grid-template-columns: 1fr; }
  .iv-case-study-method { grid-template-columns: repeat(2,1fr); }
  .iv-service-case-study__cards { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .iv-shell { width: min(calc(100% - 24px), var(--iv-max)); }
  .iv-section { padding: 54px 0; }
  .iv-header__row { min-height: 68px; }
  .iv-brand__name { font-size: 1.55rem; }
  .iv-hero { padding-top: 42px; }
  .iv-hero__visual { min-height: 330px; }
  .iv-hero__dashboard { left: 18px; right: 18px; bottom: 18px; padding: 16px; }
  .iv-mini-grid { grid-template-columns: 1fr 1fr; }
  .iv-mini-stat:last-child { grid-column: 1 / -1; }
  .iv-services, .iv-post-grid, .iv-points, .iv-method, .iv-sidebar, .iv-footer__grid, .iv-profile-skills, .iv-service-grid, .iv-service-work__list, .iv-service-method, .iv-service-related, .iv-investment-principles, .iv-price-grid, .iv-investments-criteria, .iv-investments-process { grid-template-columns: 1fr; }
  .iv-section-head, .iv-cta, .iv-footer__bottom { align-items: flex-start; flex-direction: column; }
  .iv-about__portrait { max-width: 220px; }
  .iv-profile-hero { padding: 40px 0 54px; }
  .iv-profile-hero__grid { gap: 30px; }
  .iv-profile-hero__portrait { width: min(100%, 230px); }
  .iv-profile-hero__actions { align-items: stretch; flex-direction: column; }
  .iv-profile-hero__actions .iv-btn { width: 100%; }
  .iv-profile-experience-card { gap: 12px; }
  .iv-profile-experience-card__body { padding: 18px; }
  .iv-service-hero { padding: 40px 0 56px; }
  .iv-service-hero__grid { gap: 30px; }
  .iv-service-hero__actions { align-items: stretch; flex-direction: column; }
  .iv-service-hero__actions .iv-btn { width: 100%; }
  .iv-investments-hero { padding: 40px 0 56px; }
  .iv-investments-hero__grid { gap: 30px; }
  .iv-investments-hero__actions .iv-btn { width: 100%; }
  .iv-services__investments { text-align: left; }
  .iv-article-service { align-items: stretch; flex-direction: column; padding: 22px; }
  .iv-article-service .iv-btn { max-width: none; width: 100%; }
  .iv-service-work__list article { grid-template-columns: 38px 1fr; padding: 20px 18px; }
  .iv-service-work__list article > span { width: 36px; height: 36px; }
  .iv-post-grid { gap: 14px; }
  .iv-footer { margin-top: 40px; }
  .iv-content { font-size: 1rem; }
  .iv-category-nav { margin-inline: -12px; padding-inline: 12px; overflow: hidden; }
  .iv-category-nav__list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .iv-category-filter { scroll-snap-align: start; }
  .iv-case-study-hero { padding: 40px 0 50px; }
  .iv-case-study-hero__grid { gap: 30px; }
  .iv-case-study-role__list, .iv-case-study-method, .iv-case-study-results__grid { grid-template-columns: 1fr; }
  .iv-case-study-role__list article:last-child { grid-column: auto; }
  .iv-case-study-role__list article { grid-template-columns: 40px 1fr; padding: 20px 18px; }
  .iv-case-study-role__list article > span { width: 36px; height: 36px; }
  .iv-service-case-study__cards { grid-template-columns: 1fr; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Multilingual header refinements */
@media (max-width: 980px) {
  .iv-header__cta { display: none; }
  .iv-header__actions { margin-left: auto; }
}
@media (max-width: 760px) {
  .iv-market-switcher__current { max-width: 118px; overflow: hidden; text-overflow: ellipsis; }
  .iv-market-switcher > summary { padding-inline: 8px; }
  .iv-market-switcher__menu { position: fixed; top: 72px; right: 12px; left: 12px; width: auto; max-width: none; }
}

/* Editable media / links */
.iv-about__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iv-author__avatar { overflow: hidden; }
.iv-author__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iv-card__action { margin-top: 16px !important; }
.iv-card__action a { font-weight: 800; text-decoration: none; }
.iv-footer__legal-links { display: inline-flex; gap: 14px; flex-wrap: wrap; }

/* Breadcrumbs */
.iv-breadcrumbs{margin:0 0 18px;font-size:.86rem;color:var(--iv-muted)}
.iv-breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:7px;list-style:none;padding:0;margin:0}
.iv-breadcrumbs li{display:flex;align-items:center;gap:7px;min-width:0}
.iv-breadcrumbs li:not(:last-child)::after{content:"/";color:#a6b2c2}
.iv-breadcrumbs a{color:var(--iv-muted);text-decoration:none}
.iv-breadcrumbs a:hover{color:var(--iv-blue);text-decoration:underline}
.iv-breadcrumbs [aria-current="page"]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:42ch}
