/* COGNO Core — listing & directory styles. Intentionally light; inherits site fonts/colours. */

/* =================================================================
   COGNO design system — tokens + base layer for custom-coded pages.
   Scoped + !important where needed so the Elementor theme kit can't
   override it. Used by .cogno-page and all cogno-core widgets.
   ================================================================= */
:root {
	/* Self-contained brand palette — NOT linked to Elementor's global kit, so the page builder
	   can never shift our widgets' colours. Edit these values to re-brand. */
	--cogno-navy: #001f53;
	--cogno-navy-2: #324a6d;
	--cogno-purple: #393292;   /* brand "Primary Dark Lila" — primary buttons */
	--cogno-blue: #1f58e6;     /* brand Royal Blue — links/accents */
	--cogno-coral: #ff4433;    /* brand coral — CTA fill only (never a border) */
	--cogno-ink: #324a6d;
	--cogno-ink-soft: #46586f;
	--cogno-bg: #f7f9fc;
	--cogno-bg-soft: #eef4ff;
	--cogno-line: #e3e9f1;
	--cogno-line-strong: #cfd9e6;
	--cogno-border-width: 1.5px;  /* one consistent border width across all controls */
	--cogno-radius: 12px;
	--cogno-radius-inner: 8px;           /* nested elements inside a card (images, insets) — always smaller than --cogno-radius */
	--cogno-radius-pill: 999px;
	--cogno-font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--cogno-section-y: clamp(60px, 11vw, 150px);  /* top/bottom page padding */
	--cogno-text: 1rem;                  /* base body copy size (16px) */
	--cogno-section-title-size: 1.75rem; /* section heading size (28px) */
	--cogno-maxw: 1140px;
	--cogno-card-pad: 16px;              /* consistent card inner padding (media + body) */
	/* Spacing scale — the ONE source of truth for margins / padding / gaps.
	   Use these everywhere instead of ad-hoc px so vertical rhythm stays consistent. */
	--cogno-space-xs: 8px;
	--cogno-space-sm: 12px;
	--cogno-space-md: 20px;
	--cogno-space-lg: 32px;
	--cogno-space-xl: 48px;
	/* Font weights — Figtree. Brand rule: headings/body stay at 'normal' (400); 'medium' (500)
	   for footer/section labels; 'semibold' (600) is the button/pill weight only. */
	--cogno-weight-normal: 400;
	--cogno-weight-medium: 500;
	--cogno-weight-semibold: 600;
	--cogno-modal-maxw: 720px;           /* default modal max-width */
	--cogno-modal-maxw-wide: 920px;      /* wide variant — committee bio profiles */
	--cogno-surface: #fff;               /* panel/card/dropdown background */
	--cogno-shadow: 0 10px 30px rgba(16,36,59,.12); /* dropdown & popup shadow */
	--cogno-shadow-card: 0 6px 22px rgba(16,36,59,.10); /* card hover shadow */

	/* ── Responsive breakpoints — MIRROR the Elementor Site Settings → Breakpoints.
	   Keep these in sync with Elementor so COGNO components reflow at the same widths as
	   Elementor content. NOTE: CSS @media rules cannot read var(); these are the canonical
	   reference values + are read by JS (matchMedia). Every @media in cogno-core.css /
	   cogno-layout.css MUST use one of these literal px values:
	     Mobile Portrait ≤ 736 · Tablet Portrait ≤ 1024 · Laptop ≤ 1440 · Widescreen ≥ 2400
	   Elementor content width 1366 / container padding 24 (see --cogno-trial wrap, kit). */
	--cogno-bp-mobile: 736px;
	--cogno-bp-tablet: 1024px;
	--cogno-bp-laptop: 1440px;
	--cogno-bp-wide: 2400px;
}

/* Full custom-page layout, isolated from the Elementor theme. */
.cogno-page {
	font-family: var(--cogno-font) !important;
	color: var(--cogno-ink);
	padding-top: var(--cogno-section-y) !important;
	padding-bottom: var(--cogno-section-y) !important;
}
.cogno-page__inner {
	max-width: var(--cogno-maxw);
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(20px, 5vw, 40px);
	padding-right: clamp(20px, 5vw, 40px);
}
.cogno-page h1, .cogno-page h2, .cogno-page h3, .cogno-page h4 {
	font-family: var(--cogno-font) !important;
	color: var(--cogno-navy) !important;
	line-height: 1.15 !important;
	margin: 0 0 .5em !important;
}
.cogno-page h1 { font-size: clamp(2rem, 4.2vw, 2.8rem) !important; font-weight: 400 !important; }
.cogno-page h2 { font-size: clamp(1.5rem, 3vw, 2rem) !important; font-weight: 400 !important; }
.cogno-page h3 { font-size: 1.2rem !important; font-weight: 400 !important; }

/* Brand rule: headings never exceed weight 400 (Figtree). */
.cogno-page h4,
.cogno-card__title, .cogno-card__name, .cogno-slide__title,
.cogno-member__welcome, .cogno-member__name, .cogno-member__subhead,
.cogno-login__title, .cogno-sg h1, .cogno-sg h2, .cogno-sg h3 { font-weight: 400 !important; }
.cogno-page p { color: var(--cogno-ink-soft); line-height: 1.65; margin: 0 0 1em; }
.cogno-page a:not([class]) { color: var(--cogno-blue); }
.cogno-page > .cogno-page__inner > :first-child { margin-top: 0 !important; }

/* Design-system buttons (reusable, isolated). */
.cogno-page .cogno-btn,
.cogno-btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 48px; padding: 0 28px; border-radius: var(--cogno-radius-pill);
	font-weight: 600; text-decoration: none; cursor: pointer; border: var(--cogno-border-width, 1.5px) solid transparent;
	font-family: var(--cogno-font);
}
.cogno-btn--primary { background: var(--cogno-purple); color: #fff !important; }
.cogno-btn--primary:hover { background: var(--cogno-navy); }
.cogno-btn--ghost { background: transparent; color: var(--cogno-blue) !important; border-color: var(--cogno-line-strong); }
.cogno-btn--ghost:hover { border-color: var(--cogno-blue); }

/* Style guide */
.cogno-sg__swatches { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 10px; }
.cogno-sg__swatch { width: 132px; }
.cogno-sg__swatch span { display: block; height: 64px; border-radius: 10px; border: 1px solid rgba(0,0,0,.08); margin-bottom: 6px; }
.cogno-sg__swatch b { display: block; font-size: .85rem; color: var(--cogno-ink); }
.cogno-sg__swatch code { font-size: .76rem; color: var(--cogno-ink-soft); }
.cogno-sg__row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 10px; }
.cogno-sg h2 { margin-top: 1.6em !important; border-top: 1px solid var(--cogno-line); padding-top: 1.2em; }

.cogno-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
}
.cogno-cols-1 { grid-template-columns: 1fr; }
.cogno-cols-2 { grid-template-columns: repeat(2, 1fr); }
.cogno-cols-3 { grid-template-columns: repeat(3, 1fr); }
.cogno-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive ladder — aligned to the Elementor site breakpoints
   (Laptop 1440 / Tablet Portrait 1024 / Mobile Portrait 736). Each column choice
   cascades DOWN one step per breakpoint, so picking "4" gives 4 → 3 → 2 → 1:
     cols-4: 4 (desktop) · 3 (≤1440 laptop) · 2 (≤1024 tablet) · 1 (≤736 mobile)
     cols-3: 3            · 3              · 2               · 1
     cols-2: 2            · 2              · 2               · 1 */
@media (max-width: 1440px) {
	.cogno-cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
	.cogno-cols-3, .cogno-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 736px) {
	.cogno-grid { grid-template-columns: 1fr; }
	/* People/committee cards are photo-forward — keep a 2-up "team grid" on mobile (text-heavy
	   publication/trial/news cards stay 1-up above). Two-class selector beats the 1fr rule. */
	.cogno-grid.cogno-grid--card-committee,
	.cogno-grid.cogno-people { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

.cogno-card {
	display: flex;
	flex-direction: column;
	background: var(--cogno-surface);
	border: 1px solid var(--cogno-line);
	border-radius: var(--cogno-radius);
	overflow: hidden;
	transition: box-shadow .18s ease, transform .18s ease;
}
.cogno-card:hover {
	box-shadow: var(--cogno-shadow-card);
	transform: translateY(-2px);
}
.cogno-card__media { 
    /* aspect-ratio: 16 / 9;  */
    overflow: hidden; background: #f4f7fb; }
/* !important: the theme/Elementor forces img{height:auto}, which leaves empty space below
   wide images. Force the card image to fill + cover its media box. */
.cogno-card__media img,
.cogno-card__img { /*width: 100% !important; height: 100% !important; display: block;*/object-fit: cover !important; display: inline; }
.cogno-card__body { padding: 16px 18px; }
.cogno-card__title { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.3; }
.cogno-card__title a { text-decoration: none; color: inherit; }
.cogno-card__email { font-size: .9rem; word-break: break-word; }
.cogno-card__excerpt { margin: 6px 0 0; font-size: .9rem; opacity: .8; }

/* Publication card */
.cogno-card--publication .cogno-card__body { padding: 20px 22px; }
.cogno-card__tag {
	display: inline-block;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #1f58e6;
	background: #e8effd;
	padding: 3px 9px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.cogno-card--publication .cogno-card__title { font-size: 1.02rem; line-height: 1.35; }
.cogno-card--publication .cogno-card__title a { color: #16243b; }
.cogno-card--publication .cogno-card__title a:hover { color: #1f58e6; }
.cogno-card__meta { margin: 8px 0 0; font-size: .82rem; font-weight: 600; opacity: .7; }
.cogno-card__cite { margin: 10px 0 0; font-size: .86rem; line-height: 1.55; color: #46586f; }
.cogno-card__cite p { margin: 0; }
.cogno-card--publication .cogno-card__title {
	text-transform: uppercase;
	font-size: .98rem;
	letter-spacing: .01em;
	color: #16243b;
	margin: 0 0 10px;
}
.cogno-card .cogno-card__more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	font-size: .85rem;
	font-weight: 600;
	color: #1f58e6;
	text-decoration: none;
}
.cogno-card .cogno-card__more:hover { color: #001f53; }
.cogno-card .cogno-card__more svg { flex: none; }

/* Member dashboard + login */
.cogno-member { max-width: 720px; }
/* Headings inherit .cogno-page h2/h3 typography tokens — only spacing is set here. */
.cogno-member__name { margin: 0 0 var(--cogno-space-md); }
.cogno-member__welcome { margin: 0 0 var(--cogno-space-md); }
.cogno-member__subhead { margin: var(--cogno-space-lg) 0 var(--cogno-space-sm); }
.cogno-member__links { display: flex; flex-wrap: wrap; gap: var(--cogno-space-sm); margin: 0 0 var(--cogno-space-lg); }
.cogno-member__grid { display: grid; grid-template-columns: 220px 1fr; gap: 0; margin: 0; border: 1px solid var(--cogno-line); border-radius: var(--cogno-radius); overflow: hidden; }
.cogno-member__grid dt { padding: var(--cogno-space-sm) var(--cogno-space-md); background: var(--cogno-bg); font-weight: 600; color: var(--cogno-ink); border-bottom: 1px solid var(--cogno-line); }
.cogno-member__grid dd { padding: var(--cogno-space-sm) var(--cogno-space-md); margin: 0; color: var(--cogno-ink-soft); border-bottom: 1px solid var(--cogno-line); }
.cogno-member__grid dt:last-of-type, .cogno-member__grid dd:last-of-type { border-bottom: none; }
/* Quick-link pills: match the style-guide button geometry (btn padding/size + pill radius); normal weight (no bold). */
.cogno-member__link { display: inline-flex; align-items: center; padding: var(--cogno-btn-py, 9px) var(--cogno-btn-px, 18px); border-radius: var(--cogno-radius-pill, 999px); background: var(--cogno-bg-soft, #eef4ff); color: var(--cogno-blue, #1f58e6) !important; font-size: var(--cogno-btn-size, 14px); font-weight: var(--cogno-weight-normal); text-decoration: none !important; transition: background .15s ease, color .15s ease; }
/* !important on the hover colour: the Elementor kit's `.elementor-kit-14 a:hover` (#393292) has
   higher specificity and would otherwise win, leaving dark text on the blue pill. */
.cogno-member__link:hover { background: var(--cogno-blue, #1f58e6) !important; color: #fff !important; }
.cogno-member__pw { margin-top: var(--cogno-space-lg); border: 1px solid var(--cogno-line); border-radius: var(--cogno-radius); padding: 0 var(--cogno-space-md); }
.cogno-member__pw summary { display: flex; align-items: center; gap: var(--cogno-space-xs); cursor: pointer; font-weight: 600; color: var(--cogno-ink); padding: var(--cogno-space-sm) 0; list-style: none; }
.cogno-member__pw summary::-webkit-details-marker { display: none; }        /* replace the default ▶ with Lucide icons */
.cogno-member__pw summary .cogno-ico { width: 18px; height: 18px; }
.cogno-member__pw summary .cogno-member__pw-lock { color: var(--cogno-purple); }
.cogno-member__pw summary .cogno-member__pw-caret { margin-left: auto; color: var(--cogno-ink-soft); transition: transform .15s ease; }
.cogno-member__pw[open] summary .cogno-member__pw-caret { transform: rotate(180deg); }
.cogno-pwform { display: flex; flex-wrap: wrap; gap: var(--cogno-space-sm); align-items: flex-end; padding: var(--cogno-space-xs) 0 var(--cogno-space-md); }
.cogno-pwform label { display: flex; flex-direction: column; gap: 5px; font-size: .85rem; color: var(--cogno-ink-soft); }
/* Inputs + button share the same 48px height so they align on the flex-end baseline. */
.cogno-pwform input { height: 48px; padding: 0 14px; border: 1px solid var(--cogno-line-strong); border-radius: var(--cogno-radius-inner); min-width: 200px; }
.cogno-member__btn { height: 48px; padding: 0 22px; border: none; border-radius: var(--cogno-radius-pill); background: var(--cogno-purple); color: #fff; font-weight: var(--cogno-weight-semibold); cursor: pointer; }
.cogno-member__btn:hover { background: var(--cogno-navy); }
.cogno-member__notice { padding: var(--cogno-space-xs) var(--cogno-space-sm); border-radius: var(--cogno-radius-inner); font-size: .9rem; margin: 0 0 var(--cogno-space-sm); }
.cogno-member__notice--ok { background: #e7f5ee; color: #0c5b3c; }
.cogno-member__notice--err { background: #fbe9e7; color: #b7791f; }
.cogno-login__title { margin: 0 0 var(--cogno-space-md); }   /* size/colour from .cogno-page h2 tokens */
/* .cogno-member scope beats `.cogno-page p { margin:0 0 1em }` (which was resetting margin-top to 0). */
.cogno-member .cogno-member__logout { margin-top: var(--cogno-space-lg); }
/* Log out = secondary action → neutral outline button on the style-guide button tokens (btn size/padding/weight), with a Lucide icon. */
.cogno-member__logout a {
	display: inline-flex;
	align-items: center;
	gap: var(--cogno-space-xs);
	padding: var(--cogno-btn-py, 9px) var(--cogno-btn-px, 18px);
	border: var(--cogno-border-width, 1.5px) solid var(--cogno-line-strong);
	border-radius: var(--cogno-radius-pill);
	background: transparent;
	color: var(--cogno-ink) !important;
	font-size: var(--cogno-btn-size, 14px);
	font-weight: var(--cogno-weight-semibold);
	text-decoration: none !important;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cogno-member__logout a:hover { border-color: var(--cogno-purple); color: var(--cogno-purple) !important; background: var(--cogno-bg); }
.cogno-member__logout a .cogno-ico { width: 17px; height: 17px; }
/* "Forgot your password?" stays a plain text link. */
.cogno-login__lost a { color: var(--cogno-blue, #1f58e6) !important; text-decoration: underline; }
.cogno-login__lost a:hover { color: var(--cogno-navy, #001f53) !important; }
.cogno-login { max-width: 440px; }
.cogno-login form { margin: 0; }
.cogno-login p { margin: 0 0 var(--cogno-space-sm); }        /* even rhythm between form rows */
.cogno-login .login-remember { margin-bottom: var(--cogno-space-md); }
.cogno-login .login-remember label { display: flex; align-items: center; gap: var(--cogno-space-xs); font-weight: 400; margin: 0; }
.cogno-login__lost { margin: var(--cogno-space-md) 0 0; }
/* !important + full property set: fully override the theme's Elementor kit (.elementor-kit-14 …)
   and reset.css on the member/login controls, so these forms match the design system 100%. */
.cogno-login input[type="text"],
.cogno-login input[type="password"],
.cogno-login input[type="email"],
.cogno-pwform input[type="password"] {
	width: 100% !important;
	height: 48px !important;
	padding: 0 16px !important;
	border: 1px solid var(--cogno-line-strong, #cfd9e6) !important;
	border-radius: var(--cogno-radius-inner, 8px) !important;
	background: var(--cogno-surface, #fff) !important;
	background-image: none !important;
	font-family: var(--cogno-font) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: normal !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: var(--cogno-ink, #324a6d) !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	margin-bottom: var(--cogno-space-sm);
}
.cogno-login label { display: block; font-family: var(--cogno-font) !important; font-weight: 600; color: var(--cogno-ink, #324a6d); margin-bottom: 6px; }
.cogno-login .button,
.cogno-login input[type="submit"],
.cogno-member__btn {
	display: inline-block !important;
	width: auto !important;
	background: var(--cogno-purple, #393292) !important;
	background-image: none !important;
	color: #fff !important;
	border: none !important;
	border-radius: var(--cogno-radius-pill, 999px) !important;
	height: 48px !important;
	line-height: 48px !important;
	padding: 0 28px !important;
	font-family: var(--cogno-font) !important;
	font-size: 1rem !important;
	font-weight: var(--cogno-weight-semibold) !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	cursor: pointer !important;
	transition: background .15s ease !important;
}
.cogno-login .button:hover,
.cogno-login input[type="submit"]:hover,
.cogno-member__btn:hover { background: var(--cogno-navy, #001f53) !important; }
.cogno-login input:focus-visible, .cogno-pwform input:focus-visible { outline: 2px solid var(--cogno-blue, #1f58e6) !important; outline-offset: 1px; }
/* The shared hardened rule adds margin-bottom (for the STACKED login form). The reset-password
   form is a horizontal flex row, so that bottom margin misaligns the button — remove it here.
   (Same specificity as the hardened selector, later in the file → wins, no !important needed.) */
.cogno-pwform input[type="password"] { margin-bottom: 0; }
@media (max-width: 560px){ .cogno-member__grid { grid-template-columns: 1fr; } .cogno-member__grid dt { border-bottom: none; padding-bottom: 0; background: var(--cogno-surface, #fff); } }

/* Single-page field output */
.cogno-field { margin: 0 0 12px; }
.cogno-field__label { font-weight: 700; color: #16243b; }
.cogno-field__value { color: #46586f; }
.cogno-field--html .cogno-field__value p { margin: 0 0 10px; }
.cogno-field__img { max-width: 100%; height: auto; border-radius: 8px; }

/* ====================================================================
   ELEMENTOR OVERRIDE RULE — mandatory for every interactive element
   ====================================================================
   Two Elementor stylesheets both override our widget styles on the
   live frontend (they load AFTER cogno-core.css and have equal or
   higher specificity):

   1. reset.css  → targets `button`, `[type=button]`, `[type=submit]`:
        display: inline-block  ← collapses flex layout → button shrinks
        width: auto            ← breaks width: 100% on flex children
        background: transparent
        border: 1px solid #c36 (coral!)
        border-radius: 3px
        color: #c36
        padding: .5rem 1rem

   2. kit post-14.css → targets `.elementor-kit-NN button`,
      `.elementor-kit-NN input[type=button]`:
        background-color: #393292 (purple!)
        font-family: Poppins, Sans-serif
        border-radius: 40px
        padding: 12px 24px

   The Elementor editor preview loads a different stylesheet order,
   so styles appear correct there but break on the live page.

   RULE: Every <button>, <input>, <select>, and <form> rendered by
   cogno-core MUST use !important on ALL of the following:
     • display          (reset forces inline-block)
     • width / height   (reset/kit force auto)
     • border           (reset forces coral #c36)
     • border-radius    (kit forces 40px)
     • background       (kit forces #393292)
     • color            (kit forces its global colour)
     • padding          (kit forces 12px 24px)
     • font-family      (kit forces Poppins)
   ==================================================================== */

/* Search form (header popup) */
.cogno-searchform { position: relative; display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto; }
.cogno-searchform .cogno-search-icon { position: absolute; left: 18px; color: #1f58e6; pointer-events: none; }
.cogno-searchform__input { flex: 1 1 auto; min-width: 0; height: 52px !important; padding: 0 18px 0 48px !important; border: 1px solid var(--cogno-line-strong) !important; border-radius: var(--cogno-radius-pill) !important; font-size: 1rem; background: var(--cogno-surface) !important; color: var(--cogno-ink) !important; font-family: var(--cogno-font) !important; }
.cogno-searchform__btn { flex: none; height: 52px; padding: 0 26px; border: none !important; border-radius: 999px !important; background: var(--cogno-purple, #393292) !important; color: #fff !important; font-weight: 600; cursor: pointer; }
.cogno-searchform__btn:hover { background: #001f53 !important; }

/* Post terms (category links) */
.cogno-terms { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.cogno-term { font-size: .8rem; font-weight: 600; color: #1f58e6; text-decoration: none; background: #e8effd; padding: 3px 12px; border-radius: 999px; }
.cogno-term:hover { background: #1f58e6; color: #fff; }

/* Auto header-overlap: pull the Elementor section containing the hero behind the sticky header
   so every hero page gets the effect without manually setting margin-top in Elementor.
   Also zero any Elementor padding-top on that section — spacing is controlled by the widget.
   :has() is supported in all modern browsers; older browsers simply skip this rule. */
.elementor > .elementor-element:has(.cogno-hero) {
	padding-top: 0 !important;
	margin-top: calc(-1 * var(--cogno-header-h, 72px)) !important;
}

/* ===== Header hero slider — transparent (the Elementor section supplies the purple bg) ===== */
.cogno-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.cogno-hero__track { position: relative; min-height: var(--cogno-hero-h, 650px); cursor: grab; }
.cogno-hero.is-dragging, .cogno-hero.is-dragging .cogno-hero__track { cursor: grabbing; user-select: none; }
.cogno-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease;
}
.cogno-slide.is-active { opacity: 1; visibility: visible; position: relative; }

/* Image sits on the RIGHT (not behind the text). A soft elliptical mask feathers ALL its
   edges to transparent so the section's purple shows through — the image melts into the bg. */
.cogno-slide__media {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 55%;
	z-index: 1;
	/* Two mask layers, intersected: elliptical edge-feather + a bottom fade-out. */
	--cogno-mask-ellipse: radial-gradient(125% 135% at 78% 45%, #000 36%, rgba(0,0,0,0) 90%);
	--cogno-mask-bottom: linear-gradient(to top, rgba(0,0,0,0) 0%, #000 22%);
	-webkit-mask-image: var(--cogno-mask-ellipse), var(--cogno-mask-bottom);
	-webkit-mask-composite: source-in;
	        mask-image: var(--cogno-mask-ellipse), var(--cogno-mask-bottom);
	        mask-composite: intersect;
}
.cogno-slide__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cogno-slide__inner {
	position: relative;
	z-index: 2;                       /* text above the image */
	max-width: 1200px;
	margin: 0 auto;
	min-height: var(--cogno-hero-h, 560px);
	display: flex;
	align-items: center;
	padding: calc(var(--cogno-header-h, 72px) + 48px) clamp(20px, 5vw, 64px) 48px;
}
.cogno-slide__text { max-width: 50%; }
.cogno-slide__title {
	margin: 0 0 18px;
	/* Aligned to the site's hero spec: Figtree 72/80, weight 400 */
	font-family: "Figtree", sans-serif;
	font-weight: 400;
	font-size: clamp(2.4rem, 5.5vw, 72px);
	line-height: 1.08;
	letter-spacing: -.01em;
	color: #fff !important;   /* own colour, not Elementor's global kit */
}
.cogno-slide__sub { margin: 0 0 28px; font-family: "Figtree", sans-serif; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.5; color: #fff !important; opacity: .94; max-width: 44ch; }
.cogno-slide__btn {
	display: inline-block;
	padding: 13px 30px;
	border: 1.5px solid rgba(255,255,255,.8);
	border-radius: 999px;
	color: #fff !important;   /* the kit's `a{color:#1F58E6}` must not recolour our CTA */
	text-decoration: none;
	font-weight: 600;
	font-size: .98rem;
	transition: background .18s ease, color .18s ease;
}
.cogno-slide__btn:hover { background: #fff; color: #001f53 !important; }

.cogno-hero__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	z-index: 3;
	width: 46px; height: 46px;
	border: none !important; border-radius: 50% !important;
	background: rgba(255,255,255,.18) !important;
	color: #fff !important; font-size: 1.7rem; line-height: 1; cursor: pointer;
	display: grid; place-items: center;
	transition: background .18s ease;
}
.cogno-hero__arrow:hover { background: rgba(255,255,255,.34) !important; }
.cogno-hero__arrow--prev { left: 18px; }
.cogno-hero__arrow--next { right: 18px; }
.cogno-hero__dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.cogno-hero__dot { width: 11px; height: 11px; border-radius: 50% !important; border: none !important; background: rgba(255,255,255,.45) !important; cursor: pointer; padding: 0 !important; }
.cogno-hero__dot.is-active { background: #fff !important; width: 28px; border-radius: 999px !important; }

@media (max-width: 768px) {
	/* Text on top, IMAGE AT THE BOTTOM. */
	.cogno-slide.is-active { display: flex; flex-direction: column; }
	.cogno-slide__media {
		position: relative; width: 100%; height: 300px;
		/* feather edges + fade the TOP into purple above + fade the BOTTOM into purple below */
		--cogno-mask-ellipse: radial-gradient(150% 130% at 50% 60%, #000 42%, rgba(0,0,0,0) 92%);
		--cogno-mask-top: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 26%);
		--cogno-mask-bottom: linear-gradient(to top, rgba(0,0,0,0) 0%, #000 22%);
		-webkit-mask-image: var(--cogno-mask-ellipse), var(--cogno-mask-top), var(--cogno-mask-bottom);
		-webkit-mask-composite: source-in, source-in;
		        mask-image: var(--cogno-mask-ellipse), var(--cogno-mask-top), var(--cogno-mask-bottom);
		        mask-composite: intersect, intersect;
	}
	/* Push text down by the sticky header height so it isn't hidden behind the header bar */
	.cogno-slide__inner { min-height: 0; padding: calc(var(--cogno-header-h, 72px) + 24px) 22px 16px; }
	.cogno-slide__text { max-width: 100%; }
	.cogno-hero__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.cogno-slide { transition: none; }
}

/* People section (widget-owned heading + padded body — replaces the Chairs/Speakers container) */
.cogno-people-section { border-radius: 14px; overflow: hidden; margin-bottom: 30px; }
.cogno-people-section__head { background: #7088ff; padding: 16px clamp(20px, 4vw, 36px); }
.cogno-people-section__title { color: #fff !important; margin: 0 !important; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 400; }
.cogno-people-section__body { background: #f4f7fb; padding: clamp(22px, 3vw, 34px) clamp(20px, 4vw, 36px); }

/* People with bio (event single: chairs/speakers) — photo left, details + bio right. */
.cogno-people--bio { display: flex; flex-direction: column; gap: 30px; }
.cogno-person-row { display: flex; gap: 24px; align-items: flex-start; }
.cogno-person-row__media { flex: 0 0 170px; }
.cogno-person-row__media .cogno-card__img { width: 170px !important; height: 170px !important; object-fit: cover !important; border-radius: var(--cogno-radius-inner); }
.cogno-person-row__name { font-size: 1.3rem; font-weight: 400; color: #7088ff; margin: 0 0 4px; }
.cogno-person-row__title { color: #16243b; margin: 0 0 12px; line-height: 1.45; }
.cogno-person-row__bio { color: #46586f; line-height: 1.65; }
.cogno-person-row__bio p { margin: 0 0 10px; }
.cogno-person-row__bio p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .cogno-person-row { flex-direction: column; } .cogno-person-row__media { flex-basis: auto; } }

/* Modal */
.cogno-modal { position: fixed; inset: 0; z-index: 100000; display: none; }
.cogno-modal.is-open { display: block; }
.cogno-modal__overlay { position: absolute; inset: 0; background: rgba(0,31,83,.55); backdrop-filter: blur(2px); }
.cogno-modal__dialog {
	position: relative; z-index: 1; max-width: var(--cogno-modal-maxw); width: calc(100% - 40px);
	margin: 6vh auto; max-height: 88vh; overflow-y: auto;
	background: #fff; border-radius: 16px; padding: 30px clamp(20px,4vw,40px);
	box-shadow: 0 24px 60px rgba(0,31,83,.3); outline: none;
}
.cogno-modal__dialog--wide { max-width: var(--cogno-modal-maxw-wide); }
/* Close button — bare <button>, so the Elementor kit (#393292 bg, 40px radius, Poppins, 12/24 pad)
   AND reset.css (width:auto, 1px #c36 border) both attack it. Every box/visual property carries
   !important per the ELEMENTOR OVERRIDE RULE, and it's a centred flex circle so the × sits middle. */
.cogno-modal__close {
	position: absolute; top: 12px; right: 14px;
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	width: 38px !important; height: 38px !important; min-width: 0 !important; flex: none !important;
	padding: 0 !important;
	border: none !important; border-radius: 50% !important;
	background: var(--cogno-bg-soft) !important; color: var(--cogno-navy) !important;
	font-family: var(--cogno-font) !important; font-size: 1.5rem !important; font-weight: 400 !important;
	line-height: 1 !important; text-align: center !important;
	cursor: pointer;
}
.cogno-modal__close:hover { background: #dde8fb !important; }
/* Video trigger + responsive embed inside the modal */
.cogno-video--left { text-align: left; }
.cogno-video--center { text-align: center; }
.cogno-video--right { text-align: right; }
.cogno-video__trigger {
	display: inline-flex; align-items: center; gap: 10px;
	background: #393292 !important; color: #fff !important; border: none !important; border-radius: 8px !important;
	padding: 12px 22px !important; font: inherit; font-weight: 600; line-height: 1.2; cursor: pointer;
	transition: background .15s ease;
}
.cogno-video__trigger:hover,
.cogno-video__trigger:focus-visible { background: #2c266f !important; }
.cogno-video__trigger:focus-visible { outline: 2px solid #1f58e6; outline-offset: 2px; }
.cogno-video__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: .7rem;
}
.cogno-video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.cogno-video-embed iframe,
.cogno-video-embed video,
.cogno-video-embed object,
.cogno-video-embed embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cogno-profile { display: flex; gap: 22px; align-items: flex-start; }
.cogno-profile__media { flex: 0 0 160px; }
.cogno-profile__media .cogno-card__img { width: 160px; height: 160px; object-fit: cover; border-radius: var(--cogno-radius-inner); }
.cogno-profile__name { font-size: 1.4rem; color: #001f53; margin: 0 0 4px; font-weight: 400; }
.cogno-profile__role { color: #1f58e6; font-weight: 600; margin: 0 0 2px; }
.cogno-profile__loc { color: #46586f; font-size: .9rem; margin: 0 0 12px; }
.cogno-profile__bio { color: #46586f; line-height: 1.6; }
.cogno-profile__bio p { margin: 0 0 10px; }
@media (max-width: 560px) { .cogno-profile { flex-direction: column; align-items: center; text-align: center; } }

/* Committee member card */
.cogno-card--committee { text-align: center; }
.cogno-card--clickable { cursor: pointer; }
.cogno-card--clickable:focus-visible { outline: 2px solid #1f58e6; outline-offset: 2px; }
.cogno-card__media--portrait { /*aspect-ratio: 1 / 1; */ background: #eef4ff; }
/* Image sits inside the card with breathing room and its own rounding */
.cogno-card--committee .cogno-card__media--portrait { padding: var(--cogno-card-pad) var(--cogno-card-pad) 0; background: #fff; }
.cogno-card--committee .cogno-card__media--portrait img { border-radius: var(--cogno-radius-inner) !important; }
.cogno-card--committee .cogno-card__body { padding: calc(var(--cogno-card-pad) - 2px) var(--cogno-card-pad) calc(var(--cogno-card-pad) + 4px); }
.cogno-card__name { font-size: 1.02rem; margin: 0 0 4px; color: var(--cogno-navy); }
.cogno-card__role { margin: 0 0 6px; font-size: .88rem; font-weight: 600; color: var(--cogno-blue); line-height: 1.35; }
.cogno-card__loc-badge {
	display: inline-block;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--cogno-blue);
	padding: 3px 10px;
	border-radius: var(--cogno-radius-pill);
	margin-bottom: 10px;
}

/* Newsletter card */
.cogno-card--newsletter .cogno-card__title { font-size: 1rem; margin: 0 0 12px; }

/* Event card */
.cogno-card__img--placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #eef4ff, #dde8fb); }
.cogno-card--event .cogno-card__title { font-size: 1.02rem; }
.cogno-card--event .cogno-card__title a { color: #16243b; text-decoration: none; }
.cogno-card--event .cogno-card__title a:hover { color: #1f58e6; }

/* Trial card */
.cogno-card__trialhead {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
	background: #f4f7fb; margin: -20px -22px 14px; padding: 12px 18px; border-radius: 12px 12px 0 0;
}
.cogno-card__tumor { font-size: .82rem; font-weight: 600; color: #16243b; line-height: 1.3; }
.cogno-card__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.cogno-card__status {
	font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
	padding: 3px 10px; border-radius: 999px; color: #0c5b3c; background: #e7f5ee;
}
.cogno-status--completed { color: #46586f; background: #eef2f8; }
.cogno-status--closed { color: #7a3a34; background: #f7e9e7; }
.cogno-status--in-development { color: #8a5a13; background: #fbf3e2; }
.cogno-card__states { font-size: .78rem; font-weight: 600; color: #46586f; }
.cogno-card--trial .cogno-card__title { font-size: 1.05rem; }
.cogno-card--trial .cogno-card__title a { color: #001f53; text-decoration: none; }
.cogno-card--trial .cogno-card__title a:hover { color: #1f58e6; }

/* Filter / search bar — single row, exactly as wide as the results below it */
.cogno-listing--filtered { width: 100%; }
.cogno-filterbar {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 12px;
	align-items: center;
	width: 100% !important;
	margin-bottom: 26px;
}
/* !important here is deliberate: it overrides the theme's Elementor kit form-control
   reset (.elementor-kit-NN input / reset.css input[type=search],select), which has higher
   specificity than our single classes and would otherwise force its own border/radius/padding. */
.cogno-filter,
.cogno-mfilter {
	flex: 0 1 240px;       /* may shrink, capped width, so it never pushes the bar wider */
	min-width: 0;
	max-width: 100%;
	height: 48px !important;
	padding: 0 42px 0 18px !important;
	border: 1px solid var(--cogno-line-strong) !important;
	border-radius: var(--cogno-radius-pill) !important;
	background-color: var(--cogno-surface) !important;
	font-size: .95rem;
	line-height: 46px;
	color: var(--cogno-ink) !important;
	font-family: var(--cogno-font) !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	text-overflow: ellipsis;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%231f58e6' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
}
.cogno-search-wrap {
	flex: 1 1 auto;        /* takes the remaining width */
	min-width: 0;
	position: relative;
	display: flex;
	align-items: center;
}
.cogno-search-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: #1f58e6;
	pointer-events: none;
	z-index: 1;
}
.cogno-search {
	width: 100% !important;
	height: 48px !important;
	padding: 0 20px 0 48px !important;   /* left room for the search icon */
	border: 1px solid var(--cogno-line-strong) !important;
	border-radius: var(--cogno-radius-pill) !important;
	background-color: var(--cogno-bg-soft) !important;
	font-size: .95rem;
	color: var(--cogno-ink) !important;
	font-family: var(--cogno-font) !important;
}
.cogno-filter:focus-visible,
.cogno-mfilter:focus-visible,
.cogno-search:focus-visible { outline: 2px solid #1f58e6 !important; outline-offset: 1px; }

/* Custom dropdown (themed option list) — replaces the native <select> popup. */
.cogno-dd { position: relative; flex: 0 1 240px; min-width: 0; }
.cogno-dd__native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); border: 0 !important; opacity: 0 !important; pointer-events: none; }
.cogno-dd__btn {
	display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 10px;
	width: 100% !important; height: 48px !important; padding: 0 16px 0 18px !important;
	border: 1px solid var(--cogno-line-strong) !important; border-radius: var(--cogno-radius-pill) !important;
	background: var(--cogno-surface) !important; color: var(--cogno-ink) !important; font-size: .95rem; font-family: var(--cogno-font) !important; cursor: pointer;
	text-align: left;
}
.cogno-dd__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cogno-dd__chev { color: var(--cogno-blue); flex: none; transition: transform .18s ease; }
.cogno-dd.is-open .cogno-dd__chev { transform: rotate(180deg); }
.cogno-dd.is-open .cogno-dd__btn { border-color: var(--cogno-blue) !important; }
.cogno-dd__menu {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
	display: none; padding: 6px; max-height: 300px; overflow-y: auto;
	background: var(--cogno-surface) !important; border: 1px solid var(--cogno-line) !important; border-radius: var(--cogno-radius) !important;
	box-shadow: var(--cogno-shadow);
}
.cogno-dd.is-open .cogno-dd__menu { display: block; }
.cogno-dd__opt {
	display: block !important; width: 100% !important; text-align: left !important; border: 0 !important; background: none !important; cursor: pointer;
	padding: 10px 14px !important; border-radius: var(--cogno-radius-inner) !important; font-size: .94rem; color: var(--cogno-ink) !important; font-family: var(--cogno-font) !important;
}
.cogno-dd__opt:hover { background: var(--cogno-bg-soft) !important; color: var(--cogno-ink) !important; }
.cogno-dd__opt.is-selected { background: var(--cogno-blue) !important; color: var(--cogno-surface) !important; }

/* Stack the bar on small screens so nothing is squashed */
@media (max-width: 640px) {
	.cogno-filterbar { flex-wrap: wrap; }
	.cogno-filter { flex: 1 1 100%; }
	.cogno-search-wrap { flex: 1 1 100%; }
}
.cogno-listing__results { transition: opacity .15s ease; }
.cogno-listing__results[aria-busy="true"] { opacity: .5; }

/* Directory bar */
.cogno-directory__bar {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}
.cogno-directory__search {
	flex: 1 1 260px;
	min-width: 0;
	padding: 12px 16px;
	border: 1px solid #cfd9e6;
	border-radius: 10px;
	font-size: 1rem;
}
.cogno-directory__search:focus-visible { outline: 2px solid #1f58e6; outline-offset: 1px; }
.cogno-directory__count { font-size: .9rem; opacity: .75; white-space: nowrap; }
.cogno-directory__results { min-height: 80px; transition: opacity .15s ease; }
.cogno-directory[aria-busy="true"] .cogno-directory__results,
.cogno-directory__results[aria-busy="true"] { opacity: .5; }

.cogno-empty { padding: 32px 0; text-align: center; opacity: .7; }

/* Pagination */
.cogno-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 30px;
	flex-wrap: wrap;
}
.cogno-pagination .page-numbers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 40px;
	height: 40px !important;
	padding: 0 14px !important;
	border: 1px solid var(--cogno-line-strong) !important;
	border-radius: var(--cogno-radius-inner) !important;
	background: var(--cogno-surface) !important;
	color: var(--cogno-ink) !important;
	font-family: var(--cogno-font) !important;
	text-decoration: none;
	cursor: pointer;
	font-size: .95rem;
}
.cogno-pagination .page-numbers.current { background: var(--cogno-blue); border-color: var(--cogno-blue); color: #fff; }

/* "Load more" = a design-system ghost pill CTA. Every property the Elementor kit/reset
   sets on a bare <button> (display, width, height, border, border-radius, background,
   color, padding, font-family, font-weight) carries !important — see ELEMENTOR OVERRIDE RULE. */
.cogno-loadmore {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;
	width: auto !important;
	height: 48px !important;
	padding: 0 32px !important;
	border: var(--cogno-border-width, 1.5px) solid var(--cogno-line-strong) !important;
	border-radius: var(--cogno-radius-pill) !important;
	background: var(--cogno-surface) !important;
	color: var(--cogno-blue) !important;
	font-family: var(--cogno-font) !important;
	font-weight: 600 !important;
	font-size: .95rem !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.cogno-loadmore:hover { border-color: var(--cogno-blue) !important; background: var(--cogno-bg-soft) !important; color: var(--cogno-purple) !important; }
.cogno-loadmore[hidden] { display: none !important; }

/* Gated (members-only) state */
.cogno-directory--gated {
	text-align: center;
	padding: 40px 24px;
	border: 1px dashed #cfd9e6;
	border-radius: 12px;
	background: #f7f9fc;
}
.cogno-gate { margin: 0 0 16px; font-size: 1.05rem; }
.cogno-gate__login {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--cogno-purple, #393292);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}
.cogno-gate__login:hover { background: #001f53; }
/* Field-level gate: shown in place of a members-only Elementor field (video, speakers, content…). */
.cogno-gate--field {
	margin: 16px 0;
	padding: 28px 24px;
	background: #f4f7fb;
	border: 1px dashed #c3d0e2;
	border-radius: 14px;
	text-align: center;
}
.cogno-gate--field .cogno-gate { margin: 0 0 14px; color: #16243b; }
.cogno-gate--field .cogno-gate__action { margin: 0; }
.cogno-gate__lock { margin-right: 4px; }

@media (prefers-reduced-motion: reduce) {
	.cogno-card, .cogno-directory__results { transition: none; }
}

/* ---- Trial single ---------------------------------------------------- */
/* Kill the doubled-up vertical padding: .cogno-page already adds --cogno-section-y top/bottom,
   and the wrap added it again. The wrap owns spacing now; neutralise .cogno-page's here. */
main.cogno-trial.cogno-page{padding-top:0 !important;padding-bottom:0 !important;}
/* Match the Elementor kit content width (1366px container, 24px side padding) so the trial lines
   up with the rest of the site instead of feeling narrow. */
.cogno-trial__wrap{max-width:1366px;margin:0 auto;padding:48px 24px 96px;}
.cogno-trial__back{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--cogno-link,#1F58E6);margin-bottom:24px;}
.cogno-trial__back-arrow{display:inline-flex;width:42px;height:42px;border-radius:50%;align-items:center;justify-content:center;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.08);font-size:18px;}
.cogno-trial__title{color:var(--cogno-primary,#393292);font-family:var(--cogno-font,Figtree),sans-serif;font-size:48px;font-weight:400;margin:0 0 12px;}
.cogno-trial__updated{color:#555;font-size:14px;margin:8px 0 0;}
.cogno-trial__intro{margin-top:24px;max-width:60ch;}
.cogno-trial__logo{max-height:80px;width:auto;margin-top:8px;}
.cogno-trial__status{display:inline-block;padding:6px 14px;border-radius:8px;font-size:14px;font-weight:500;background:#eee;color:#333;}
.cogno-trial__status[data-status="open"]{background:#e6f4ea;color:#1e7e34;}
.cogno-trial__status[data-status="in-development"]{background:#e8e7f5;color:#393292;}
.cogno-trial__status[data-status="in-follow-up"]{background:#fff7e0;color:#9a7400;}
.cogno-trial__status[data-status="completed"]{background:#eef0f2;color:#555;}
.cogno-trial__status[data-status="closed"]{background:#fdecea;color:#a3271c;}
.cogno-trial__cols{display:grid;grid-template-columns:1fr 380px;gap:48px;margin-top:40px;align-items:start;}
.cogno-trial__side{position:sticky;top:104px;}
@media(max-width:900px){.cogno-trial__cols{grid-template-columns:1fr;}.cogno-trial__title{font-size:34px;}.cogno-trial__side{position:static;margin-top:32px;}}
.cogno-trial__section{margin-bottom:32px;}
/* Reusable section heading + body — design-system classes used by single templates and any
   content section (see the style guide). Trial classes alias them for backward-compat. */
.cogno-section-title,.cogno-trial__h{color:var(--cogno-purple,#393292);font-family:var(--cogno-font),Figtree,sans-serif;font-weight:400;font-size:var(--cogno-section-title-size,1.75rem);line-height:1.2;margin:0 0 12px;}
.cogno-section-body{font-size:var(--cogno-text,1rem);color:var(--cogno-ink,#222);line-height:1.65;}
.cogno-section-body p{margin:0 0 1em;}
.cogno-trial__h3{color:var(--cogno-primary,#393292);font-weight:500;font-size:18px;margin:18px 0 8px;}
/* Body copy: 16px / 1rem via the design-system token. */
.cogno-trial__body,.cogno-trial__intro,.cogno-trial__pub{font-size:var(--cogno-text,1rem);}
.cogno-trial__body{color:var(--cogno-ink,#222);line-height:1.65;}
.cogno-trial__body p{margin:0 0 1em;}
.cogno-trial__stats{background:#f3f2f8;border-radius:16px;padding:20px 24px;display:flex;gap:24px;flex-wrap:wrap;margin-bottom:24px;}
.cogno-trial__stat{font-size:14px;color:#444;}
.cogno-trial__stat strong{color:var(--cogno-primary,#393292);font-size:18px;}
.cogno-trial__actions{border:1px solid #d6def5;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px;}
.cogno-trial__btn{display:flex;align-items:center;gap:10px;background:#eef3ff;color:var(--cogno-link,#1F58E6);text-decoration:none;border:0;border-radius:8px;padding:12px 16px;font-size:15px;cursor:pointer;width:100%;text-align:left;}
.cogno-trial__btn:hover{background:#e2ebff;}
.cogno-trial__btn-ic{display:inline-flex;flex:0 0 auto;}
.cogno-trial__btn-ic svg,.cogno-trial__back-arrow svg{width:18px;height:18px;}
.cogno-trial__back-arrow svg{width:20px;height:20px;}
.cogno-trial__locations{margin-top:24px;}
.cogno-trial__loc{border-bottom:1px solid #e5e5e5;padding:10px 0;}
.cogno-trial__loc summary{cursor:pointer;font-weight:500;color:var(--cogno-primary,#393292);}
.cogno-trial__back--bottom{margin-top:40px;}
/* Trial publications repeater */
.cogno-trial__pubs{list-style:none;margin:0;padding:0;}
.cogno-trial__pub{margin:0 0 16px;line-height:1.55;}
.cogno-trial__pub-title{font-weight:600;color:#222;}
.cogno-trial__pub-authors{color:#444;}
.cogno-trial__pub-link{display:inline-block;color:var(--cogno-link,#1F58E6);word-break:break-word;}

/* ===========================================================================
   Past ASMs accordion (COGNO Past ASMs widget — cogno-asm CPT)
   Tokens only. <details>/<summary> + <a> are styled with !important where the
   Elementor kit/reset (post-14.css, reset.css) targets bare summary / a / svg.
   See ELEMENTOR OVERRIDE RULE above.
   =========================================================================== */
.cogno-asm-list { display: flex; flex-direction: column; gap: 14px; }
.cogno-asm {
	background: var(--cogno-surface) !important;
	border: 1px solid var(--cogno-line) !important;
	border-radius: var(--cogno-radius) !important;
	overflow: hidden;
}
.cogno-asm__summary {
	display: flex !important; align-items: center; gap: 12px;
	list-style: none !important; cursor: pointer;
	padding: 16px 20px !important;
	background: var(--cogno-bg-soft) !important;
	color: var(--cogno-blue) !important;
	font-family: var(--cogno-font) !important;
	font-size: 1.05rem; font-weight: 600;
	transition: background .15s ease;
}
.cogno-asm__summary::-webkit-details-marker { display: none !important; }
.cogno-asm__summary:hover { background: #e4eefe !important; }
.cogno-asm__icon { flex: none; color: var(--cogno-blue) !important; }
.cogno-asm__year { flex: 1 1 auto; }
.cogno-asm__chev { flex: none; color: var(--cogno-blue) !important; transition: transform .18s ease; }
.cogno-asm[open] > .cogno-asm__summary .cogno-asm__chev { transform: rotate(180deg); }
.cogno-asm__body {
	padding: 22px 24px 26px !important;
	color: var(--cogno-ink) !important;
	font-family: var(--cogno-font) !important;
	font-size: var(--cogno-text);
	line-height: 1.6;
}
.cogno-asm__title { margin: 0 0 4px !important; font-weight: 700; color: var(--cogno-navy) !important; }
.cogno-asm__theme { margin: 0 0 16px !important; font-style: italic; color: var(--cogno-ink-soft) !important; }
.cogno-asm__meta { margin: 0 0 4px !important; color: var(--cogno-ink) !important; }
.cogno-asm__ack { margin: 16px 0 0; }
.cogno-asm__ack p { margin: 0 0 10px !important; }
.cogno-asm__resources { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cogno-asm__res {
	display: inline-flex !important; align-items: center; gap: 8px;
	padding: 9px 16px !important;
	border: 1px solid var(--cogno-line-strong) !important;
	border-radius: var(--cogno-radius-pill) !important;
	background: var(--cogno-surface) !important;
	color: var(--cogno-blue) !important;
	font-family: var(--cogno-font) !important;
	font-size: .92rem; font-weight: 600; line-height: 1;
	text-decoration: none !important;
	transition: border-color .15s ease, background .15s ease;
}
.cogno-asm__res:hover { border-color: var(--cogno-blue) !important; background: var(--cogno-bg-soft) !important; }
.cogno-asm__res svg { flex: none; }
.cogno-asm__res--plain { color: var(--cogno-ink-soft) !important; background: var(--cogno-bg) !important; cursor: default; }
.cogno-asm__res--plain:hover { border-color: var(--cogno-line-strong) !important; background: var(--cogno-bg) !important; }
@media (max-width: 600px) {
	.cogno-asm__summary { padding: 14px 16px !important; font-size: 1rem; }
	.cogno-asm__body { padding: 18px 16px 22px !important; }
}

/* ===========================================================================
   Site search — results page (.cogno-search-page) + header instant dropdown.
   Design-system tokens throughout; result <a>/<h2> overrides are scoped under
   .cogno-search-page (2-class specificity) so they beat the .cogno-page kit rules.
   =========================================================================== */
.cogno-search__head { margin-bottom: 28px; }
.cogno-search__title { margin: 0 0 8px !important; }
.cogno-search__count { margin: 0 0 18px; color: var(--cogno-ink-soft); font-size: var(--cogno-text); }
.cogno-search__count .cogno-search__term { color: var(--cogno-purple); }
.cogno-search__form { max-width: 560px; }

.cogno-search-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cogno-search-result { margin: 0; }
.cogno-search-page .cogno-search-result__link {
	display: block;
	padding: 20px 22px;
	background: var(--cogno-surface);
	border: 1px solid var(--cogno-line);
	border-radius: var(--cogno-radius);
	text-decoration: none !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.cogno-search-page .cogno-search-result__link:hover { border-color: var(--cogno-line-strong); box-shadow: var(--cogno-shadow-card); }
.cogno-search-result__badge {
	display: inline-block; margin-bottom: 8px;
	padding: 3px 12px; border-radius: var(--cogno-radius-pill);
	background: var(--cogno-bg-soft); color: var(--cogno-blue);
	font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.cogno-search-page .cogno-search-result__title {
	margin: 0 0 6px !important;
	font-size: 1.15rem !important; font-weight: 600 !important;
	color: var(--cogno-navy) !important; line-height: 1.3 !important;
}
.cogno-search-page .cogno-search-result__link:hover .cogno-search-result__title { color: var(--cogno-blue) !important; }
.cogno-search-result__excerpt { margin: 0; color: var(--cogno-ink-soft); font-size: .95rem; line-height: 1.55; }

.cogno-search__pagination { margin-top: 32px; }
/* paginate_links(type=list) wraps the items in <ul class="page-numbers"> — strip any box from the
   list itself; only the <a>/<span> items inside <li> get the button styling. */
.cogno-search__pagination ul.page-numbers {
	list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
	gap: 4px; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
}
.cogno-search__pagination li { margin: 0; }
.cogno-search__pagination li > .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border: 1px solid var(--cogno-line-strong); border-radius: var(--cogno-radius-inner);
	background: var(--cogno-surface); color: var(--cogno-ink) !important;
	text-decoration: none !important; font-size: .95rem; font-weight: 600;
}
.cogno-search__pagination li > .page-numbers.current { background: var(--cogno-blue); border-color: var(--cogno-blue); color: #fff !important; }
.cogno-search__pagination li > a.page-numbers:hover { border-color: var(--cogno-blue); color: var(--cogno-blue) !important; }
.cogno-search__pagination li > .page-numbers.dots { border-color: transparent; background: none; }
/* prev/next Lucide chevrons */
.cogno-search__pagination .page-numbers .cogno-ico { width: 18px; height: 18px; display: block; }
.cogno-search__pagination li > a.page-numbers.prev:hover .cogno-ico,
.cogno-search__pagination li > a.page-numbers.next:hover .cogno-ico { color: var(--cogno-blue); }

.cogno-search-empty { padding: 28px 0; }
.cogno-search-empty__lead { font-size: 1.1rem; color: var(--cogno-ink); margin: 0 0 8px; }
.cogno-search-empty__hint { color: var(--cogno-ink-soft); margin: 0; }
.cogno-search-page .cogno-search-empty a { color: var(--cogno-blue) !important; font-weight: 600; }

/* Header instant-search dropdown */
.cogno-instant { position: relative; }
.cogno-instant__results {
	position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 60;
	background: var(--cogno-surface); border: 1px solid var(--cogno-line);
	border-radius: var(--cogno-radius); box-shadow: var(--cogno-shadow);
	overflow: hidden;
	/* The search panel band is pointer-events:none (click-through) and only the <form> re-enables
	   it. The dropdown is a sibling of the form, so it must re-enable clicks itself or links/the
	   "See all results" button can't be clicked (only Enter/submit worked). */
	pointer-events: auto;
}
.cogno-instant__list { list-style: none; margin: 0; padding: 6px; max-height: 60vh; overflow-y: auto; }
.cogno-instant__item { margin: 0; }
.cogno-instant__link {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 11px 12px; border-radius: var(--cogno-radius-inner);
	text-decoration: none !important; color: var(--cogno-ink) !important;
	transition: background .12s ease;
}
.cogno-instant__link:hover { background: var(--cogno-bg-soft); }
.cogno-instant__badge {
	flex: none; margin-top: 1px;
	padding: 2px 9px; border-radius: var(--cogno-radius-pill);
	background: var(--cogno-bg-soft); color: var(--cogno-blue) !important;
	font-size: .65rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
}
.cogno-instant__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cogno-instant__title { font-weight: 600; color: var(--cogno-navy) !important; font-size: .95rem; line-height: 1.35; }
.cogno-instant__excerpt { color: var(--cogno-ink-soft); font-size: .82rem; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cogno-instant__empty { margin: 0; padding: 16px 14px; color: var(--cogno-ink-soft); font-size: .9rem; }
.cogno-instant__all {
	display: block; padding: 12px 14px;
	border-top: 1px solid var(--cogno-line);
	background: var(--cogno-bg); color: var(--cogno-blue) !important;
	font-weight: 600; font-size: .9rem; text-decoration: none !important; text-align: center;
}
.cogno-instant__all { display: flex; align-items: center; justify-content: center; gap: 6px; }
.cogno-instant__all:hover { background: var(--cogno-bg-soft); }
.cogno-instant__all .cogno-ico { width: 16px; height: 16px; }

/* Mobile search (its own dropdown panel next to the burger) — uses the global pill searchform */
.cogno-mobile-search { margin: 0; }
.cogno-mobile-search .cogno-searchform { position: relative; display: flex; align-items: center; gap: 8px; }
.cogno-mobile-search .cogno-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--cogno-ink-soft); pointer-events: none; }
.cogno-mobile-search .cogno-searchform__input { flex: 1 1 auto; }
.cogno-mobile-search .cogno-instant__results { left: 0; right: 0; }

/* ------------------------------------------------------------------ 404 page
   Scoped under .cogno-404 so these out-rank `.cogno-page p` / `.cogno-page h1` (0,1,1) —
   a bare `.cogno-404__code` (0,1,0) would otherwise be overridden. All spacing uses tokens. */
.cogno-404 .cogno-404__inner { text-align: center; max-width: 720px; }
.cogno-404 .cogno-404__code {
	font-family: var(--cogno-font);
	font-weight: 700;
	font-size: clamp(5rem, 18vw, 10rem);
	line-height: 1;
	margin: 0 0 var(--cogno-space-sm);
	color: var(--cogno-blue);
	letter-spacing: -0.03em;
}
.cogno-404 .cogno-404__title { margin: 0 0 var(--cogno-space-sm); }
.cogno-404 .cogno-404__text {
	margin: 0 auto var(--cogno-space-lg);
	max-width: 46ch;
	color: var(--cogno-ink-soft, var(--cogno-ink));
	font-size: 1.05rem;
}
.cogno-404 .cogno-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--cogno-space-sm);
	justify-content: center;
	margin: 0 0 var(--cogno-space-xl);
}
.cogno-404 .cogno-404__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--cogno-space-xs) var(--cogno-space-md);
	padding-top: var(--cogno-space-lg);
	margin: 0;
	border-top: 1px solid var(--cogno-line);
}
.cogno-404 .cogno-404__links-label {
	width: 100%;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cogno-ink-soft, var(--cogno-ink));
	margin: 0 0 var(--cogno-space-xs);
}
.cogno-404 .cogno-404__links a { color: var(--cogno-blue); text-decoration: none; font-weight: 500; }
.cogno-404 .cogno-404__links a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ Legal / long-form content (privacy, terms) */
.cogno-legal { max-width: 820px; }
.cogno-legal .cogno-legal__updated { color: var(--cogno-ink-soft, var(--cogno-ink)); font-size: 0.9rem; margin: 0 0 var(--cogno-space-lg); }
.cogno-legal h2 { margin: var(--cogno-space-xl) 0 var(--cogno-space-sm); }
.cogno-legal h3 { margin: var(--cogno-space-lg) 0 var(--cogno-space-xs); }
.cogno-legal p, .cogno-legal li { color: var(--cogno-ink); line-height: 1.7; }
.cogno-legal ul { padding-left: 1.25em; margin: 0 0 var(--cogno-space-md); }
.cogno-legal li { margin-bottom: 6px; }
.cogno-legal a { color: var(--cogno-blue); }
.cogno-legal__intro { font-size: 1.08rem; }

/* ===========================================================================
   COGNO Images Accordion — horizontal panels (background image + a white title
   badge, description and outline button) that expand on hover or click. Only
   the "is-active" class (toggled by JS for BOTH triggers — see
   cogno-images-accordion.js) drives the expanded look; there is no separate
   CSS :hover rule, so exactly one panel is ever expanded at a time.
   =========================================================================== */
.cogno-accordion {
	display: flex;
	align-items: stretch;
	gap: var(--cogno-acc-gap, 24px);
	width: 100%;
	height: var(--cogno-acc-h, 460px);
}
.cogno-accordion__item {
	position: relative;
	flex: 1 1 0;
	min-width: var(--cogno-acc-collapsed, 220px);
	border-radius: var(--cogno-acc-radius, 24px);
	overflow: hidden;
	cursor: pointer;
	background: var(--cogno-purple) !important;
	transition: flex-grow .5s ease;
	outline: none;
}
.cogno-accordion__item:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
/* !important: the theme/Elementor forces img{height:auto}, which left this absolutely-
   positioned cover image only as tall as its own aspect ratio — exposing the item's solid
   background colour below it on images that aren't already the same ratio as the panel. */
.cogno-accordion__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; }

/* Brand-purple tint over the photo. The resting (not-active) panel is washed heavier so it
   reads as "closed"; the active panel clears near the top and only tints in near the text. */
.cogno-accordion__item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top,
		rgba(57, 50, 146, .55) 0%,
		rgba(57, 50, 146, .82) 50%,
		rgba(40, 34, 110, .92) 100%);
	transition: background .5s ease;
	pointer-events: none;
}
.cogno-accordion__item.is-active::after {
	background: linear-gradient(to top,
		rgba(45, 38, 120, .92) 0%,
		rgba(57, 50, 146, .5) 35%,
		rgba(57, 50, 146, 0) 65%);
}

.cogno-accordion__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	padding: clamp(20px, 3vw, 40px);
	color: #fff !important;
}
.cogno-accordion__title {
	display: inline-block;
	margin: 0 !important;
	padding: 26px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(20, 10, 60, .18);
	font-family: "Figtree", sans-serif;
	font-weight: 600;
	font-size: clamp(.95rem, 1.4vw, 1.5rem);
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--cogno-purple) !important;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cogno-accordion__desc {
	margin-top: 18px;
	max-width: 44ch;
	font-family: "Figtree", sans-serif;
	font-size: .98rem;
	line-height: 1.6;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: opacity .3s ease .05s, max-height .4s ease;
}
.cogno-accordion__desc a{
    color:#fff!important;
    font-weight:500;
}
.cogno-accordion__desc p { margin: 0 0 8px !important; color: #fff !important; }
.cogno-accordion__btn {
	display: inline-block;
	margin-top: 18px;
	padding: 12px 28px;
	border: 1.5px solid rgba(255,255,255,.85);
	border-radius: 999px;
	color: #fff !important;
	font-family: "Figtree", sans-serif;
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none !important;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .3s ease .05s, transform .3s ease .05s, background .18s ease, color .18s ease;
}
.cogno-accordion__btn:hover { background: #fff; color: var(--cogno-purple) !important; }

.cogno-accordion__item.is-active { flex-grow: 2; }

.cogno-accordion__item.is-active .cogno-accordion__title { white-space: normal; }
.cogno-accordion__item.is-active .cogno-accordion__desc { max-height: 8em; opacity: 1; }
.cogno-accordion__item.is-active .cogno-accordion__btn { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
	.cogno-accordion { flex-direction: column; height: auto; }
	.cogno-accordion__item { min-width: 0; min-height: var(--cogno-acc-collapsed, 220px); flex-grow: 1; }
	.cogno-accordion__item.is-active { flex-grow: 1.6; }
}
