/*
Theme Name: CU Denver Child
Author: Emeritus Education
Author URI: https://emeritus.org/
Description: Child theme. All site customizations belong here.
Template: cu-denver
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cu-denver-child
*/

:root {
	--site-container: 1232px;
	--site-gold: #cfb87c;
	--site-gold-soft: #f1ead8;
	--site-ink: #000000;
	--site-muted: #a2a4a3;
	--site-font: "NeueHelvetica45Light", Helvetica, Arial, sans-serif;
	--site-font-medium: "NeueHelvetica65Medium", Helvetica, Arial, sans-serif;
	--site-font-bold: "NeueHelvetica75Bold", Helvetica, Arial, sans-serif;
	--site-font-display: "NeueHelvetica77CondensedBoldOblique", "Arial Narrow", Arial, sans-serif;
	--site-section-pad: 64px;
	--site-section-pad-sm: 32px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	/* Leave room for sticky .header-top when jumping to #inline-form. */
	scroll-padding-top: 72px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	padding: 0;
	color: var(--site-ink);
	font-family: var(--site-font);
	font-size: 18.66px;
	font-style: normal;
	font-weight: normal;
	line-height: 29.66px;
	letter-spacing: 0.187px;
	word-break: break-word;
	scroll-behavior: smooth;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

p {
	margin-top: 0;
	margin-bottom: 8px;
}

p:last-child {
	margin-bottom: 0;
}

a {
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: auto;
	text-underline-offset: 20%;
	text-underline-position: from-font;
}

a:hover {
	text-decoration: none;
}

ol,
ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Program HTML base: main list typography is section-specific; keep nested marker only. */
main ol:last-child,
main ul:last-child {
	margin-bottom: 0;
}

li ul {
	list-style: circle;
}

svg {
	vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	color: var(--site-ink);
	font-family: var(--site-font-display);
	font-style: oblique;
	font-stretch: condensed;
	font-weight: 500;
	letter-spacing: 0.42px;
}

h1 {
	font-size: 42px;
	line-height: 54.34px;
}

h2 {
	margin-bottom: 24px;
	font-size: 36px;
	line-height: 44px;
}

h3 {
	margin-bottom: 16px;
	font-size: 32px;
	line-height: 40px;
}

h4 {
	font-size: 24px;
	line-height: 32px;
}

.container {
	max-width: var(--site-container);
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
}

.custom-section {
	padding: var(--site-section-pad) 0;
}

.p-0 {
	padding: 0;
}

.pt-0 {
	padding-top: 0 !important;
}

.pb-0 {
	padding-bottom: 0;
}

.mt-48-24 {
	margin-top: 48px !important;
}

.mt-32-16 {
	margin-top: 32px !important;
}

.w-full {
	width: 100% !important;
}

.tac {
	text-align: center;
}

.white-content-box {
	background: #fff;
	padding: 40px 24px;
}

.heading-section {
	margin-bottom: 48px;
}

.heading-section h2 {
	margin-bottom: 24px;
}

.heading-section p {
	margin-bottom: 0;
}

.bg-grey {
	background-color: #eee;
}

.primary-gold-bg {
	background-color: var(--site-gold);
}

.secondary-gold-bg {
	background-color: var(--site-gold-soft);
}

.black-bg {
	background-color: #000;
}

.mini-title {
	margin-bottom: 16px;
	font-family: var(--site-font-display);
	color: var(--site-ink);
	font-size: 24px;
	font-style: italic;
	font-weight: 500;
	line-height: 32px;
	letter-spacing: 0.42px;
}

.semi-mini-title {
	margin-bottom: 16px;
	font-family: var(--site-font-bold);
	font-weight: 500;
	font-size: 22px;
	line-height: 35px;
}

strong {
	font-weight: 500;
	font-family: var(--site-font-bold);
}

.yellow-bricks-bg {
	position: relative;
	background-image: url("assets/images/yellow-bricks-bg.jpg");
	background-repeat: repeat;
	background-position: top left;
}

.yellow-bricks-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		#fff 13.02%,
		rgba(255, 255, 255, 0.9) 73.36%,
		rgba(255, 255, 255, 0.8) 94.56%,
		rgba(255, 255, 255, 0.4) 115.22%
	);
	pointer-events: none;
	z-index: 0;
}

.yellow-bricks-bg > * {
	position: relative;
	z-index: 1;
}

.cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: max-content;
	min-height: 56px;
	padding: 8px 16px;
	color: #fff;
	background: #000;
	border: 1px solid #000;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
	outline: none !important;
}

.cta span {
	font-family: var(--site-font-medium);
	font-size: 18.66px;
	font-style: normal;
	font-weight: 500;
	line-height: 20.66px;
	letter-spacing: 0.187px;
}

.cta svg {
	flex-shrink: 0;
}

.cta-group {
	display: flex;
	align-items: center;
	gap: 20px;
}

.primary-cta {
	background: #000;
	color: #fff;
}

.primary-cta:hover,
.primary-cta:focus-visible {
	background: var(--site-gold);
	color: #000;
	border-color: var(--site-gold);
	text-decoration: none;
}

.primary-cta:hover svg,
.primary-cta:hover svg path,
.primary-cta:focus-visible svg,
.primary-cta:focus-visible svg path {
	fill: #000;
}

.primary-cta:focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}

.primary-cta-outline {
	background: transparent;
	border: 1px solid var(--site-muted);
	color: #000;
}

.primary-cta-outline svg,
.primary-cta-outline svg path {
	fill: currentColor;
}

.primary-cta-outline:hover,
.primary-cta-outline:focus-visible {
	background: var(--site-gold-soft);
	color: #000;
	border-color: var(--site-gold-soft);
	text-decoration: none;
}

.primary-cta-outline:hover svg,
.primary-cta-outline:hover svg path,
.primary-cta-outline:focus-visible svg,
.primary-cta-outline:focus-visible svg path {
	fill: #000;
}

.transparant-animate-cta {
	position: relative;
	border: 1px solid transparent;
	background-color: transparent;
	color: #000;
}

.transparant-animate-cta svg,
.transparant-animate-cta svg path {
	fill: currentColor;
}

.transparant-animate-cta::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background-image: linear-gradient(to right, #000 0, #000 50%, transparent 50%);
	background-size: 200% 100%;
	background-position: 0 0;
	transition: background-position 0.3s ease;
}

.transparant-animate-cta:hover::after,
.transparant-animate-cta:focus-visible::after {
	background-position: 100% 0;
}

.transparant-animate-cta:hover,
.transparant-animate-cta:focus-visible {
	border-color: #28939d;
}

.transparant-animate-cta:hover svg path,
.transparant-animate-cta:focus-visible svg path {
	fill: #28939d;
}

/* Card grids */
.card-block-two {
	grid-template-columns: repeat(2, 1fr);
}

.card-block-three {
	grid-template-columns: repeat(3, 1fr);
}

.card-block-four {
	grid-template-columns: repeat(4, 1fr);
}

/* Content + media split */
.custom-content-with-media {
	display: flex;
	gap: 60px;
}

.custom-media {
	width: 50%;
	position: relative;
	overflow: hidden;
	clip-path: polygon(0 0, 100% 0, 77% 100%, 0 100%);
}

.custom-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 570px;
	object-fit: cover;
	aspect-ratio: 1 / 1;
	object-position: right;
}

.custom-content {
	width: 50%;
	display: flex;
	flex-flow: column;
	justify-content: center;
	row-gap: 16px;
}

.custom-content h2 {
	margin-bottom: 0;
}

.custom-content-to-media .custom-content {
	order: 1;
}

.custom-content-to-media .custom-media {
	order: 2;
	clip-path: polygon(23% 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 991px) {
	h1 {
		font-size: 36px;
		line-height: 44px;
	}

	h2 {
		font-size: 32px;
		line-height: 40px;
	}

	h3 {
		font-size: 24px;
		line-height: 32px;
	}

	h4 {
		font-size: 36px;
		line-height: 44px;
	}

	.custom-section {
		padding: var(--site-section-pad-sm) 0;
	}

	.heading-section {
		margin-bottom: 32px;
	}

	.hidden-991 {
		display: none;
	}

	.card-block-three,
	.card-block-four {
		grid-template-columns: repeat(2, 1fr);
	}

	.half-half-block {
		flex-wrap: wrap;
	}

	.half-block {
		width: 100%;
		order: 2;
	}

	.half-half-block .half-block.half-block-highlight {
		order: 1;
	}
}

@media (max-width: 767px) {
	.cta {
		justify-content: space-between;
	}

	.cta-group {
		flex-direction: column;
		align-items: flex-start;
	}

	.cta-group .cta {
		width: 100%;
	}

	.mt-48-24 {
		margin-top: 24px !important;
	}

	.mt-32-16 {
		margin-top: 16px !important;
	}

	.yellow-bricks-bg::before {
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.9) 36.91%,
			rgba(255, 255, 255, 0) 100%
		);
	}

	.card-block-two,
	.card-block-three,
	.card-block-four {
		grid-template-columns: repeat(1, 1fr);
	}

	.custom-content-with-media {
		flex-wrap: wrap;
		gap: 32px;
	}

	.custom-content {
		width: 100%;
	}

	.custom-media {
		width: auto;
		margin-left: -16px;
		margin-right: -16px;
		clip-path: inherit;
	}

	.custom-content-to-media .custom-media {
		clip-path: inherit;
	}

	.custom-media img {
		min-height: inherit;
	}

	body.has-body-sticky-cta {
		padding-bottom: 72px;
	}

	.enquiare-cta {
		display: none;
	}

	.highlight-grey-content-block-inner,
	.highlight-info {
		align-items: flex-start;
	}

	.breadcrumbs {
		padding: 8px 0;
	}
}

/*
 * Site chrome from program-pages base.css (header, footer shell, megamenu, mobile sticky CTA)
 * lives in component/header/, component/footer/, component/header/sticky-cta.css — not duplicated here.
 */

/* DescriptionEditor tables — program-pages base.css */
.table-wrap {
	background: #fff;
	border-top: 3px solid var(--site-muted);
	width: 100%;
	margin: 16px 0;
}

.table-wrap table {
	table-layout: fixed;
	width: 100%;
	border-collapse: collapse;
	color: var(--site-ink);
	font-size: 18.66px;
	font-style: normal;
	font-weight: 300;
	line-height: 29.66px;
	letter-spacing: 0.187px;
	border: 1px solid var(--site-muted);
}

.table-wrap th,
.table-wrap td {
	text-align: left;
	padding: 12px 16px;
	border-bottom: 1px solid var(--site-muted);
	border-right: 1px solid var(--site-muted);
}

.table-wrap th:last-child,
.table-wrap td:last-child {
	border-right: 0;
}

.table-wrap tr:last-child td {
	border-bottom: 0;
}

.table-wrap th {
	font-family: var(--site-font-bold);
	font-weight: 500;
}

.table-wrap tbody tr:nth-child(odd) {
	background: #f9f9f9;
}

@media (max-width: 767px) {
	.table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.table-wrap table {
		min-width: 767px;
	}
}

/* Highlight grey block */
.highlight-grey-block {
	background: #565a5c;
	color: #fff;
}

.highlight-grey-title {
	background: #6c6c70;
	padding: 16px 24px;
	font-weight: 500;
	font-family: var(--site-font-bold);
}

.highlight-grey-content-block {
	padding: 16px 24px;
}

.highlight-grey-content-block-inner {
	display: flex;
	gap: 8px;
	align-items: center;
}

.highlight-icon {
	min-width: 40px;
	min-height: 40px;
	background: var(--site-gold);
	border-radius: 100px;
	align-content: center;
	text-align: center;
}

.highlight-info {
	display: flex;
	gap: 8px;
	align-items: center;
}

.highlight-info p {
	margin: 0;
}

.highlight-info p:first-child {
	min-width: fit-content;
}

/* Accordion */
.accordion-item {
	border-top: 1px solid var(--site-gold);
}

.accordion-item:last-child {
	border-bottom: 1px solid var(--site-gold);
}

.accordion-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 24px 16px 0;
	cursor: pointer;
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background: var(--site-gold-soft);
}

.accordion-content-inner {
	padding: 24px;
}

.accordion-content p {
	margin-bottom: 16px;
}

.accordion-content p:last-child {
	margin-bottom: 0;
}

.accordion-item h3 {
	margin: 0;
}

.accordion-item.active {
	border-top: 0.8px solid var(--site-gold);
}

.accordion-item.active h3 {
	color: #000;
}

.accordion-icon {
	width: 32px;
	height: 32px;
}

.accordion-icon svg {
	vertical-align: top;
}

.accordion-icon svg path {
	fill: #000;
}

.accordion-item.active .accordion-icon svg path {
	fill: #000;
}

.accordion-icon svg,
.accordion-icon svg path {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.accordion-content ul,
.accordion-content ol {
	display: flex;
	flex-direction: column;
	row-gap: 8px;
	margin-bottom: 16px;
	padding: 0 0 0 15px;
	list-style-position: outside;
}

.accordion-content ul {
	list-style: disc;
}

.accordion-content ol {
	list-style: decimal;
}

.accordion-content a {
	color: #28939d;
}

/* Half / half layout */
.half-half-block {
	display: flex;
	gap: 32px 60px;
}

@media (min-width: 992px) {
	.half-block {
		width: 50%;
	}
}

.half-block.gap-16 {
	row-gap: 16px;
	display: flex;
	flex-direction: column;
}

.half-block.gap-16 * {
	margin: 0;
}

/* Breadcrumbs */
.breadcrumbs {
	padding: 24px 0 16px;
}

/* Beat theme `main ul { flex-direction: column }` so crumbs stay on one row. */
.breadcrumbs .breadcrumbs-container-desktop,
.breadcrumbs .breadcrumbs-container-mobile {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	row-gap: 0;
	column-gap: 0;
}

.breadcrumbs .breadcrumbs-container-desktop > li,
.breadcrumbs .breadcrumbs-container-mobile > li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #000;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 17px;
}

.breadcrumbs .breadcrumbs-container-desktop > li a,
.breadcrumbs .breadcrumbs-container-mobile > li a {
	color: #565a5c;
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: auto;
	text-underline-offset: 20%;
	text-underline-position: from-font;
}

.breadcrumbs .breadcrumbs-container-desktop > li + li::before {
	content: "/";
	margin: 0 6px;
	color: #565a5c;
}

.breadcrumbs .breadcrumbs-container-desktop > li a:focus,
.breadcrumbs .breadcrumbs-container-desktop > li a:hover,
.breadcrumbs .breadcrumbs-container-mobile > li a:focus,
.breadcrumbs .breadcrumbs-container-mobile > li a:hover {
	color: #000;
	text-decoration: none;
}

.breadcrumbs .breadcrumbs-container-mobile > li a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.breadcrumbs .breadcrumbs-container-mobile svg {
	flex-shrink: 0;
	vertical-align: middle;
}

@media (min-width: 768px) {
	.breadcrumbs .breadcrumbs-container-mobile {
		display: none;
	}
}

/* Footer contact links — from program base.css (.footer-info) */
.footer-info {
	min-width: max-content;
}

.footer-info ul {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
}

.footer-info li a {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	border: 1px solid transparent;
	padding: 16px;
	max-width: fit-content;
	position: relative;
	background-color: transparent;
	color: #fff;
	font-family: var(--site-font-medium);
	font-size: 18.66px;
	font-style: normal;
	font-weight: 500;
	line-height: 20.66px;
	letter-spacing: 0.187px;
	text-decoration: none;
	word-wrap: break-word;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.footer-info li a svg {
	position: relative;
	bottom: 1px;
	right: 4px;
	max-width: 24px;
	flex-shrink: 0;
	transition-duration: 0.3s;
}

.footer-info li:last-child {
	border-right: 0;
	padding-right: 0;
}

.footer-info li a:hover {
	border-color: #28939d;
	text-decoration: none;
}

.footer-info li a:hover svg {
	right: 0;
}

.footer-info-divder {
	width: 1px;
	background: var(--site-gold);
}

@media (max-width: 991px) {
	.footer-info {
		min-width: fit-content;
	}

	.footer-info ul {
		flex-direction: column;
		gap: 0;
	}
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
    box-shadow: 0 0 0 1000px #fff inset;
}