/* ─────────────────────────────────────────────────────
   MODDERSHALL OAKS — BASE STYLES
   ───────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────
   BACKGROUND UTILITY CLASSES
   ───────────────────────────────────────────────────── */
.bg-mo-primary   { background: var(--mo-color-primary); }
.bg-mo-secondary { background: var(--mo-color-secondary); }
.bg-mo-accent    { background: var(--mo-color-accent); }
.bg-mo-dark      { background: var(--mo-color-dark); }
.bg-mo-mid       { background: var(--mo-color-mid); }
.bg-mo-subtle    { background: var(--mo-color-subtle); }
.bg-mo-light     { background: var(--mo-color-light); }
.bg-mo-sage      { background: var(--mo-color-sage); }
.bg-mo-white     { background: var(--mo-color-white); }

/* ─────────────────────────────────────────────────────
   TEXT COLOR UTILITY CLASSES
   ───────────────────────────────────────────────────── */
.color-mo-primary   { color: var(--mo-color-primary); }
.color-mo-secondary { color: var(--mo-color-secondary); }
.color-mo-accent    { color: var(--mo-color-accent); }
.color-mo-dark      { color: var(--mo-color-dark); }
.color-mo-mid       { color: var(--mo-color-mid); }
.color-mo-subtle    { color: var(--mo-color-subtle); }
.color-mo-light     { color: var(--mo-color-light); }
.color-mo-sage      { color: var(--mo-color-sage); }
.color-mo-white     { color: var(--mo-color-white); }

p.text-primary,
.text-primary p {
    color: var(--mo-color-primary);
}


* {
    box-sizing: border-box;
    /* Mutes the grey tap flash mobile browsers draw over tapped links/rows */
    -webkit-tap-highlight-color: transparent;
}

/* Keyboard focus ring */
:focus-visible {
    outline: 0.125rem solid var(--mo-color-primary);
    outline-offset: 0.125rem;
    border-radius: 0.125rem;
}

html {
    height: 100%;
    scroll-behavior: smooth;
    font-size: 16px;
}

@media only screen and (min-width: 1921px) {
    html {
        font-size: 0.833vw;
    }
}

body {
    color: var(--mo-color-text);
    background-color: var(--mo-color-background);
    font-family: var(--mo-font-body);
    font-size: var(--mo-font-size-body); /* 18px */
    line-height: 1.5; /* 27px */
    font-weight: 400;
    height: 100%;
    margin: 0;
    min-height: 100%;
}
@media only screen and (max-width: 767px) {

	body{
		font-size: 1rem; /* 16px / 24px */
	}

}
body.no-scroll{ 
	overflow: hidden;
}
/* Screen reader only */
.sr-only,
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
img, svg {
    vertical-align: middle;
	max-width: 100%;
	height: auto;
}
.media img{
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: 0.5s all ease;
}
.image-hover img{
    transition: 0.5s all ease;
	transform: scale(1);
}
.image-hover:hover img{
    transform: scale(1.10);
}
.media picture {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
}
.media iframe,
.media video {
    height: 100%;
    object-fit: cover;
}
iframe, video {
    width: 100%;
    max-width: 100%;
}
#page {
	overflow-x: clip;
}
a {
    color: var(--mo-color-link);
    font-weight: 400;
    text-decoration: underline;
    transition: 0.5s all ease;
}
button, input, textarea, select {
    outline: none;
    box-shadow: none;
}
a[href^=tel] {
    text-decoration: inherit;
}

strong a,
b a {
    font-weight: inherit;
    text-decoration: none;
}

.media-text-text a:hover,
.media-text-text a:focus-visible,
.faq-answer a:hover,
.faq-answer a:focus-visible {
    color: var(--mo-color-accent);
}
.underline-text{
	text-decoration: underline;
}
p{
    margin-top: 0;
    margin-bottom: 0.9375rem; /* 15px */
}
p:last-child,
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
	margin-bottom: 0;
}

p strong,
b {
    font-weight: 600;
}

ul {
    padding-left: 1.875rem;
}
/* Type scale */
h1,.h1-style,
h2,.h2-style,
h3,.h3-style,
h4,.h4-style,
h5,.h5-style,
h6,.h6-style {
	color: var(--mo-color-heading);
	font-family: var(--mo-font-heading);
	margin-top: 0;
	margin-bottom: 0.9375rem; /* 15px */
	font-weight: 400;
	line-height: 1.2;
}
h1,
.h1-style {
	font-size: 4.5rem; /* 72px */
}
h2,
.h2-style {
	font-size: 3.375rem; /* 54px */
}
h3,
.h3-style {
	font-size: 2.5625rem; /* 41px */
}
h4,
.h4-style {
	font-size: 1.875rem; /* 30px */
}
h5,
.h5-style {
	font-size: 1.4375rem; /* 23px */
}
h6,.h6-style {
	font-size: 1.125rem; /* 18px */
}
@media only screen and (max-width:1399px) {
	h1,
	.h1-style {
		font-size: 4rem; /* 64px */
	}
	h2,
	.h2-style {
		font-size: 3rem; /* 48px */
	}
	h3,
	.h3-style {
		font-size: 2.25rem; /* 36px */
	}
}
@media only screen and (max-width:1199px) {
	h1,
	.h1-style {
		font-size: 3.75rem; /* 60px */
	}
	h2,
	.h2-style {
		font-size: 2.875rem; /* 46px */
	}
	h4,
	.h4-style {
		font-size: 1.625rem; /* 26px */
	}
}
@media only screen and (max-width: 767px) {
	h1,
	.h1-style {
		font-size: 3.375rem; /* 54px */
	}
	h2,
	.h2-style {
		font-size: 2.5625rem; /* 41px */
	}
	h3,
	.h3-style {
		font-size: 1.875rem; /* 30px */
	}
	h4,
	.h4-style {
		font-size: 1.4375rem; /* 23px */
	}
	h5,
	.h5-style {
		font-size: 1.125rem; /* 18px */
	}
	h6,
	.h6-style {
		font-size: 1rem; /* 16px */
	}
}

/* Script accent */
.script-style {
	font-family: var(--mo-font-script);
	font-size: 2.5625rem; /* 41px / 49.2px */
	font-weight: 400;
	line-height: 1.2;
}
@media only screen and (max-width: 767px) {
	.script-style {
		font-size: 1.75rem; /* 28px */
		line-height: 1.5;
	}
}

/* Small text */
.text-small {
	font-size: var(--mo-font-size-small); /* 15px */
	line-height: 1.5;
	letter-spacing: 0.04em; /* 0.6px */
}

.card-grid {
	display: grid;
	gap: 1.25rem; /* 20px */
	align-items: stretch;
}
.columns-2{
	grid-template-columns: repeat(2, 1fr);
}
.columns-3{
	grid-template-columns: repeat(3, 1fr);
}
.columns-4{
	grid-template-columns: repeat(4, 1fr);
}
.columns-5{
	grid-template-columns: repeat(5, 1fr);
}
@media only screen and (max-width: 991px) {
	.columns-4,
	.columns-5 {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media only screen and (max-width: 767px) {
	.columns-2,
	.columns-3,
	.columns-4,
	.columns-5 {
		grid-template-columns: 1fr;
	}
}
.mc-container {
	max-width: var(--mo-container-max);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
/* Adds the gutter to max-width so content keeps the full container width (border-box) */
.mc-container.layout-padding {
	max-width: calc(var(--mo-container-max) + 2 * var(--mo-layout-padding));
}
.layout-padding {
	padding-left: var(--mo-layout-padding); /* 24px */
	padding-right: var(--mo-layout-padding);
}

.layout-margin {
	margin-left: 1.5625rem; /* 25px */
	margin-right: 1.5625rem; /* 25px */
}


@media only screen and (max-width: 767px) {
	
	.layout-padding.layout-padding0 {
		padding-left: 0;
		padding-right: 0;
	}
	.layout-padding-mobile {
		padding-left: 1.5625rem; /* 25px */
		padding-right: 1.5625rem; /* 25px */
	}
	.layout-margin-mobile {
		margin-left: 1.5625rem; /* 25px */
		margin-right: 1.5625rem; /* 25px */
	}
}

@media only screen and (min-width: 1200px) {

	.layout-margin {
		margin-left: 2rem; /* 32px */
		margin-right: 2rem; /* 32px */
	}
}
@media only screen and (min-width: 1600px) {

	.layout-margin{
        margin-left: 3.125rem; /* 50px */
		margin-right: 3.125rem; /* 50px */
    }

}


/* Global Slick Arrow Container */
.moddershall-oaks-slick-arrow-container {
	display: flex;
	gap: 2.625rem; /* 42px */
	justify-content: center;
	align-items: center;
	margin-top: 3.125rem; /* 50px */
}

/* Responsive - Mobile */
@media only screen and (max-width: 767px) {
	.moddershall-oaks-slick-arrow-container {
		flex-wrap: wrap;
		column-gap: 3.625rem; /* 58px */
		row-gap: 1.5625rem; /* 25px */
		margin-top: 1.25rem; /* 20px */
	}
	.moddershall-oaks-slick-arrow-container .section-cta {
		order: 3;
		width: 100%;
		text-align: center;
	}
}

/* Pagination Style Start */

.pagination {
	margin-top: 6.25rem;
}
.pagination .page-numbers {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 1.875rem; /* 30px */
}
.pagination .page-numbers .page-numbers {
	text-decoration: none;
	color: var(--mo-color-dark);
	width: 2.375rem;
	height: 2.375rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0.063rem solid transparent;
	border-radius: 50%;
	font-weight: 400;
	transition: background-color var(--mo-transition), color var(--mo-transition);
}
.pagination .page-numbers .page-numbers:not(.current):hover {
	background-color: var(--mo-color-subtle);
	color: var(--mo-color-primary);
}
.pagination .page-numbers .page-numbers.current {
	color: var(--mo-color-light);
	background-color: var(--mo-color-primary);
	font-weight: 700;
}
.pagination .prev span, .pagination .next span {
	display: flex;
	align-items: center;
}

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

	.pagination{
		margin-top: 4.375rem; /* 70px */
	}

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

	.pagination{
		margin-top: 3.125rem; /* 50px */
	}
	.pagination .page-numbers {
		column-gap: .625rem; /* 10px */
	}
	.pagination .page-numbers .page-numbers {
		width: 2rem; /* 32px */
		height: 2rem; /* 32px */
		font-size: 0.875rem; /* 14px */
	}
	.pagination .prev svg,
	.pagination .next svg {
		width: 1rem; /* 16px */
	}
}

/* Pagination Style End */

/* ─────────────────────────────────────────────────────
   CONTENT TYPOGRAPHY
   ───────────────────────────────────────────────────── */

/* ── Vertical rhythm ────────────────────────────────────────────────────── */

.entry-content p {
	margin-bottom: 1.25rem;
}

.entry-content p:has(> img) {
	margin-bottom: 1.75rem;
}

.entry-content * + h2 { margin-top: 2.5rem; }
.entry-content * + h3 { margin-top: 2rem; }
.entry-content * + h4,
.entry-content * + h5,
.entry-content * + h6 { margin-top: 1.5rem; }

.entry-content h2 + h3,
.entry-content h3 + h4,
.entry-content h4 + h5,
.entry-content h5 + h6 {
	margin-top: 0.75rem;
}

/* Lists */
.entry-content ul,
.entry-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
}
.entry-content li {
	margin-bottom: 0.375rem;
}
.entry-content li > ul,
.entry-content li > ol {
	margin-top: 0.375rem;
	margin-bottom: 0;
}

/* Blockquote */
.entry-content blockquote {
	border-left: 0.25rem solid var(--mo-color-primary);
	padding: 1rem 1.5rem;
	margin: 1.75rem 0;
	background-color: var(--mo-color-subtle);
	border-radius: 0 var(--mo-border-radius-sm) var(--mo-border-radius-sm) 0;
	font-size: 1.125rem;
	font-style: italic;
}
.entry-content blockquote p:last-child {
	margin-bottom: 0;
}
.entry-content blockquote cite {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 600;
	color: var(--mo-color-mid);
}
.entry-content blockquote cite::before {
	content: '— ';
}

/* Inline code */
.entry-content :not(pre) > code {
	font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, monospace;
	font-size: 0.875em;
	background-color: var(--mo-color-subtle);
	color: var(--mo-color-primary);
	padding: 0.15em 0.4em;
	border-radius: 0.25rem;
}

/* Code block */
.entry-content pre {
	font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, monospace;
	font-size: 0.9375rem;
	line-height: 1.6;
	background-color: var(--mo-color-dark);
	color: var(--mo-color-subtle);
	padding: 1.25rem 1.5rem;
	border-radius: var(--mo-border-radius);
	overflow-x: auto;
	margin: 1.75rem 0;
}
.entry-content pre code {
	font-family: inherit;
	font-size: inherit;
	background: none;
	color: inherit;
	padding: 0;
	border-radius: 0;
}

/* Table */
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.75rem 0;
	font-size: 0.9375rem;
}
.entry-content th,
.entry-content td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 0.0625rem solid var(--mo-color-subtle);
}
.entry-content th {
	font-weight: 700;
	background-color: var(--mo-color-subtle);
	border-bottom-color: var(--mo-color-mid);
	border-bottom-width: 0.125rem;
}
.entry-content tbody tr:hover td {
	background-color: var(--mo-color-subtle);
}

/* Horizontal rule */
.entry-content hr {
	border: none;
	border-top: 0.0625rem solid var(--mo-color-mid);
	margin: 2.5rem 0;
	opacity: 0.2;
}

/* Figure + caption */
.entry-content figure {
	margin: 1.75rem 0;
}
.entry-content figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--mo-color-mid);
	font-style: italic;
	text-align: center;
}
.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--mo-border-radius-sm);
}

/* WordPress image alignment classes */
.entry-content .alignleft {
	float: left;
	margin: 0.25rem 1.5rem 1rem 0;
}
.entry-content .alignright {
	float: right;
	margin: 0.25rem 0 1rem 1.5rem;
}
.entry-content .aligncenter,
.entry-content .alignnone {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Links inside content */
.entry-content a:not(.site-btn) {
	color: var(--mo-color-primary);
}
.entry-content a:not(.site-btn):hover {
	color: var(--mo-color-secondary);
}

/* Keyboard shortcut */
.entry-content kbd {
	font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, monospace;
	font-size: 0.8125rem;
	padding: 0.1em 0.45em;
	background-color: var(--mo-color-dark);
	color: var(--mo-color-light);
	border-radius: 0.25rem;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

/* Highlighted text */
.entry-content mark {
	background-color: var(--mo-color-accent);
	color: var(--mo-color-dark);
	padding: 0.1em 0.25em;
	border-radius: 0.125rem;
}

/* Abbreviation */
.entry-content abbr[title] {
	text-decoration: underline dotted;
	cursor: help;
}

@media only screen and (max-width: 767px) {
	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin: 1.75rem 0;
	}
	.entry-content table {
		font-size: 0.875rem;
	}
	.entry-content th,
	.entry-content td {
		padding: 0.5rem 0.75rem;
	}
	.entry-content blockquote {
		font-size: 1rem;
		padding: 0.875rem 1.25rem;
	}
}

/* =============================================================================
   BREADCRUMB
   ============================================================================= */

.moddershall-oaks-breadcrumb {
	margin: 0;
	color: var(--mo-color-dark);
	font-size: 1.125rem;   /* 18px */
	line-height: 1.5;      /* 27px */
}

.moddershall-oaks-breadcrumb a {
	position: relative;
	color: var(--mo-color-mid);
	text-decoration: none;
	transition: color var(--mo-transition);
}

/* 44px tap area without moving the layout */
.moddershall-oaks-breadcrumb a::after {
	content: '';
	position: absolute;
	z-index: 1;
	inset: -0.75rem -0.25rem;
}

.moddershall-oaks-breadcrumb a:hover,
.moddershall-oaks-breadcrumb a:focus-visible {
	color: var(--mo-color-accent);
}

.moddershall-oaks-breadcrumb .breadcrumb-separator {
	margin: 0 0.25rem;     /* 4px */
	color: var(--mo-color-secondary);
}

@media only screen and (max-width: 767px) {
	.moddershall-oaks-breadcrumb {
		font-size: 1rem;   /* 16px / 24px */
	}
}

/* Search results and 404 styles live in style.css */

/* ─────────────────────────────────────────────────────
   BUTTON SYSTEM
   ───────────────────────────────────────────────────── */

.btns {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.5625rem; /* 25px */
    row-gap: 1.5625rem;    /* 25px */
}

/* Base button */
.site-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem; /* 10px */
    padding: var(--mo-btn-padding-y) var(--mo-btn-padding-x);
    font-size: var(--mo-btn-font-size);
    line-height: 1.5;
    font-family: var(--mo-font-body);
    font-weight: var(--mo-btn-font-weight);
    text-decoration: none;
    border-radius: var(--mo-border-radius);
    border: 0.0625rem solid transparent;
    transition: all var(--mo-transition);
    cursor: pointer;
    text-align: center;
}

/* ── Primary */
.btn-primary {
    background: var(--mo-color-accent);
    color: var(--mo-color-dark);
    border-color: var(--mo-color-accent);
}
.btn-primary:hover {
    background: transparent;
    color: var(--mo-color-dark);
    border-color: var(--mo-color-accent);
}

/* ── Secondary */
.btn-secondary {
    background: var(--mo-color-primary);
    color: var(--mo-color-light);
    border-color: var(--mo-color-primary);
}
.btn-secondary:hover {
    background: transparent;
    color: var(--mo-color-dark);
    border-color: var(--mo-color-primary);
}

/* ── Tertiary */
.btn-tertiary {
    padding-top: 0.3125rem;    /* 5px */
    padding-bottom: 0.3125rem;
    background: var(--mo-color-secondary);
    color: var(--mo-color-dark);
    border-color: var(--mo-color-secondary);
}
.btn-tertiary .btn-icon svg {
    display: block;
    width: 1.25rem;            /* 20px */
    height: auto;
}
.btn-tertiary:hover {
    background: var(--mo-color-subtle);
    color: var(--mo-color-dark);
    border-color: var(--mo-color-secondary);
}

/* ── Outline */
.btn-outline {
    background: transparent;
    color: var(--mo-color-dark);
    border-color: var(--mo-color-secondary);
}
.btn-outline:hover {
    background: var(--mo-color-secondary);
    color: var(--mo-color-dark);
    border-color: var(--mo-color-secondary);
}

/* ── On dark backgrounds */
.btn-on-dark:hover {
    color: var(--mo-color-light);
}

/* ── Text link */
.btn-text-link {
    background: transparent;
    color: var(--mo-color-dark);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
}
.btn-text-link:hover {
    color: var(--mo-color-primary);
    text-decoration: underline;
}


/* Global Submit Field Wrapper with Icon */

.action-field {
	display: flex;
	margin-bottom: 0;
	column-gap: 1.25rem; /* 20px */
	justify-content: space-between;
	align-items: center;
	margin-top: 1.5625rem; /* 25px */
}
@media only screen and (max-width:767px) {

	.action-field {
		flex-direction: column;
		margin-bottom: 0;
		row-gap: 1.25rem; /* 20px */
		justify-content: center;
		align-items: center;
		margin-top: 0;
	}
}

