/* ==========================================================================
   Course pages (template "Course page"). Shared by all 16 course pages.
   Measurements from the live CCIE Data Center page at 1351px, 2026-11-11.
   ========================================================================== */

.container--wide { max-width: 1320px; padding: 0 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--yellow { background: var(--c-yellow); color: var(--c-ink); min-width: 240px; }
.btn--yellow:hover { background: var(--c-yellow-dark); color: var(--c-ink); }
.btn--lg { min-height: 66px; padding: 12px 30px; font-size: 17px; min-width: 267px; }
.btn--caps { text-transform: uppercase; font-size: 14px; }

/* Hero -------------------------------------------------------------------- */
.c-hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #00347D 0%, #0159D3 100%); color: var(--c-white); }
.c-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: url("/wp-content/uploads/2022/02/layered-waves-bg-03.svg") left center / cover no-repeat; opacity: .35;
}
.c-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 35px; min-height: 688px; max-width: 1351px; margin: 0 auto; }
.c-hero__text { padding: 120px 0 80px 56px; }
.c-hero h1 { margin: 0 0 30px; font-size: 50px; line-height: 50px; font-weight: 700; color: var(--c-white); }
.c-hero__sub { margin: 0; font-size: 28px; line-height: 28px; font-weight: 500; }
.c-hero__label { margin: 0; font-size: 35px; line-height: 42px; font-weight: 500; color: var(--c-white); }
.c-hero__overview { margin: 0 0 16px; font-size: 16px; line-height: 28.8px; }
.c-hero__stat { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; font-size: 18px; line-height: 25.2px; font-weight: 500; }
.c-hero__stat .mask-icon { width: 36px; height: 36px; background: var(--c-white); }
.c-hero__media { position: relative; margin-right: min(0px, calc((1351px - 100vw) / 2 + 8px)); } /* reach the right edge on wide screens (8px = scrollbar half) */
.c-hero__media img { position: absolute; inset: 0 0 -41px 0; width: 100%; height: calc(100% + 41px); object-fit: cover; }
/* The blue wave edge over the photo. */
.c-hero__media::before {
	content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: -1px; width: 130px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 700' preserveAspectRatio='none'%3E%3Cpath d='M0 0h70c-40 120 40 230 10 350S20 560 60 700H0Z' fill='%230149B4'/%3E%3C/svg%3E") left / 100% 100% no-repeat;
}

/* Stats strip -------------------------------------------------------------- */
.c-stats { background: var(--c-white); padding: 0 20px; }
.c-stats__list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; min-height: 144px; }
.c-stats__list li { display: flex; flex-direction: column; align-items: center; gap: 20px; font-size: 16px; line-height: 22.4px; font-weight: 500; color: var(--c-ink); text-align: center; }
.c-stats__list .mask-icon { width: 32px; height: 32px; background: var(--c-yellow); }

/* Intro --------------------------------------------------------------------- */
.c-intro { padding: 60px 0 20px; }

/* Modules ------------------------------------------------------------------ */
.c-modules { background: var(--c-soft); padding: 20px 10px 50px; }
.c-modules__logo { width: 300px; height: auto; margin: 0 auto 10px; }
.c-modules .sec-title { margin-bottom: 70px; }
.c-modules__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: left; }
.c-modules__grid--6 { grid-template-columns: repeat(3, 1fr); }
.c-module { padding: 30px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: 3px; }
.c-module__icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--c-yellow-17); color: var(--c-yellow); }
.c-module__icon .ic { width: 22px; height: 22px; }
.c-module h3 { margin: 0 0 15px; font-size: 20px; line-height: 28px; }
.c-module p { margin: 0; font-size: 16px; line-height: 28.8px; }
.c-modules__cta { margin: 25px 0 0; }

/* Infographic ---------------------------------------------------------------- */
.c-info { padding: 20px 0; }
.c-info img { width: 100%; height: auto; }
.c-info__mobile { display: none; }

/* Workbook + video ------------------------------------------------------------ */
.c-workbook { background: var(--c-soft); padding: 50px 0; }
.c-workbook__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 0 26px; }
.c-workbook__card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; min-height: 470px; padding: 40px 60px; border-radius: 10px; text-align: center; }
.c-workbook__course, .c-workbook__label { margin: 0; font-size: 50px; line-height: 60px; font-weight: 500; color: var(--c-white); }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt .ic { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); color: #111; transition: color .2s; }
.yt:hover .ic { color: #f00; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt--poster { aspect-ratio: auto; background: none; }
.yt--poster img { height: auto; }

/* Success stories --------------------------------------------------------- */
.c-success { padding: 20px 0 50px; }
.c-success .sec-title { margin-bottom: 50px; }
.c-success__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 20px; text-align: left; }
.c-success__grid li { display: flex; align-items: center; gap: 22px; padding: 0 10px; }
.c-success__grid .ic { width: 20px; height: 23px; flex: none; color: var(--c-yellow); }
.c-success__grid strong { display: block; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--c-ink); }
.c-success__grid span { font-size: 16px; line-height: 28.8px; color: var(--c-text); }
.c-success__cta { margin: 40px 0 0; }

/* Why choose (layout A) --------------------------------------------------------- */
.c-why { background: var(--c-soft); padding: 60px 0 50px; }
.c-why__head { margin-bottom: 60px; }
.c-why__title { font-size: 47px; line-height: 1.1; }
.c-why__title .hl { margin-top: 12px; }
.c-why__sub { margin: 30px 0 0; font-size: 18px; line-height: 32.4px; color: var(--c-yellow); }
.c-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 16px; }
.c-why__img { min-height: 400px; background: center / cover no-repeat; }
.c-why__card { display: flex; flex-direction: column; justify-content: center; padding: 60px; background: var(--c-white); min-height: 400px; }
.c-why__card .ic { width: 32px; height: 32px; color: var(--c-yellow); margin-bottom: 20px; }
.c-why__card h3 { margin: 0 0 20px; font-size: 22px; line-height: 28.6px; }
.c-why__card p { margin: 0; font-size: 16px; line-height: 28.8px; }

/* Key features (layout B) --------------------------------------------------------- */
.c-features { background: var(--c-soft); padding: 80px 0; }
.c-features .sec-title { margin-bottom: 60px; }
.c-features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.c-feature { padding: 40px; background: var(--c-white); border-radius: 3px; }
.c-feature h3 { margin: 0 0 15px; font-size: 22px; line-height: 28.6px; }
.c-feature p { margin: 0 0 12px; }
.c-feature ul { margin: 0 0 12px 1.2em; list-style: disc; }
.c-feature li { margin-bottom: 4px; }

/* Plans -------------------------------------------------------------------------- */
.c-plans { padding: 30px 0; background: var(--c-white); }
.c-plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 67px; padding: 0 26px; }
.c-plan { padding: 30px; border-radius: 20px; background: #FEF5DF; }
.c-plan__icon { display: grid; place-items: center; width: 96px; height: 103px; margin-bottom: 25px; background: var(--c-yellow-17); color: var(--c-yellow-dark); }
.c-plan__icon .ic { width: 48px; height: 48px; }
.c-plan h3 { margin: 0 0 15px; font-size: 20px; line-height: 28px; }
.c-plan__text { font-size: 15px; line-height: 25.5px; color: var(--c-text); }
.c-plan__link {
	display: inline-flex; align-items: center; gap: 14px; margin-top: 17px; padding-bottom: 8px;
	border-bottom: 1px solid var(--c-blue-dark); font-size: 17px; line-height: 17px; font-weight: 500; color: var(--c-blue-dark);
}
.c-plan__link .ic { width: 20px; height: 20px; }
.c-plan__link:hover { color: var(--c-yellow-dark); border-color: var(--c-yellow-dark); }

/* Consultation band ------------------------------------------------------------- */
.c-consult { position: relative; isolation: isolate; padding: 90px 0; background: center / cover no-repeat; }
.c-consult::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 52, 125, .95) 0%, rgba(1, 89, 211, .55) 100%); }
.c-consult__eyebrow { margin: 0 0 30px; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--c-yellow); }
.c-consult__title { max-width: 700px; margin: 0 0 40px; font-size: 35px; line-height: 42px; font-weight: 500; color: var(--c-white); }

/* Tabs --------------------------------------------------------------------------- */
.c-tabs { background: var(--c-soft); padding: 60px 30px; }
.c-tabs__list { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 3px solid #D9DCDE; margin-bottom: 50px; }
.c-tabs__tab {
	position: relative; padding: 0 0 20px; font-size: 16px; font-weight: 700; line-height: 16px; color: var(--c-ink);
}
.c-tabs__tab[aria-selected="true"] { color: var(--c-yellow); }
.c-tabs__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--c-yellow); }
.c-tabs__panel { display: grid; grid-template-columns: 594px 1fr; gap: 40px; align-items: center; }
.c-tabs__panel[hidden] { display: none; }
.c-tabs__panel > img { width: 100%; height: auto; }
.c-tabs__text p { margin: 0 0 20px; }
.c-tabs__checks { list-style: none; display: grid; gap: 6px; margin: 0 0 20px; }
.c-tabs__checks li { display: flex; gap: 12px; align-items: flex-start; }
.c-tabs__checks .ic { width: 18px; height: 18px; margin-top: 6px; flex: none; color: var(--c-yellow); }
.c-tabs__boxes { display: grid; gap: 24px; }
.c-tabs__boxes h3 { margin: 0 0 6px; font-size: 20px; line-height: 28px; }
.c-tabs__boxes p { margin: 0; }

/* Team ------------------------------------------------------------------------------- */
.c-team { background: var(--c-soft); padding: 120px 0; }
.c-team__title { font-size: 47px; line-height: 51.7px; }
.c-team__sub { margin: 20px 0 100px; font-size: 18px; line-height: 32.4px; color: var(--c-yellow); }
.team-carousel {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 180px) / 4); gap: 60px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 33px;
}
.team-carousel::-webkit-scrollbar { display: none; }
.team-card { scroll-snap-align: start; margin: 0; text-align: center; }
.team-card__photo { width: 100%; height: 330px; object-fit: cover; border-radius: 3px; }
.team-card figcaption { padding-top: 28px; }
.team-card__name { display: block; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--c-ink); }
.team-card__role { display: block; margin-top: 8px; font-size: 15px; line-height: 25.5px; color: var(--c-muted); }

/* Responsive --------------------------------------------------------------------------- */
@media (max-width: 1020px) {
	.c-hero__inner { grid-template-columns: 1fr; min-height: 0; }
	.c-hero__text { padding: 80px 30px; }
	.c-hero__media { display: none; } /* hidden on tablet + mobile, as on live */
	.c-stats__list { grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 30px 0; }
	.c-modules__grid, .c-modules__grid--6 { grid-template-columns: 1fr 1fr; }
	.c-workbook__grid { grid-template-columns: 1fr; }
	.c-success__grid { grid-template-columns: repeat(3, 1fr); }
	.c-why__grid { grid-template-columns: 1fr 1fr; }
	.c-plans__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
	.c-tabs__panel { grid-template-columns: 1fr; }
	.team-carousel { grid-auto-columns: calc((100% - 60px) / 2); padding: 0; }
}
@media (max-width: 778px) {
	.c-hero h1 { font-size: 35px; line-height: 40px; }
	.c-hero__sub { font-size: 22px; line-height: 28px; }
	.c-hero__label { font-size: 25px; line-height: 32px; }
	.c-hero__text { padding: 60px 20px; }
	.c-stats__list { grid-template-columns: 1fr 1fr; }
	.c-modules__grid, .c-modules__grid--6, .c-success__grid, .c-why__grid, .c-plans__grid, .c-features__grid { grid-template-columns: 1fr; }
	.c-info__desktop { display: none; }
	.c-info__mobile { display: block; }
	.c-workbook__grid, .c-plans__grid, .c-why__grid { padding: 0; }
	.c-workbook__card { min-height: 0; padding: 50px 24px; }
	.c-workbook__course, .c-workbook__label { font-size: 32px; line-height: 40px; }
	.c-why__title, .c-team__title { font-size: 30px; line-height: 1.25; }
	.c-why__card { padding: 36px 24px; min-height: 0; }
	.c-why__img { min-height: 260px; }
	.c-consult { padding: 60px 0; }
	.c-consult__title { font-size: 25px; line-height: 32px; }
	.c-tabs { padding: 40px 0; }
	.c-tabs__tab { font-size: 14px; padding: 0 6px 16px; }
	.c-team { padding: 70px 0; }
	.c-team__sub { margin-bottom: 50px; }
	.team-carousel { grid-auto-columns: 82%; gap: 20px; }
}
