/**
 * D-Adapt Theme Main Stylesheet
 * 
 * @package D_Adapt
 */

/* ============================================
	1. NORMALIZE & RESET
	============================================ */
*, *::before, *::after {
	box-sizing: border-box;
}

html, body {
	width: 100%;
	height: 100%;
}

html {
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--d-adapt-font-body, 'Open Sans', sans-serif);
	font-size: 1rem;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
}

/* ============================================
	2. TYPOGRAPHY
	============================================ */

/* Reset common elements with default margins */
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, blockquote, pre {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	margin: 1em 0 0.5em 0;
	font-family: var(--d-adapt-font-primary, 'Montserrat', sans-serif);
	font-weight: 600;
	line-height: 1.2;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
	margin-top: 0;
	margin-bottom: 1em;
}

a {
	color: #0073aa;
	text-decoration: none;
	transition: color 0.2s ease-in-out;
}

a:hover,
a:focus {
	color: #005a87;
}

/* Reset lists */
ul, ol {
	margin: 0;
	padding: 0 0 0 2.5em;
}

li {
	margin: 0;
	padding: 0;
}

/* Reset tables */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ============================================
	3. LAYOUT
	============================================ */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.container {
	margin: 0 auto;
	padding: 0;
	max-width: 1200px;
}

.site-footer {
	background-color: #f5f5f5;
	border-top: 1px solid #e5e5e5;
	padding: 3rem 0 1rem;
	margin-top: 2rem;
}

.footer-content {
	margin: 0 auto;
	padding: 0 20px;
	max-width: 1200px;
}

.footer-widgets {
	margin-bottom: 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.site-info {
	text-align: center;
	font-size: 0.875rem;
	color: #666;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #e5e5e5;
}

/* ============================================
	4. POSTS & ARTICLES
	============================================ */
article {
	margin-bottom: 2rem;
}

.entry-header {
	margin-bottom: 1.5rem;
}

.entry-title {
	margin: 0 0 0.5rem 0;
}

.entry-meta {
	font-size: 0.875rem;
	color: #666;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	margin-top: 0.5rem;
	line-height: 1.5;
	justify-content: flex-start;
}

.entry-meta--center {
	justify-content: center;
}

.entry-meta--right {
	justify-content: flex-end;
}

.entry-meta a,
.entry-footer a {
	color: inherit;
	text-decoration: none;
}

.entry-meta .meta-separator {
	color: #999;
	user-select: none;
}

.post-featured-image {
	margin: 1.5rem 0 0;
	width: 100%;
	max-width: 100%;
	display: flex;
	justify-content: center;
}

.post-featured-image--left {
	justify-content: flex-start;
}

.post-featured-image--center {
	justify-content: center;
}

.post-featured-image--right {
	justify-content: flex-end;
}

.post-featured-image--full-width {
	justify-content: flex-start;
}

.post-featured-image--full-width .featured-image,
.entry-content img {
	max-width: 100%;
	height: auto;
	display: block;
	width: 100%;
}

.entry-content {
	margin: 1.5rem 0;
}

.entry-footer {
	font-size: 0.875rem;
	color: #666;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e5e5;
}

.entry-footer .tag-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.entry-footer .tag-links a {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	border-radius: 999px;
	background: #f5f5f5;
	border: 1px solid #e5e5e5;
}

.d-adapt-people-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

@media (max-width: 900px) {
	.d-adapt-people-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.d-adapt-people-grid {
		grid-template-columns: 1fr;
	}
}

.d-adapt-person-card {
	display: flex;
	flex-direction: column;
	background: #f8f8f8;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	height: 100%;
}

.d-adapt-person-link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.d-adapt-person-image {
	line-height: 0;
	background: #f0f0f0;
}

.d-adapt-person-photo {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
}

.d-adapt-person-content {
	padding: 1rem 1rem 1.25rem;
	text-align: center;
}

.d-adapt-person-name {
	margin: 0 0 0.35rem;
	font-family: var(--d-adapt-font-primary, 'Montserrat', sans-serif);
	font-size: 1.2rem;
	font-weight: 700;
	color: #ff6316;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.d-adapt-person-role {
	font-family: var(--d-adapt-font-body, 'Open Sans', sans-serif);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #444;
}

.d-adapt-person-single {
	padding: 2rem 0 0;
}

.d-adapt-person-single--full-width {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--d-adapt-people-background-color, #f5f5f5);
	padding-bottom: 1.5rem;
}

.d-adapt-person-single__inner {
	display: flex;
	align-items: stretch;
	gap: 2.25rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.25rem 2rem;
	border-top: 1px solid #d6d6d6;
	background: var(--d-adapt-people-background-color, #f5f5f5);
	box-sizing: border-box;
}

.d-adapt-person-single__inner--left {
	flex-direction: row-reverse;
}

.d-adapt-person-single__content,
.d-adapt-person-single__image-wrap {
	flex: 1 1 0;
}

.d-adapt-person-single__content {
	padding: 0.75rem 0 0.75rem 0.5rem;
}

.d-adapt-person-single__image-wrap {
	position: relative;
	max-width: var(--d-adapt-people-image-width, 52%);
	background-color: var(--d-adapt-people-background-color, #f5f5f5);
	overflow: hidden;
	align-self: center;
	padding-top: 2.5rem;
}

.d-adapt-person-single__image {
	display: block;
	width: 100%;
	height: var(--d-adapt-people-image-height, 620px);
	object-fit: cover;
	background-color: var(--d-adapt-people-background-color, #f5f5f5);
	filter: none;
	border-radius: 0;
}

.d-adapt-person-single__name {
	margin: 0;
	font-family: var(--d-adapt-font-primary, 'Montserrat', sans-serif);
	font-size: 2rem;
	line-height: 0.95;
	font-weight: 800;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	color: inherit;
}

.d-adapt-person-single__role {
	margin-top: 1.2rem;
	font-family: var(--d-adapt-font-body, 'Open Sans', sans-serif);
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	color: var(--d-adapt-primary, #0073aa);
}

.d-adapt-person-single__bio {
	margin-top: 1.8rem;
	max-width: 820px;
	font-size: 1.05rem;
	line-height: 1.7;
	color: inherit;
}

.d-adapt-person-single__bio p {
	margin: 0 0 1em;
}

.d-adapt-person-nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0 0.5rem;
	z-index: 2;
}

.d-adapt-person-nav--both {
	justify-content: space-between;
}

.d-adapt-person-nav--prev-only {
	justify-content: flex-start;
}

.d-adapt-person-nav--next-only,
.d-adapt-person-nav--single {
	justify-content: flex-end;
}

.d-adapt-person-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--d-adapt-font-primary, 'Montserrat', sans-serif);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--d-adapt-primary, #0073aa);
	text-decoration: none;
	line-height: 1;
}

.d-adapt-person-nav__link:hover,
.d-adapt-person-nav__link:focus {
	color: var(--d-adapt-primary-dark, #005a87);
}

.d-adapt-person-nav__arrow {
	font-size: 2.5rem;
	line-height: 1;
}

.d-adapt-person-nav__label {
	font-size: 1.3rem;
}

@media (max-width: 900px) {
	.d-adapt-person-single__inner,
	.d-adapt-person-single__inner--left {
		flex-direction: column;
	}

	.d-adapt-person-single__image-wrap {
		max-width: 100%;
	}
}

/* ============================================
	5A. QUOTE BLOCKS
	============================================ */
/* Default quote block styling */
.entry-content blockquote {
	margin: 1.5rem 0;
	padding: 0;
}

/* Large opening quote with indented text */
blockquote.wp-block-quote.has-large-quote-style {
	margin: 0;
	padding: 1rem 1.5rem 1.5rem 1.5rem;
	position: relative;
	background-color: #f9f9f9;
	border-left: 5px solid #0073aa;
	border-radius: 2px;
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 0.5rem;
	align-items: start;
}

blockquote.wp-block-quote.has-large-quote-style::before {
	content: '"';
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 3rem;
	font-weight: normal;
	line-height: 0.9;
	color: #0073aa;
	opacity: 0.2;
	grid-column: 1;
	grid-row: 1;
	padding: 0;
	margin: 0;
}

blockquote.wp-block-quote.has-large-quote-style p {
	margin: 0;
	padding: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: #444;
	font-style: normal;
	font-weight: 400;
	font-family: var(--d-adapt-font-body, 'Open Sans', sans-serif);
	letter-spacing: 0;
	grid-column: 2;
}

blockquote.wp-block-quote.has-large-quote-style p:first-of-type {
	grid-row: 1;
	margin: 0;
}

blockquote.wp-block-quote.has-large-quote-style p + p {
	grid-column: 2;
	margin-top: 0.75rem;
}

blockquote.wp-block-quote.has-large-quote-style cite,
blockquote.wp-block-quote.has-large-quote-style .wp-block-quote__citation {
	display: block;
	grid-column: 2;
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid #ddd;
	font-style: normal;
	font-size: 0.9rem;
	font-weight: 600;
	color: #444;
	background-color: #f9f9f9;
	font-family: var(--d-adapt-font-body, 'Open Sans', sans-serif);
	text-transform: none;
	letter-spacing: 0;
}

/* ============================================
	6. PAGES & ARCHIVES
	============================================ */
.page-header {
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #e5e5e5;
}

.page-title {
	margin: 0;
}

.archive-description {
	margin-top: 1rem;
	color: #666;
}

/* ============================================
	7. WIDGETS
	============================================ */
.widget {
	margin-bottom: 2rem;
}

.widget-title {
	margin: 0 0 1rem 0;
	font-family: var(--d-adapt-font-primary, 'Montserrat', sans-serif);
	font-size: 1.125rem;
	font-weight: 600;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	margin-bottom: 0.5rem;
}

/* ============================================
	8. FORMS
	============================================ */
form {
	margin: 1rem 0;
}

input[type="text"],
input[type="email"],
input[type="search"],
textarea {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-family: inherit;
	font-size: 1rem;
}

input[type="submit"],
button {
	padding: 0.5rem 1rem;
	background-color: #0073aa;
	color: white;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.2s ease-in-out;
}

input[type="submit"]:hover,
button:hover {
	background-color: #005a87;
}

/* ============================================
	9. COMMENTS
	============================================ */
.comments-area {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e5e5;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e5e5e5;
}

/* ============================================
	10. UTILITY CLASSES
	============================================ */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.no-results {
	text-align: center;
	padding: 2rem 0;
}

/* ============================================
	11. HOME PAGE & POST CARDS
	============================================ */

.home-page {
	padding: 0 0 3rem;
}

.home-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 2rem;
}

.home-content-wrapper.has-sidebar {
	grid-template-columns: 1fr 300px;
}

.home-content-wrapper:not(.has-sidebar) {
	grid-template-columns: 1fr;
}

.home-sidebar {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.featured-posts {
	margin-bottom: 3rem;
}

.d-adapt-home-page-widgets {
	margin: 2rem 0;
	padding: 1.5rem 0;
}

.d-adapt-home-page-widgets .widget {
	margin: 0 0 1rem;
}

.d-adapt-home-page-widgets .widget:last-child {
	margin-bottom: 0;
}

.d-adapt-spotlights {
	width: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	background: var(--d-adapt-spotlights-background-color, #f5f5f5);
}

.d-adapt-spotlights--full-width {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.d-adapt-spotlights__inner {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 1.5rem 20px 1.5rem;
}

.d-adapt-spotlights__header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem 2rem;
	margin-bottom: 1.25rem;
	position: relative;
}

.d-adapt-spotlights__title {
	grid-column: 2;
	margin: 0;
	line-height: 1;
	letter-spacing: -0.04em;
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
	color: #373737;
}

.d-adapt-spotlights__tagline {
	grid-column: 2;
	line-height: 1.4;
	text-align: center;
	color: #4d4d4d;
}

.d-adapt-spotlights__description {
	margin: 0;
	max-width: 860px;
	font-size: clamp(1.05rem, 1.4vw, 1.7rem);
	line-height: 1.5;
	text-align: center;
	color: #4d4d4d;
}

.d-adapt-feature-pages {
	width: 100%;
	margin-top: 2.5rem;
}

.d-adapt-feature-pages__grid {
	display: grid;
	grid-template-columns: repeat(var(--d-adapt-feature-pages-count, 3), minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.d-adapt-feature-page-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid #d9d9d9;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
	overflow: hidden;
	font-family: var(--d-adapt-font-body, 'Open Sans', sans-serif);
}

.d-adapt-feature-page-card__link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.d-adapt-feature-page-card__content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 1.1rem 1.15rem 0.8rem;
	background: #fff;
}

.d-adapt-feature-page-card__content--body {
	padding-top: 0;
	padding-bottom: 1.3rem;
}

.d-adapt-feature-page-card__title {
	margin: 0 0 0.5rem;
	font-family: var(--d-adapt-font-primary, 'Montserrat', sans-serif);
	font-size: clamp(1.05rem, 1.4vw, 1.8rem);
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: #ff6316;
}

.d-adapt-feature-page-card__image-wrap {
	position: relative;
	height: 260px;
	overflow: hidden;
	background: #ededed;
	border-top: 1px solid #d9d9d9;
	border-bottom: 1px solid #d9d9d9;
}

.d-adapt-feature-page-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.d-adapt-feature-page-card__text {
	margin: 0;
	font-family: var(--d-adapt-font-body, 'Open Sans', sans-serif);
	font-size: 1rem;
	line-height: 1.6;
	color: #4a4a4a;
	text-align: left;
}

.d-adapt-spotlights__nav {
	display: flex;
	grid-column: 3;
	justify-self: end;
	align-items: center;
	gap: 0.75rem;
	position: static;
}

.d-adapt-spotlights__nav-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: 0;
	background: transparent;
	color: #777777;
	font-size: 2.2rem;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.d-adapt-spotlights__nav-button:hover,
.d-adapt-spotlights__nav-button:focus {
	background: transparent;
	color: #222222;
}

.d-adapt-spotlights-directory {
	margin-top: 2.5rem;
}

.d-adapt-spotlights-directory__header {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 1.25rem;
}

.d-adapt-spotlights-directory__nav {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.d-adapt-spotlights-directory__nav-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border: 1px solid #d9d9d9;
	background: #ffffff;
	color: #333333;
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.d-adapt-spotlights-directory__nav-button:hover,
.d-adapt-spotlights-directory__nav-button:focus {
	background: #f5f5f5;
	border-color: #bbbbbb;
}

.d-adapt-spotlights-directory__nav-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.d-adapt-spotlights-directory__grid {
	display: grid;
	grid-template-columns: repeat(var(--d-adapt-spotlights-directory-columns, 3), minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.d-adapt-spotlights__viewport {
	overflow: hidden;
	width: 100%;
}

.d-adapt-spotlights__track {
	display: flex;
	gap: 1.5rem;
	transition: transform 0.35s ease-in-out;
	width: max-content;
	will-change: transform;
}

.d-adapt-spotlights__slide {
	flex: 0 0 auto;
	width: auto;
	min-width: 0;
	max-width: none;
}

.d-adapt-spotlights__grid {
	display: grid;
	grid-template-columns: repeat(var(--d-adapt-spotlights-columns), minmax(0, 1fr));
	grid-template-rows: repeat(var(--d-adapt-spotlights-rows), minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.d-adapt-spotlight-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid #d9d9d9;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
	overflow: hidden;
	border-radius: 0;
	font-family: var(--d-adapt-font-body, 'Open Sans', sans-serif);
}

.d-adapt-spotlight-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.d-adapt-spotlight-card__image-wrap {
	position: relative;
	height: 260px;
	overflow: hidden;
	background: #ededed;
	border-bottom: 1px solid #d9d9d9;
}

.d-adapt-spotlight-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.01);
}

.d-adapt-spotlight-card__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 1.1rem 1.15rem 1.3rem;
	text-align: center;
	min-height: 110px;
	flex: 1 1 auto;
}

.d-adapt-spotlight-card__title {
	margin: 0 0 0.35rem;
	font-family: var(--d-adapt-font-primary, 'Montserrat', sans-serif);
	font-size: clamp(1.05rem, 1.3vw, 1.7rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: #ff6316;
	text-align: center;
}

.d-adapt-spotlight-card__subtitle {
	margin: 0;
	font-family: var(--d-adapt-font-body, 'Open Sans', sans-serif);
	font-size: 0.98rem;
	line-height: 1.5;
	color: #4a4a4a;
	text-align: center;
}

.d-adapt-spotlight-single {
	padding: 2rem 0 0;
}

.d-adapt-spotlight-single__featured {
	margin: 0 0 2rem;
}

.d-adapt-spotlight-single__featured-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: cover;
	background: #ededed;
}

.d-adapt-spotlight-single__header {
	margin-bottom: 1.5rem;
}

.d-adapt-spotlight-single__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ff6316;
}

.d-adapt-spotlight-single__title {
	margin: 0;
	font-size: clamp(2.2rem, 3vw, 3.5rem);
	line-height: 1.02;
	letter-spacing: -0.05em;
	font-weight: 800;
	text-transform: uppercase;
	color: #1b1b1b;
}

.d-adapt-spotlight-single__body {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	gap: 2.5rem;
	align-items: start;
}

.d-adapt-spotlight-single__content {
	font-size: 1.05rem;
	line-height: 1.8;
	color: #2a2a2a;
	margin: 0;
}

.d-adapt-spotlight-single__content > :first-child {
	margin-top: 0;
}

.d-adapt-spotlight-single__sidebar {
	align-self: start;
}

.d-adapt-spotlight-single__quote {
	margin: 0;
}

.d-adapt-spotlight-single__nav {
	justify-content: flex-end;
	margin-top: 2rem;
	margin-bottom: 0;
}

.d-adapt-spotlight-single__nav .d-adapt-spotlights__nav-button {
	text-decoration: none;
}

.d-adapt-spotlight-related {
	margin-top: 4rem;
}

.d-adapt-spotlight-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

@media (max-width: 900px) {
	.d-adapt-spotlight-related__grid {
		grid-template-columns: 1fr;
	}
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
}

.post-card {
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
	display: flex;
	flex-direction: column;
}

.post-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.post-card-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease-in-out;
}

.post-card:hover .post-card-image img {
	transform: scale(1.05);
}

.post-card-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.5rem;
	gap: 1rem;
}

.post-card-header {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.post-card-title {
	margin: 0;
	font-family: var(--d-adapt-font-primary, 'Montserrat', sans-serif);
	font-size: 1.25rem;
	font-weight: 600;
}

.post-card-title a {
	color: #333333;
	text-decoration: none;
}

.post-card-title a:hover,
.post-card-title a:focus {
	color: #0073aa;
}

.post-card-meta {
	display: flex;
	gap: 1rem;
	font-family: var(--d-adapt-font-body, 'Open Sans', sans-serif);
	font-size: 0.875rem;
	color: #999999;
}

.post-card-excerpt {
	flex: 1;
	font-family: var(--d-adapt-font-body, 'Open Sans', sans-serif);
	font-size: 0.95rem;
	line-height: 1.5;
	color: #666666;
}

.post-card-excerpt p {
	margin: 0;
	margin-bottom: 0.5rem;
}

.post-card-excerpt p:last-child {
	margin-bottom: 0;
}

.post-card-footer {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid #f0f0f0;
}

.read-more-link {
	color: #0073aa;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease-in-out;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.read-more-link:hover,
.read-more-link:focus {
	color: #005a87;
}

/* ============================================
	12. HERO SECTION
	============================================ */

.hero {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: grid;
	align-items: center;
	justify-items: center;
	margin-bottom: 3rem;
	margin-top: 2rem;
	border-radius: 4px;
	overflow: hidden;
	padding-top: 0;
	width: 100%;
	left: 0;
	right: 0;
}

body.home-header-bar-hidden .site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: transparent;
	border-bottom: 0;
	padding: 0;
	width: 100%;
}

/* Adjust header position when WordPress admin bar is present */
body:has(#wpadminbar).home-header-bar-hidden .site-header {
	top: 32px; /* Shift down by admin bar height */
}

body.home-header-bar-hidden .site-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

body.home-header-bar-hidden .site-branding img {
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

/* Override menu styling for home page header-hidden state */
body.home-header-bar-hidden .main-navigation a,
body.home-header-bar-hidden .menu-toggle,
body.home-header-bar-hidden .site-title a,
body.home-header-bar-hidden .site-description {
	color: var(--d-adapt-menu-text-color, #ffffff) !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

body.home-header-bar-hidden .main-navigation a:hover,
body.home-header-bar-hidden .main-navigation a:focus {
	color: var(--d-adapt-menu-text-color, #ffffff) !important;
	border-bottom-color: var(--d-adapt-menu-text-color, #ffffff);
}

body.home-header-bar-hidden .skip-link {
	display: none;
}

body.home-header-bar-hidden .site {
	padding-top: 0;
	margin-top: 0;
}

body.home-header-bar-hidden .hero {
	margin-top: 0 !important;
	padding-top: 108px !important;
	z-index: 1;
	margin-bottom: 0;
}

/* Adjust hero padding when WordPress admin bar is present */
body:has(#wpadminbar).home-header-bar-hidden .hero {
	padding-top: 140px !important; /* 108px + 32px for admin bar */
}

/* Ensure menu styling is applied on home page with header shown */
body:not(.home-header-bar-hidden) .main-navigation a {
	color: var(--d-adapt-menu-text-color, #333333);
}

/* Also apply menu styling to all page types */
body .main-navigation li > a {
	color: var(--d-adapt-menu-text-color, #333333);
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	color: #ffffff;
	padding: 2rem;
	max-width: 600px;
}

/* Hero positioning classes for title alignment (compass points) */
.hero-content.hero-align-center {
	margin: auto;
}

.hero-content.hero-align-left {
	margin-left: 0;
	margin-right: auto;
	text-align: left;
	margin-top: auto;
	margin-bottom: auto;
}

.hero-content.hero-align-right {
	margin-left: auto;
	margin-right: 0;
	text-align: right;
	margin-top: auto;
	margin-bottom: auto;
}

.hero-content.hero-align-top {
	margin-top: 0;
	margin-bottom: auto;
	padding-top: 3rem;
}

.hero-content.hero-align-bottom {
	margin-top: auto;
	margin-bottom: 0;
	padding-bottom: 3rem;
}

.hero-content.hero-align-middle {
	margin-top: auto;
	margin-bottom: auto;
}

.hero-title {
	margin: 0 0 1rem 0;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.1;
}

.hero-subtitle {
	margin: 0 0 1.5rem 0;
	font-size: 1.25rem;
	line-height: 1.4;
	opacity: 0.95;
}

/* Hero Info Overlay */
.heroinfo {
	position: absolute;
	z-index: 15;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	font-size: 1rem;
	line-height: 1.6;
	text-align: left;
	height: auto;
	white-space: normal;
	box-sizing: border-box;
}

.heroinfo span {
	display: block;
}

/* Hero Info Position Variants */
.heroinfo-bottom {
	bottom: 0;
	left: 50%;
	right: auto;
	top: auto;
	transform: translateX(-50%);
	text-align: left;
}

.heroinfo-top {
	top: 0;
	left: 50%;
	right: auto;
	bottom: auto;
	transform: translateX(-50%);
	text-align: left;
}

.heroinfo-left {
	left: 0;
	top: 50%;
	bottom: auto;
	right: auto;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: left;
}

.heroinfo-right {
	right: 0;
	top: 50%;
	bottom: auto;
	left: auto;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: left;
}

.heroinfo-center {
	top: 50%;
	left: 50%;
	right: auto;
	bottom: auto;
	transform: translate(-50%, -50%);
	text-align: center;
}

/* ============================================
	12. RESPONSIVE HOME PAGE
	============================================ */
@media (max-width: 768px) {
	html {
		font-size: 14px;
	}

	h1 { font-size: 1.75rem; }
	h2 { font-size: 1.5rem; }
	h3 { font-size: 1.25rem; }
	h4 { font-size: 1.125rem; }

	.container {
		padding: 0 15px;
	}

	/* Home page responsive */
	.home-content-wrapper {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.home-sidebar {
		order: 2;
	}

	.posts-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 1.5rem;
	}

	.featured-title {
		font-size: 1.5rem;
		margin-bottom: 1.5rem;
	}

	.hero {
		margin-bottom: 2rem;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	html {
		font-size: 13px;
	}

	h1 { font-size: 1.5rem; }
	h2 { font-size: 1.25rem; }
	h3 { font-size: 1.125rem; }

	.posts-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.post-card-content {
		padding: 1rem;
	}

	.post-card-image {
		height: 150px;
	}

	.hero {
		margin-bottom: 1.5rem;
	}

	.hero-title {
		font-size: 1.5rem;
		margin-bottom: 0.5rem;
	}

	.hero-subtitle {
		font-size: 0.9rem;
		margin-bottom: 1rem;
	}

	body.home-header-bar-hidden .hero {
		padding-top: 90px;
	}
}

/* ============================================
	SITE WIDTH MODIFIERS
	============================================ */

/* Full width - no max-width constraint */
body.site-width-full .container,
body.site-width-full .footer-content {
	max-width: none;
	width: 100%;
	padding: 0 20px;
}

/* Large - 1200px (default) */
body.site-width-large .container,
body.site-width-large .footer-content {
	max-width: 1200px;
}

/* Medium - 1000px */
body.site-width-medium .container,
body.site-width-medium .footer-content {
	max-width: 1000px;
}

/* Small - 800px */
body.site-width-small .container,
body.site-width-small .footer-content {
	max-width: 800px;
}

/* Custom width - applied via inline styles from functions.php */

/* ============================================
	CONDITIONAL WIDTH - APPLYING TO FOOTER ONLY
	============================================ */

/* Apply width constraints to footer when checkbox is enabled */
body.width-applies-to-header-footer.site-width-large .footer-content {
	max-width: 1200px;
}

body.width-applies-to-header-footer.site-width-medium .footer-content {
	max-width: 1000px;
}

body.width-applies-to-header-footer.site-width-small .footer-content {
	max-width: 800px;
}

/* ============================================
	CONDITIONAL WIDTH - APPLYING TO HERO
	============================================ */

/* Center hero section when width constraint is applied */
body.width-applies-to-hero .hero,
body.width-applies-to-hero .hero-content {
	margin-left: auto;
	margin-right: auto;
	left: auto;
	right: auto;
}