/* ==========================================================================
   NetMet — global styles
   Values are taken from the live site (Elementor kit 8 + header 2816 +
   footer 1185). Breakpoints match the live site: tablet <= 1020px,
   mobile <= 778px.

   1. Tokens          5. Header          9. Blog
   2. Reset / base    6. Mega-menu      10. Utilities
   3. Typography      7. Mobile panel   11. Responsive
   4. Layout          8. Footer
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	/* Brand */
	--c-yellow:        #FBC02D;   /* el_color_1   — buttons, strips */
	--c-yellow-dark:   #F9A825;   /* el_color_1_2 — links, accents */
	--c-yellow-light:  #FDD835;   /* el_color_1_4 */
	--c-yellow-50:     #FBC02D80;
	--c-yellow-17:     #FBC02D2B;
	--c-blue:          #0159D3;   /* el_color_2 */
	--c-blue-dark:     #00347D;   /* el_color_2_2 / el_color_3 */
	--c-blue-bright:   #136FEF;   /* el_color_2_3 */
	--c-banner:        #002173;   /* promo banner background */
	--c-navy:          #0F1B2D;   /* el_color_6 — footer */
	--c-red:           #E53935;
	--c-orange:        #FA8835;
	--c-teal:          #00A7BA;

	/* Neutrals */
	--c-ink:           #11181C;   /* el_color_7   — headings, menu */
	--c-text:          #5F676D;   /* el_color_7_1 — body copy */
	--c-muted:         #8D959B;   /* el_color_7_2 */
	--c-line:          #11181C1F; /* el_color_7_4 */
	--c-soft:          #F1F3F5;   /* el_color_7_6 */
	--c-grey-3:        #BBBDBE;
	--c-white:         #FFFFFF;
	--c-white-50:      #FFFFFF80;
	--c-white-20:      #FFFFFF33;
	--c-cream:         #FEFBF2;

	/* Type */
	--ff:              "Poppins", sans-serif;
	--fs-h1: 47px;  --lh-h1: 1.1;
	--fs-h2: 35px;  --lh-h2: 1.2;
	--fs-h3: 27px;  --lh-h3: 1.3;
	--fs-h4: 20px;  --lh-h4: 1.4;
	--fs-h5: 18px;  --lh-h5: 1.4;
	--fs-h6: 16px;  --lh-h6: 1.4;
	--fs-lead: 18px;  /* el_content_4 */
	--fs-body: 16px;  /* el_content_1 */
	--fs-small: 15px; /* el_content_2 */
	--fs-xs: 13px;    /* el_content_3 */

	/* Layout */
	--container: 1231px;
	--gutter: 30px;
	--header-z: 100;
}

/* 2. Reset / base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--ff);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.8;
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-yellow-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-yellow-dark); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	padding: 10px 16px; background: var(--c-ink); color: var(--c-white); border-radius: 4px;
}
.skip-link:focus { top: 12px; color: var(--c-white); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.ic { width: 1em; height: 1em; flex: none; }
/* Single-colour SVG from the media library, recoloured with CSS: <span class="mask-icon" style="--icon:url(...)"> */
.mask-icon { display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

/* 3. Typography ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--ff); font-weight: 500; color: var(--c-ink); text-transform: none; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
h6 { font-size: var(--fs-h6); line-height: var(--lh-h6); }

/* Reusable type classes for page HTML (match the kit presets). */
.t-lead  { font-size: var(--fs-lead);  line-height: 1.8; }
.t-small { font-size: var(--fs-small); line-height: 1.7; }
.t-xs    { font-size: var(--fs-xs);    line-height: 1.6; }
.t-accent { color: var(--c-yellow-dark); }
.t-blue   { color: var(--c-blue); }

/* 4. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding: 100px 0; }
.section--soft { background: var(--c-soft); }
.section--navy { background: var(--c-navy); color: var(--c-white); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--c-white); }

/* Buttons used across pages (live: 200x56, 16px/500, 3px radius). */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-width: 200px; min-height: 56px; padding: 12px 24px; border-radius: 3px;
	font-size: 16px; font-weight: 500; line-height: 1; text-align: center;
	transition: background-color .25s, color .25s, border-color .25s;
}
.btn--primary { background: var(--c-yellow-light); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-yellow); color: var(--c-ink); }
.btn--outline { border: 1px solid var(--c-yellow); color: var(--c-yellow); font-size: 17px; }
.btn--outline:hover { background: transparent; border-color: var(--c-yellow); }
.btn .ic { width: 17px; height: 17px; }
.link-arrow {
	display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
	border-bottom: 1px solid var(--c-yellow); font-size: 16px; font-weight: 500; line-height: 1; color: var(--c-white);
}
.link-arrow:hover { color: var(--c-yellow-dark); border-color: var(--c-yellow-dark); }
.link-arrow .ic { width: 14px; height: 14px; }

/* Section headings: "Why Choose <span class="hl">NetMet Solutions?</span>" with the yellow swoosh. */
.sec-title { margin: 0 0 10px; font-size: 43px; line-height: 1.3; font-weight: 500; color: var(--c-ink); }
.sec-title--md { font-size: var(--fs-h2); line-height: 1.2; }
.hl { position: relative; display: inline-block; color: var(--c-blue-dark); }
/* Live's animated-headline "underline" marker: the yellow stroke draws in when
   the heading scrolls into view (1.2s), stays, then fades and redraws every
   8s. main.js adds .is-drawn once the heading is visible. */
.hl::after {
	content: ""; position: absolute; left: -2%; right: -2%; bottom: -14px; height: 16px; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C90 3 230 1 397 13' fill='none' stroke='%23FBC02D' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	clip-path: inset(0 100% 0 0);
}
.hl.is-drawn::after { animation: nm-underline 9.2s linear infinite; }
@keyframes nm-underline {
	0%   { clip-path: inset(0 100% 0 0); opacity: 1; animation-timing-function: ease-out; }
	13%  { clip-path: inset(0 0 0 0); opacity: 1; }
	93%  { clip-path: inset(0 0 0 0); opacity: 1; }
	98%  { clip-path: inset(0 0 0 0); opacity: 0; }
	100% { clip-path: inset(0 100% 0 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hl::after { clip-path: none; } .hl.is-drawn::after { animation: none; } }
.eyebrow { margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--c-muted); }
.on-dark { color: var(--c-white); }
.bg-navy-waves { position: relative; isolation: isolate; background: var(--c-navy); }
.bg-navy-waves::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
	background: url("/wp-content/uploads/2020/05/wicked-bg-the7-5.svg") center / cover no-repeat;
	opacity: .5; mix-blend-mode: color-dodge;
}

/* Block editor content: let full-width HTML sections span the page. */
.page-content > * { margin-top: 0; margin-bottom: 0; }
.page-content .alignwide { max-width: calc(var(--container) + var(--gutter) * 2); margin-left: auto; margin-right: auto; }

/* 5. Header ---------------------------------------------------------------- */
/* Header layout is an exact copy of the old live Elementor header (template
   2816). On scroll (all widths) only the white main bar stays pinned: the
   header sticks at minus the height of the promo banner + contact strip
   (--nm-pre-h, measured in main.js), so those two scroll away. */
.site-header {
	position: sticky; top: calc(-1 * var(--nm-pre-h, 131px)); z-index: var(--header-z);
	background: var(--c-yellow); transition: box-shadow .3s;
}
.admin-bar .site-header { top: calc(32px - var(--nm-pre-h, 131px)); }
.site-header.is-scrolled { box-shadow: 0 12px 23px 12px rgba(0, 0, 0, .12); }

/* Promo banner: navy row, 5px padding, image inset 10px, full width. */
.promo-banner { background: var(--c-banner); padding: 5px 0; }
.promo-banner > a, .promo-banner > img { display: block; }
.promo-banner img { display: block; width: calc(100% - 20px); height: auto; margin: 10px; }

/* Contact strip: four columns (spacer 45.71%, email 27.24%, phone 15%,
   WhatsApp 15%), centred, each item centred in its column. */
.topbar { padding: 5px 0; overflow: hidden; }
.topbar__list {
	list-style: none; display: grid; grid-template-columns: 45.71% 27.24% 15% 15%;
	justify-content: center; align-items: center; padding: 0;
}
.topbar__list::before { content: ""; }
.topbar__item { display: flex; justify-content: center; min-width: 0; }
.topbar__item a {
	display: flex; align-items: center; gap: 15px;
	color: var(--c-white); font-size: 14px; font-weight: 500; line-height: 19.6px;
}
.topbar__item a span { min-width: 0; overflow-wrap: anywhere; }
.topbar__item a:hover { color: var(--c-white); }
.topbar__item .ic { width: 22px; height: 22px; flex: none; }

/* Main bar: logo column 16.84%, menu column 68.26% (centred), Student Login. */
.mainbar { display: flex; align-items: center; height: 125px; background: var(--c-white); overflow-x: clip; }
.site-logo { flex: 0 0 16.843%; display: flex; justify-content: center; }
.site-logo img { width: 160px; height: 125px; }
.primary-nav { flex: 0 0 68.255%; display: flex; justify-content: center; }
.primary-nav__list { list-style: none; display: flex; align-items: center; }
.primary-nav__item { position: static; padding: 0 30.5px; }
.primary-nav__link {
	position: relative; display: flex; align-items: center; gap: 4px;
	padding: 6px 0; font-size: 16px; font-weight: 400; line-height: 19px; color: var(--c-ink);
}
.primary-nav__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--c-yellow); opacity: 0; transition: opacity .4s;
}
.primary-nav__link:hover, .primary-nav__item.is-current > .primary-nav__link { color: var(--c-ink); }
.primary-nav__link:hover::after,
.primary-nav__item.is-current > .primary-nav__link::after,
.has-mega.is-open > .primary-nav__link::after { opacity: 1; }
.primary-nav__link .caret { width: 8px; height: 8px; }

.student-login {
	display: flex; align-items: center; gap: 10px; margin-left: calc(10px + 1.9%); white-space: nowrap;
	font-size: 18px; font-weight: 500; line-height: 25px; color: var(--c-yellow-light);
}
.student-login .ic { width: 16px; height: 16px; color: var(--c-yellow); }
.student-login:hover { color: var(--c-yellow-light); }

.menu-toggle { display: none; color: var(--c-ink); }

/* 6. Mega-menu ------------------------------------------------------------- */
/* Live mega menu (template 93666): white 1152px panel opening at the bottom of
   the menu link, four columns with 1px dividers, yellow pill titles, navy
   contact card. */
.mega {
	position: absolute; top: calc(100% - 47px); left: 50%; z-index: 5;
	width: min(1152px, calc(100vw - 20px)); transform: translateX(calc(-50% - 28px));
	padding: 10px 50px 40px; border-radius: 5px; background: var(--c-white);
	opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s;
}
.has-mega.is-open > .mega,
.has-mega:focus-within > .mega { opacity: 1; visibility: visible; transition: opacity .2s; }
@media (hover: hover) {
	.has-mega:hover > .mega { opacity: 1; visibility: visible; transition: opacity .2s; }
}
.mega__cols { display: grid; grid-template-columns: 310px 279px 258px 237px; margin: 10px 0 10px 10px; }
@media (max-width: 1240px) { .mega__cols { grid-template-columns: 310fr 279fr 258fr 237fr; } }
.mega__col { min-height: 320px; padding: 20px; }
.mega__col:not(:last-child) { border-right: 1px solid rgba(17, 24, 28, .12); }
.mega__title {
	display: inline-block; margin: 0 0 17px; padding: 10px; border-radius: 5px;
	background: var(--c-yellow-50); text-align: center;
	font-size: 18px; font-weight: 500; line-height: 25px; color: var(--c-ink);
}
.mega ul { list-style: none; display: grid; gap: 24px; line-height: 23px; }
.mega__col:first-child .mega__title { width: 233px; }
.mega__col:last-child .mega__title { width: 197px; }
.mega ul a {
	display: inline-block; padding: 0 10px; border-radius: 15px;
	font-size: 16px; line-height: 23px; color: var(--c-text); transition: background-color .3s;
}
.mega ul a:hover, .mega ul a[aria-current="page"] { color: var(--c-text); background: var(--c-yellow-17); }
.mega__contact {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start;
	min-height: 146px; padding: 20px 30px; border-radius: 10px; overflow: hidden;
}
.mega__contact-item { display: flex; gap: 10px; margin: 0; font-size: 16px; line-height: 28.8px; color: var(--c-white); }
.mega__contact-item:hover { color: var(--c-white); }
.mega__contact-item strong { display: block; font-size: 20px; font-weight: 500; line-height: 28px; color: #FCFCFC; }
.mega__contact-icon {
	display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%;
	background: var(--c-white); border: 2px solid var(--c-yellow); color: var(--c-yellow-dark);
}
.mega__contact-icon .ic { width: 32px; height: 32px; }

/* 7. Mobile panel ---------------------------------------------------------- */
/* Live: Elementor off-canvas popup 3185 — white sheet from the right (351px),
   light overlay, grey close, 16px rows with 1px dividers, yellow for the open
   section and the current page, collapsible 14px course groups. */
.mobile-panel { position: fixed; inset: 0; z-index: 1000; }
.mobile-panel[hidden] { display: none; }
.mobile-panel__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .13); }
.mobile-panel__sheet {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(351px, 90vw);
	padding: 30px 30px 40px; overflow-y: auto; background: var(--c-white);
	animation: panel-in .3s ease-out;
}
@keyframes panel-in { from { transform: translateX(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .mobile-panel__sheet { animation: none; } }
.mobile-panel__close { position: absolute; top: 10px; right: 1px; width: 20px; height: 20px; color: var(--c-text); }
.mobile-panel__close .ic { width: 20px; height: 20px; }
.mobile-nav, .mobile-nav ul { list-style: none; }
.mobile-nav__item { border-bottom: 1px solid var(--c-line); }
.mobile-nav__item:last-child { border-bottom: 0; }
.mobile-nav__link {
	display: flex; width: 100%; justify-content: space-between; align-items: center;
	padding: 20px 0; font-size: 16px; font-weight: 400; line-height: 19px; text-align: left; color: var(--c-ink);
}
.mobile-nav__link:hover { color: var(--c-yellow-dark); }
.mobile-nav__item.is-current > .mobile-nav__link,
.mobile-nav__link.sub-toggle[aria-expanded="true"] { color: var(--c-yellow-dark); }
.mobile-nav .caret { width: 10px; height: 10px; color: var(--c-ink); transition: transform .2s; }
.sub-toggle[aria-expanded="true"] > .caret { transform: rotate(180deg); }
.mobile-nav__sub { margin-top: -6px; padding: 0 0 20px; }
.mobile-nav__group-title {
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 0;
	font-size: 14px; font-weight: 400; line-height: 17px; color: var(--c-text);
}
.mobile-nav__group-title:hover, .mobile-nav__group-title[aria-expanded="true"] { color: var(--c-yellow-dark); }
.mobile-nav__group ul { padding: 0 0 6px 15px; }
.mobile-nav__group a { display: block; padding: 7px 0; font-size: 14px; line-height: 17px; color: var(--c-text); }
.mobile-nav__group a:hover { color: var(--c-yellow-dark); }

/* 8. Footer ---------------------------------------------------------------- */
.site-footer {
	position: relative; isolation: isolate;
	padding-top: 100px;
	background: var(--c-navy);
	color: var(--c-white);
}
/* Wave overlay, as on the live footer: 50% opacity, colour-dodge over navy. */
.site-footer::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: url("/wp-content/uploads/2020/05/wicked-bg-the7-5.svg") center / cover no-repeat;
	opacity: .5; mix-blend-mode: color-dodge;
}
.footer-grid { display: grid; grid-template-columns: 35% 37% 28%; padding-bottom: 80px; }
.footer-logo { width: 160px; height: auto; margin-bottom: 30px; }
.footer-mission { max-width: 370px; font-size: 16px; line-height: 28.8px; color: var(--c-white); }
.footer-title { margin: 0 0 25px; font-size: 16px; font-weight: 500; line-height: 22.4px; color: var(--c-white); }

.footer-contact { list-style: none; display: grid; gap: 20px; max-width: 372px; }
.footer-contact li { display: flex; gap: 11px; }
.footer-contact .ic { width: 16px; height: 16px; margin-top: 5px; color: var(--c-white); }
.footer-contact a, .footer-contact address { display: block; font-size: 15px; line-height: 25.5px; color: var(--c-white); }
.footer-contact a:hover { color: var(--c-yellow); }
.footer-contact__lead { font-size: 18px !important; font-weight: 500; line-height: 25.2px !important; }
.footer-contact__note { display: block; font-size: 13px; line-height: 20.8px; color: var(--c-white-50); }

.footer-links { list-style: none; display: grid; gap: 26px; line-height: 20px; } /* live: 46px link-to-link */
.footer-links a { font-size: 16px; line-height: 20px; color: var(--c-yellow-dark); }
.footer-links a:hover { color: var(--c-white); }

.footer-bottom {
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 30px 0; border-top: 1px solid var(--c-white-20);
}
.footer-copy { margin: 0; font-size: 13px; line-height: 20.8px; color: var(--c-white-50); }
.footer-social { list-style: none; display: flex; gap: 20px; }
.footer-social a { display: block; color: rgba(255, 255, 255, .6); }
.footer-social a:hover { color: var(--c-white); }
.footer-social .ic { width: 16px; height: 16px; }

.to-top {
	position: fixed; right: 16px; bottom: 16px; z-index: 90;
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--c-yellow); color: var(--c-ink);
	opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--c-yellow-dark); color: var(--c-ink); }
.to-top .ic { width: 22px; height: 22px; }

/* 9. Blog ------------------------------------------------------------------ */
.page-hero { padding: 70px 0 50px; background: var(--c-soft); }
.page-hero__title { margin: 0; }
.blog-wrap { padding-top: 70px; padding-bottom: 100px; }
.post-list { display: grid; gap: 50px; }
.post-card { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 40px; align-items: start; }
.post-card:not(:has(.post-card__thumb)) { grid-template-columns: 1fr; }
.post-card__thumb img { width: 100%; border-radius: 6px; }
.post-card__title { margin: 0 0 12px; font-size: var(--fs-h4); line-height: var(--lh-h4); }
.post-card__title a { color: var(--c-ink); }
.post-card__title a:hover { color: var(--c-yellow-dark); }
.post-card__excerpt { margin-bottom: 10px; }
.post-card__more { font-weight: 500; }
.post-meta { display: flex; gap: 18px; margin-top: 10px; font-size: var(--fs-xs); line-height: 1.6; color: var(--c-muted); }
.single-post__thumb { margin: 50px 0 0; }
.single-post__thumb img { width: 100%; border-radius: 6px; }
.entry-content { padding: 50px 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { margin: 0 0 1em 1.4em; }
.entry-content img { border-radius: 4px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--c-line); text-align: left; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; padding: 30px 0 80px; border-top: 1px solid var(--c-line); font-weight: 500; }
.pagination { margin-top: 60px; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; margin-right: 6px;
	border: 1px solid var(--c-line); border-radius: 4px; color: var(--c-ink);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--c-yellow); border-color: var(--c-yellow); }
.not-found { padding: 70px var(--gutter) 120px; }

/* Title-bar pages (template-titlebar.php): policies, FAQ, gallery... */
.page-titlebar { display: grid; align-items: center; min-height: 222px; padding: 40px 0; text-align: center; }
.page-titlebar__title { margin: 0; font-size: 35px; line-height: 42px; font-weight: 500; color: var(--c-white); }
.page-body { padding: 70px var(--gutter) 90px; font-size: 16px; line-height: 28.8px; }
.page-body > :first-child { margin-top: 0; }
.page-body h2 { margin: 0 0 40px; font-size: 50px; line-height: 1.2; font-weight: 500; }
.page-body h3, .page-body h4 { margin: 1.4em 0 .5em; font-size: 20px; line-height: 1.4; font-weight: 500; }
.page-body p { margin: 0 0 1em; }
.page-body p, .page-body li { overflow-wrap: anywhere; }
.page-body ul { margin: 0 0 1em 1.2em; list-style: disc; }
.page-body a { color: var(--c-yellow-dark); }
.page-body hr { margin: 2em 0; border: 0; border-top: 1px solid var(--c-line); }
.faq-list { border: 1px solid var(--c-line); border-bottom: 0; }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary {
	display: flex; align-items: center; gap: 12px; padding: 12px 22px; cursor: pointer; list-style: none;
	font-size: 20px; line-height: 26px; font-weight: 500; color: var(--c-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
	content: ""; flex: none; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent;
	border-top: 7px solid var(--c-ink); transition: transform .2s;
}
.faq-item[open] summary::before { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--c-yellow-dark); }
.faq-item__body { padding: 0 22px 18px 46px; }
.faq-item__body > :last-child { margin-bottom: 0; }
@media (max-width: 778px) {
	.page-titlebar { min-height: 150px; }
	.page-titlebar__title { font-size: 28px; line-height: 34px; }
	.page-body { padding: 45px var(--gutter) 60px; }
	.page-body h2 { font-size: 32px; margin-bottom: 25px; }
	.faq-item summary { padding: 12px 14px; font-size: 17px; line-height: 24px; }
	.faq-item__body { padding: 0 14px 16px 38px; }
}

/* 10. Utilities ------------------------------------------------------------ */
.u-center { text-align: center; }
.u-hide { display: none !important; }

/* 11. Responsive ----------------------------------------------------------- */

@media (max-width: 1020px) { /* tablet: compact bar + slide-in menu (desktop menu would be cramped) */
	:root { --fs-lead: 17px; }
	/* Live tablet/mobile header: empty 59px navy strip (the banner image
	   collapses to 0 width on live), 30px contact strip, 71px main bar. */
	.promo-banner { height: 59px; }
	.promo-banner img { display: none; }
	.topbar { padding: 5px; }
	.topbar__list { grid-template-columns: 0 25.5% 34.66% 34.66%; column-gap: 3px; }
	.topbar__item--email { visibility: hidden; height: 0; overflow: hidden; }
	.topbar__item { min-height: 20px; align-items: center; }
	.topbar__item a { gap: 15px; font-size: 10px; line-height: 14px; }
	.topbar__item .ic { width: 14px; height: 14px; }
	.mainbar { height: 71px; padding: 0 3.45%; }
	.site-logo { flex: 0 0 32.36%; } /* 30.13% of the full bar width */
	.site-logo img { width: 90px; height: 71px; }
	.primary-nav { display: none; }
	.student-login { flex: 0 0 53.8%; justify-content: center; gap: 15px; margin: 0; font-size: 14px; line-height: 20px; color: var(--c-ink); }
	.student-login .ic { width: 24px; height: 24px; color: var(--c-yellow); }
	.student-login:hover { color: var(--c-ink); }
	.menu-toggle { display: flex; align-items: center; justify-content: flex-end; width: 45px; height: 18px; margin-left: auto; }
	.menu-toggle .ic { width: 24px; height: 24px; }
	.footer-grid { grid-template-columns: 1fr 1fr; row-gap: 50px; }
	.footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 778px) { /* mobile */
	:root { --fs-h1: 35px; --fs-h2: 25px; --fs-h3: 23px; --gutter: 20px; }
	.admin-bar .site-header { top: calc(0px - var(--nm-pre-h, 89px)); } /* WP admin bar is not fixed on phones */

	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column-reverse; align-items: flex-start; }

	.section { padding: 60px 0; }
	.post-card { grid-template-columns: 1fr; gap: 20px; }
}

/* 12. Shared page components (home + course pages) ---------------------- */
/* CTA band ------------------------------------------------------------- */
.cta-band { padding: 120px 0 140px; }
.cta-band__title { max-width: 800px; margin: 0 auto 45px; font-size: 35px; line-height: 42px; }
.cta-band__actions { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.cta-band .btn--outline { min-width: 240px; }

/* Contact block ------------------------------------------------------------- */
.hm-contact { padding: 10px; }
.hm-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-card { padding: 160px 50px; border-radius: 8px; color: var(--c-white); }
.contact-card h2 { margin: 0 0 30px; font-size: 35px; line-height: 42px; }
.contact-card__list { list-style: none; display: grid; gap: 30px; }
.contact-card__list li { display: flex; gap: 10px; align-items: center; }
.contact-card__list .contact-card__icon {
	display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 50%;
	background: var(--c-white); border: 2px solid var(--c-yellow); color: var(--c-yellow);
}
.contact-card__icon .ic { width: 32px; height: 32px; }
.contact-card__list strong { display: block; font-size: 20px; line-height: 28px; font-weight: 500; color: #FCFCFC; }
.contact-card__list a, .contact-card__list span { font-size: 16px; line-height: 28.8px; color: var(--c-white); }
.contact-card__list a:hover { color: var(--c-yellow); }
.contact-form { padding: 40px 15px 40px 0; }
.contact-form .sec-title { margin-bottom: 30px; }

/* Contact Form 7 inside the home contact block. */
.contact-form .wpcf7 .hidden-fields-container { display: none; }
.contact-form .wpcf7 select { appearance: none; -webkit-appearance: none; cursor: pointer; }
/* CF7 template rows are <div class="container"><div class="child">…; undo the theme's .container. */
.contact-form .wpcf7 .container { display: flex; gap: 10px; max-width: none; margin: 0 0 20px; padding: 0; }
.contact-form .wpcf7 .child { flex: 1; min-width: 0; }
.contact-form .wpcf7 p { margin: 0; }
.contact-form .wpcf7 br { display: none; }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7 input:not([type="submit"]),
.contact-form .wpcf7 select,
.contact-form .wpcf7 textarea {
	width: 100%; height: 41px; padding: 0 12px; border: 1px solid #E6DDBE; border-radius: 8px;
	background: var(--c-cream); font: 400 16px/1.4 var(--ff); color: var(--c-ink);
}
.contact-form .wpcf7 textarea { height: 100px; padding-top: 10px; resize: vertical; }
.contact-form .wpcf7 ::placeholder { color: #B0B3B6; }
.contact-form .wpcf7 input[type="submit"] {
	width: 100%; height: 34px; border: 0; border-radius: 2px; background: var(--c-yellow);
	font: 500 13px/1 var(--ff); color: var(--c-ink); cursor: pointer;
}
.contact-form .wpcf7 input[type="submit"]:hover { background: var(--c-yellow-dark); }

@media (max-width: 1020px) { .hm-contact__grid { grid-template-columns: 1fr; } .contact-card { padding: 80px 40px; } }
@media (max-width: 778px) {
	.cta-band { padding: 70px 0; }
	.cta-band__title { font-size: 25px; line-height: 32px; }
	.cta-band__actions { gap: 20px; }
	.contact-card { padding: 50px 24px; }
	.contact-form { padding: 20px 0; }
	.contact-form .wpcf7 .container { flex-direction: column; gap: 20px; }
}

/* 13. Form popups (inc/popups.php) — live: 645px wide, 10px radius, "Fill The Form". */
dialog.popup {
	width: min(645px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 40px 40px 30px;
	border: 0; border-radius: 10px; background: var(--c-white); color: var(--c-text); overflow: auto;
}
dialog.popup::backdrop { background: rgba(17, 24, 28, .6); }
.popup__close { position: absolute; top: 14px; right: 14px; color: var(--c-ink); }
.popup__close .ic { width: 20px; height: 20px; }
.popup__title { margin: 0 0 24px; font-size: 27px; line-height: 35.1px; font-weight: 500; color: var(--c-ink); text-align: center; }
.popup .wpcf7 .hidden-fields-container { display: none; }
.popup .wpcf7 p { margin: 0 0 14px; }
.popup .wpcf7 br { display: none; }
.popup .wpcf7 .container { display: flex; gap: 10px; max-width: none; margin: 0; padding: 0; }
.popup .wpcf7 .child { flex: 1; min-width: 0; }
.popup .wpcf7-form-control-wrap { display: block; }
.popup .wpcf7 input:not([type="submit"]), .popup .wpcf7 select, .popup .wpcf7 textarea {
	width: 100%; height: 41px; padding: 0 12px; border: 1px solid #E6DDBE; border-radius: 8px;
	background: var(--c-cream); font: 400 16px/1.4 var(--ff); color: var(--c-ink); appearance: none;
}
.popup .wpcf7 textarea { height: 100px; padding-top: 10px; }
.popup .wpcf7 input[type="submit"] { width: 100%; height: 40px; border: 0; border-radius: 3px; background: var(--c-yellow); font: 500 15px/1 var(--ff); color: var(--c-ink); cursor: pointer; }
@media (max-width: 778px) { dialog.popup { padding: 36px 20px 24px; } .popup .wpcf7 .container { flex-direction: column; gap: 0; } }

/* Contact page (content in template-titlebar.php) -------------------------- */
.page-body .ct-info { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 40px 0 110px; }
.ct-info li { display: flex; flex-direction: column; gap: 14px; font-size: 18px; line-height: 26px; font-weight: 500; color: var(--c-ink); }
.ct-info .ic { width: 26px; height: 26px; color: var(--c-yellow); }
.page-body .ct-info a { color: var(--c-ink); }
.page-body .ct-info a:hover { color: var(--c-yellow-dark); }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ct-grid .contact-form { padding: 0; }
.ct-grid .sec-title { margin-bottom: 30px; }
.ct-map h3 { margin: 0 0 30px; font-size: 20px; line-height: 28px; font-weight: 500; }
.ct-map iframe { display: block; width: 100%; height: 450px; border: 0; }
@media (max-width: 1020px) {
	.page-body .ct-info { grid-template-columns: 1fr; gap: 25px; margin-bottom: 60px; }
	.ct-grid { grid-template-columns: 1fr; }
	.ct-map iframe { height: 340px; }
}

/* Gallery grid + lightbox ------------------------------------------------- */
.gl-title { margin: 0 0 30px !important; font-size: 50px !important; }
.gl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.gl-item { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--c-soft); }
.gl-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform .4s; }
.gl-item:hover img { transform: scale(1.04); }
dialog.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
dialog.lightbox::backdrop { background: rgba(17, 24, 28, .92); }
.lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 60px 70px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__stage iframe { width: min(100%, 1100px); aspect-ratio: 16 / 9; height: auto; border: 0; }
.lightbox__btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; font-size: 40px; line-height: 1; color: var(--c-white); }
.lightbox__btn:hover { color: var(--c-yellow); }
.lightbox__close { top: 10px; right: 14px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
dialog.lightbox.is-single .lightbox__prev, dialog.lightbox.is-single .lightbox__next { display: none; }
@media (max-width: 778px) {
	.gl-title { font-size: 32px !important; }
	.gl-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.lightbox__stage { padding: 56px 12px; }
}
.lightbox__stage video { max-width: 100%; max-height: 100%; }

/* Life at NetMet ------------------------------------------------------------ */
.lf-filter { display: flex; justify-content: center; gap: 10px; margin: -60px 0 20px; }
.lf-filter button { padding: 6px 15px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-ink); line-height: 23px; }
.lf-filter button.is-active { background: #333; color: var(--c-white); }
.lf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lf-item { position: relative; display: block; height: 400px; overflow: hidden; }
.lf-item[hidden] { display: none; }
.lf-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.lf-item--video .ic { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); color: var(--c-white); }
.lf-item--video:hover .ic { color: var(--c-yellow); }
@media (max-width: 1020px) { .lf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 778px) { .lf-grid { grid-template-columns: 1fr; } .lf-filter { margin-top: -20px; } }

/* Articles page ([netmet_articles]) + thank-you pages ---------------------- */
.ar-wrap { padding: 90px var(--gutter) 100px; }
.ar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; align-items: start; }
.ar-card { text-align: center; }
.ar-card__img { display: block; margin-bottom: 30px; overflow: hidden; border-radius: 3px; }
.ar-card__img img { width: 100%; aspect-ratio: 373 / 246; object-fit: cover; }
.ar-card__title { margin: 0 0 14px; font-size: 20px; line-height: 28px; font-weight: 500; }
.ar-card__title a { color: var(--c-ink); }
.ar-card__title a:hover { color: var(--c-yellow-dark); }
.ar-card__date { margin: 0 0 20px; font-size: 13px; color: var(--c-muted); }
.ar-card__excerpt { margin: 0 0 26px; font-size: 16px; line-height: 28.8px; }
.ar-card__btn { min-width: 0; min-height: 0; padding: 9px 14px; font-size: 13px; }
.ty-link { margin: 0; padding: 0; text-align: center; }
.ty-link a { text-transform: uppercase; color: var(--c-yellow-dark); }
.page-body:has(> .ty-link:only-child) { padding-top: 22px; padding-bottom: 22px; }
@media (max-width: 1020px) { .ar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 778px) { .ar-grid { grid-template-columns: 1fr; } .ar-wrap { padding-top: 50px; } }


/* Interactions matched to live (Elementor hover settings, 2026-11-12) ------- */
.btn, .link-arrow, .course-tile, .why-card, .c-module, .c-feature, .c-plan__link, .ab-card, .ab-numbers__grid li,
.accordion summary, .mega ul a, .lp-box, .lp-acc summary, .ab-tabs__nav [role="tab"], .c-tabs__tab, .footer-social a {
	transition: background-color .3s, color .3s, box-shadow .3s, border-color .3s, transform .3s;
}
.mega ul a { border-radius: 15px; }
.mega ul a:hover { background-color: var(--c-yellow-17); }

/* Entrance animations (live: Elementor fadeIn / fadeInDown / fadeInRight, 1.25s). */
.js-anim [data-anim] { opacity: 0; }
.js-anim [data-anim].is-in { animation: 1.25s ease both; animation-delay: var(--anim-delay, 0s); }
.js-anim [data-anim="fadeIn"].is-in { animation-name: nm-fadeIn; }
.js-anim [data-anim="fadeInDown"].is-in { animation-name: nm-fadeInDown; }
.js-anim [data-anim="fadeInRight"].is-in { animation-name: nm-fadeInRight; }
@keyframes nm-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes nm-fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes nm-fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js-anim [data-anim] { opacity: 1; } .js-anim [data-anim].is-in { animation: none; } }
