:root {
    --body-font-family: "Inter";
    --header-font-family: "Outfit";

    --primary-color: #d93a2b;
    --primary-contrast-color: #ffffff;
    --primary-hover-color: #dd4e40;
    --primary-soft-color: #fcefee;

    --secondary-color: #1e1240;
    --secondary-contrast-color: #ffffff;
    --secondary-hover-color: #352a53;
    --secondary-soft-color: #e4e3e8;

    --bg-color: #ffffff;
    --bg-alt-color: #f7f7f7;
    --surface-color: #ffffff;
    --surface-muted-color: #f5f5f5;
    --surface-contrast-color: #000000;

    --text-color: #3a3556;
    --text-muted-color: #817e93;
    --text-soft-color: #acaab8;

    --accent-color: #6d4aff;
    --accent-contrast-color: #ffffff;
    --accent-hover-color: #6243e6;

    --border-color: #e0e0e0;
    --header-footer-foreground: #ffffff;
    --header-footer-muted: #ffffff;

    --menu-badge-bg-color: #1e1240;
    --menu-badge-text-color: #ffffff;
    --menu-button-bg-color: #1e1240;
    --menu-button-text-color: #ffffff;
    --menu-button-border-color: #1e1240;

    --footer-input-bg-color: #ffffff;
    --footer-input-text-color: #3a3556;
    --footer-input-border-color: #dbdbdb;

    --cta-bg-color: #d93a2b;
    --cta-text-color: #ffffff;
    --cta-hover-bg-color: #b92d20;
    --cta-hover-text-color: #ffffff;
    --cta-font-size: 16px;
    --border-radius: 6px;

    --boxed-layout-bg-color: #ffffff;
    --contrast-layout-bg-color: #000000;
    --layout-pattern-img: url('');
}


:root {
  --font-body: var(--body-font-family);
  --font-head: var(--header-font-family);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 5.5rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(30, 18, 64, 0.06);
  --shadow-md: 0 10px 28px rgba(30, 18, 64, 0.08);
  --shadow-lg: 0 22px 48px rgba(30, 18, 64, 0.14);

  --success: #15803d;
  --warning: #b45309;
  --danger: #b91c1c;

  --transition-fast: 160ms ease;
  --transition-med: 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  --primary: var(--primary-color);
  --secondary: var(--secondary-color);
  --bg: var(--bg-color);
  --text: var(--text-color);
  --accent: var(--accent-color);

  --primary-dark: var(--primary-hover-color);
  --primary-light: var(--primary-soft-color);
  --surface: var(--surface-color);
  --text-muted: var(--text-muted-color);
  --border: var(--border-color);
  --on-primary: var(--primary-contrast-color);

  /* theme7 palette derived from the tenant colours */
  --ink: var(--secondary);
  --tint: color-mix(in srgb, var(--primary) 7%, #ffffff);
  --lilac: color-mix(in srgb, var(--accent) 9%, #ffffff);
  --mint: color-mix(in srgb, var(--accent) 6%, #e6fbf5);
  --cream: color-mix(in srgb, var(--primary) 6%, #fdf3e1);
  --line: color-mix(in srgb, var(--secondary) 12%, #ffffff);
  --footer-bg: color-mix(in srgb, var(--secondary) 90%, #000000);
}
:root {
  --btn-shadow: none;
  --btn-hover-shadow: none;
  --btn-bg: var(--cta-bg-color);
  --btn-color: var(--cta-text-color);
  --btn-border: 1.5px solid var(--cta-bg-color);
  --btn-radius: var(--radius-pill);
  --btn-img: none;
  --btn-hover-bg: var(--cta-hover-bg-color);
  --btn-hover-color: var(--cta-hover-text-color);
  --btn-hover-border: 1.5px solid var(--cta-hover-bg-color);
  --btn-hover-img: none;
  --btn-deco: none;
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Layout Style = boxed: the site sits in a centred column; shared common.css paints the canvas around it on the root element. */
html.theme-layout-boxed body { max-width: 1320px; margin: 0 auto; background: var(--bg); box-shadow: var(--shadow-lg); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head), var(--font-body), sans-serif; color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: 0; }
p { color: var(--text-muted); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.t7-section { padding: var(--space-7) 0; }
.t7-section--tint { background: var(--tint); }
.t7-section--lilac { background: var(--lilac); }
.t7-section--cream { background: var(--cream); }
.t7-head { max-width: 680px; margin: 0 auto var(--space-5); text-align: center; }
.t7-head--left { margin-left: 0; text-align: left; }
.t7-eyebrow { display: inline-block; color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: var(--space-2); }
.t7-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin: 0 0 var(--space-2); }
.t7-head p { margin: 0 auto; }

/* ---------- BUTTONS ---------- */
.t7-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.7rem 1.4rem; font-weight: 600; font-size: 0.95rem; line-height: 1.2; cursor: pointer;
  background: var(--btn-bg); background-image: var(--btn-img); color: var(--btn-color);
  border: var(--btn-border); border-radius: var(--btn-radius); text-decoration: var(--btn-deco); box-shadow: var(--btn-shadow);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.t7-btn:hover { background: var(--btn-hover-bg); background-image: var(--btn-hover-img); color: var(--btn-hover-color); border: var(--btn-hover-border); box-shadow: var(--btn-hover-shadow); transform: translateY(-1px); }
.t7-btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.t7-btn--block { width: 100%; }
.t7-btn--light { background: #ffffff; background-image: none; color: var(--ink); border: 1px solid #ffffff; }
.t7-btn--light:hover { background: var(--lilac); background-image: none; color: var(--ink); border-color: var(--lilac); }

/* ---------- MOTION ---------- */
[data-animate] { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
[data-animate].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- FLOATING CONTROLS ---------- */
#scrollUp {
  position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 1500;
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--on-primary);
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}
#scrollUp.show { opacity: 1; visibility: visible; transform: none; }
:root { --sx-wa-right: calc(var(--space-4) - 3px); --sx-wa-bottom: calc(var(--space-4) + 58px); }

/* ---------- FORMS ---------- */
.t7-form .form-label { font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.t7-form .form-control, .t7-form .form-select {
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0.7rem 0.95rem; background: #ffffff; color: var(--text);
}
.t7-form .form-control:focus, .t7-form .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.t7-form .required { color: var(--danger); }
/* ---------- NOTICE TICKER ---------- */
.t7-ticker { display: flex; align-items: center; background: var(--ink); color: #ffffff; font-size: 0.875rem; overflow: hidden; }
.t7-ticker__label { flex: none; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; background: var(--primary); color: var(--on-primary); font-weight: 600; }
.t7-ticker__wrap { flex: 1; overflow: hidden; white-space: nowrap; }
.t7-ticker__track { display: inline-block; padding-left: 100%; animation: t7-marquee 38s linear infinite; }
.t7-ticker:hover .t7-ticker__track { animation-play-state: paused; }
.t7-ticker__item { color: #ffffff; padding: 0 0.75rem; }
.t7-ticker__item:hover { color: #ffffff; text-decoration: underline; }
.t7-ticker__sep { opacity: 0.5; }
.t7-ticker__close { flex: none; background: none; border: 0; color: #ffffff; padding: 0.5rem 0.9rem; cursor: pointer; }
@keyframes t7-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .t7-ticker__track { animation: none; padding-left: 0; } }

/* ---------- TOP BAR ---------- */
.t7-topbar { position: relative; z-index: 1100; background: var(--footer-bg); color: #ffffff; font-size: 0.85rem; padding: 0.45rem 0; }
.t7-topbar .lang-switcher__menu { z-index: 1100; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: var(--space-2); min-width: 180px; }
.t7-topbar .lang-switcher__option { display: flex; justify-content: space-between; gap: var(--space-3); border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; color: var(--ink); font-weight: 500; }
.t7-topbar .lang-switcher__label { color: var(--text-muted); font-size: 0.85em; }
.t7-topbar .lang-switcher__option:hover, .t7-topbar .lang-switcher__option:focus { background: var(--lilac); color: var(--primary); text-decoration: none; }
.t7-topbar .lang-switcher__option.active { background: var(--primary); color: var(--on-primary); }
.t7-topbar .lang-switcher__option.active .lang-switcher__label { color: var(--on-primary); opacity: 0.85; }
.t7-topbar__items { display: flex; gap: var(--space-4); align-items: center; }
.t7-topbar a, .t7-topbar__lang { color: rgba(255, 255, 255, 0.9); font-weight: 500; }
.t7-topbar a:hover { color: #ffffff; text-decoration: underline; }
.t7-topbar a i { margin-right: 0.3rem; }
.t7-topbar .lang-switcher__toggle, .t7-topbar__lang { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius-sm); color: #ffffff; padding: 0.15rem 0.6rem; }

/* ---------- HEADER ---------- */
.t7-header { position: sticky; top: 0; z-index: 1000; background: #ffffff; border-bottom: 1px solid var(--line); transition: box-shadow var(--transition-med); }
.t7-header.scrolled { box-shadow: var(--shadow-md); }
.t7-header .navbar { padding: 0.6rem 0; }
.t7-brand { font-family: var(--font-head), sans-serif; font-weight: 700; color: var(--ink); margin-right: var(--space-4); }
.t7-toggler { border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink); font-size: 1.6rem; line-height: 1; padding: 0.2rem 0.55rem; }
.t7-toggler:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
.t7-nav .nav-link { color: var(--ink); font-weight: 600; font-size: 0.95rem; padding: 0.6rem 0.8rem !important; }
.t7-nav .nav-link:hover, .t7-nav .nav-link.active, .t7-nav .show > .nav-link { color: var(--primary); }
.t7-nav .dropdown-toggle::after { border: 0; content: "\F282"; font-family: "bootstrap-icons"; font-size: 0.65rem; vertical-align: 0.1em; margin-left: 0.35rem; }
.t7-nav .dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: var(--space-2); min-width: 220px; }
.t7-nav .dropdown-item { border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; font-weight: 500; color: var(--ink); }
.t7-nav .dropdown-item:hover, .t7-nav .dropdown-item:focus, .t7-nav .dropdown-item.active { background: var(--lilac); color: var(--primary); }
.t7-header__actions { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.t7-iconbtn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: #ffffff; color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.t7-iconbtn:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 1199.98px) {
  .t7-nav { margin: var(--space-3) 0; }
  .t7-header__actions { padding-bottom: var(--space-3); }
}

/* ---------- MEGA MENU: link columns on lilac cards, promo card at the end ---------- */
.t7-mega-item { position: static; }
.t7-mega-panel { left: 0; right: 0; width: 100%; margin-top: 0 !important; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #ffffff; padding: var(--space-4) 0 var(--space-5); box-shadow: var(--shadow-lg); }
.t7-mega-panel .sx-mega { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t7-mega-panel .sx-mega--cols-3 { grid-template-columns: 1fr 1fr 1.4fr; }
.t7-mega-panel .sx-mega--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.t7-mega-panel .sx-mega__section { background: var(--lilac); border-radius: var(--radius-lg); padding: var(--space-4); }
.t7-mega-panel .sx-mega__section:last-child:not(:only-child) { background: var(--cream); }
.t7-mega-panel .sx-mega__heading { font-family: var(--font-head), sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); margin: 0 0 var(--space-3); }
.t7-mega-panel .sx-mega__text { font-size: 0.95rem; }
.t7-mega-panel .sx-mega__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.t7-mega-panel .sx-mega__link { display: block; padding: 0.4rem 0; color: var(--ink); font-weight: 500; }
.t7-mega-panel .sx-mega__link:hover { color: var(--primary); }
.t7-mega-panel .sx-mega__button { display: inline-block; margin-top: var(--space-3); padding: 0.5rem 1rem; border: 1px solid var(--primary); border-radius: var(--radius-sm); background: #ffffff; color: var(--primary); font-weight: 600; font-size: 0.85rem; }
.t7-mega-panel .sx-mega__button:hover { background: var(--primary); color: var(--on-primary); }
@media (max-width: 1199.98px) {
  .t7-mega-panel { box-shadow: none; padding: var(--space-2) 0; }
  .t7-mega-panel .sx-mega, .t7-mega-panel .sx-mega--cols-3, .t7-mega-panel .sx-mega--cols-4 { grid-template-columns: 1fr; }
}

/* ---------- PAGE BANNER: mint-to-cream gradient, centred title, breadcrumb, illustration ---------- */
.t7-banner { position: relative; overflow: hidden; padding: var(--space-6) 0; text-align: center; background: linear-gradient(100deg, var(--mint) 0%, #f2f8ec 52%, var(--cream) 100%); }
.t7-banner--image { background-size: cover; background-position: center; }
.t7-banner h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0; }
.t7-banner__sub { max-width: 620px; margin: var(--space-2) auto 0; }
.t7-crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: var(--space-3) 0 0; padding: 0; list-style: none; font-size: 0.9rem; font-weight: 500; }
.t7-crumbs li + li::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: 0.7rem; margin-right: 0.5rem; color: var(--text-muted); }
.t7-crumbs a { color: var(--ink); }
.t7-crumbs [aria-current] { color: var(--ink); opacity: 0.75; }
.t7-banner__art { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 110px; opacity: 0.95; }
.t7-banner__dots { position: absolute; left: 8%; top: 50%; transform: translateY(-50%); width: 90px; height: 90px; background-image: radial-gradient(color-mix(in srgb, var(--ink) 25%, transparent) 1.6px, transparent 1.7px); background-size: 15px 15px; }
.t7-banner--image h1, .t7-banner--image .t7-crumbs a, .t7-banner--image .t7-crumbs [aria-current], .t7-banner--image .t7-banner__sub { color: #ffffff; opacity: 1; }
.t7-banner--image::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 62%, transparent); }
.t7-banner--image > .container { position: relative; }
@media (max-width: 991.98px) { .t7-banner__art, .t7-banner__dots { display: none; } }

/* ---------- FOOTER ---------- */
.t7-footer { background: var(--footer-bg); color: #ffffff; padding: var(--space-6) 0 var(--space-3); }
.t7-footer__brand { color: #ffffff; font-family: var(--font-head), sans-serif; font-weight: 700; font-size: 1.4rem; }
.t7-footer__about { color: rgba(255, 255, 255, 0.82); margin: var(--space-3) 0; max-width: 46ch; }
.t7-footer__contact { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.t7-footer__contact a { color: rgba(255, 255, 255, 0.9); }
.t7-footer__contact i { margin-right: 0.4rem; }
.t7-footer__social { display: flex; gap: var(--space-3); }
.t7-footer__social a { color: #ffffff; font-size: 1.15rem; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; }
.t7-footer__social a:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.t7-footer__title { font-size: 1.15rem; font-weight: 600; color: #ffffff; margin-bottom: var(--space-3); }
.t7-footer__title a { color: #ffffff; }
.t7-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.t7-footer__links a { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.t7-footer__links a:hover { color: #ffffff; text-decoration: underline; }
.t7-footer p { color: rgba(255, 255, 255, 0.82); }
/* Platform footer widgets (links, newsletter, social, about) render plain h4/ul/p markup */
.t7-footer h4, .t7-footer h5, .t7-footer h6 { color: #ffffff; font-size: 1.15rem; font-weight: 600; margin: 0 0 var(--space-3); }
.t7-footer ul:not(.t7-footer__contact) { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.t7-footer ul:not(.t7-footer__contact) a { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.t7-footer ul:not(.t7-footer__contact) a:hover { color: #ffffff; text-decoration: underline; }
.t7-footer a.text-info { color: #ffffff !important; text-decoration: underline; }
.t7-footer .mu-subscribe-form { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.t7-footer .mu-subscribe-form input { flex: 1; min-width: 160px; padding: 0.6rem 0.9rem; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.t7-footer .mu-subscribe-form input::placeholder { color: rgba(255, 255, 255, 0.65); }
.t7-footer .mu-subscribe-form button, .t7-footer .mu-subscribe-btn { padding: 0.6rem 1.1rem; border: 0; border-radius: var(--radius-md); background: var(--btn-bg, var(--primary)); background-color: var(--cta-bg-color); color: var(--cta-text-color); font-weight: 600; cursor: pointer; display: inline-block; }
.t7-footer .mu-social-widget { display: flex; gap: var(--space-2); }
.t7-footer .mu-social-widget a { color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; }
.t7-footer__bottom { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.t7-footer__bottom p { margin: 0; font-size: 0.875rem; }
.t7-footer__bottom a { color: #ffffff; text-decoration: underline; }
/* ---------- HOME BLOCKS (background modes picked in the admin) ---------- */
.t7-home-block { --block-bg: transparent; }
.t7-home-block.home-section-bg-alt > section:not(.t7-hero) { background: var(--tint); }
.t7-home-block.home-section-bg-dark > section:not(.t7-hero) { background: var(--ink); }
/* Dark band: headings and intro text turn light; cards keep their own backgrounds and text.
   Tiles and quotes become translucent glass with light text, so they match the band. */
.t7-home-block.home-section-bg-dark .t7-head h2 { color: #ffffff; }
.t7-home-block.home-section-bg-dark .t7-head p { color: rgba(255, 255, 255, 0.82); }
.t7-home-block.home-section-bg-dark .t7-tile, .t7-home-block.home-section-bg-dark .t7-quote { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.t7-home-block.home-section-bg-dark .t7-tile h3, .t7-home-block.home-section-bg-dark .t7-quote strong { color: #ffffff; }
.t7-home-block.home-section-bg-dark .t7-tile p, .t7-home-block.home-section-bg-dark .t7-quote blockquote, .t7-home-block.home-section-bg-dark .t7-quote blockquote p, .t7-home-block.home-section-bg-dark .t7-quote small { color: rgba(255, 255, 255, 0.85); }
.t7-home-block.home-section-bg-dark .t7-quote__mark { color: #ffffff; }
.t7-home-block.home-section-bg-dark .t7-fact__num { color: #ffffff; }
.t7-home-block.home-section-bg-dark .t7-fact__label { color: rgba(255, 255, 255, 0.82); }
.t7-home-block.home-section-bg-dark .t7-fact__icon { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.t7-home-block.home-section-bg-dark .t7-eyebrow { color: #ffffff; opacity: 0.85; }
.t7-home-block.home-section-bg-dark .t7-richtext, .t7-home-block.home-section-bg-dark .t7-richtext p { color: rgba(255, 255, 255, 0.85); }
.t7-split { display: flex; flex-wrap: wrap; }
@media (max-width: 991.98px) { .t7-split > .t7-home-block { width: 100% !important; } }

/* ---------- HERO: full-bleed image / video / carousel; text placed by the hero settings ---------- */
.t7-hero { position: relative; overflow: hidden; background: var(--ink); color: #ffffff; --hero-fg: #ffffff; --hero-overlay-color: var(--ink); --hero-overlay: 0.5; }
.t7-hero--dark { color: var(--ink); --hero-fg: var(--ink); --hero-overlay-color: #ffffff; }
.t7-hero__stage { position: relative; display: flex; min-height: 520px; }
.t7-hero--small .t7-hero__stage { min-height: 360px; }
.t7-hero--medium .t7-hero__stage { min-height: 520px; }
.t7-hero--full .t7-hero__stage { min-height: calc(100vh - var(--t7-chrome, 190px)); min-height: calc(100svh - var(--t7-chrome, 190px)); }
.t7-hero__media { position: absolute; inset: 0; }
.t7-hero__media img, .t7-hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.t7-hero__media::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay-color); opacity: var(--hero-overlay); }
.t7-hero__inner { position: relative; z-index: 1; width: 100%; display: flex; padding-top: var(--space-6); padding-bottom: var(--space-6); }
.t7-hero--v-top .t7-hero__inner { align-items: flex-start; }
.t7-hero--v-center .t7-hero__inner { align-items: center; }
.t7-hero--v-bottom .t7-hero__inner { align-items: flex-end; }
.t7-hero__content { max-width: 640px; width: 100%; }
.t7-hero--h-left .t7-hero__content { margin-right: auto; text-align: left; }
.t7-hero--h-center .t7-hero__content { margin-left: auto; margin-right: auto; text-align: center; }
.t7-hero--h-right .t7-hero__content { margin-left: auto; text-align: right; }
.t7-hero__title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: var(--space-2) 0 var(--space-3); color: var(--hero-fg); }
.t7-hero__text { font-size: 1.1rem; color: var(--hero-fg); opacity: 0.92; }
.t7-hero .t7-eyebrow { color: var(--hero-fg); opacity: 0.9; }
.t7-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.t7-hero--h-center .t7-hero__actions { justify-content: center; }
.t7-hero--h-right .t7-hero__actions { justify-content: flex-end; }
.t7-hero__slide { display: none; }
.t7-hero__slide.is-active { display: block; }
.t7-hero__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: #ffffff; color: var(--ink); cursor: pointer; z-index: 2; box-shadow: var(--shadow-md); }
.t7-hero__nav--prev { left: var(--space-3); }
.t7-hero__nav--next { right: var(--space-3); }
.t7-hero__dots { position: absolute; left: 0; right: 0; bottom: var(--space-3); z-index: 2; display: flex; justify-content: center; gap: 0.5rem; }
.t7-hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.6); padding: 0; cursor: pointer; }
.t7-hero__dots button.is-active { background: #ffffff; width: 28px; border-radius: var(--radius-pill); }
@media (max-width: 767.98px) {
  .t7-hero--medium .t7-hero__stage { min-height: 420px; }
  .t7-hero__inner { padding-top: var(--space-5); padding-bottom: var(--space-5); }
}

/* ---------- FACTS ---------- */
.t7-facts { padding: var(--space-6) 0; }
.t7-fact { display: flex; align-items: center; gap: var(--space-3); }
.t7-fact__icon { flex: none; width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--tint); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.t7-fact__num { font-family: var(--font-head), sans-serif; font-weight: 700; font-size: 2rem; color: var(--ink); line-height: 1.1; }
.t7-fact__label { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- TILES (key highlights, about pillars) ---------- */
.t7-tone-1 { --tone: color-mix(in srgb, var(--primary) 10%, #ffffff); }
.t7-tone-2 { --tone: color-mix(in srgb, var(--accent) 12%, #ffffff); }
.t7-tone-3 { --tone: #e8f8ef; }
.t7-tone-4 { --tone: #fff3df; }
.t7-tile { display: flex; align-items: flex-start; gap: var(--space-3); height: 100%; padding: var(--space-4); background: var(--tone, var(--tint)); border-radius: var(--radius-lg); border: 1px solid transparent; transition: border-color var(--transition-fast), transform var(--transition-fast); }
.t7-tile:hover { border-color: var(--line); transform: translateY(-2px); }
.t7-tile__icon { flex: none; width: 52px; height: 52px; border-radius: var(--radius-md); background: #ffffff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.t7-tile__icon img { width: 30px; height: 30px; object-fit: contain; }
.t7-tile h3 { font-size: 1.1rem; margin: 0 0 0.25rem; }
.t7-tile p { margin: 0; font-size: 0.95rem; }

/* ---------- COURSE / POST / EVENT CARDS ---------- */
.t7-course, .t7-post { display: flex; flex-direction: column; height: 100%; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--transition-med), transform var(--transition-med); }
.t7-course:hover, .t7-post:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.t7-course__media, .t7-post__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--lilac); overflow: hidden; }
.t7-course__media img, .t7-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t7-course__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--primary); font-size: 2.4rem; background: var(--lilac); }
.t7-course__badge { position: absolute; left: var(--space-3); top: var(--space-3); padding: 0.2rem 0.7rem; background: #ffffff; color: var(--ink); border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; }
.t7-course__body, .t7-post__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-3) var(--space-4) var(--space-4); }
.t7-course__meta { display: flex; flex-wrap: wrap; gap: 0.35rem var(--space-3); color: var(--text-muted); font-size: 0.85rem; margin-bottom: var(--space-2); }
.t7-course__meta i { margin-right: 0.25rem; color: var(--primary); }
.t7-course__title { font-size: 1.15rem; margin: 0 0 var(--space-2); }
.t7-course__title a { color: var(--ink); }
.t7-course__title a:hover { color: var(--primary); }
.t7-course__desc { font-size: 0.93rem; margin: 0 0 var(--space-3); }
.t7-course__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--line); }
.t7-course__price { font-family: var(--font-head), sans-serif; font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.t7-post__body .t7-btn { align-self: flex-start; margin-top: auto; }

.t7-event { display: flex; gap: var(--space-4); align-items: stretch; height: 100%; padding: var(--space-3); background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: background var(--transition-fast), box-shadow var(--transition-med); }
.t7-event:hover { background: var(--tint); box-shadow: var(--shadow-sm); }
.t7-event__media { position: relative; flex: 0 0 38%; max-width: 230px; min-height: 160px; border-radius: var(--radius-md); overflow: hidden; background: var(--lilac); display: block; }
.t7-event__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t7-event__date { position: absolute; left: 0.6rem; top: 0.6rem; background: #ffffff; color: var(--primary); border-radius: var(--radius-sm); padding: 0.25rem 0.6rem; text-align: center; font-size: 0.7rem; line-height: 1.1; font-weight: 600; text-transform: uppercase; }
.t7-event__date strong { display: block; font-size: 1.2rem; color: var(--ink); }
.t7-event__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.t7-event__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-2); }
.t7-event__cat { color: var(--text-muted); font-size: 0.9rem; }
.t7-event__status { padding: 0.1rem 0.55rem; border-radius: var(--radius-pill); background: var(--tint); color: var(--ink); font-weight: 600; font-size: 0.75rem; }
@media (max-width: 575.98px) { .t7-event { flex-direction: column; } .t7-event__media { flex: none; max-width: none; min-height: 190px; } }

/* ---------- PEOPLE ---------- */
.t7-person { display: block; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; color: inherit; transition: box-shadow var(--transition-med), transform var(--transition-med); }
.t7-person:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); color: inherit; }
.t7-person__photo { display: block; aspect-ratio: 4 / 4.4; background: var(--lilac); overflow: hidden; }
.t7-person__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t7-person__info { display: block; text-align: center; padding: var(--space-3); }
.t7-person__info strong { display: block; color: var(--ink); font-family: var(--font-head), sans-serif; }
.t7-person__info small { color: var(--text-muted); }
.t7-initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--font-head), sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--primary); background: var(--lilac); }
.t7-initials--sm { width: 46px; height: 46px; flex: none; border-radius: 50%; font-size: 1rem; }

/* ---------- QUOTES ---------- */
.t7-quote { position: relative; height: 100%; margin: 0; padding: var(--space-4); background: var(--tone, var(--tint)); border-radius: var(--radius-lg); }
.t7-quote__mark { font-size: 2.4rem; color: var(--primary); line-height: 1; }
.t7-quote blockquote { margin: var(--space-2) 0 var(--space-3); color: var(--text); }
.t7-quote figcaption { display: flex; align-items: center; gap: var(--space-3); }
.t7-quote figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.t7-quote figcaption strong { display: block; color: var(--ink); }
.t7-quote figcaption small { color: var(--text-muted); }

/* ---------- CTA STRIP ---------- */
.t7-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--btn-bg, var(--primary)); background-color: var(--cta-bg-color); color: var(--cta-text-color); }
.t7-cta h2 { color: var(--cta-text-color); margin: 0 0 0.4rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.t7-cta p { color: var(--cta-text-color); opacity: 0.92; margin: 0; max-width: 56ch; }

/* ---------- GALLERY ---------- */
.t7-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-3); }
.t7-gallery__tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--lilac); }
.t7-gallery__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--transition-med); }
.t7-gallery__tile:hover img { transform: scale(1.05); }
.t7-gallery__tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.5rem 0.8rem; background: linear-gradient(transparent, color-mix(in srgb, var(--ink) 80%, transparent)); color: #ffffff; font-size: 0.85rem; font-weight: 600; }

/* ---------- NOTICES ---------- */
.t7-notices { list-style: none; max-width: 820px; margin: 0 auto; padding: 0; display: grid; gap: var(--space-2); }
.t7-notice { display: flex; align-items: center; gap: var(--space-3); padding: 0.8rem var(--space-3); background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.t7-notice__date { flex: none; width: 52px; padding: 0.3rem 0; text-align: center; border-radius: var(--radius-sm); background: var(--tint); color: var(--primary); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.t7-notice__date strong { display: block; font-size: 1.2rem; color: var(--ink); }
.t7-notice__main { flex: 1; min-width: 0; }
.t7-notice__main a { color: var(--ink); font-weight: 600; }
.t7-pill { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.55rem; border-radius: var(--radius-pill); background: var(--primary); color: var(--on-primary); font-size: 0.7rem; font-weight: 600; }

/* ---------- MISC ---------- */
.t7-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.t7-photo img { width: 100%; display: block; }
.t7-photo--portrait { aspect-ratio: 3 / 4; max-width: 380px; background: var(--lilac); }
.t7-photo--portrait img { height: 100%; object-fit: cover; object-position: top center; }
.t7-photo--portrait .t7-initials--block { aspect-ratio: auto; height: 100%; }
.t7-panel { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm); }
.t7-richtext > :last-child { margin-bottom: 0; }
/* ---------- TYPE HELPERS ---------- */
.t7-h-sm { font-size: 1.25rem; margin: 0 0 var(--space-3); }
.t7-group-title { font-size: 1.4rem; margin: 0 0 var(--space-3); padding-bottom: var(--space-2); border-bottom: 2px solid var(--line); }
.t7-lead { font-size: 1.1rem; color: var(--text); }
.t7-richtext { color: var(--text); }
.t7-richtext p { color: var(--text); }
.t7-richtext img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.t7-richtext a { text-decoration: underline; }
.t7-meta-line { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); margin: 0 0 var(--space-3); color: var(--text-muted); font-weight: 500; }
.t7-caption { display: block; text-align: center; margin-top: var(--space-3); }
.t7-caption strong { display: block; color: var(--ink); font-family: var(--font-head), sans-serif; font-size: 1.15rem; }
.t7-caption small { color: var(--text-muted); }
.t7-post-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 var(--space-3); }
.t7-course__meta--lg { font-size: 0.95rem; margin-bottom: var(--space-3); }
.t7-amount { font-family: var(--font-head), sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--primary); margin: 0 0 var(--space-2); }
.t7-amount small { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.t7-initials--block { aspect-ratio: 4 / 4.4; font-size: 4rem; }
.t7-empty { max-width: 560px; margin: 0 auto; padding: var(--space-5); text-align: center; background: var(--tint); border-radius: var(--radius-lg); }
.t7-empty i { display: block; font-size: 2.4rem; color: var(--primary); margin-bottom: var(--space-2); }
.t7-empty h4 { margin: 0 0 0.4rem; }
.t7-empty p { margin: 0; }
.t7-inline-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3); margin-bottom: var(--space-5); }
.t7-inline-filter .form-select { width: auto; min-width: 180px; }

/* ---------- TABS (links and buttons) ---------- */
.t7-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-bottom: var(--space-5); }
.t7-tabs--sub { margin-top: calc(var(--space-3) * -1); }
.t7-tab { padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #ffffff; color: var(--ink); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); }
.t7-tab:hover { border-color: var(--primary); color: var(--primary); }
.t7-tab.is-active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.t7-tabpanel { display: none; }
.t7-tabpanel.is-active { display: block; }
[data-t7-group][hidden] { display: none !important; }

/* ---------- COURSE LIST FILTER + COURSE DETAIL ---------- */
.t7-filter { position: sticky; top: 96px; padding: var(--space-4); background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.t7-filter__count { margin: 0 0 var(--space-3); padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); background: var(--tint); font-size: 0.9rem; }
.t7-filter__title { font-size: 1rem; padding: 0.5rem 0.8rem; background: var(--tint); border-radius: var(--radius-sm); margin: 0 0 var(--space-2); }
.t7-filter__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.t7-filter__btn { display: flex; justify-content: space-between; width: 100%; padding: 0.45rem 0.8rem; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); font-weight: 500; text-align: left; cursor: pointer; }
.t7-filter__btn:hover, .t7-filter__btn.is-active { background: var(--lilac); color: var(--primary); }
.t7-filter__btn span { color: var(--text-muted); font-size: 0.85rem; }
@media (max-width: 991.98px) { .t7-filter { position: static; } }

.t7-cdetail-hero { position: relative; padding: var(--space-6) 0; background: var(--ink); color: #ffffff; }
.t7-cdetail-hero h1 { color: #ffffff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0 0 var(--space-2); }
.t7-cdetail-hero p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.t7-eyebrow--light { color: #ffffff; opacity: 0.85; }
.t7-cdetail { padding-top: var(--space-6); }

.t7-sidecard { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.t7-sidecard__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.t7-sidecard__body { padding: var(--space-4); }
.t7-facts-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.t7-facts-list li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding: 0.65rem 0; border-top: 1px solid var(--line); font-size: 0.93rem; }
.t7-facts-list li:first-child { border-top: 0; }
.t7-facts-list span { color: var(--text-muted); }
.t7-facts-list span i { color: var(--primary); margin-right: 0.3rem; }
.t7-facts-list strong, .t7-facts-list a { color: var(--ink); text-align: right; font-weight: 600; }
.t7-note { display: flex; gap: var(--space-3); align-items: flex-start; margin-top: var(--space-4); padding: var(--space-3) var(--space-4); background: var(--cream); border-radius: var(--radius-md); }
.t7-note > i { color: var(--primary); font-size: 1.3rem; margin-top: 0.15rem; }
.t7-note p { margin: 0.2rem 0 0; }

/* ---------- TABLES (fees) ---------- */
.t7-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.t7-table th, .t7-table td { padding: 0.85rem var(--space-4); border-bottom: 1px solid var(--line); text-align: left; }
.t7-table thead th { background: var(--tint); color: var(--ink); font-family: var(--font-head), sans-serif; }
.t7-table tbody th { font-weight: 600; color: var(--ink); }
.t7-table .is-total th, .t7-table .is-total td, .t7-table tfoot th, .t7-table tfoot td { background: var(--lilac); font-weight: 700; color: var(--ink); }
.t7-feerow { display: flex; justify-content: space-between; gap: var(--space-3); padding: 0.4rem 0; border-top: 1px solid var(--line); }

/* ---------- PEOPLE (inner pages) ---------- */
.t7-person__links { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-2); }
.t7-person__links a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint); }
.t7-person--detail .t7-person__info { text-align: left; }
.t7-person__info a:not(.t7-btn) { color: var(--primary); }
.t7-profile { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; }
.t7-profile__photo { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; background: var(--lilac); flex: none; }
.t7-profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.t7-topper .t7-person__photo { position: relative; }
.t7-topper__rank { position: absolute; right: 0.6rem; top: 0.6rem; min-width: 38px; padding: 0.15rem 0.55rem; border-radius: var(--radius-pill); background: #ffffff; text-align: center; font-weight: 700; color: var(--ink); }
.t7-topper__score { display: inline-block; margin-bottom: 0.3rem; padding: 0.1rem 0.7rem; border-radius: var(--radius-pill); background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 0.85rem; }
.t7-stat { text-align: center; padding: var(--space-4); background: var(--tint); border-radius: var(--radius-lg); }
.t7-stat__num { font-family: var(--font-head), sans-serif; font-weight: 700; font-size: 2rem; color: var(--primary); }
.t7-stat__label { color: var(--text-muted); }

/* ---------- TIMELINE ---------- */
.t7-timeline { list-style: none; margin: 0 auto; padding: 0 0 0 var(--space-4); max-width: 820px; border-left: 2px solid var(--line); }
.t7-timeline__item { position: relative; margin-bottom: var(--space-4); }
.t7-timeline__item::before { content: ""; position: absolute; left: calc(var(--space-4) * -1 - 7px); top: 0.4rem; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); }
.t7-timeline__year { display: inline-block; margin-bottom: var(--space-2); padding: 0.1rem 0.8rem; border-radius: var(--radius-pill); background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 0.85rem; }

/* ---------- POSTS ---------- */
.t7-postlist { display: grid; gap: var(--space-5); }
.t7-bigpost { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.t7-bigpost__media { position: relative; display: block; aspect-ratio: 16 / 8; background: var(--lilac); overflow: hidden; }
.t7-bigpost__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t7-bigpost__body { padding: var(--space-4); }
.t7-related { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.t7-related a { display: flex; gap: var(--space-3); align-items: center; color: var(--ink); }
.t7-related a:hover { color: var(--primary); }
.t7-related__thumb, .t7-related__date { flex: none; width: 64px; height: 64px; border-radius: var(--radius-md); overflow: hidden; background: var(--lilac); display: inline-flex; align-items: center; justify-content: center; color: var(--primary); }
.t7-related__thumb img { width: 100%; height: 100%; object-fit: cover; }
.t7-related__date { flex-direction: column; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.t7-related__date strong { font-size: 1.2rem; color: var(--ink); }
.t7-related small { color: var(--text-muted); }
.t7-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.t7-chip { padding: 0.3rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--tint); color: var(--ink); font-size: 0.85rem; font-weight: 500; }
a.t7-chip:hover { border-color: var(--primary); color: var(--primary); }
.t7-chips__label { font-weight: 600; color: var(--ink); }
.t7-share { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); padding: var(--space-3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.t7-share span { font-weight: 600; color: var(--ink); margin-right: var(--space-2); }
.t7-share a, .t7-share button { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: #ffffff; color: var(--ink); cursor: pointer; }
.t7-share a:hover, .t7-share button:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.t7-comments { margin-top: var(--space-5); }
.t7-comment { display: flex; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.t7-comment--reply { margin-top: var(--space-3); padding-left: var(--space-3); border-left: 2px solid var(--line); border-top: 0; }
.t7-comment__time { color: var(--text-muted); font-size: 0.8rem; margin-left: 0.4rem; }

/* ---------- GALLERIES, VIDEO, EVENT CAROUSEL, LIGHTBOX ---------- */
.t7-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.t7-play i { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 1.8rem; }
.t7-carousel { position: relative; }
.t7-carousel__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.t7-carousel__track { display: flex; transition: transform var(--transition-med); }
.t7-carousel__slide { flex: 0 0 100%; margin: 0; }
.t7-carousel__slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.t7-carousel__slide figcaption { padding: var(--space-2) var(--space-3); background: var(--tint); }
.t7-carousel__slide figcaption span { display: block; font-size: 0.9rem; }
.t7-carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: #ffffff; color: var(--ink); box-shadow: var(--shadow-md); cursor: pointer; }
.t7-carousel__btn--prev { left: var(--space-3); }
.t7-carousel__btn--next { right: var(--space-3); }
.t7-lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: var(--space-4); background: rgba(15, 10, 35, 0.88); }
.t7-lightbox[hidden] { display: none; }
.t7-lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; border-radius: var(--radius-md); }
.t7-lightbox iframe { width: min(92vw, 960px); aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-md); background: #000000; }
.t7-lightbox--pdf iframe { width: min(94vw, 1100px); height: 84vh; aspect-ratio: auto; background: #ffffff; }
.t7-lightbox__btn { position: absolute; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #ffffff; color: var(--ink); font-size: 1.4rem; cursor: pointer; }
.t7-lightbox__close { top: var(--space-3); right: var(--space-3); }
.t7-lightbox__prev { left: var(--space-3); }
.t7-lightbox__next { right: var(--space-3); }
.t7-lightbox__title { position: absolute; left: 0; right: 0; bottom: var(--space-3); margin: 0; text-align: center; color: #ffffff; }

/* ---------- DOCUMENTS ---------- */
.t7-doclist { display: grid; gap: var(--space-3); }
.t7-doc { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; padding: var(--space-4); background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.t7-doc__icon { flex: none; width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--tint); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; overflow: hidden; }
.t7-doc__icon img { width: 100%; height: 100%; object-fit: cover; }
.t7-doc__body { flex: 1; min-width: 220px; }
.t7-doc__title { font-size: 1.1rem; margin: 0.2rem 0; }
.t7-doc__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.t7-more summary { cursor: pointer; color: var(--primary); font-weight: 600; font-size: 0.85rem; }

/* ---------- CONTACT ---------- */
.t7-contact-card { height: 100%; padding: var(--space-4); text-align: center; background: var(--tint); border-radius: var(--radius-lg); }
.t7-contact-card > i { display: block; font-size: 2.2rem; color: var(--primary); margin-bottom: var(--space-2); }
.t7-contact-card h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.t7-contact-card a { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.t7-iconlist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.t7-iconlist i { color: var(--primary); margin-right: 0.5rem; }
.t7-map { display: block; width: 100%; height: 340px; border: 0; border-radius: var(--radius-md); }

/* ---------- THANK YOU ---------- */
.t7-thanks { max-width: 560px; margin: 0 auto; padding: var(--space-6) var(--space-5); text-align: center; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.t7-thanks__icon { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: var(--tint); color: var(--primary); font-size: 2.4rem; margin-bottom: var(--space-3); }

/* ---------- FEEDBACK ---------- */
.t7-fieldset { margin: 0 0 var(--space-5); padding: 0; border: 0; }
.t7-fieldset legend { float: none; width: auto; padding: 0; font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: var(--space-3); }
.t7-fieldset legend small { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }
.t7-question { margin-bottom: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.t7-question__label { margin: 0 0 var(--space-2); color: var(--ink); font-weight: 600; }
.t7-question__num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 0.4rem; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 0.8rem; }
.t7-question__hint { font-size: 0.85rem; margin: 0 0 var(--space-2); }
.t7-error { color: var(--danger); font-size: 0.85rem; margin-top: var(--space-2); }
.t7-choices { display: grid; gap: var(--space-2); }
.t7-choices--row { display: flex; flex-wrap: wrap; }
.t7-choice { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: #ffffff; color: var(--ink); cursor: pointer; }
.t7-choice:has(input:checked) { border-color: var(--primary); background: var(--lilac); }
.t7-choice input { accent-color: var(--primary); }
.t7-rating__stars { display: inline-flex; flex-direction: row-reverse; gap: 0.2rem; }
.t7-rating__stars label { font-size: 1.7rem; color: var(--line); cursor: pointer; line-height: 1; }
.t7-rating__stars input:checked ~ label, .t7-rating__stars label:hover, .t7-rating__stars label:hover ~ label { color: var(--accent); }
.t7-rating__stars input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; }
.t7-rating__labels { display: flex; justify-content: space-between; max-width: 240px; font-size: 0.8rem; color: var(--text-muted); }

/* ---------- PAGINATION (platform partial) ---------- */
.sx-pagination { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin: var(--space-5) 0 0; padding: 0; }
.sx-pagination a, .sx-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.6rem; border-radius: var(--radius-sm); background: var(--lilac); color: var(--ink); font-weight: 600; }
.sx-pagination a:hover { background: var(--tint); color: var(--primary); }
.sx-pagination span[aria-current] { background: var(--primary); color: var(--on-primary); }
.sx-pagination .is-disabled { opacity: 0.5; }

/* ---------- BADGES, FILTER BAR, PARTNERS, STORIES (careers, placements, alumni, MoUs) ---------- */
.t7-badge { display: inline-block; padding: 0.15rem 0.7rem; border-radius: var(--radius-pill); background: var(--tint); color: var(--ink); font-size: 0.78rem; font-weight: 600; }
.t7-badge--good { background: #e3f6ea; color: #14532d; }
.t7-badge--muted { background: #eceaf3; color: #3a3556; }
.t7-badge--bad { background: #fde8e6; color: #7f1d1d; }
.t7-filterbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-3); align-items: end; margin-bottom: var(--space-5); padding: var(--space-4); background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.t7-filterbar__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.t7-filterbar__check .t7-choice { width: 100%; }
.t7-partner { height: 100%; padding: var(--space-4); text-align: center; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.t7-partner__logo { display: flex; align-items: center; justify-content: center; height: 84px; margin-bottom: var(--space-3); }
.t7-partner__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.t7-partner h3 { font-size: 1.05rem; margin: 0 0 0.3rem; }
.t7-partner__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem var(--space-2); font-size: 0.85rem; margin-bottom: var(--space-3); }
.t7-contain { object-fit: contain !important; padding: var(--space-3); background: #ffffff; }
.t7-storyhead { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
.t7-storyhead img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.t7-storyhead strong { display: block; color: var(--ink); }
.t7-storyhead small { color: var(--text-muted); }
.t7-storyhead--lg img, .t7-storyhead--lg .t7-initials--sm { width: 72px; height: 72px; }
/* ═══ UI kit (themes/theme7/ui/*): plugin and platform pages in the Tuition look ═══ */
.t7ui-page { background: var(--bg); padding: var(--space-6) 0 var(--space-7); }
.t7ui-section { background: var(--bg); padding: var(--space-6) 0; }
.t7ui-page .t7-accordion .accordion-item { border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: var(--space-3); overflow: hidden; background: #ffffff; }
.t7ui-page .t7-accordion .accordion-button, .t7ui-section .t7-accordion .accordion-button { font-family: var(--font-head), sans-serif; font-weight: 600; color: var(--ink); background: #ffffff; box-shadow: none; }
.t7ui-page .t7-accordion .accordion-button:not(.collapsed), .t7ui-section .t7-accordion .accordion-button:not(.collapsed) { color: var(--primary); background: var(--lilac); }
.t7ui-section .ui-actions, .t7ui-page .ui-actions { margin-top: var(--space-4); text-align: center; }
.t7ui-section .t7-accordion { max-width: 820px; margin: 0 auto; }
