/* GITE Short Courses — White Card page + enrolment form.
   Built on the live GITE design tokens (gite-custom.css). Cream backgrounds only. */
.gwc-page, .gwc-cards, .gwc-form-card {
	--gwc-navy: var(--color-navy-900, #0b2a26);
	--gwc-teal: var(--color-electric-500, #2f9d96);
	--gwc-teal-d: var(--color-electric-600, #257d77);
	--gwc-paper: var(--color-paper-100, #f7f5f0);
	--gwc-paper2: var(--color-paper-200, #efeae0);
	--gwc-paper0: var(--color-paper-50, #fdfcfa);
	--gwc-steel: var(--color-steel-500, #4e6863);
	--gwc-steel-l: var(--color-steel-400, #718c86);
	--gwc-brick: var(--color-safety-500, #e8650d);
	--gwc-brick-d: var(--color-safety-600, #c95508);
	--gwc-line: rgba(11, 42, 38, 0.12);
	--gwc-display: var(--font-display, "Manrope", system-ui, sans-serif);
	--gwc-body: var(--font-body, "Inter", system-ui, sans-serif);
}
.gwc-page { background: var(--gwc-paper); color: var(--gwc-navy); }
.gwc-page svg { flex-shrink: 0; }
.gwc-anchor { scroll-margin-top: 6rem; }
.gwc-tint { background: var(--gwc-paper2) !important; }

/* Headings */
.gwc-page .gwc-h2 { font-size: clamp(2rem, 4.6vw, 3.4rem) !important; line-height: 1.02; }
.gwc-lead { font-size: 0.98rem; line-height: 1.65; max-width: 34rem; margin: 0; }
.gwc-hero-code { margin-top: 1rem; font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gwc-teal-d); }
.gwc-mono { display: inline-block; margin-top: 0.5rem; font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gwc-teal-d); }
.gwc-split { display: grid; gap: 1.25rem; align-items: end; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .gwc-split { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; } }

/* Prose */
.gwc-prose { font-size: 0.98rem; line-height: 1.7; }
.gwc-prose p { margin: 0 0 1rem; }
.gwc-prose strong { color: var(--gwc-navy); font-weight: 600; }
.gwc-prose h3 { font-family: var(--gwc-display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gwc-navy); margin: 1.75rem 0 0.75rem; }
.gwc-prose ul { list-style: none; margin: 0; padding: 0; }
.gwc-prose li { position: relative; padding-left: 1.25rem; margin: 0 0 0.5rem; }
.gwc-prose li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--gwc-teal); }

/* Quick facts strip */
.gwc-facts-wrap { background: var(--gwc-paper); border-bottom: 1px solid var(--gwc-line); }
.gwc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
@media (min-width: 1024px) { .gwc-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gwc-fact { padding: 1.5rem 0.75rem; border-top: 1px solid var(--gwc-line); }
.gwc-fact:nth-child(-n+2) { border-top: 0; }
@media (min-width: 1024px) {
	.gwc-fact { border-top: 0; padding: 1.9rem 1.75rem; border-left: 1px solid var(--gwc-line); }
	.gwc-fact:first-child { border-left: 0; padding-left: 0; }
}
.gwc-fact-icon { color: var(--gwc-teal-d); display: block; }
.gwc-fact dt { margin-top: 0.75rem; }
.gwc-fact dd { margin: 0.35rem 0 0; font-family: var(--gwc-display); font-weight: 700; font-size: 1.05rem; color: var(--gwc-navy); }
.gwc-fact dd small { font-weight: 500; font-size: 0.78rem; color: var(--gwc-steel-l); }

/* At a glance */
.gwc-glance { position: sticky; top: 7rem; border: 1px solid var(--gwc-line); background: var(--gwc-paper); padding: 1.75rem; }
.gwc-glance-list { margin: 1.1rem 0 1.5rem; }
.gwc-glance-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(11, 42, 38, 0.1); }
.gwc-glance-list > div:last-child { border-bottom: 0; }
.gwc-glance-list dd { margin: 0; text-align: right; font-family: var(--gwc-display); font-weight: 700; font-size: 0.86rem; color: var(--gwc-navy); max-width: 60%; }
.gwc-btn-block { width: 100%; justify-content: center; }
.gwc-glance-note { margin: 1rem 0 0; font-size: 0.7rem; line-height: 1.5; color: var(--gwc-steel-l); }

/* Modules + requirement cards */
.gwc-modules { display: grid; gap: 1px; background: var(--gwc-line); border: 1px solid var(--gwc-line); }
@media (min-width: 640px) { .gwc-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gwc-modules { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gwc-module { background: var(--gwc-paper); padding: 1.75rem; transition: background 0.3s ease; }
.gwc-module:hover { background: var(--gwc-paper0); }
.gwc-module-top { display: flex; align-items: center; justify-content: space-between; }
.gwc-module-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(47, 157, 150, 0.35); color: var(--gwc-teal-d); background: rgba(47, 157, 150, 0.07); }
.gwc-module-num { font-family: var(--gwc-display); font-weight: 800; font-size: 1.6rem; color: rgba(11, 42, 38, 0.12); }
.gwc-module h3, .gwc-reqcard h3 { font-family: var(--gwc-display); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: -0.01em; color: var(--gwc-navy); margin: 1.25rem 0 0.6rem; line-height: 1.25; }
.gwc-module p, .gwc-reqcard p { font-size: 0.86rem; line-height: 1.6; color: var(--gwc-steel); margin: 0; }
.gwc-reqs, .gwc-after { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .gwc-reqs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .gwc-after { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.5rem; } }
.gwc-after { margin-top: 2rem; }
.gwc-reqcard { border: 1px solid var(--gwc-line); background: var(--gwc-paper); padding: 1.75rem; }
.gwc-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem; font-family: var(--gwc-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gwc-teal-d) !important; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.gwc-link:hover { color: var(--gwc-navy) !important; }
.gwc-callout { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; border-left: 3px solid var(--gwc-teal); background: var(--gwc-paper); padding: 1.5rem 1.75rem; }
@media (min-width: 900px) { .gwc-callout { flex-direction: row; align-items: center; justify-content: space-between; } }
.gwc-callout h3 { font-family: var(--gwc-display); font-weight: 800; text-transform: uppercase; font-size: 1rem; margin: 0 0 0.4rem; color: var(--gwc-navy); }
.gwc-callout p { margin: 0; font-size: 0.86rem; line-height: 1.6; color: var(--gwc-steel); max-width: 46rem; }
.gwc-callout .btn { flex-shrink: 0; }
.gwc-note { margin: 1.5rem 0 0; display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.82rem; line-height: 1.6; color: var(--gwc-steel); border-left: 3px solid var(--gwc-brick); background: rgba(232, 101, 13, 0.06); padding: 1rem 1.25rem; }
.gwc-note svg { color: var(--gwc-brick-d); margin-top: 2px; }

/* Assessment */
.gwc-assess { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .gwc-assess { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }
.gwc-checks { list-style: none; margin: 0; padding: 0; border: 1px solid var(--gwc-line); }
.gwc-checks li { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1.1rem 1.25rem; font-size: 0.9rem; line-height: 1.55; color: var(--gwc-navy); border-bottom: 1px solid var(--gwc-line); }
.gwc-checks li:last-child { border-bottom: 0; }
.gwc-checks li > span { display: inline-flex; width: 1.6rem; height: 1.6rem; align-items: center; justify-content: center; background: var(--gwc-teal); color: #fff; flex-shrink: 0; }

/* FAQ */
.gwc-faqs { border-top: 1px solid var(--gwc-line); }
.gwc-faq { border-bottom: 1px solid var(--gwc-line); }
.gwc-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font-family: var(--gwc-display); font-weight: 700; font-size: 1rem; color: var(--gwc-navy); }
.gwc-faq summary::-webkit-details-marker { display: none; }
.gwc-faq summary i { display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border: 1px solid rgba(11, 42, 38, 0.18); color: var(--gwc-navy); transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; flex-shrink: 0; }
.gwc-faq[open] summary i { transform: rotate(45deg); background: var(--gwc-teal); border-color: var(--gwc-teal); color: #fff; }
.gwc-faq summary:hover span { color: var(--gwc-teal-d); }
.gwc-faq p { margin: 0 0 1.25rem; padding-right: 3rem; font-size: 0.9rem; line-height: 1.7; color: var(--gwc-steel); }

/* Enrol section */
.gwc-enrol { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .gwc-enrol { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; } .gwc-enrol-info { position: sticky; top: 7rem; } }
.gwc-price { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.25rem; border-left: 3px solid var(--gwc-teal); padding: 0.25rem 0 0.25rem 1rem; }
.gwc-price strong { font-family: var(--gwc-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--gwc-navy); }
.gwc-price small { font-size: 0.8rem; font-weight: 500; color: var(--gwc-steel-l); }
.gwc-contact { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.gwc-contact li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.7rem 0; border-bottom: 1px solid var(--gwc-line); font-size: 0.9rem; color: var(--gwc-navy); }
.gwc-contact li > span:first-child { color: var(--gwc-teal-d); margin-top: 1px; }
.gwc-contact a { color: var(--gwc-navy) !important; text-decoration: none; font-weight: 600; }
.gwc-contact a:hover { color: var(--gwc-teal-d) !important; }
.gwc-map { position: relative; margin-top: 1.5rem; height: 220px; border: 1px solid var(--gwc-line); overflow: hidden; }
.gwc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Form */
.gwc-form-card { border: 1px solid var(--gwc-line); background: var(--gwc-paper0); padding: 1.5rem; }
@media (min-width: 640px) { .gwc-form-card { padding: 2.25rem; } }
.gwc-form-title { font-family: var(--gwc-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--gwc-navy); margin: 0.6rem 0 0.4rem; }
.gwc-form-sub { margin: 0 0 1.5rem; font-size: 0.86rem; line-height: 1.6; color: var(--gwc-steel); }
.gwc-form-sub a, .gwc-fineprint a { color: var(--gwc-teal-d) !important; }
.gwc-fieldset { border: 0; margin: 0 0 1.75rem; padding: 1.5rem 0 0; border-top: 1px solid var(--gwc-line); min-width: 0; }
.gwc-fieldset > legend { float: left; width: 100%; padding: 0; margin: 0 0 1.1rem; display: flex; align-items: center; gap: 0.6rem; font-family: var(--gwc-display); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gwc-navy); }
.gwc-fieldset > legend + * { clear: both; }
.gwc-step { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; background: var(--gwc-navy); color: #fff; font-size: 0.7rem; letter-spacing: 0; }
.gwc-grid { display: grid; gap: 1.1rem 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .gwc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gwc-span-2 { grid-column: 1 / -1; } }
.gwc-field { min-width: 0; }
.gwc-field.gwc-hidden { display: none; }
.gwc-label { display: block; margin: 0 0 0.45rem; padding: 0; font-family: var(--gwc-display); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gwc-steel); line-height: 1.45; }
.gwc-req { color: var(--gwc-brick); }
.gwc-page .gwc-input, .gwc-form-card .gwc-input {
	display: block; width: 100%; box-sizing: border-box; margin: 0; min-height: 3rem;
	font-family: var(--gwc-body); font-size: 0.92rem; color: var(--gwc-navy);
	background: var(--gwc-paper) !important; border: 1px solid rgba(11, 42, 38, 0.2) !important; border-radius: 0 !important;
	padding: 0.75rem 0.9rem !important; box-shadow: none !important; transition: border-color 0.2s ease, box-shadow 0.2s ease; appearance: auto;
}
.gwc-form-card textarea.gwc-input { min-height: 5.5rem; resize: vertical; }
.gwc-form-card .gwc-input:hover { border-color: rgba(11, 42, 38, 0.4) !important; }
.gwc-form-card .gwc-input:focus { outline: none; border-color: var(--gwc-teal) !important; box-shadow: 0 0 0 1px var(--gwc-teal) !important; }
.gwc-radio-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.gwc-radio-set > legend { float: left; width: 100%; }
.gwc-radio-set > legend + .gwc-choices { clear: both; }
.gwc-choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gwc-choice { position: relative; display: inline-flex; cursor: pointer; margin: 0; }
.gwc-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gwc-choice span { display: inline-flex; align-items: center; min-width: 5.5rem; justify-content: center; padding: 0.65rem 1.1rem; border: 1px solid rgba(11, 42, 38, 0.2); background: var(--gwc-paper); font-family: var(--gwc-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gwc-navy); transition: all 0.2s ease; }
.gwc-choice:hover span { border-color: rgba(11, 42, 38, 0.45); }
.gwc-choice input:checked + span { background: var(--gwc-teal); border-color: var(--gwc-teal); color: #fff; }
.gwc-choice input:focus-visible + span { outline: 2px solid var(--gwc-teal); outline-offset: 2px; }
.gwc-check { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; margin: 0; font-size: 0.86rem; line-height: 1.55; color: var(--gwc-navy); }
.gwc-check input { margin: 0.2rem 0 0; width: 1.1rem; height: 1.1rem; flex-shrink: 0; accent-color: var(--gwc-teal); }
.gwc-file { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; margin: 0; padding: 0.95rem 1rem; border: 1px dashed rgba(11, 42, 38, 0.32); background: var(--gwc-paper); color: var(--gwc-steel); font-size: 0.88rem; transition: border-color 0.2s ease, color 0.2s ease; }
.gwc-file svg { color: var(--gwc-teal-d); }
.gwc-file:hover { border-color: var(--gwc-teal); color: var(--gwc-navy); }
.gwc-file.is-set { border-style: solid; border-color: var(--gwc-teal); color: var(--gwc-navy); }
.gwc-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gwc-file-input { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; overflow: hidden; }
.gwc-file-input:focus-visible + * , .gwc-file:focus-within { outline: 2px solid var(--gwc-teal); outline-offset: 2px; }
.gwc-hint { margin: 0.45rem 0 0; font-size: 0.76rem; line-height: 1.5; color: var(--gwc-steel-l); }
.gwc-error { margin: 0.45rem 0 0; font-size: 0.78rem; font-weight: 600; color: var(--gwc-brick-d); }
.gwc-field.has-error .gwc-input, .gwc-field.has-error .gwc-file, .gwc-field.has-error .gwc-choice span { border-color: var(--gwc-brick) !important; }
.gwc-field.has-error .gwc-check { color: var(--gwc-brick-d); }
.gwc-form-error { margin: 0 0 1.25rem; border-left: 3px solid var(--gwc-brick); background: rgba(232, 101, 13, 0.07); padding: 0.9rem 1.1rem; font-size: 0.86rem; color: var(--gwc-navy); }
.gwc-submit { width: 100%; justify-content: center; }
.gwc-submit[disabled] { opacity: 0.6; pointer-events: none; }
.gwc-submit.is-loading svg { animation: gwc-spin 0.9s linear infinite; }
@keyframes gwc-spin { to { transform: rotate(360deg); } }
.gwc-fineprint { margin: 1rem 0 0; font-size: 0.72rem; line-height: 1.55; color: var(--gwc-steel-l); }
.gwc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gwc-success { text-align: center; padding: 2rem 0.5rem; }
.gwc-success-icon { display: inline-flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; background: var(--gwc-teal); color: #fff; }
.gwc-success h4 { font-family: var(--gwc-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; margin: 1.1rem 0 0.5rem; color: var(--gwc-navy); }
.gwc-success p { margin: 0 auto; max-width: 30rem; font-size: 0.9rem; line-height: 1.6; color: var(--gwc-steel); }
.gwc-success strong { color: var(--gwc-navy); }

/* Cards (Short Courses page / home shortcode) */
.gwc-cards { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .gwc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gwc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gwc-card-wrap > a { text-decoration: none; height: 100%; }
.gwc-card-badge { position: absolute; left: 0; top: 0; z-index: 2; background: var(--gwc-teal); color: #fff; padding: 0.4rem 0.75rem; font-family: var(--gwc-display); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* Light CTA band (no dark sections) */
.gwc-band { background: var(--gwc-paper2); border-top: 1px solid var(--gwc-line); padding: 25px 0; }
.gwc-band-inner { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
@media (min-width: 1024px) { .gwc-band-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.gwc-band-copy { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--gwc-steel); }
.gwc-band-copy a { color: var(--gwc-teal-d) !important; font-weight: 600; }

/* Mobile sticky enrol bar */
.gwc-sticky { display: none; }
@media (max-width: 1023px) {
	.gwc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem; background: rgba(247, 245, 240, 0.97); border-top: 1px solid var(--gwc-line); backdrop-filter: blur(8px); transform: translateY(0); transition: transform 0.3s ease; }
	.gwc-sticky.is-hidden { transform: translateY(110%); }
	.gwc-sticky span { font-size: 0.82rem; color: var(--gwc-steel); }
	.gwc-sticky strong { font-family: var(--gwc-display); font-size: 1.15rem; color: var(--gwc-navy); }
	.gwc-sticky .btn { padding-top: 0.7rem; padding-bottom: 0.7rem; }
	body.gite-sc-white-card { padding-bottom: 4.25rem; }
}
