/* NORMIC site styles – loaded by the NORMIC Site Setup plugin on top of the Total theme.
   Design: white header, navy hero and page-header bands, teal actions, white cards on a cool grey. */

:root {
	--nc-navy: #0c3354;
	--nc-navy-2: #134a74;
	--nc-navy-3: #0a2840;
	--nc-teal: #11a487;
	--nc-teal-dark: #0b7f69;
	--nc-ink: #16293a;
	--nc-muted: #53687a;
	--nc-line: #dbe3ea;
	--nc-mist: #f2f6f9;
	--nc-red: #d3151b;
	--nc-head: "Montserrat", "Segoe UI", Arial, sans-serif;
	--nc-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
	--nc-container: 1280px;
	--nc-radius: 8px;
	--nc-shadow: 0 8px 24px rgba(12, 51, 84, .10);
}

/* ---------- base typography */
body.normic { font-family: var(--nc-body); font-size: 17px; line-height: 1.65; color: var(--nc-ink); background: #fff; }
.normic h1, .normic h2, .normic h3, .normic h4, .normic h5, .normic h6,
.normic .entry-title, .normic .page-header-title { font-family: var(--nc-head); color: var(--nc-navy); line-height: 1.2; text-wrap: balance; }
.normic h1 { font-weight: 800; }
.normic h2 { font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); }
.normic h3 { font-weight: 700; font-size: 21px; }
.normic h4 { font-weight: 700; font-size: 18px; margin-top: 1.4em; }
.normic a { color: var(--nc-teal-dark); }
.normic a:hover { color: var(--nc-navy); }
.normic :focus-visible { outline: 3px solid var(--nc-teal); outline-offset: 2px; }
.normic blockquote { border-left: 4px solid var(--nc-teal); background: var(--nc-mist); padding: 18px 22px; margin: 20px 0; font-style: italic; color: var(--nc-ink); }
.normic blockquote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; color: var(--nc-muted); font-size: 15px; }

/* ---------- header (Total) */
.normic #site-header { border-bottom: 1px solid var(--nc-line); }
.normic #site-logo img, .normic .logo-img { max-height: 54px; width: auto; }
.normic #site-navigation .main-navigation-ul > li > a,
.normic .main-navigation-ul > li > a { font-family: var(--nc-head); font-weight: 600; font-size: 14.5px; color: var(--nc-ink); }
.normic .main-navigation-ul > li.current-menu-item > a,
.normic .main-navigation-ul > li.current-menu-ancestor > a,
.normic .main-navigation-ul > li.current_page_parent > a { color: var(--nc-navy); box-shadow: inset 0 -3px 0 var(--nc-teal); }
.normic .main-navigation-ul > li > a:hover { color: var(--nc-teal-dark); }
.normic .main-navigation-ul .sub-menu a { font-family: var(--nc-head); font-weight: 600; font-size: 14px; }

/* ---------- builder pages: no theme padding around the layout */
.nc-builder #content-wrap { padding-top: 0 !important; padding-bottom: 0 !important; }
.nc-builder #primary, .nc-builder .content-area { padding-top: 0 !important; padding-bottom: 0 !important; }
.nc-builder .single-page-content, .nc-builder .entry { margin-bottom: 0; }
.nc-builder #main > .page-header, .nc-builder .page-header.wpex-supports-mods { display: none; }

/* ---------- buttons */
.normic .nc-btn {
	display: inline-flex; align-items: center; gap: 10px; font-family: var(--nc-head); font-weight: 700; font-size: 15px;
	text-decoration: none; line-height: 1.2; border-radius: 4px; padding: 14px 22px; border: 2px solid transparent;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.normic .nc-btn::after { content: "\2192"; }
.normic .nc-btn--teal { background: var(--nc-teal); color: #fff; }
.normic .nc-btn--teal:hover { background: var(--nc-teal-dark); color: #fff; }
.normic .nc-btn--ghost { border-color: #fff; color: #fff; }
.normic .nc-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.normic .nc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.normic .nc-more { font-family: var(--nc-head); font-weight: 700; text-decoration: none; }
.normic .nc-more::after { content: " \2192"; }

/* ---------- full-bleed backgrounds for non-stretched rows */
.nc-section { padding-top: 64px; padding-bottom: 40px; }
.nc-section--mist { background: var(--nc-mist); box-shadow: 0 0 0 100vmax var(--nc-mist); clip-path: inset(0 -100vmax); }
.nc-section + .nc-section--mist, .nc-section--mist + .nc-section { margin-top: 0; }
.vc_row.nc-cards--tight { padding-top: 0; }
.nc-kicker { display: block; width: 72px; height: 5px; border-radius: 3px; background: var(--nc-teal); margin-bottom: 18px; }
.nc-lead { font-size: 19px; color: var(--nc-muted); }
.nc-small { font-size: 15px; color: var(--nc-muted); }
.nc-meta { font-family: var(--nc-head); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--nc-teal-dark); margin-bottom: 6px; }
.nc-rounded img { border-radius: var(--nc-radius); }

/* ---------- hero */
.vc_row.nc-hero { background: linear-gradient(100deg, var(--nc-navy) 0%, var(--nc-navy) 48%, var(--nc-navy-2) 100%); color: #fff; margin-bottom: 0; overflow: hidden; }
.nc-hero .nc-hero__text > .vc_column-inner { padding: 72px 40px 72px max(5vw, calc((100vw - var(--nc-container)) / 2)) !important; }
.nc-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.01em; margin: 0 0 20px; }
.nc-hero .nc-underline { background: linear-gradient(transparent 88%, var(--nc-teal) 88%); }
.nc-hero .nc-lead { color: #dbe8f2; max-width: 34em; }
.nc-hero__media > .vc_column-inner, .nc-hero__media .wpb_wrapper, .nc-hero__media .wpb_single_image,
.nc-hero__media figure, .nc-hero__media .vc_single_image-wrapper { height: 100%; margin: 0 !important; padding: 0 !important; }
.nc-hero__media .vc_single_image-wrapper { position: relative; display: block; }
.nc-hero__media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; object-position: 72% center; display: block; }
.nc-hero__media .vc_single_image-wrapper::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, var(--nc-navy), rgba(12, 51, 84, 0)); pointer-events: none; }
@media (max-width: 767px) {
	.nc-hero .nc-hero__text > .vc_column-inner { padding: 44px 20px !important; }
	.nc-hero__media img { min-height: 260px; }
	.nc-hero__media .vc_single_image-wrapper::after { display: none; }
}

/* ---------- course cards */
.nc-card > .vc_column-inner { padding-bottom: 24px; }
.nc-card > .vc_column-inner > .wpb_wrapper { background: #fff; border-radius: var(--nc-radius); box-shadow: var(--nc-shadow); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .15s ease; }
.nc-card > .vc_column-inner > .wpb_wrapper:hover { transform: translateY(-3px); }
.nc-card .wpb_single_image { margin: 0 !important; }
.nc-card .wpb_single_image img { width: 100%; aspect-ratio: 2 / 1.05; object-fit: cover; display: block; }
.nc-card .nc-card__body { padding: 0 26px 26px; margin: 0 !important; flex: 1; }
.nc-card h3 { font-size: 21px; margin: 4px 0 10px; }
.nc-card h3 a { color: var(--nc-navy); text-decoration: none; }
.nc-card p { color: var(--nc-muted); font-size: 16px; }
.nc-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--nc-teal); border: 4px solid #fff; margin-top: -30px; margin-bottom: 10px; position: relative; }
.nc-icon::before { content: ""; width: 28px; height: 28px; background: #fff; -webkit-mask: var(--nc-i) center / contain no-repeat; mask: var(--nc-i) center / contain no-repeat; }
.nc-icon--house { --nc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M4 15 16 5l12 10M8 13v14h16V13M13 27v-8h6v8'/%3E%3C/svg%3E"); }
.nc-icon--microscope { --nc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 4h6M14 4l-1 11h5l1-11M9 28h16M15 15v3M21 12a8 8 0 0 1-2 15M8 23h10'/%3E%3C/svg%3E"); }
.nc-icon--flask { --nc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 4h8M14 4v8L7 25a2 2 0 0 0 2 3h14a2 2 0 0 0 2-3l-7-13V4M10 20h12'/%3E%3C/svg%3E"); }

/* ---------- split sections & facts */
.nc-split .wpb_single_image { margin-bottom: 0 !important; }
.nc-facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nc-fact { display: flex; align-items: center; gap: 12px; font-family: var(--nc-head); font-weight: 600; font-size: 15px; color: var(--nc-navy); line-height: 1.3; }
.nc-fact::before { content: ""; flex: 0 0 34px; height: 34px; background: var(--nc-teal); -webkit-mask: var(--nc-i) center / contain no-repeat; mask: var(--nc-i) center / contain no-repeat; }
.nc-fact--alliance { --nc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 16l6-6 7 4 6-6 7 7M9 10l-6 6 9 9 4-4M23 9l6 6-9 9'/%3E%3C/svg%3E"); }
.nc-fact--online { --nc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='4' y='6' width='24' height='16' rx='2'/%3E%3Cpath d='M12 27h8M16 22v5'/%3E%3C/svg%3E"); }
.nc-fact--pin { --nc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M16 29s9-9 9-16a9 9 0 0 0-18 0c0 7 9 16 9 16z'/%3E%3Ccircle cx='16' cy='13' r='3'/%3E%3C/svg%3E"); }
@media (max-width: 600px) { .nc-facts { grid-template-columns: 1fr; } }
.nc-video .wpb_video_wrapper { border-radius: var(--nc-radius); overflow: hidden; }
.nc-partner { text-align: center; }
.nc-partner img { max-width: 240px; height: auto; }

/* ---------- call to action band */
.vc_row.nc-cta { background: linear-gradient(100deg, var(--nc-navy), var(--nc-navy-2)); color: #dbe8f2; text-align: center; padding: 56px 0 40px; margin-bottom: 0; }
.nc-cta h2 { color: #fff; }

/* ---------- page header band on subpages */
.vc_row.nc-pagehead { background: linear-gradient(100deg, var(--nc-navy), var(--nc-navy-2)); color: #dbe8f2; padding: 48px 0 30px; margin-bottom: 0; }
.vc_row.nc-pagehead > .wpb_column > .vc_column-inner,
.vc_row.nc-cta > .wpb_column > .vc_column-inner { width: min(90%, var(--nc-container)); margin-inline: auto; padding-inline: 0 !important; }
.nc-pagehead h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin: 6px 0 12px; }
.nc-pagehead .nc-lead { color: #dbe8f2; max-width: 46em; font-size: 18px; }
.nc-crumbs { font-size: 14px; color: #a9c3d8; margin-bottom: 0; }
.nc-crumbs a { color: #cfe3f3; text-decoration: none; }
.nc-crumbs a:hover { color: #fff; }
.nc-crumbs span { margin: 0 4px; opacity: .7; }

/* ---------- boxes, sidebars, prices */
.normic .nc-box { border: 1px solid var(--nc-line); border-radius: var(--nc-radius); padding: 24px; background: #fff; }
.normic .nc-box--navy { background: var(--nc-navy); border-color: var(--nc-navy); color: #dbe8f2; }
.normic .nc-box--navy h3 { color: #fff; }
.normic .nc-box h3 { margin-top: 0; font-size: 19px; }
@media (min-width: 992px) { .nc-aside > .vc_column-inner > .wpb_wrapper { position: sticky; top: 110px; } }
.nc-price__value { font-family: var(--nc-head); font-weight: 800; font-size: 34px; color: var(--nc-navy); font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.nc-price__value span { font: 600 14px var(--nc-body); color: var(--nc-muted); }
.nc-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15.5px; margin: 0 0 12px; }
.nc-dl dt { color: var(--nc-muted); font-weight: 400; }
.nc-dl dd { margin: 0; font-weight: 600; }
.nc-prose .wpb_text_column { max-width: 72ch; }
.nc-prose .wpb_single_image, .nc-course .wpb_single_image { margin-bottom: 28px !important; }
.normic blockquote { padding-left: 52px; position: relative; }
.nc-prose ul li { margin-bottom: 6px; }

/* ---------- toggles (Total vcex_toggle) */
.normic .vcex-toggle { border: 1px solid var(--nc-line); border-radius: var(--nc-radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.normic .vcex-toggle__heading, .normic .vcex-toggle__trigger { font-family: var(--nc-head); font-weight: 700; color: var(--nc-navy); font-size: 17px; }
.normic .vcex-toggle__trigger { padding: 16px 20px; }
.normic .vcex-toggle__content { padding: 0 20px 18px; color: var(--nc-muted); }

/* ---------- upcoming classes */
.nc-classes .nc-class { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border: 1px solid var(--nc-line); border-left: 5px solid var(--nc-teal); border-radius: var(--nc-radius); padding: 20px 24px; margin-bottom: 16px; background: #fff; }
.nc-classes .nc-class > div { flex: 1 1 320px; min-width: 0; }
.nc-classes .nc-class h3 { margin: 6px 0 4px; font-size: 19px; }
.nc-classes .nc-class h3 a { color: var(--nc-navy); text-decoration: none; }
.nc-classes .nc-class p { margin: 0; }
.nc-tag { display: inline-block; font-family: var(--nc-head); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: var(--nc-mist); color: var(--nc-navy); border-radius: 999px; padding: 4px 10px; }

/* ---------- membership benefits */
.nc-benefits .wpb_wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.nc-benefits .wpb_wrapper > .nc-kicker, .nc-benefits .wpb_wrapper > h2, .nc-benefits .wpb_wrapper > p { grid-column: 1 / -1; }
.nc-ben { border: 1px solid var(--nc-line); border-radius: var(--nc-radius); padding: 20px 22px; }
.nc-ben h3 { font-size: 17px; margin: 0 0 6px; }
.nc-ben p { color: var(--nc-muted); font-size: 16px; margin: 0; }
@media (max-width: 700px) { .nc-benefits .wpb_wrapper { grid-template-columns: 1fr; } }

/* ---------- forms (Contact Form 7) */
.normic .wpcf7 label, .normic .wpcf7 .nc-field { display: block; font-family: var(--nc-head); font-weight: 600; font-size: 14px; color: var(--nc-navy); margin-bottom: 14px; }
.normic .wpcf7 input[type="text"], .normic .wpcf7 input[type="email"], .normic .wpcf7 input[type="tel"],
.normic .wpcf7 input[type="number"], .normic .wpcf7 select, .normic .wpcf7 textarea {
	width: 100%; max-width: 100%; box-sizing: border-box; margin-top: 6px; font: 16px var(--nc-body); color: var(--nc-ink); border: 1px solid #c5d2dd; border-radius: 4px; padding: 11px 13px; background: #fff; box-shadow: none;
}
.normic .wpcf7 textarea { min-height: 110px; }
.normic .wpcf7 .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.normic .wpcf7 .wpcf7-list-item { margin: 0; }
.normic .wpcf7 .wpcf7-list-item label { display: flex; align-items: center; gap: 8px; font-family: var(--nc-body); font-weight: 600; font-size: 15px; color: var(--nc-ink); border: 1px solid #c5d2dd; border-radius: 4px; padding: 9px 13px; margin: 0; cursor: pointer; }
.normic .wpcf7 input[type="submit"] { background: var(--nc-teal); color: #fff; font-family: var(--nc-head); font-weight: 700; font-size: 15px; border: 0; border-radius: 4px; padding: 14px 24px; cursor: pointer; }
.normic .wpcf7 input[type="submit"]:hover { background: var(--nc-teal-dark); }
.normic .nc-label { display: block; }
.normic .nc-form-row > p, .normic .nc-field > p { display: contents; }
.normic .wpcf7 label br { display: none; }
.normic .nc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .normic .nc-label { display: block; }
.normic .nc-form-row { grid-template-columns: 1fr; } }
.normic .wpcf7 form .wpcf7-response-output { border-radius: 4px; margin: 14px 0 0; }

/* ---------- news (blog archive + posts) */
.normic.blog .entry-title a, .normic.archive .entry-title a { color: var(--nc-navy); }
.normic .blog-entry .blog-entry-media img { border-radius: var(--nc-radius); }
.normic .meta-date, .normic .blog-entry-date { color: var(--nc-teal-dark); }
.normic .nc-inline-img { border-radius: var(--nc-radius); margin: 10px 0 20px; height: auto; }
.normic .single-post .entry p a[href*="safelinks"] { display: none; }
.normic p:has(> .nc-grid-item) { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.normic .nc-grid-item { display: grid; gap: 6px; text-decoration: none; font-size: 14px; color: var(--nc-ink); line-height: 1.3; }
.normic .nc-grid-item img { border-radius: var(--nc-radius); width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- footer (Total) */
.normic #footer, .normic #footer-inner { background: var(--nc-navy-3) !important; color: #b9cddd; --wpex-surface-1: var(--nc-navy-3); }
.normic #footer a { color: #d7e6f1; }
.normic #footer a:hover { color: #fff; }
.normic #footer .widget-title, .normic #footer h4 { color: #fff; font-family: var(--nc-head); font-size: 15px; }
.normic .nc-footer-logo img { background: #fff; border-radius: 6px; padding: 8px 12px; max-width: 220px; height: auto; }
.normic .nc-footer-list { list-style: none; margin: 0; padding: 0; }
.normic .nc-footer-list li { margin-bottom: 6px; }
.normic #footer-bottom { background: #081f33 !important; color: #9fb6c9; font-size: 14px; }
.normic #footer-bottom a { color: #cfe3f3; }

@media (prefers-reduced-motion: reduce) {
	.normic .nc-btn, .nc-card > .vc_column-inner > .wpb_wrapper { transition: none; }
	.nc-card > .vc_column-inner > .wpb_wrapper:hover { transform: none; }
}
