/*
Theme Name:   EduBlink Child – ASGHCA
Theme URI:    https://asghca.com/
Description:  Child theme for AS Global Healthcare Academy, built on EduBlink.
Author:       AS Global Healthcare Academy
Template:     edublink
Version:      1.0.0
Text Domain:  edublink-child
*/

/*
 * Brand tokens. Colours come from the ASGHCA brochure build files and logo.
 * The theme's own primary/secondary colours are set in Theme Options; these
 * tokens are for child-theme components only.
 */
:root {
	--asg-navy: #0B2E59;
	--asg-navy-2: #123F78;
	--asg-green: #17834A;
	--asg-green-2: #2E9E52;
	--asg-gold: #E9B949;
	--asg-ink: #1B2433;
	--asg-muted: #5B6678;
	--asg-tint-navy: #EEF3FA;
	--asg-tint-green: #EAF6EE;
	--asg-line: #D5DEEA;
}

body {
	font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
	color: var(--asg-muted);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--asg-navy);
}

/* Logo: the file is 1024px wide, so cap its display size. */
.site-logo,
.header-white-logo,
.custom-logo-link img,
.edublink-site-logo img {
	max-height: 60px;
	width: auto;
}
@media (max-width: 767px) {
	.site-logo,
	.header-white-logo,
	.custom-logo-link img,
	.edublink-site-logo img {
		max-height: 46px;
	}
}

/* Top bar in brand navy. */
.eb-header-top-bar.eb-top-bar-style-1 {
	background-color: var(--asg-navy);
}
.eb-header-top-bar .header-top-message {
	color: #fff;
	font-weight: 500;
}

/* ---------- Home page cards ---------- */
.asg-dest-card,
.asg-icon-card {
	height: 100%;
}
.asg-dest-card .edublink-icon-box-wrapper,
.asg-icon-card .edublink-icon-box-wrapper {
	height: 100%;
	background: #fff;
	border: 1px solid var(--asg-line);
	border-radius: 10px;
	padding: 28px 24px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.asg-dest-card .edublink-icon-box-wrapper:hover,
.asg-icon-card .edublink-icon-box-wrapper:hover {
	transform: translateY(-4px);
	border-color: var(--asg-green);
	box-shadow: 0 14px 30px rgba(11, 46, 89, .10);
}
.asg-dest-card .edublink-icon-box-icon img {
	width: 64px;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.asg-dest-card .edublink-icon-box-title,
.asg-icon-card .edublink-icon-box-title {
	margin: 18px 0 8px;
	color: var(--asg-navy);
}
.asg-dest-card .edublink-icon-box-details p,
.asg-icon-card .edublink-icon-box-details p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}
.asg-dest-card a:hover .edublink-icon-box-title,
.asg-icon-card a:hover .edublink-icon-box-title {
	color: var(--asg-green);
}
/* Round, compact icon badge on icon cards. */
.asg-icon-card .edublink-icon-box-icon.edublink-icon-box-enable {
	width: 76px;
	height: 76px;
	line-height: 76px;
	border-radius: 50%;
	margin: 0 auto;
	font-size: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.asg-dest-card .edublink-icon-box-icon {
	background: transparent !important;
	width: auto;
	height: auto;
}
/* Equal-height cards in each row. */
.elementor-inner-section .elementor-widget-wrap {
	height: 100%;
}
.elementor-inner-section .asg-dest-card,
.elementor-inner-section .asg-icon-card {
	width: 100%;
}
.elementor-inner-section .asg-dest-card > .elementor-widget-container,
.elementor-inner-section .asg-icon-card > .elementor-widget-container {
	height: 100%;
}

/* Space between card rows. */
.elementor-inner-section + .elementor-inner-section,
.elementor-element.elementor-section-boxed .elementor-inner-section {
	margin-top: 10px;
}
.asg-journey-graphic img {
	border-radius: 14px;
	box-shadow: 0 20px 45px rgba(11, 46, 89, .18);
}
.asg-faq .edublink-accordion-item,
.asg-faq .accordion-item {
	border-color: var(--asg-line);
}

/* No prices on the site (fees are confirmed at consultation): hide the empty price pill. */
.course-item-price,
.edublink-course-price,
.course-price:empty {
	display: none !important;
}

/* Secondary (navy) buttons, e.g. WhatsApp. */
.asg-btn-navy .edublink-button-item {
	background: var(--asg-navy) !important;
	border-color: var(--asg-navy) !important;
}
.asg-btn-navy .edublink-button-item:hover {
	background: var(--asg-navy-2) !important;
}

/* ---------- Forms (Contact Form 7) ---------- */
.asg-form-card {
	background: #fff;
	border: 1px solid var(--asg-line);
	border-radius: 14px;
	padding: 40px;
	box-shadow: 0 20px 45px rgba(11, 46, 89, .08);
}
@media (max-width: 767px) {
	.asg-form-card { padding: 24px 18px !important; }
}
.asg-form-title {
	margin: 0 0 22px;
	font-size: 24px;
}
.asg-form .asg-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 22px;
}
@media (max-width: 767px) {
	.asg-form .asg-row { grid-template-columns: 1fr; }
}
.asg-form .asg-field {
	display: block;
	margin-bottom: 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--asg-navy);
}
.asg-form .asg-field .wpcf7-form-control-wrap,
.asg-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	margin-top: 6px;
	font-weight: 400;
}
.asg-form input[type="text"],
.asg-form input[type="email"],
.asg-form input[type="tel"],
.asg-form select,
.asg-form textarea {
	width: 100%;
	border: 1px solid var(--asg-line);
	border-radius: 8px;
	background: #fff;
	padding: 0 14px;
	height: 50px;
	font-size: 15px;
	color: var(--asg-ink);
	box-shadow: none;
}
.asg-form textarea {
	font-family: inherit;
	height: auto;
	min-height: 110px;
	padding: 12px 14px;
}
.asg-form input:focus,
.asg-form select:focus,
.asg-form textarea:focus {
	border-color: var(--asg-green);
	outline: none;
	box-shadow: 0 0 0 3px rgba(23, 131, 74, .12);
}
.asg-form .asg-radio .asg-label { display: block; margin-bottom: 8px; }
.asg-form .wpcf7-radio .wpcf7-list-item { margin: 0 22px 0 0; font-weight: 400; color: var(--asg-ink); }
.asg-form .asg-consent {
	font-size: 13px;
	line-height: 1.55;
	color: var(--asg-muted);
	margin: 4px 0 20px;
}
.asg-form .asg-consent .wpcf7-list-item { margin: 0; }
.asg-form .asg-consent input { margin-right: 6px; }
.asg-form .asg-submit input[type="submit"],
.asg-form .wpcf7-submit {
	background: var(--asg-green);
	color: #fff;
	border: 0;
	border-radius: 6px;
	height: 52px;
	padding: 0 34px;
	font-weight: 500;
	cursor: pointer;
	transition: background .2s ease;
}
.asg-form .wpcf7-submit:hover { background: var(--asg-green-2); }
.asg-form .wpcf7-not-valid-tip { font-size: 13px; font-weight: 400; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { border-radius: 8px; margin: 16px 0 0; }

/* Contact details list */
.asg-contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.asg-contact-list li { padding: 8px 0; border-bottom: 1px dashed var(--asg-line); color: var(--asg-ink); }
.asg-contact-list a { color: var(--asg-green); }

/* Course page sidebar enquiry */
.asg-course-enquiry {
	margin-top: 24px;
	padding: 24px 22px;
	border: 1px solid var(--asg-line);
	border-radius: 12px;
	background: var(--asg-tint-green);
}
.asg-course-enquiry-title { margin: 0 0 6px; font-size: 20px; }
.asg-course-enquiry-note { font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.asg-course-enquiry .asg-field { margin-bottom: 12px; }
.asg-course-enquiry input[type="text"],
.asg-course-enquiry input[type="email"],
.asg-course-enquiry input[type="tel"],
.asg-course-enquiry select { height: 44px; }
.asg-course-enquiry .wpcf7-submit { width: 100%; }
.asg-course-enquiry-wa {
	display: block;
	margin-top: 12px;
	text-align: center;
	font-weight: 600;
	color: var(--asg-navy);
}

/* Floating WhatsApp button (bottom-left; scroll-to-top is bottom-right) */
.asg-wa-float {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 999;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
	transition: transform .2s ease;
}
.asg-wa-float:hover { color: #fff; transform: scale(1.07); }

/* Breathing room between a button and the small print under it. */
.elementor-widget-edublink-button + .elementor-widget-text-editor {
	margin-top: 16px;
}

/* ======================================================================
   Course page content blocks (.asg-c-*)
   ====================================================================== */
.lp-course-single-page .course-description h2,
.asg-c-faq + h2 { margin-top: 46px; }
.course-description h2 { font-size: 26px; margin: 42px 0 18px; }
.course-description h3 { font-size: 18px; margin: 0 0 6px; }
.asg-c-small { font-size: 14px; color: var(--asg-muted); }

/* Key facts */
.asg-c-facts {
	border: 1px solid var(--asg-line);
	border-radius: 12px;
	overflow: hidden;
	margin: 0 0 10px;
}
.asg-c-fact {
	display: grid;
	grid-template-columns: 190px 1fr;
	gap: 16px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--asg-line);
}
.asg-c-fact:nth-child(odd) { background: var(--asg-tint-navy); }
.asg-c-fact:last-child { border-bottom: 0; }
.asg-c-fact-k { font-weight: 600; color: var(--asg-navy); }
.asg-c-fact-v { color: var(--asg-ink); }
@media (max-width: 575px) {
	.asg-c-fact { grid-template-columns: 1fr; gap: 2px; }
}

/* Lists */
.asg-c-list { list-style: none; padding: 0; margin: 0 0 12px; }
.asg-c-list li {
	position: relative;
	padding: 6px 0 6px 32px;
	color: var(--asg-ink);
}
.asg-c-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 11px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--asg-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.asg-c-list-doc li::before {
	border-radius: 4px;
	background-color: var(--asg-navy);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M6 2h8l6 6v14H6zM13 3.5V9h5.5'/%3E%3C/svg%3E");
}
.asg-c-list-green {
	background: var(--asg-tint-green);
	border-radius: 12px;
	padding: 16px 22px;
}

/* Steps */
.asg-c-steps { list-style: none; counter-reset: asgstep; padding: 0; margin: 0; }
.asg-c-steps > li {
	counter-increment: asgstep;
	position: relative;
	padding: 4px 0 22px 66px;
	border-left: 2px dashed var(--asg-line);
	margin-left: 22px;
}
.asg-c-steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.asg-c-steps > li::before {
	content: counter(asgstep);
	position: absolute;
	left: -23px;
	top: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--asg-navy);
	color: #fff;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Poppins', sans-serif;
}
.asg-c-steps p { margin: 0 0 4px; }
.asg-c-help { font-size: 14px; color: var(--asg-green); }
.asg-c-help strong { color: var(--asg-green); }

/* Tables */
.asg-c-table-wrap { overflow-x: auto; margin-bottom: 10px; }
.asg-c-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.asg-c-table th {
	background: var(--asg-navy);
	color: #fff;
	text-align: left;
	padding: 12px 16px;
	font-weight: 600;
}
.asg-c-table td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--asg-line);
	color: var(--asg-ink);
	vertical-align: top;
}
.asg-c-table tr:nth-child(even) td { background: var(--asg-tint-navy); }

/* CTA strip */
.asg-c-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
	background: var(--asg-navy);
	border-radius: 12px;
	padding: 22px 24px;
	margin: 30px 0;
}
.asg-c-cta-title {
	flex: 1 1 100%;
	margin: 0 0 4px;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 19px;
}
.asg-c-btn {
	display: inline-block;
	background: var(--asg-green);
	color: #fff !important;
	border-radius: 6px;
	padding: 11px 22px;
	font-weight: 500;
	text-decoration: none;
}
.asg-c-btn:hover { background: var(--asg-green-2); }
.asg-c-btn-navy { background: #fff; color: var(--asg-navy) !important; }
.asg-c-btn-navy:hover { background: var(--asg-tint-navy); }
.asg-c-link { color: #cfdcef !important; text-decoration: underline; font-size: 14px; }

/* Practice questions */
.asg-c-quiz { border: 1px solid var(--asg-line); border-radius: 12px; padding: 8px 22px 16px; }
.asg-c-q { margin: 16px 0 6px; color: var(--asg-ink); }
.asg-c-tag {
	display: inline-block;
	margin-left: 6px;
	font-size: 12px;
	background: var(--asg-tint-navy);
	color: var(--asg-navy);
	border-radius: 20px;
	padding: 1px 10px;
}
.asg-c-quiz details summary { cursor: pointer; color: var(--asg-green); font-weight: 600; font-size: 14px; }
.asg-c-quiz details p { background: var(--asg-tint-green); border-radius: 8px; padding: 10px 14px; margin: 8px 0 0; }

/* FAQ */
.asg-c-faq details {
	border: 1px solid var(--asg-line);
	border-radius: 10px;
	margin-bottom: 12px;
	background: #fff;
}
.asg-c-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 48px 16px 20px;
	font-weight: 600;
	color: var(--asg-navy);
	position: relative;
}
.asg-c-faq summary::-webkit-details-marker { display: none; }
.asg-c-faq summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	color: var(--asg-green);
}
.asg-c-faq details[open] summary::after { content: "−"; }
.asg-c-faq-a { padding: 0 20px 6px; color: var(--asg-ink); }

/* Related links + notes */
.asg-c-links { padding-left: 18px; }
.asg-c-links a { color: var(--asg-green); font-weight: 500; }
.asg-c-note {
	margin-top: 40px;
	border-left: 4px solid var(--asg-gold);
	background: #fff8e8;
	border-radius: 0 10px 10px 0;
	padding: 16px 20px;
	font-size: 14px;
	color: var(--asg-ink);
}
.asg-c-sources { margin-top: 14px; }
.asg-c-sources a { color: var(--asg-green); }

/* No course reviews on this site (only real, consented testimonials): hide rating UI. */
.edublink-course-review-wrapper,
.review-stars-rated,
.course-review-wrapper,
.edublink-course-rating,
.lp-course-rating {
	display: none !important;
}

/* Override theme list/table defaults inside course content. */
.course-description .asg-c-list,
.course-description .asg-c-steps,
.course-description .asg-c-list li,
.course-description .asg-c-steps > li {
	list-style: none !important;
}
.course-description .asg-c-list li::marker,
.course-description .asg-c-steps > li::marker { content: ""; }
.course-description .asg-c-table th,
.course-description .asg-c-table td {
	text-align: left !important;
}
.course-description .asg-c-table { border: 1px solid var(--asg-line); }

/* ---------- ASGHCA course card (child learnpress/custom/course-block/blocks.php) ---------- */
.asg-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--asg-line);
	border-radius: 12px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.asg-card:hover {
	transform: translateY(-4px);
	border-color: var(--asg-green);
	box-shadow: 0 16px 34px rgba(11, 46, 89, .12);
}
.asg-card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 590 / 430; object-fit: cover; }
.asg-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.asg-card-cat {
	align-self: flex-start;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: var(--asg-green);
	background: var(--asg-tint-green);
	border-radius: 20px;
	padding: 3px 12px;
	margin-bottom: 10px;
}
.asg-card-title { font-size: 19px; line-height: 1.35; margin: 0 0 8px; }
.asg-card-title a { color: var(--asg-navy); }
.asg-card-title a:hover { color: var(--asg-green); }
.asg-card-excerpt { font-size: 14px; line-height: 1.6; margin: 0 0 12px; color: var(--asg-muted); }
.asg-card-facts { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; color: var(--asg-ink); }
.asg-card-facts li { padding: 5px 0; border-top: 1px dashed var(--asg-line); }
.asg-card-facts li span { font-weight: 600; color: var(--asg-navy); margin-right: 4px; }
.asg-card-btn {
	margin-top: auto;
	align-self: flex-start;
	background: var(--asg-green);
	color: #fff !important;
	border-radius: 6px;
	padding: 9px 18px;
	font-weight: 500;
	font-size: 14px;
}
.asg-card-btn:hover { background: var(--asg-green-2); }

/* ---------- Student reviews on course pages ---------- */
.asg-reviews {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin-bottom: 8px;
}
@media (max-width: 767px) { .asg-reviews { grid-template-columns: 1fr; } }
.asg-review {
	margin: 0;
	background: #fff;
	border: 1px solid var(--asg-line);
	border-top: 4px solid var(--asg-green);
	border-radius: 10px;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
}
.asg-review blockquote {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 15px;
	font-style: normal;
	line-height: 1.65;
	color: var(--asg-ink);
}
.asg-review blockquote::before { content: none; }
.asg-review blockquote p { margin: 0; }
.asg-review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; line-height: 1.35; }
.asg-review figcaption strong { color: var(--asg-navy); }
.asg-review-avatar {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--asg-navy);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Course page: pack-based sections */
.asg-c-alert {
	border: 1px solid #f0d28a;
	background: #fff8e8;
	border-radius: 12px;
	padding: 16px 20px;
	margin: 0 0 10px;
}
.asg-c-alert-tag {
	display: inline-block;
	background: var(--asg-gold);
	color: var(--asg-navy);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .4px;
	border-radius: 20px;
	padding: 2px 12px;
	margin-bottom: 6px;
}
.asg-c-alert p { margin: 0; color: var(--asg-ink); }
.asg-c-chips { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--asg-navy); background: var(--asg-tint-navy); border-radius: 6px; padding: 2px 10px; }
.asg-c-muted { color: var(--asg-muted); font-size: 13px; }
.asg-c-exams { display: grid; gap: 16px; }
.asg-c-exam { border: 1px solid var(--asg-line); border-radius: 12px; padding: 18px 20px 8px; }
.asg-c-exam h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.asg-c-mode { font-size: 12px; font-weight: 600; border-radius: 20px; padding: 2px 10px; background: var(--asg-tint-navy); color: var(--asg-navy); }
.asg-c-mode-online { background: var(--asg-tint-green); color: var(--asg-green); }
.asg-c-mode-onsite { background: #fdecec; color: #a12b2b; }
.course-description .asg-c-list-warn li::before {
	background-color: #c0392b;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11 7h2v7h-2zm0 9h2v2h-2z'/%3E%3C/svg%3E");
}
.course-description .asg-c-list-time li::before {
	background-color: var(--asg-navy-2);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11 6h2v6l4 2-1 1.7-5-2.7z'/%3E%3C/svg%3E");
}
.course-description .asg-review blockquote {
	padding: 0 !important;
	margin: 0 0 14px !important;
	background: none !important;
	box-shadow: none !important;
	border: 0 !important;
}
.course-description .asg-review blockquote::before,
.course-description .asg-review blockquote::after { display: none !important; content: none !important; }
.course-description .asg-review blockquote p {
	padding: 0 !important;
	font-size: 15px !important;
	line-height: 1.65 !important;
	color: var(--asg-ink) !important;
}

/* Courses dropdown: highlight the flagship programme and "View all". */
.edublink-dropdown-menu .asg-menu-featured > a { color: var(--asg-green) !important; font-weight: 600; }
.edublink-dropdown-menu .asg-menu-all { border-top: 1px solid var(--asg-line); margin-top: 6px; padding-top: 6px; }
.edublink-dropdown-menu .asg-menu-all > a { color: var(--asg-green) !important; }

/* Long reviews: preview + "Read full review" (full text kept). */
.asg-review-more summary { cursor: pointer; color: var(--asg-green); font-weight: 600; font-size: 14px; margin-top: 4px; }
.asg-review:has(.asg-review-more[open]) .asg-review-excerpt { display: none; }
.asg-review-more[open] summary { display: none; }

/* ---------- About page ---------- */
.asg-photo img { border-radius: 14px; box-shadow: 0 16px 36px rgba(11, 46, 89, .14); width: 100%; height: auto; }
.asg-caption { font-size: 14px; text-align: center; margin-top: 10px; color: var(--asg-ink); }
.asg-quote {
	margin: 18px 0;
	padding: 18px 22px;
	border-left: 4px solid var(--asg-green);
	background: #fff;
	border-radius: 0 12px 12px 0;
	box-shadow: 0 8px 24px rgba(11, 46, 89, .06);
}
.asg-quote p { margin: 0 0 8px; font-style: italic; color: var(--asg-ink); font-size: 16px; line-height: 1.7; }
.asg-quote cite { font-style: normal; font-weight: 600; color: var(--asg-navy); font-size: 14px; }
.asg-quote cite::before { content: "— "; }
.asg-milestones td:first-child { width: 220px; }
.asg-c-table th, .asg-c-table td { text-align: left !important; }

/* Legal / long-form pages */
.asg-legal { max-width: 860px; margin: 0 auto; color: var(--asg-ink); }
.asg-legal h2 { font-size: 24px; margin: 36px 0 12px; }
.asg-legal h3 { font-size: 18px; margin: 22px 0 8px; }
.asg-legal p, .asg-legal li { line-height: 1.75; }
.asg-legal ul { padding-left: 20px; margin-bottom: 16px; }
.asg-legal .asg-legal-meta { color: var(--asg-muted); font-size: 14px; }
.asg-faq-group-title { margin: 10px 0 14px !important; }

/* ---------- Country guides ---------- */
.asg-guides-region { margin: 40px 0 16px; font-size: 22px; color: var(--asg-navy); }
.asg-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 991px) { .asg-guides { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .asg-guides { grid-template-columns: 1fr; } }
.asg-guide {
	background: #fff;
	border: 1px solid var(--asg-line);
	border-radius: 12px;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.asg-guide-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.asg-guide-head img { width: 48px; height: auto; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.asg-guide-head h4 { margin: 0; font-size: 18px; color: var(--asg-navy); }
.asg-guide-head p { margin: 0; font-size: 13px; color: var(--asg-muted); line-height: 1.4; }
.asg-guide-btn {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--asg-tint-green);
	color: var(--asg-green) !important;
	border: 1px solid #cfe9d8;
	border-radius: 8px;
	padding: 9px 14px;
	font-weight: 600;
	font-size: 14px;
}
.asg-guide-btn span { font-weight: 400; font-size: 12px; color: var(--asg-muted); }
.asg-guide-btn:hover { background: var(--asg-green); color: #fff !important; }
.asg-guide-btn:hover span { color: #e6f4ec; }
.asg-guide-btn-wa { background: #fff; border-color: var(--asg-line); color: var(--asg-navy) !important; justify-content: center; }
.asg-guide-btn-lg { display: inline-flex; gap: 14px; padding: 13px 22px; font-size: 16px; }
.asg-guide-note { margin: 0; font-size: 12px; color: var(--asg-muted); }
.asg-guide-course { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--asg-navy); }

/* ---------- Mobile menu drawer: buttons, email, social icons ---------- */
.asg-mobile-extra { padding: 24px 20px 30px; border-top: 1px solid var(--asg-line); margin-top: 10px; }
.asg-mobile-social li { border: 0 !important; padding: 0 !important; margin: 0 !important; list-style: none; }
.asg-mobile-social li::before, .asg-mobile-social li::after { display: none !important; }
.asg-mobile-btn {
	display: block;
	text-align: center;
	background: var(--asg-green);
	color: #fff !important;
	border-radius: 8px;
	padding: 12px 16px;
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 10px;
}
.asg-mobile-btn-wa { background: var(--asg-navy); }
.asg-mobile-mail { display: block; text-align: center; color: var(--asg-navy) !important; font-size: 15px; margin: 6px 0 20px; }
.asg-mobile-follow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--asg-muted); }
.asg-mobile-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.asg-mobile-social a {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--asg-tint-navy);
	color: var(--asg-navy) !important;
	transition: background .2s ease, color .2s ease;
}
.asg-mobile-social a:hover { background: var(--asg-green); color: #fff !important; }
.edublink-mobile-menu-nav-wrapper .asg-mobile-social a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	line-height: 1 !important;
}
.edublink-mobile-menu-nav-wrapper .asg-mobile-social svg { display: block; }

/* ---------- Team grid ---------- */
.asg-team-group { text-align: center; font-size: 20px; margin: 34px 0 18px; color: var(--asg-navy); }
.asg-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.asg-team-card {
	margin: 0;
	width: calc(20% - 18px);
	min-width: 190px;
	background: #fff;
	border: 1px solid var(--asg-line);
	border-radius: 14px;
	overflow: hidden;
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}
.asg-team-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 46, 89, .12); }
.asg-team-photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--asg-tint-navy); }
.asg-team-card figcaption { padding: 14px 12px 16px; line-height: 1.35; }
.asg-team-card strong { display: block; color: var(--asg-navy); font-family: 'Poppins', sans-serif; font-size: 16px; }
.asg-team-card span { display: block; margin-top: 4px; font-size: 13px; color: var(--asg-green); font-weight: 500; }
@media (max-width: 767px) { .asg-team-card { width: calc(50% - 11px); min-width: 0; } }
