/*
Theme Name: Templeton Block Theme
Theme URI: 
Author: PJUX
Author URI: 
Description: Templeton Block Theme by PJUX
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.4
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: templeton-block-theme
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks

/* Defaults
---------------------------------------- */

/* Skip Link - Accessibility
---------------------------------------- */

.skip-link {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--bold);
	left: 0;
	padding: 1rem 1.5rem;
	position: fixed;
	text-decoration: none;
	top: -100%;
	z-index: 999999;
}

.skip-link:focus {
	top: 0;
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

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

html {
	scroll-behavior: smooth;
}

button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
	font-size: 18px !important;
	font-weight: var(--wp--custom--font-weight--bold);
}

a {
	transition: all 0.2s ease-in-out;
	font-weight: var(--wp--custom--font-weight--bold);
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
	text-decoration-thickness: 1px;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--bold);
}

.intro-text {
	padding-right: 80px;
}

.intro-text.has-text-align-center {
	padding-right: 0;
}

@media (max-width: 782px) {
	.intro-text {
		padding-right: 0;
	}
}

mark {
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
	background-position: 0 85%;
	background-repeat: repeat-x;
	background-size: 100% 15%;
}

/* -- Forms -- */

input,
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--light);
	line-height: var(--wp--custom--line-height--body);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	background-color: var(--wp--preset--color--neutral);
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.5;
}

/* Blocks
---------------------------------------- */

/* -- Image -- */

.wp-block-image {
	margin-block-end: 0 !important;
	margin-block-start: 0 !important;
}

/* -- Quote/Blockquote -- */

.wp-block-quote {
	margin-left: auto;
	margin-right: auto;
}

blockquote {
	margin-left: auto;
	margin-right: auto;
}

.testimonial-quote {
	border: none !important;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.testimonial-quote p {
	font-size: var(--wp--preset--font-size--medium) !important;
}

/* -- Templeton Highlights Section -- */

.templeton-highlights-intro {
	padding-left: 30px;
	padding-right: 30px;
}

/* -- Student Voices Section -- */

/* -- Hero Quote -- */

.hero-quote {
	border: none !important;
	margin-bottom: 20px;
}

.hero-quote h2 {
	line-height: 1.3;
	color: #78e1e8;
}

.hero-quote p {
	margin-top: var(--wp--preset--spacing--small);
	margin-bottom: var(--wp--preset--spacing--x-small);
	color: #ffffff;
}

/* -- Main element -- */

main.wp-block-group {
	margin-top: 0;
}

/* -- Hero Quote Section -- */

.hero-quote-section {
	margin-top: 0;
	padding: var(--wp--preset--spacing--large) 30px;
}

.hero-quote-section .wp-block-image {
	width: 100%;
	height: 100%;
}

.hero-quote-section .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Large screens - tighter layout */
@media (min-width: 782px) {
	.hero-quote-section {
		padding-top: var(--wp--preset--spacing--medium) !important;
		padding-bottom: var(--wp--preset--spacing--medium) !important;
	}
	
	.hero-quote-section .wp-block-columns {
		gap: var(--wp--preset--spacing--large) !important;
		align-items: flex-start !important;
	}
	
	.hero-quote-section .wp-block-column {
		padding-top: 0;
	}
	
	.hero-quote-section h2 {
		margin-top: 0;
	}
}

@media (max-width: 1279px) {
	.hero-quote-section {
		padding: var(--wp--preset--spacing--medium) 40px !important;
	}
	
	.hero-quote h2.has-max-36-font-size {
		font-size: 24px !important;
	}
}

@media (max-width: 1100px) {
	.hero-quote-section .wp-block-columns {
		flex-direction: column-reverse !important;
		gap: var(--wp--preset--spacing--small) !important;
	}
	
	.hero-quote-section .wp-block-column {
		flex-basis: 100% !important;
	}
	
	.education-crossroads-section .wp-block-columns {
		flex-direction: column !important;
		gap: var(--wp--preset--spacing--medium) !important;
	}
	
	.education-crossroads-section .wp-block-column {
		flex-basis: 100% !important;
	}
}

@media (max-width: 782px) {
	.hero-quote-section {
		padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--small) !important;
	}
	
	.hero-quote h2.has-max-36-font-size {
		font-size: 20px !important;
	}
}

/* -- Who Thrives Section -- */

.who-thrives-section {
	background-color: var(--wp--preset--color--contrast);
}

.who-thrives-section .wp-block-list {
	list-style: none;
	padding-left: 0;
}

.who-thrives-section .wp-block-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	font-weight: var(--wp--custom--font-weight--bold);
}

.who-thrives-section .wp-block-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--primary);
	font-weight: bold;
	font-size: 1.1em;
}

.who-thrives-section .wp-block-image {
	width: 100%;
	height: 100%;
}

.who-thrives-section .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Large screens - tighter layout */
@media (min-width: 782px) {
	.who-thrives-section {
		padding-top: var(--wp--preset--spacing--medium) !important;
		padding-bottom: var(--wp--preset--spacing--medium) !important;
	}
	
	.who-thrives-section .wp-block-columns {
		gap: var(--wp--preset--spacing--large) !important;
	}
	
	.who-thrives-section h2 {
		margin-top: 0;
	}
}

@media (max-width: 1400px) {
	.who-thrives-section .wp-block-columns {
		align-items: flex-start !important;
	}
}

@media (max-width: 1279px) {
	.who-thrives-section {
		padding: var(--wp--preset--spacing--medium) 40px !important;
	}
}

@media (max-width: 1100px) {
	.who-thrives-section .wp-block-columns {
		flex-direction: column !important;
		gap: var(--wp--preset--spacing--small) !important;
	}
	
	.who-thrives-section .wp-block-column {
		flex-basis: 100% !important;
	}
	
	.who-thrives-section .wp-block-image {
		margin-bottom: var(--wp--preset--spacing--small);
	}
	
	.who-thrives-section .wp-block-image img {
		aspect-ratio: 3 / 2;
		height: auto;
	}
}

@media (max-width: 782px) {
	.who-thrives-section {
		padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--small) !important;
	}
}

/* -- Recent Achievements Section -- */

.recent-achievements-section .wp-block-columns > .wp-block-column p:first-child {
	margin-bottom: 10px;
}

@media (max-width: 1100px) {
	.recent-achievements-section .wp-block-columns {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}
}

@media (max-width: 600px) {
	.recent-achievements-section .wp-block-columns {
		grid-template-columns: 1fr;
	}
}

/* -- Join Community Section -- */

.join-community-section .wp-block-list {
	list-style: none;
	padding-left: 0;
}

.join-community-section .wp-block-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	font-weight: var(--wp--custom--font-weight--bold);
}

.join-community-section .wp-block-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--primary);
	font-weight: bold;
	font-size: 1.1em;
}

.join-community-section .wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Large screens - tighter layout */
@media (min-width: 782px) {
	.join-community-section {
		padding-top: var(--wp--preset--spacing--large) !important;
		padding-bottom: var(--wp--preset--spacing--large) !important;
	}
	
	.join-community-section .wp-block-columns {
		gap: var(--wp--preset--spacing--large) !important;
		align-items: flex-start !important;
	}
	
	.join-community-section .wp-block-column {
		padding-top: 0;
	}
	
	.join-community-section h2 {
		margin-top: 0;
	}
}

@media (max-width: 781px) {
	.join-community-section .wp-block-columns {
		flex-direction: column-reverse;
	}
	
	.join-community-section .wp-block-column {
		flex-basis: 100% !important;
	}
	
	.join-community-section .wp-block-image {
		margin-bottom: var(--wp--preset--spacing--medium);
	}
}

/* -- Tour CTA Section -- */

.tour-cta {
	background-color: var(--wp--preset--color--light-blue);
}

.tour-cta h2 {
	color: var(--wp--preset--color--contrast);
}

.tour-cta .wp-block-image {
	width: 100%;
	height: 100%;
}

.tour-cta .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Large screens - tighter layout */
@media (min-width: 782px) {
	.tour-cta {
		padding-top: var(--wp--preset--spacing--medium) !important;
		padding-bottom: var(--wp--preset--spacing--medium) !important;
	}
	
	.tour-cta .wp-block-columns {
		gap: var(--wp--preset--spacing--large) !important;
		align-items: center !important;
	}
	
	.tour-cta .wp-block-column {
		padding-top: 0;
	}
	
	.tour-cta h2 {
		margin-top: 0;
	}
}

@media (max-width: 1279px) {
	.tour-cta {
		padding: var(--wp--preset--spacing--medium) 40px !important;
	}
}

@media (max-width: 1100px) {
	.tour-cta .wp-block-columns {
		flex-direction: column-reverse !important;
		gap: var(--wp--preset--spacing--small) !important;
	}
	
	.tour-cta .wp-block-column {
		flex-basis: 100% !important;
	}
	
	.tour-cta .wp-block-image {
		margin-bottom: var(--wp--preset--spacing--small);
	}
	
	.tour-cta .wp-block-image img {
		aspect-ratio: 3 / 2;
		height: auto;
	}
}

@media (max-width: 782px) {
	.tour-cta {
		padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--small) !important;
	}
}

/* -- Emoji Icon -- */

.emoji-icon {
	font-size: 48px;
	line-height: 1;
	margin-bottom: 0;
}

/* -- Code -- */

*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--neutral);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
}

/* -- Post Content -- */

.wp-block-post-content {
	margin-top: 0 !important;
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	border: 1px solid currentColor;
	padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
	color: var(--wp--preset--color--base);
}

/* -- Navigation Submenu -- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--contrast);
	border: none;
	border-radius: 8px;
	color: var(--wp--preset--color--base);
	padding: 16px 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	min-width: 200px;
	left: 50% !important;
	transform: translateX(-50%);
	top: 100%;
}

/* Invisible bridge to keep hover active */
.wp-block-navigation .has-child > .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
}

.wp-block-navigation .wp-block-navigation__submenu-container a,
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 10px 16px;
	border-radius: 4px;
	transition: background-color 0.2s ease, color 0.2s ease;
	color: #ffffff !important;
}

.wp-block-navigation .wp-block-navigation__submenu-container a:hover,
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--wp--preset--color--accent) !important;
}

/* Utility
---------------------------------------- */

/* -- Box Shadow -- */

.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--solid);
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {

	/* -- Utility -- */

	.is-style-hidden-mobile {
		display: none !important;
	}

}

/* Header Button Hover
---------------------------------------- */

.has-hover-primary .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--base) !important;
}

.has-hover-darken .wp-block-button__link:hover {
	filter: brightness(0.85);
}

.has-hover-lightblue .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--light-blue) !important;
}

.has-hover-secondary .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--secondary) !important;
	color: var(--wp--preset--color--base) !important;
}

.has-hover-lime .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--lime) !important;
	color: var(--wp--preset--color--contrast) !important;
}

/* Gravity Forms
---------------------------------------- */

.gform_wrapper {
	margin-top: 0 !important;
}

.gform_wrapper textarea {
	line-height: 1.5 !important;
	padding: 8px 10px !important;
}

.gform_wrapper .gfield_required {
	color: var(--wp--preset--color--primary) !important;
	margin-left: 6px !important;
}

.gform_wrapper .gform_footer {
	height: auto !important;
	margin: 16px 0 0 !important;
	padding: 0 !important;
}

/* Collapse the hidden-inputs <p> and stray <br> tags GF renders inside the footer */
.gform_wrapper .gform_footer p,
.gform_wrapper .gform_footer br {
	display: none !important;
}

.gform_wrapper .gform_button {
	background-color: var(--wp--preset--color--primary) !important;
	border: none !important;
	border-radius: 30px !important;
	color: var(--wp--preset--color--base) !important;
	cursor: pointer !important;
	display: inline-block !important;
	font-family: var(--wp--preset--font-family--heading) !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	font-weight: 400 !important;
	height: auto !important;
	line-height: normal !important;
	padding: 16px 40px !important;
	text-decoration: none !important;
	transition: all 0.2s ease-in-out !important;
	width: auto !important;
}

.gform_wrapper .gform_button:hover {
	filter: brightness(0.85) !important;
}

/* Input, select, textarea field styling */
.gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.gform_wrapper select,
.gform_wrapper textarea {
	-webkit-appearance: none !important;
	appearance: none !important;
	background-color: #fff !important;
	border: 1px solid #ccc !important;
	border-radius: 4px !important;
	color: var(--wp--preset--color--contrast) !important;
	font-family: var(--wp--preset--font-family--primary) !important;
	font-size: var(--wp--preset--font-size--small) !important;
	padding: 10px 12px !important;
	width: 100% !important;
}

/* Custom dropdown arrow for select (replaces Safari/Chrome native arrow) */
.gform_wrapper select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	padding-right: 36px !important;
}

.gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
	border-color: var(--wp--preset--color--primary) !important;
	outline: none !important;
}

/* Field label */
.gform_wrapper .gfield_label {
	font-family: var(--wp--preset--font-family--primary) !important;
	font-size: var(--wp--preset--font-size--small) !important;
	font-weight: 600 !important;
	margin-bottom: 4px !important;
}

/* Sub-labels (First, Last) */
.gform_wrapper .gfield_description,
.gform_wrapper .ginput_complex label {
	font-size: 12px !important;
	color: #666 !important;
	margin-top: 4px !important;
}

/* First/Last name side by side */
.gform_wrapper .ginput_complex {
	display: flex !important;
	flex-direction: row !important;
	gap: 16px !important;
}

.gform_wrapper .ginput_complex > span {
	flex: 1 !important;
}

/* Field row spacing */
.gform_wrapper .gfield {
	margin-bottom: 16px !important;
}

/* Contact page: add top spacing to form column when stacked */
@media (max-width: 599px) {
	.contact-form-column {
		margin-top: 40px !important;
	}
}

/* Blog Post List
---------------------------------------- */

.wp-block-post-template article.wp-block-group {
	padding-bottom: 60px !important;
	margin-bottom: 60px !important;
}

/* Header Container
---------------------------------------- */

@media (max-width: 1100px) {
	header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}
}

/* Header Logo
---------------------------------------- */

.header-logo {
	display: flex;
	align-items: center;
}

.header-logo img {
	width: 180px;
	height: auto;
	display: block;
}

@media (max-width: 1100px) {
	.header-logo img {
		width: 175px;
	}
}

@media (max-width: 600px) {
	.header-logo img {
		width: 135px;
	}
}

/* Header Navigation Links
---------------------------------------- */

.wp-block-navigation a:hover {
	color: var(--wp--preset--color--accent) !important;
}

.wp-block-navigation .current-menu-item > a,
.wp-block-navigation .current_page_item > a,
.wp-block-navigation .current-menu-ancestor > a {
	color: var(--wp--preset--color--accent) !important;
}

/* Desktop: restore right-alignment (navigation block is set to left to fix mobile overlay) */
@media (min-width: 1101px) {
	header .wp-block-navigation .wp-block-navigation__container {
		justify-content: flex-end !important;
	}
}

/* Hide "Schedule a Tour" nav link on desktop */
.wp-block-navigation:not(.has-modal-open) .nav-link-tour {
	display: none !important;
}

/* Show it in mobile overlay */
.wp-block-navigation__responsive-container.is-menu-open .nav-link-tour {
	display: flex !important;
}

/* Mobile Navigation Menu Overlay
---------------------------------------- */

.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--contrast) !important;
	/* Override WP's inline --navigation-layout-align: center on the nav element.
	   Setting this on .is-menu-open (closer ancestor to the ul than nav) wins
	   CSS variable inheritance without needing !important. stretch = full-width items. */
	--navigation-layout-align: stretch;
	--navigation-layout-justify: flex-start;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
	padding: 30px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 20px;
	padding-left: 30px;
	padding-right: 30px;
	align-items: flex-start !important;
}

/* Use block layout to eliminate all flex centering/offset issues */
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container li {
	display: block !important;
	width: 100% !important;
}

/* Keep link+toggle row as flex for proper inline layout */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: 100% !important;
}

.wp-block-navigation__responsive-container.is-menu-open a {
	text-align: left !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon {
	margin-left: 8px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
	color: var(--wp--preset--color--base) !important;
	font-size: var(--wp--preset--font-size--medium);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover {
	color: var(--wp--preset--color--accent) !important;
}

/* Mobile Overlay Submenu - Override desktop dropdown styles */
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	display: block !important;
	position: static !important;
	transform: none !important;
	background-color: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	padding-left: 20px !important;
	border-radius: 0 !important;
	min-width: 0 !important;
	width: 100% !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a {
	font-size: var(--wp--preset--font-size--small) !important;
}

.wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--base);
}

/* Force mobile menu at 1100px */
@media only screen and (max-width: 1100px) {
	.wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content {
		display: none;
	}
	
	.wp-block-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex !important;
	}
}

/* Mobile: Hide Desktop CTA Button */
@media only screen and (max-width: 1100px) {
	.hide-on-mobile {
		display: none !important;
	}
}

/* Header Nav Group */
.header-nav-group {
	gap: 24px !important;
}

.header-cta-button .wp-block-button__link {
	font-size: var(--wp--preset--font-size--small);
	padding: 10px 18px;
	transition: background-color 0.2s ease;
}

.header-cta-button .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--base) !important;
}

/* Footer Links
---------------------------------------- */

.footer-links-white a {
	color: var(--wp--preset--color--base);
}

.footer-links-white a:hover {
	color: #ffffff;
}

.footer-links-white p.has-x-small-font-size a {
	font-size: inherit;
}

.footer-links-white .wp-block-social-links .wp-social-link svg {
	height: 32px;
	width: 32px;
}

.footer-attribution {
	font-size: 11px !important;
	margin-top: 0 !important;
}

.footer-links-white .footer-attribution a {
	font-size: 11px !important;
}

.footer-address {
	text-align: center;
	font-style: normal;
	color: var(--wp--preset--color--base);
	margin: var(--wp--preset--spacing--small) 0;
	font-size: 14px;
}

.footer-address-left {
	text-align: left;
	margin: 10px 0 0 0;
}

.footer-logo {
	display: inline-block;
}

.footer-social-left {
	margin-top: 10px;
}

@media (max-width: 781px) {
	.footer-links-white .wp-block-columns {
		flex-direction: column;
		text-align: center;
		gap: var(--wp--preset--spacing--medium);
	}
	
	.footer-links-white .wp-block-column {
		flex-basis: 100% !important;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.footer-logo {
		display: block;
		text-align: center;
	}
	
	.footer-address-left {
		text-align: center;
		margin: 10px 0;
	}
	
	.footer-social-left {
		justify-content: center !important;
	}
	
	.footer-utility-links {
		text-align: center !important;
	}
	
	.footer-links-white .wp-block-buttons {
		justify-content: center !important;
		margin-top: var(--wp--preset--spacing--small);
	}
}

.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	transition: background-color 0.3s ease, transform 0.3s ease;
	z-index: 999;
}

.back-to-top:hover {
	background-color: var(--wp--preset--color--secondary);
	color: #ffffff;
	transform: translateY(-3px);
}

.back-to-top svg {
	width: 24px;
	height: 24px;
}

@media (max-width: 782px) {
	.back-to-top {
		width: 40px;
		height: 40px;
		bottom: 20px;
		right: 20px;
	}
	
	.back-to-top svg {
		width: 18px;
		height: 18px;
	}
}

/* Video Lead Pattern Responsive
---------------------------------------- */

.video-lead-columns {
	align-items: stretch;
}

.video-lead-columns .wp-block-column.is-vertically-aligned-center {
	padding: var(--wp--preset--spacing--medium) var(--wp--preset--spacing--large);
}

.templeton-hero-video {
	height: 100%;
	margin: 0;
}

.templeton-hero-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media only screen and (max-width: 1279px) {
	.video-lead-columns {
		flex-direction: column !important;
	}
	
	.video-lead-columns .wp-block-column {
		flex-basis: 100% !important;
	}
	
	.video-lead-columns .wp-block-column.is-vertically-aligned-center {
		padding: 40px !important;
	}
}

@media only screen and (max-width: 782px) {
	.video-lead-columns .wp-block-column.is-vertically-aligned-center {
		padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--small) !important;
	}

	/* -- Columns -- */

	.is-style-columns-reverse {
		flex-direction: column-reverse;
	}

}

/* Intro Section - left aligned content within 1400px
---------------------------------------- */

.intro-section > * {
	max-width: 1400px !important;
	margin-left: 0 !important;
	margin-right: auto !important;
}

.intro-blurb {
	margin-right: 30px !important;
}

/* Three Pillars Pattern
---------------------------------------- */

.three-pillars-section > .wp-block-heading {
	margin-top: 20px !important;
	margin-bottom: 60px !important;
}

.three-pillars-section .wp-block-media-text.is-vertically-aligned-top {
	align-items: center !important;
}

.three-pillars-section .wp-block-media-text__media,
.three-pillars-section .wp-block-media-text__content {
	align-self: center !important;
}

.three-pillars-section .wp-block-media-text__media img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	height: auto;
}

@media (max-width: 1000px) {
	.three-pillars-section .wp-block-media-text {
		grid-template-columns: 100% !important;
		grid-template-rows: auto auto;
	}
	
	.three-pillars-section .wp-block-media-text__media {
		grid-column: 1;
		grid-row: 1;
	}
	
	.three-pillars-section .wp-block-media-text__content {
		grid-column: 1;
		grid-row: 2;
		padding-left: 0 !important;
	}
	
	.three-pillars-section .wp-block-media-text__media img {
		aspect-ratio: 3 / 2;
	}
}

@media (max-width: 600px) {
	.three-pillars-section .wp-block-media-text__content {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* Section lead text with padding on large screens */
@media (min-width: 1100px) {
	.section-lead {
		padding-left: 80px;
		padding-right: 80px;
    padding-bottom: 40px;
	}
}

/* Grid list - header left, body right */
.grid-list {
	display: flex;
	flex-direction: column;
	gap: 48px;
	margin-top: 48px;
	margin-bottom: 32px;
	list-style: none;
	padding-left: 0;
}

.grid-list li {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 40px;
	margin-bottom: 0;
	align-items: start;
	border-left: 10px solid var(--wp--preset--color--primary);
	padding-left: 20px;
}

.styled-item-list.grid-list .item-header {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 42px;
	font-weight: 900;
	line-height: 1.2;
	color: var(--wp--preset--color--contrast);
}

/* Grid list border color cycling */
.styled-item-list.grid-list li:nth-child(6n+1) {
	border-color: var(--wp--preset--color--primary);
}

.styled-item-list.grid-list li:nth-child(6n+2) {
	border-color: var(--wp--preset--color--secondary);
}

.styled-item-list.grid-list li:nth-child(6n+3) {
	border-color: var(--wp--preset--color--light-blue);
}

.styled-item-list.grid-list li:nth-child(6n+4) {
	border-color: var(--wp--preset--color--teal);
}

.styled-item-list.grid-list li:nth-child(6n+5) {
	border-color: var(--wp--preset--color--pink);
}

.styled-item-list.grid-list li:nth-child(6n+6) {
	border-color: var(--wp--preset--color--lime);
}

.styled-item-list.grid-list .item-body {
	font-weight: 500;
	line-height: 1.6;
}

@media (max-width: 782px) {
	.grid-list li {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	
	.styled-item-list.grid-list .item-header {
		font-size: 26px;
	}
}

/* Subpage intro section */
.subpage-intro-section {
	background-color: var(--wp--preset--color--bone);
}

/* Academics lead section */
.academics-lead {
	color: var(--wp--preset--color--contrast);
}

.academics-lead h1,
.academics-lead h2,
.academics-lead h3 {
	color: var(--wp--preset--color--contrast);
	display: inline-block;
	border-bottom: 4px solid var(--wp--preset--color--primary);
	padding-bottom: 4px;
}

.academics-lead h1.has-text-align-center,
.academics-lead h2.has-text-align-center,
.academics-lead h3.has-text-align-center {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 8px;
}

/* About video section */
.about-video-section {
	background-color: var(--wp--preset--color--secondary) !important;
}

/* Student Voices / Quote Pattern Section */
@media (max-width: 782px) {
	.quote-pattern-section {
		background-image: none !important;
		background-color: var(--wp--preset--color--bone) !important;
		min-height: auto !important;
	}
	
	.quote-pattern-section > .wp-block-group {
		background-color: transparent !important;
		padding: 0 !important;
	}
}

/* Purple accent underline */
.accent-underline-purple {
	display: inline-block;
	border-bottom: 4px solid var(--wp--preset--color--primary);
	padding-bottom: 4px;
}

.has-text-align-center.accent-underline-purple {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 4px solid var(--wp--preset--color--primary);
	padding-bottom: 8px;
}

/* Light blue accent underline */
.accent-underline-light-blue {
	display: block;
	width: fit-content;
	border-bottom: 4px solid var(--wp--preset--color--light-blue);
	padding-bottom: 4px;
}

.has-text-align-center.accent-underline-light-blue {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 4px solid var(--wp--preset--color--light-blue);
	padding-bottom: 8px;
}

/* Yellow accent underline */
.accent-underline-yellow {
	display: inline-block;
	border-bottom: 4px solid var(--wp--preset--color--accent);
	padding-bottom: 4px;
}

.has-text-align-center.accent-underline-yellow {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 4px solid var(--wp--preset--color--accent);
	padding-bottom: 8px;
}

/* Teal accent underline */
.accent-underline-teal {
	display: inline-block;
	border-bottom: 4px solid var(--wp--preset--color--teal);
	padding-bottom: 4px;
}

.has-text-align-center.accent-underline-teal {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 4px solid var(--wp--preset--color--teal);
	padding-bottom: 8px;
}

/* Pink accent underline */
.accent-underline-pink {
	display: inline-block;
	border-bottom: 4px solid var(--wp--preset--color--pink);
	padding-bottom: 4px;
}

.has-text-align-center.accent-underline-pink {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 4px solid var(--wp--preset--color--pink);
	padding-bottom: 8px;
}

/* Magenta accent underline */
.accent-underline-magenta {
	display: inline-block;
	border-bottom: 4px solid #ff8ad2;
	padding-bottom: 4px;
}

.has-text-align-center.accent-underline-magenta {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 4px solid #ff8ad2;
	padding-bottom: 8px;
}

/* Lime accent underline */
.accent-underline-lime {
	display: inline-block;
	border-bottom: 4px solid var(--wp--preset--color--lime);
	padding-bottom: 4px;
}

.has-text-align-center.accent-underline-lime {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 4px solid var(--wp--preset--color--lime);
	padding-bottom: 8px;
}

/* Coral accent underline */
.accent-underline-coral {
	display: block;
	width: fit-content;
	border-bottom: 4px solid #f55657;
	padding-bottom: 4px;
}

.has-text-align-center.accent-underline-coral {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 4px solid #f55657;
	padding-bottom: 8px;
}

/* Green accent underline */
.accent-underline-green {
	display: inline-block;
	border-bottom: 4px solid var(--wp--preset--color--green-light);
	padding-bottom: 4px;
}

.has-text-align-center.accent-underline-green {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 4px solid var(--wp--preset--color--green-light);
	padding-bottom: 8px;
}

/* Club Badges
---------------------------------------- */
.club-badge {
	display: inline-block;
	padding: 6px 20px;
	border-radius: 30px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	font-size: 1rem;
	line-height: 1.4;
	margin: 0 !important;
	cursor: default;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.club-badge:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.9);
}

/* Page Hero Cover Pattern
---------------------------------------- */
.page-hero-cover {
	min-height: 500px !important;
}

.page-hero-cover img {
	object-position: center center;
}

@media (min-width: 1200px) {
	.page-hero-cover {
		min-height: 600px !important;
	}
}

@media (max-width: 782px) {
	.page-hero-cover {
		min-height: 250px !important;
	}
}

/* Styled item list */
.styled-item-list {
	list-style: none;
	padding-left: 0;
}

.styled-item-list li {
	margin-bottom: 24px;
}

.styled-item-list .item-header {
	display: inline-block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 24px;
	font-weight: 900;
	line-height: var(--wp--custom--line-height--heading);
	color: var(--wp--preset--color--contrast);
	padding-bottom: 2px;
}

.styled-item-list .item-body {
	margin-top: 2px;
}

/* What Makes Us Different section */
@media (min-width: 782px) {
	.what-makes-us-different .wp-block-columns {
		align-items: center !important;
	}
}

/* What Makes Us Different section */
.has-contrast-background-color .wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	height: auto;
}

/* We Believe section */
@media (min-width: 782px) {
	.we-believe .wp-block-columns {
		align-items: center !important;
	}
}

/* We Believe section */
.has-contrast-background-color .wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	height: auto;
}

.we-believe p {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 900;
}

@media (max-width: 1279px) {
	.we-believe {
		padding: var(--wp--preset--spacing--medium) 40px !important;
	}
}

@media (max-width: 1000px) {
	.we-believe .wp-block-columns {
		flex-direction: column !important;
	}
	
	.we-believe .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
	}
	
	.we-believe .wp-block-image {
		width: 100%;
	}
	
	.we-believe .wp-block-image img {
		aspect-ratio: 3 / 2;
		object-fit: cover;
		width: 100%;
	}
	
	.we-believe p {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

@media (max-width: 782px) {
	.we-believe {
		padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--small) !important;
	}
}

/* Day in the Life — 2-column layout with square image */
.day-in-life-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	display: block;
}

@media (max-width: 1100px) {
	.day-in-life-columns.wp-block-columns {
		flex-direction: column !important;
	}
	.day-in-life-columns .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Personalized Support section — stack 3 columns at medium and below */
@media (max-width: 1100px) {
	.personalized-support-columns.wp-block-columns {
		flex-direction: column !important;
	}
	.personalized-support-columns .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* What Makes Us Different section */
@media (min-width: 782px) {
	.what-makes-us-different .wp-block-columns {
		align-items: center !important;
	}
}

@media (max-width: 1279px) {
	.what-makes-us-different {
		padding: var(--wp--preset--spacing--medium) 40px !important;
	}
}

@media (max-width: 1000px) {
	.what-makes-us-different .wp-block-columns {
		flex-direction: column !important;
	}
	
	.what-makes-us-different .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
	}
	
	.what-makes-us-different .wp-block-image {
		width: 100%;
	}
	
	.what-makes-us-different .wp-block-image img {
		aspect-ratio: 3 / 2;
		object-fit: cover;
		width: 100%;
	}

	.student-experience-columns .wp-block-column:last-child {
		order: -1;
	}
}

@media (max-width: 782px) {
	.what-makes-us-different {
		padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--small) !important;
	}
}

.has-contrast-background-color .wp-block-heading.has-light-blue-color {
	display: inline-block;
	border-bottom: 4px solid var(--wp--preset--color--accent);
	padding-bottom: 8px;
}

.has-contrast-background-color .wp-block-heading.has-light-blue-color.has-text-align-center {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.has-contrast-background-color .styled-item-list {
	list-style: none;
	padding-left: 0;
}

.has-contrast-background-color .styled-item-list li {
	margin-bottom: 24px;
}

/* Who Thrives Here section */
.has-teal-background-color .wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	height: auto;
}

.has-teal-background-color .wp-block-list li {
	font-size: 20px;
	line-height: 1.6;
}

/* Staff Grid
---------------------------------------- */

.staff-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.staff-card {
	text-align: center;
}

.staff-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.staff-card-link:hover {
	text-decoration: none;
}

.staff-card-image {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	margin-bottom: 16px;
	border: 4px solid var(--wp--preset--color--primary);
}

/* Staff card border color cycling */
.staff-card:nth-child(6n+1) .staff-card-image {
	border-color: var(--wp--preset--color--primary);
}

.staff-card:nth-child(6n+2) .staff-card-image {
	border-color: var(--wp--preset--color--secondary);
}

.staff-card:nth-child(6n+3) .staff-card-image {
	border-color: var(--wp--preset--color--light-blue);
}

.staff-card:nth-child(6n+4) .staff-card-image {
	border-color: var(--wp--preset--color--teal);
}

.staff-card:nth-child(6n+5) .staff-card-image {
	border-color: var(--wp--preset--color--pink);
}

.staff-card:nth-child(6n+6) .staff-card-image {
	border-color: var(--wp--preset--color--lime);
}

.staff-headshot {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s ease;
}

.staff-headshot-primary {
	position: relative;
	z-index: 1;
}

.staff-headshot-secondary {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	opacity: 0;
}

.staff-card-image.has-hover-image:hover .staff-headshot-secondary {
	opacity: 1;
}

.staff-card-image.has-hover-image:hover .staff-headshot-primary {
	opacity: 0;
}

.staff-card-content {
	padding: 0 10px;
}

.staff-name {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--font-weight--bold);
	margin: 0 0 4px 0;
	color: var(--wp--preset--color--contrast);
	line-height: 1.3;
}

.staff-pronouns {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast);
	opacity: 0.7;
}

.staff-role {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast);
	margin: 8px 0 0 0;
	line-height: 1.4;
}

.staff-card-link:hover .staff-name {
	color: var(--wp--preset--color--primary);
}

/* Staff Grid Responsive */
@media (max-width: 1100px) {
	.staff-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
	}
}

@media (max-width: 782px) {
	.staff-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
	
	.staff-name {
		font-size: var(--wp--preset--font-size--small);
	}
	
	.staff-role {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.staff-grid {
		grid-template-columns: 1fr;
		gap: 30px;
		max-width: 300px;
		margin: 0 auto;
	}
}

/* Staff Detail Page
---------------------------------------- */

.staff-header-role {
	text-align: center;
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--medium);
	margin: 10px 0 0 0;
	opacity: 0.9;
}

.staff-header-pronouns {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: normal;
	opacity: 0.8;
}

.staff-detail {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 40px;
	align-items: start;
}

.staff-detail-image img {
	width: 100%;
	height: auto;
	border-radius: 0;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 4px solid var(--wp--preset--color--primary);
}

.staff-detail-bio {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.7;
}

.staff-detail-bio p {
	margin-bottom: 1.5em;
}

/* Entry Navigation (post-to-post, used on blog and staff detail pages) */
.entry-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	gap: 20px;
}

.entry-nav-link {
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
	transition: color 0.2s ease;
}

.entry-nav-prev,
.entry-nav-next {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 45%;
}

.entry-nav-prev {
	text-align: left;
}

.entry-nav-next {
	text-align: right;
}

.entry-nav-direction {
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.6;
}

.entry-nav-name {
	font-weight: var(--wp--custom--font-weight--bold);
	font-size: var(--wp--preset--font-size--small);
}

.entry-nav-link:hover {
	color: var(--wp--preset--color--primary);
}

.entry-nav-placeholder {
	width: 45%;
}

/* Staff Detail Responsive */
@media (max-width: 782px) {
	.staff-detail {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.staff-detail-image {
		max-width: 100%;
		margin: 0;
	}

	.entry-nav-placeholder {
		display: none;
	}
}

/* Form with desktop padding */
@media (min-width: 782px) {
	.form-padded {
		padding-right: 30%;
	}
}

/* Steps list with numbered circles */
.steps-list {
	list-style: none;
	padding: 0;
	margin: 40px 0 0 0;
	counter-reset: step-counter;
}

.steps-list li {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 40px;
	color: var(--wp--preset--color--base);
}

.steps-list .step-content {
	display: flex;
	flex-direction: column;
}

.steps-list li::before {
	content: counter(step-counter);
	counter-increment: step-counter;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 48px;
	background-color: var(--wp--preset--color--light-blue);
	color: var(--wp--preset--color--contrast);
	border-radius: 50%;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 24px;
	font-weight: 700;
	flex-shrink: 0;
}

.steps-list .step-title {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.2;
	margin-bottom: 4px;
}

.steps-list .step-desc {
	display: block;
	font-size: var(--wp--preset--font-size--small);
	margin-top: 4px;
	opacity: 0.9;
}

.steps-list a {
	color: var(--wp--preset--color--base);
	text-decoration: underline;
}

.steps-list a:hover {
	color: var(--wp--preset--color--lime);
}

/* How to Apply section */
.how-to-apply-section .wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	height: auto;
}

@media (min-width: 1001px) {
	.how-to-apply-section .wp-block-image {
		padding-top: 50px;
	}
}

@media (max-width: 1000px) {
	.how-to-apply-section .wp-block-columns {
		flex-direction: column-reverse !important;
	}
	
	.how-to-apply-section .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Deadlines list */
.deadlines-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px 40px;
	align-items: stretch;
}

.deadlines-list li {
	padding: 16px 20px;
	background: #ffffff;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
}

.deadlines-list .item-header {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 4px;
	color: var(--wp--preset--color--primary);
}

.deadlines-list .item-body {
	font-size: 1.1rem;
}

@media (max-width: 600px) {
	.deadlines-list {
		grid-template-columns: 1fr;
	}
}

/* Video Modal
---------------------------------------- */

.video-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal-overlay.is-active {
	opacity: 1;
	visibility: visible;
}

.video-modal-content {
	position: relative;
	width: 90%;
	max-width: 1200px;
	aspect-ratio: 16 / 9;
}

.video-modal-content iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.video-modal-close {
	position: absolute;
	top: -50px;
	right: 0;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 40px;
	cursor: pointer;
	padding: 10px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.video-modal-close:hover {
	transform: scale(1.1);
}

.templeton-hero-video {
	cursor: pointer;
}

/* Consultation Modal
---------------------------------------- */
.consultation-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.consultation-modal-overlay.is-active {
	opacity: 1;
	visibility: visible;
}

.consultation-modal-content {
	background: var(--wp--preset--color--base);
	border-radius: 12px;
	padding: 40px;
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
}

.consultation-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: var(--wp--preset--color--contrast);
	line-height: 1;
	transition: transform 0.2s ease;
}

.consultation-modal-close:hover {
	transform: scale(1.1);
}

.consultation-modal-content h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--primary);
}

.consultation-modal-content p {
	margin-bottom: 20px;
	color: var(--wp--preset--color--contrast);
}

.consultation-form .form-field {
	margin-bottom: 15px;
}

.consultation-form label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
}

.consultation-form input,
.consultation-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 16px;
	font-family: inherit;
}

.consultation-form textarea {
	resize: vertical;
	min-height: 100px;
}

.consultation-form button[type="submit"] {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	border: none;
	border-radius: 30px;
	padding: 12px 30px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--medium);
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	width: 100%;
	margin-top: 10px;
}

.consultation-form button[type="submit"]:hover {
	background-color: var(--wp--preset--color--secondary);
}

.consultation-form .form-success {
	text-align: center;
	padding: 20px;
}

.consultation-form .form-success svg {
	color: var(--wp--preset--color--primary);
	margin-bottom: 15px;
}

/* What Makes Us Different Section - Image Focal Point */
@media (max-width: 1100px) {
	.what-makes-us-different .wp-block-image img {
		object-fit: cover;
		object-position: center top;
	}
}
