/* JCI Estonia — ametlikul JCI 2025 visuaalsel identiteedil põhinev disainisüsteem */
:root {
	--jci-blue: #0097D7;
	--jci-black: #130F2D;
	--jci-navy: #1F4789;
	--jci-teal: #57BCBC;
	--jci-yellow: #EFC40F;
	--jci-blue-dark: var(--jci-black);
	--jci-blue-soft: #EFFAFF;
	--jci-accent: var(--jci-yellow);
	--jci-ink: var(--jci-black);
	--jci-body: #424057;
	--jci-line: #DCECF2;
	--jci-bg: #FFFFFF;
	--jci-bg-alt: #F2FAFD;
	--jci-radius: 6px;
	--jci-max: 1200px;
	--jci-font: "Plus Jakarta Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--jci-font); color: var(--jci-body); background: var(--jci-bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--jci-ink); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: 0; }
a { color: var(--jci-blue); }
img { max-width: 100%; height: auto; display: block; }
.jci-container { width: 100%; max-width: var(--jci-max); margin: 0 auto; padding: 0 24px; }
.jci-section { padding: 88px 0; }
.jci-section--alt { background: var(--jci-bg-alt); }
.jci-section__head { max-width: 720px; margin-bottom: 40px; }
.jci-section__title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.jci-section__text { font-size: 1.075rem; margin: 0; }
.jci-section__actions { margin-top: 40px; }
.jci-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--jci-blue); margin: 0 0 12px; }
.jci-skip-link { position: absolute; left: -9999px; }
.jci-skip-link:focus { left: 16px; top: 16px; background: var(--jci-bg); padding: 12px 16px; z-index: 999; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
/* Nupud */
.jci-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 4px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid transparent; transition: .2s ease; cursor: pointer; }
.jci-btn + .jci-btn { margin-left: 12px; }
.jci-btn--primary { background: var(--jci-blue); color: var(--jci-bg); }
.jci-btn--primary:hover { background: var(--jci-navy); }
.jci-btn--secondary { background: transparent; color: var(--jci-blue); border-color: var(--jci-blue); }
.jci-btn--secondary:hover { background: var(--jci-blue-soft); }
.jci-btn--ghost { background: transparent; color: var(--jci-bg); border-color: var(--jci-bg); }
.jci-btn--ghost:hover { background: rgb(255 255 255 / 16%); }
.jci-btn--light { background: var(--jci-bg); color: var(--jci-black); }
/* Elementori Button-vidin kasutab klassi vidina ümbrisel. */
.jci-elementor-button .elementor-button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border: 2px solid transparent; border-radius: 4px; font-family: var(--jci-font); font-weight: 600; font-size: .95rem; text-decoration: none; transition: .2s ease; }
.jci-elementor-button.jci-btn--primary .elementor-button { background: var(--jci-blue); color: var(--jci-bg); }
.jci-elementor-button.jci-btn--secondary .elementor-button { background: transparent; color: var(--jci-blue); border-color: var(--jci-blue); }
.jci-elementor-button.jci-btn--ghost .elementor-button { background: transparent; color: var(--jci-bg); border-color: var(--jci-bg); }
.jci-elementor-button.jci-btn--light .elementor-button { background: var(--jci-bg); color: var(--jci-black); }
/* Päis ja ametlik organisatsioonimärk */
.jci-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 96%); backdrop-filter: blur(10px); border-bottom: 1px solid var(--jci-line); }
.jci-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.jci-logo { display: inline-flex; flex-direction: column; align-items: flex-start; width: 190px; text-decoration: none; line-height: 1; }
.jci-logo__primary img { width: 168px; height: 67px; object-fit: contain; object-position: left bottom; }
.jci-logo__location { margin-top: -5px; color: var(--jci-blue); font-weight: 700; font-size: 1.05rem; line-height: 1.05; }
.custom-logo-link { display: block; }
.custom-logo { max-height: 68px; width: auto; }
.jci-nav { display: flex; align-items: center; gap: 28px; }
.jci-menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.jci-menu a { color: var(--jci-ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.jci-menu a:hover, .jci-menu .current-menu-item > a { color: var(--jci-blue); }
.jci-nav-toggle { display: none; background: none; border: 0; padding: 10px; }
.jci-nav-toggle__bar, .jci-nav-toggle__bar::before, .jci-nav-toggle__bar::after { display: block; width: 24px; height: 2px; background: var(--jci-ink); content: ""; position: relative; }
.jci-nav-toggle__bar::before { top: -7px; position: absolute; }
.jci-nav-toggle__bar::after { top: 7px; position: absolute; }
/* Hero ja JCI ripple */
.jci-hero { position: relative; min-height: 620px; display: flex; align-items: center; padding: 112px 0 96px; background: var(--jci-black); color: var(--jci-bg); overflow: hidden; }
.jci-hero::after, .jci-page__hero--brand::after { content: ""; position: absolute; width: 560px; aspect-ratio: 1; right: -120px; bottom: -260px; border: 32px solid var(--jci-blue); border-radius: 50%; box-shadow: 0 0 0 32px transparent, 0 0 0 64px var(--jci-teal), 0 0 0 96px transparent, 0 0 0 128px var(--jci-navy); opacity: .72; pointer-events: none; }
.jci-hero__bg { position: absolute; inset: 0; }
.jci-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(19 15 45 / 94%) 0%, rgb(19 15 45 / 75%) 55%, rgb(19 15 45 / 28%) 100%); }
.jci-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .74; }
.jci-hero__content { position: relative; z-index: 1; max-width: 820px; }
.jci-hero .jci-eyebrow { color: var(--jci-teal); }
.jci-hero__title { color: var(--jci-bg); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 500; }
.jci-hero__title .elementor-heading-title { color: var(--jci-bg); font: inherit; }
.jci-hero__lead { font-size: 1.18rem; color: rgb(255 255 255 / 90%); max-width: 690px; }
.jci-hero__lead p, .jci-page__lead p, .jci-cta__text p { color: inherit; margin: 0; }
.jci-hero__actions { margin-top: 32px; }
.jci-page__hero { position: relative; overflow: hidden; background: var(--jci-bg-alt); padding: 88px 0 72px; border-bottom: 1px solid var(--jci-line); }
.jci-page__hero--brand { background: var(--jci-black); color: var(--jci-bg); }
.jci-page__hero--brand .jci-container { position: relative; z-index: 1; }
.jci-page__hero--brand .jci-eyebrow { color: var(--jci-teal); }
.jci-page__hero--brand .jci-page__title, .jci-page__hero--brand .jci-page__lead { color: var(--jci-bg); }
.jci-page__title { font-size: clamp(2.5rem, 5vw, 4rem); margin: 0; font-weight: 500; }
.jci-page__title .elementor-heading-title { color: inherit; font: inherit; }
.jci-page__lead { font-size: 1.15rem; max-width: 760px; margin: 16px 0 24px; }
.jci-single__media { padding-top: 40px; }
.jci-single__media img { border-radius: var(--jci-radius); }
/* Grid ja kaardid */
.jci-grid { display: grid; gap: 28px; }
.jci-grid--3 { grid-template-columns: repeat(3, 1fr); }
.jci-grid--1 { grid-template-columns: 1fr; }
.jci-grid--4 { grid-template-columns: repeat(4, 1fr); }
.jci-card { background: var(--jci-bg); border: 1px solid var(--jci-line); border-radius: var(--jci-radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s ease; }
.jci-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgb(19 15 45 / 9%); }
.jci-card__media { display: block; aspect-ratio: 10 / 7; background: var(--jci-blue-soft); }
.jci-card__media img { width: 100%; height: 100%; object-fit: cover; }
.jci-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--jci-blue-soft), var(--jci-bg)); }
.jci-card__body { padding: 24px; }
.jci-card__meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--jci-blue); font-weight: 700; margin: 0 0 8px; }
.jci-card__title { font-size: 1.2rem; margin: 0 0 8px; }
.jci-card__title a { color: inherit; text-decoration: none; }
.jci-card__excerpt { margin: 0 0 14px; font-size: .95rem; }
.jci-card__link { font-weight: 600; text-decoration: none; font-size: .9rem; }
.jci-card__link::after { content: " →"; }
/* Split, statistika, väärtused ja sammud */
.jci-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.jci-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jci-stats li { background: var(--jci-bg); border-top: 5px solid var(--jci-blue); padding: 24px; }
.jci-stats li:nth-child(2) { border-color: var(--jci-teal); }
.jci-stats li:nth-child(3) { border-color: var(--jci-navy); }
.jci-stats li:nth-child(4) { border-color: var(--jci-yellow); }
.jci-stats strong { display: block; font-size: 1.9rem; color: var(--jci-black); line-height: 1; }
.jci-stats span { font-size: .9rem; }
.jci-value { background: var(--jci-bg); border-top: 5px solid var(--jci-blue); padding: 28px; box-shadow: 0 8px 24px rgb(19 15 45 / 6%); }
.jci-value:nth-child(2) { border-color: var(--jci-teal); }
.jci-value:nth-child(3) { border-color: var(--jci-navy); }
.jci-value:nth-child(4) { border-color: var(--jci-yellow); }
.jci-value__title { font-size: 1.1rem; }
.jci-value__text { margin: 0; font-size: .95rem; }
.jci-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.jci-steps li { background: var(--jci-bg); border: 1px solid var(--jci-line); border-radius: var(--jci-radius); padding: 28px; }
.jci-steps__num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--jci-blue); color: var(--jci-bg); font-weight: 700; margin-bottom: 14px; }
.jci-steps h3 { font-size: 1.1rem; }
.jci-steps p { margin: 0; font-size: .95rem; }
/* Sündmused */
.jci-event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.jci-event { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center; background: var(--jci-bg); border: 1px solid var(--jci-line); border-left: 5px solid var(--jci-teal); border-radius: var(--jci-radius); padding: 24px; }
.jci-event__date { font-weight: 700; color: var(--jci-blue); }
.jci-event__date small { display: block; font-weight: 500; color: var(--jci-body); }
.jci-event__title { font-size: 1.15rem; margin: 0 0 4px; }
.jci-event__title a { color: inherit; text-decoration: none; }
.jci-event__meta, .jci-event__excerpt { margin: 0; font-size: .93rem; }
.jci-event .jci-btn--ghost { color: var(--jci-blue); border-color: var(--jci-blue); }
/* Galerii ja paneelid */
.jci-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jci-gallery__item { border-radius: var(--jci-radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.jci-panel { display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: center; background: var(--jci-blue-soft); border-radius: var(--jci-radius); padding: 40px; }
.jci-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jci-highlight { background: var(--jci-black); color: var(--jci-bg); border-radius: var(--jci-radius); padding: 48px; }
.jci-highlight .jci-eyebrow { color: var(--jci-teal); }
.jci-highlight__text { font-size: 1.4rem; color: var(--jci-bg); margin: 0; max-width: 760px; }
/* CTA */
.jci-cta { position: relative; overflow: hidden; background: var(--jci-blue); color: var(--jci-bg); padding: 88px 0; }
.jci-cta::after { content: ""; position: absolute; width: 330px; aspect-ratio: 1; right: -120px; top: -180px; border: 22px solid var(--jci-teal); border-radius: 50%; box-shadow: 0 0 0 22px transparent, 0 0 0 44px var(--jci-yellow); opacity: .72; }
.jci-cta__inner { position: relative; z-index: 1; text-align: center; max-width: 680px; margin: 0 auto; }
.jci-cta__title { color: var(--jci-bg); font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.jci-cta__title .elementor-heading-title { color: var(--jci-bg); font: inherit; }
.jci-cta__text { color: rgb(255 255 255 / 92%); margin-bottom: 28px; }
.jci-elementor-content > .e-con { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; }
.jci-elementor-content .elementor-section.jci-container > .elementor-container { max-width: var(--jci-max); }
.jci-elementor-content .jci-container > .elementor-widget-wrap { display: flex; flex-direction: column; align-items: flex-start; padding: 0 24px; }
.jci-elementor-content .jci-cta .jci-container { align-items: center; }
.jci-elementor-content .jci-cta .jci-container > .elementor-widget-wrap { align-items: center; }
/* Vormid */
.jci-form-wrap { max-width: 640px; }
.jci-field { display: grid; gap: 8px; margin-bottom: 20px; }
.jci-field label { font-weight: 600; color: var(--jci-ink); font-size: .93rem; }
.jci-field input, .jci-field textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--jci-line); border-radius: 4px; font: inherit; color: var(--jci-ink); background: var(--jci-bg); }
.jci-field input:focus, .jci-field textarea:focus { outline: 2px solid var(--jci-blue); border-color: var(--jci-blue); }
.jci-field--hp { position: absolute; left: -9999px; }
.jci-notice { padding: 16px 20px; border-radius: 4px; margin-bottom: 24px; }
.jci-notice--ok { background: #E7F6EC; color: #085D3A; }
.jci-notice--error { background: #FEE4E2; color: #912018; }
/* Sisu */
.jci-prose { max-width: 760px; }
.jci-prose h2 { margin-top: 1.6em; }
.jci-prose img { border-radius: var(--jci-radius); margin: 1.5em 0; }
.jci-prose blockquote { border-left: 4px solid var(--jci-blue); margin: 1.5em 0; padding-left: 20px; color: var(--jci-ink); font-size: 1.1rem; }
/* Jalus */
.jci-footer { background: var(--jci-black); color: rgb(255 255 255 / 72%); padding: 64px 0 24px; margin-top: 0; }
.jci-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.jci-logo--footer { margin-bottom: 24px; }
.jci-logo--footer .jci-logo__primary img { filter: brightness(0) invert(1); }
.jci-footer a { color: var(--jci-bg); text-decoration: none; }
.jci-footer a:hover { text-decoration: underline; }
.jci-footer__tagline { max-width: 340px; }
.jci-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.jci-footer__bottom { border-top: 1px solid rgb(255 255 255 / 14%); margin-top: 40px; padding-top: 20px; font-size: .875rem; }
.jci-footer .widget-title { color: var(--jci-bg); font-size: 1rem; }
.jci-pagination { margin-top: 48px; }
.jci-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--jci-line); border-radius: 4px; text-decoration: none; margin-right: 6px; }
.jci-pagination .current { background: var(--jci-blue); color: var(--jci-bg); border-color: var(--jci-blue); }
.jci-404 { text-align: center; }
@media (max-width: 1024px) { .jci-grid--4 { grid-template-columns: repeat(2, 1fr); } .jci-split, .jci-panel, .jci-footer__inner { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
	.jci-grid--3, .jci-steps, .jci-gallery { grid-template-columns: 1fr; }
	.jci-event { grid-template-columns: 1fr; gap: 12px; }
	.jci-section { padding: 64px 0; }
	.jci-hero { min-height: 560px; padding: 80px 0; }
	.jci-hero::after, .jci-page__hero--brand::after { width: 360px; right: -190px; bottom: -180px; border-width: 20px; box-shadow: 0 0 0 20px transparent, 0 0 0 40px var(--jci-teal), 0 0 0 60px transparent, 0 0 0 80px var(--jci-navy); }
	.jci-nav-toggle { display: block; }
	.jci-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--jci-bg); flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; border-bottom: 1px solid var(--jci-line); display: none; }
	.jci-nav.is-open { display: flex; }
	.jci-menu { flex-direction: column; gap: 14px; }
	.jci-header__inner { position: relative; }
	.jci-logo { width: 155px; }
	.jci-logo__primary img { width: 138px; height: 55px; }
	.jci-logo__location { font-size: .88rem; }
	.jci-btn + .jci-btn { margin-left: 0; margin-top: 12px; }
}

/* Koja leht */
.jci-event-list__item { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center; background: var(--jci-bg); border: 1px solid var(--jci-line); border-left: 5px solid var(--jci-teal); border-radius: var(--jci-radius); padding: 24px; }
.jci-event-list__date { font-weight: 700; color: var(--jci-blue); }
.jci-event-list__date small { display: block; font-weight: 500; color: var(--jci-body); }
.jci-event-list__body h3 { font-size: 1.15rem; margin: 0 0 4px; }
.jci-event-list__body h3 a { color: inherit; text-decoration: none; }
.jci-event-list__body p { margin: 0; font-size: .93rem; }
.jci-event-list__cta .jci-btn--ghost { color: var(--jci-blue); border-color: var(--jci-blue); }
.jci-note { background: var(--jci-blue-soft); border-radius: var(--jci-radius); padding: 20px 24px; margin: 0 0 24px; }
.jci-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; }
.jci-tag { background: var(--jci-blue-soft); color: var(--jci-navy); border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-weight: 600; }
.jci-social { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0 0; padding: 0; }
.jci-social a { font-weight: 600; color: var(--jci-blue); }
@media (max-width: 782px) { .jci-event-list__item { grid-template-columns: 1fr; } }

/* Projekti lehe lisad */
.jci-grid--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.jci-stats--results { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.jci-gallery--empty { margin-bottom: 20px; }
.jci-gallery__placeholder { display: grid; place-items: center; aspect-ratio: 4/3; border-radius: var(--jci-radius); background: var(--jci-blue-soft); border: 1px dashed var(--jci-blue); color: var(--jci-blue); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
@media (max-width: 860px) {
	.jci-grid--2, .jci-stats--results { grid-template-columns: 1fr; }
}

/* Kontaktileht: info kaardid, juhatus, partnerid */
.jci-info-card { background: var(--jci-bg); border: 1px solid var(--jci-line); border-left: 5px solid var(--jci-blue); border-radius: var(--jci-radius); padding: 26px; }
.jci-info-card:nth-child(2) { border-left-color: var(--jci-teal); }
.jci-info-card:nth-child(3) { border-left-color: var(--jci-yellow); }
.jci-info-card__title { font-size: 1.05rem; margin: 0 0 14px; }
.jci-info-card .jci-contact-list a { text-decoration: none; }
.jci-info-card .jci-contact-list a:hover { text-decoration: underline; }
.jci-person { background: var(--jci-bg); border: 1px solid var(--jci-line); border-radius: var(--jci-radius); padding: 26px; text-align: center; }
.jci-person__avatar { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--jci-blue); color: #fff; font-family: var(--jci-font-heading, inherit); font-size: 1.5rem; font-weight: 700; }
.jci-person:nth-child(2) .jci-person__avatar { background: var(--jci-teal); }
.jci-person:nth-child(3) .jci-person__avatar { background: var(--jci-navy); }
.jci-person:nth-child(4) .jci-person__avatar { background: var(--jci-yellow); color: var(--jci-black); }
.jci-person__name { font-size: 1.1rem; margin: 0 0 6px; }
.jci-person__role { margin: 0 0 10px; font-size: .92rem; font-weight: 600; color: var(--jci-blue); }
.jci-person__role-en { font-weight: 400; font-size: .82rem; color: var(--jci-muted, #6b6b7b); text-transform: uppercase; letter-spacing: .06em; }
.jci-person__contact { margin: 0; font-size: .9rem; word-break: break-word; }
.jci-person__contact a { text-decoration: none; }
.jci-stats--partner { margin-top: 32px; grid-template-columns: repeat(4, 1fr); }
.jci-partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.jci-partner { display: grid; place-items: center; text-align: center; min-height: 96px; padding: 18px; background: var(--jci-bg); border: 1px solid var(--jci-line); border-radius: var(--jci-radius); font-weight: 600; color: var(--jci-black); text-decoration: none; transition: .2s ease; }
a.jci-partner:hover { border-color: var(--jci-blue); color: var(--jci-blue); transform: translateY(-2px); }
@media (max-width: 860px) {
	.jci-stats--partner { grid-template-columns: 1fr 1fr; }
	.jci-partners { grid-template-columns: 1fr 1fr; }
}

/* Pildikohad (Välimus → Kohanda → JCI pildid) */
.jci-media { margin: 0 0 32px; border-radius: var(--jci-radius); overflow: hidden; background: var(--jci-blue-soft); }
.jci-media--landscape { aspect-ratio: 4 / 3; }
.jci-media--portrait { aspect-ratio: 3 / 4; }
.jci-media--square { aspect-ratio: 1 / 1; }
.jci-media--wide { aspect-ratio: 16 / 6; }
.jci-media__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jci-media__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; text-align: center; padding: 20px; border: 1px dashed var(--jci-blue); border-radius: var(--jci-radius); color: var(--jci-blue); }
.jci-media__label { font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.jci-media__hint { font-size: .8rem; opacity: .75; }
.jci-media__edit { font-size: .8rem; font-weight: 600; text-decoration: underline; }
.jci-split__aside { display: grid; gap: 0; }
.jci-cta--image { background-size: cover; background-position: center; }
.jci-cta--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(19 15 45 / 72%), rgb(0 151 215 / 78%)); }
.jci-media + .jci-section__actions { margin-top: 8px; }
@media (max-width: 860px) {
	.jci-media--wide { aspect-ratio: 4 / 3; }
}

/* Liitumisvormi teated */
.jci-notice__title { margin: 0 0 8px; font-size: 1.15rem; }
.jci-notice p { margin: 0 0 8px; }
.jci-notice p:last-child { margin-bottom: 0; }
.jci-notice__hint { font-size: .9rem; opacity: .85; }
.jci-form__consent { font-size: .85rem; color: #4A5568; }
.jci-form select { width: 100%; padding: 12px 14px; border: 1px solid #D5DAE3; border-radius: 4px; font: inherit; background: #fff; }
.jci-form select:focus { outline: 2px solid #0097D7; outline-offset: 1px; }

/* Elementoriga redigeeritud lehed kasutavad sama algset JCI kujundust. */
.jci-elementor-content .e-con,
.jci-elementor-content .e-con-inner { max-width: none; width: 100%; }
.jci-elementor-content .jci-section,
.jci-elementor-content .jci-cta,
.jci-elementor-content .jci-page__hero { display: block; }
.jci-elementor-content .jci-hero { display: flex; align-items: center; }
.jci-elementor-content .jci-container { max-width: var(--jci-max); margin: 0 auto; padding: 0 24px; width: 100%; }
.jci-elementor-content .elementor-widget { width: 100%; }
.jci-elementor-content .jci-hero__actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; }
.jci-elementor-content .jci-hero__actions .elementor-widget { width: auto; }
.jci-elementor-content .jci-hero__actions > .elementor-container > .elementor-column > .elementor-widget-wrap { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; padding: 0; }
.jci-elementor-content .jci-hero__actions .elementor-button-wrapper { text-align: left; }
.jci-elementor-content .jci-hero__actions .elementor-widget-button { margin: 0; }
.jci-elementor-content .jci-hero__content > .elementor-widget-wrap { align-items: flex-start; }
.jci-elementor-content .jci-hero__content .jci-eyebrow { margin-bottom: 12px; }
.jci-elementor-content .jci-hero__content .jci-hero__title { margin-bottom: 18px; }
.jci-elementor-content .jci-hero__content .jci-hero__lead { margin-bottom: 0; }
.jci-elementor-content .jci-hero .jci-container > .elementor-widget-wrap,
.jci-elementor-content .jci-page__hero--brand .jci-container > .elementor-widget-wrap { position: relative; z-index: 1; }
.jci-elementor-content .jci-hero .elementor-widget-text-editor,
.jci-elementor-content .jci-page__hero--brand .elementor-widget-text-editor,
.jci-elementor-content .jci-cta .elementor-widget-text-editor { color: rgb(255 255 255 / 90%); }
.jci-elementor-content .jci-hero__title .elementor-heading-title,
.jci-elementor-content .jci-page__hero--brand .jci-page__title .elementor-heading-title,
.jci-elementor-content .jci-cta__title .elementor-heading-title { color: var(--jci-bg); }
.jci-elementor-content .jci-elementor-button.jci-btn--primary .elementor-button { background: var(--jci-blue); color: var(--jci-bg); border-color: transparent; }
.jci-elementor-content .jci-elementor-button.jci-btn--secondary .elementor-button { background: transparent; color: var(--jci-blue); border-color: var(--jci-blue); }
.jci-elementor-content .jci-elementor-button.jci-btn--ghost .elementor-button { background: transparent; color: var(--jci-bg); border-color: var(--jci-bg); }
.jci-elementor-content .jci-elementor-button.jci-btn--light .elementor-button { background: var(--jci-bg); color: var(--jci-black); border-color: var(--jci-bg); }
.jci-elementor-content .jci-section > .elementor-container,
.jci-elementor-content .jci-page__hero > .elementor-container,
.jci-elementor-content .jci-hero > .elementor-container,
.jci-elementor-content .jci-cta > .elementor-container { width: 100%; }
.jci-elementor-content .jci-section > .elementor-container > .jci-container,
.jci-elementor-content .jci-page__hero > .elementor-container > .jci-container,
.jci-elementor-content .jci-hero > .elementor-container > .jci-container,
.jci-elementor-content .jci-cta > .elementor-container > .jci-container { padding-left: 24px; padding-right: 24px; }
@media (max-width: 860px) {
	.jci-elementor-content .jci-hero { display: flex; }
	.jci-elementor-content .jci-hero__actions > .elementor-container > .elementor-column > .elementor-widget-wrap { align-items: flex-start; }
}

/* Phone layouts: retain the existing JCI palette and desktop design. */
.jci-grid > *, .jci-split > *, .jci-stats > *, .jci-panel > *,
.jci-event > *, .jci-event-list__item > *, .jci-footer__inner > *,
.jci-elementor-content .elementor-column,
.jci-elementor-content .elementor-widget-wrap { min-width: 0; }
.jci-contact-list, .jci-person, .jci-prose, .jci-card__body,
.jci-partner, .jci-value, .jci-page__title { overflow-wrap: anywhere; }
.jci-media { margin-left: 0; margin-right: 0; }
.jci-prose iframe, .jci-prose video { max-width: 100%; }
.jci-btn, .jci-elementor-button .elementor-button { min-height: 44px; white-space: normal; text-align: center; }
.jci-nav-toggle { cursor: pointer; min-width: 44px; min-height: 44px; }
.jci-nav-toggle:focus-visible, .jci-menu a:focus-visible { outline: 2px solid var(--jci-blue); outline-offset: 4px; }
@media (max-width: 1100px) {
 .jci-header__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
 .jci-header__brand { min-width: 0; }
 .jci-nav-toggle { display: grid; place-items: center; }
 .jci-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 18px; padding: 16px 24px 24px; background: var(--jci-bg); border-bottom: 1px solid var(--jci-line); max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; }
 .jci-nav.is-open { display: flex; }
 .jci-menu { flex-direction: column; gap: 0; width: 100%; }
 .jci-menu a { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
 .jci-menu .sub-menu { list-style: none; padding-left: 20px; }
 .jci-nav__cta { align-self: flex-start; }
}
@media (max-width: 860px) {
 .jci-elementor-content .jci-hero__actions > .elementor-container > .elementor-column > .elementor-widget-wrap { flex-wrap: wrap; }
 .jci-event-list__item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 600px) {
 .jci-container, .jci-elementor-content .jci-container { padding-left: 20px; padding-right: 20px; }
 .jci-elementor-content .jci-section > .elementor-container > .jci-container,
 .jci-elementor-content .jci-page__hero > .elementor-container > .jci-container,
 .jci-elementor-content .jci-hero > .elementor-container > .jci-container,
 .jci-elementor-content .jci-cta > .elementor-container > .jci-container { padding-left: 20px; padding-right: 20px; }
 /* Only the outer column needs gutters; nested widgets use the available width. */
 .jci-elementor-content .jci-container > .elementor-widget-wrap { padding-left: 0; padding-right: 0; }
 .jci-header__inner { min-height: 76px; }
 .jci-logo { max-width: 100%; width: 155px; }
 .custom-logo { max-width: 100%; max-height: 56px; object-fit: contain; }
 .jci-section { padding-top: 48px; padding-bottom: 48px; }
 .jci-section__head { margin-bottom: 28px; }
 .jci-section__actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
 .jci-section__actions .jci-btn + .jci-btn { margin: 0; }
 .jci-hero { min-height: 0; padding: 56px 0 64px; }
 .jci-hero__title { font-size: 3rem; overflow-wrap: anywhere; }
 .jci-hero__lead, .jci-page__lead { font-size: 1rem; }
 .jci-page__hero { padding: 48px 0 40px; }
 .jci-page__title { font-size: 2.25rem; }
 .jci-section__title, .jci-cta__title { font-size: 1.75rem; }
 .jci-hero__actions { display: flex; flex-direction: column; gap: 12px; }
 .jci-hero__actions .jci-btn { width: 100%; }
 .jci-hero__actions .jci-btn + .jci-btn { margin: 0; }
 .jci-elementor-content .jci-hero__actions,
 .jci-elementor-content .jci-hero__actions > .elementor-container > .elementor-column > .elementor-widget-wrap { flex-direction: column; align-items: stretch; gap: 12px; }
 .jci-elementor-content .jci-hero__actions .elementor-widget,
 .jci-elementor-content .jci-hero__actions .elementor-button { width: 100%; }
 .jci-elementor-content .jci-hero__actions > .elementor-container,
 .jci-elementor-content .jci-hero__actions > .elementor-container > .elementor-column { width: 100%; }
 .jci-grid--2, .jci-grid--3, .jci-grid--4, .jci-steps,
 .jci-partners, .jci-stats--results { grid-template-columns: minmax(0, 1fr); gap: 20px; }
 .jci-stats, .jci-stats--partner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
 .jci-stats li { padding: 18px 14px; overflow-wrap: anywhere; }
 .jci-stats strong { font-size: 1.6rem; }
 .jci-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
 .jci-split { gap: 28px; }
 .jci-panel, .jci-highlight { padding: 24px; gap: 20px; }
 .jci-highlight__text { font-size: 1.15rem; }
 .jci-event, .jci-event-list__item { padding: 20px; }
 .jci-event .jci-btn, .jci-event-list__cta .jci-btn { width: 100%; }
 .jci-card__body, .jci-value, .jci-info-card, .jci-person, .jci-steps li { padding: 22px; }
 .jci-cta { padding: 48px 0; }
 .jci-footer { padding-top: 48px; }
 .jci-footer__inner { gap: 28px; }
 .jci-form-wrap, .jci-form { width: 100%; min-width: 0; }
 .jci-field input, .jci-field textarea, .jci-form select { min-width: 0; font-size: 16px; }
 .jci-form .jci-btn { width: 100%; }
 .jci-media--portrait { aspect-ratio: 4 / 5; }
 .jci-pagination { display: flex; flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
 .jci-card, .jci-btn, .jci-partner, .jci-elementor-button .elementor-button { transition: none; }
}
