/*
Theme Name: Twenty Seventeen
Description: Used to style blocks.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General Block Styles
2.0 Blocks - Common Blocks
3.0 Blocks - Formatting
4.0 Blocks - Layout Elements
5.0 Blocks - Widgets
6.0 Blocks - Colors
7.0 Millican Reserve - Article and Newsletter
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 General Block Styles
--------------------------------------------------------------*/

/* Captions */

[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	font-style: italic;
	margin-bottom: 1.5em;
	text-align: left;
}

.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	text-align: right;
}

/*--------------------------------------------------------------
2.0 Blocks - Common Blocks
--------------------------------------------------------------*/

/* Paragraph */

p.has-drop-cap:not(:focus)::first-letter {
	font-size: 5em;
	margin-top: 0.075em;
}

/* Image */

.wp-block-image {
	margin-bottom: 1.5em;
}

.wp-block-image figure {
	margin-bottom: 0;
	margin-top: 0;
}

.wp-block-image figure.alignleft {
	margin-right: 1.5em;
}

.wp-block-image figure.alignright {
	margin-left: 1.5em;
}

.wp-block-image a,
.wp-block-image a:hover,
.wp-block-image a:focus,
.widget-area .wp-block-image a,
.widget-area .wp-block-image a:hover,
.widget-area .wp-block-image a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
}

/* Gallery */

.wp-block-gallery {
	margin-bottom: 1.5em;
}

.wp-block-gallery figcaption {
	font-style: italic;
}

.wp-block-gallery.aligncenter {
	display: flex;
	margin: 0 -8px;
}

/* Quote */

.wp-block-quote:not(.is-large):not(.is-style-large) {
	border: 0;
	padding: 0;
}

.wp-block-quote.alignleft p:last-of-type,
.wp-block-quote.alignright p:last-of-type {
	margin-bottom: 0;
}

.wp-block-quote cite {
	color: inherit;
	font-size: inherit;
}

/* Audio */

.wp-block-audio audio {
	display: block;
	width: 100%;
}

/* Cover */

.wp-block-cover-image.alignright,
.wp-block-cover.alignright,
.wp-block-cover-image.alignleft,
.wp-block-cover.alignleft,
.wp-block-cover-image.aligncenter,
.wp-block-cover.aligncenter {
	display: flex;
}

/* File */

.wp-block-file .wp-block-file__button {
	background-color: #222;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	display: inline-block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	margin-top: 2em;
	padding: 0.7em 2em;
	-webkit-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
	white-space: pre-line;
}

.wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:focus {
	background-color: #767676;
	-webkit-box-shadow: none;
	box-shadow: none;
}

/*--------------------------------------------------------------
3.0 Blocks - Formatting
--------------------------------------------------------------*/

/* Code */

.wp-block-code {
	background: transparent;
	border: 0;
	padding: 0;
}

.wp-block-code code {
	font-size: inherit;
}

/* Pullquote */

.wp-block-pullquote {
	border: 0;
}

.wp-block-pullquote__citation,
.wp-block-pullquote cite {
	font-size: inherit;
	text-transform: none;
}

/* Table */

.wp-block-table thead th {
	border-bottom: 2px solid #bbb;
	padding-bottom: 0.5em;
}

.wp-block-table tr {
	border-bottom: 1px solid #eee;
}

.wp-block-table th,
.wp-block-table td {
	border: 0;
}

.rtl .wp-block-table th,
.rtl .wp-block-table td {
	text-align: right;
}

/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/

/* Buttons */

.wp-block-button .wp-block-button__link {
	-webkit-box-shadow: none;
	box-shadow: none;
	display: inline-block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.66;
	margin-top: 2em;
	padding: 0.7em 2em;
	-webkit-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
	white-space: pre-line;
}

.entry-content .wp-block-button__link {
	background-color: #222;
	color: #fff;
}

.entry-content .is-style-outline .wp-block-button__link:not(.has-background) {
	background-color: transparent;
}

.entry-content .is-style-outline .wp-block-button__link:not(.has-text-color) {
	color: #222;
}

.colors-dark .wp-block-button__link {
	background-color: #fff;
	color: #000;
}

.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus,
.entry-content .is-style-outline .wp-block-button__link:not(.has-background):hover,
.entry-content .is-style-outline .wp-block-button__link:not(.has-background):focus {
	background-color: #767676;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
}

.colors-dark .entry-content .wp-block-button__link:hover,
.colors-dark .entry-content .wp-block-button__link:focus,
.colors-dark .entry-content .is-style-outline .wp-block-button__link:not(.has-background):hover,
.colors-dark .entry-content .is-style-outline .wp-block-button__link:not(.has-background):focus {
	background-color: #bbb;
	color: #000;
}

.colors-dark .entry-content .is-style-outline .wp-block-button__link:not(.has-text-color) {
	color: #fff;
}

.colors-dark .entry-content .is-style-outline .wp-block-button__link:not(.has-text-color):hover,
.colors-dark .entry-content .is-style-outline .wp-block-button__link:not(.has-text-color):focus {
	color: #222;
}

.colors-custom .entry-content .wp-block-button__link,
.colors-custom .entry-content .wp-block-button__link:hover,
.colors-custom .entry-content .wp-block-button__link:focus,
.colors-dark .entry-content .wp-block-button__link,
.colors-dark .entry-content .wp-block-button__link:hover,
.colors-dark .entry-content .wp-block-button__link:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.colors-custom .entry-content .wp-block-button__link:hover,
.colors-custom .entry-content .wp-block-button__link:focus {
	color: #fff;
}

/* Separator */

.wp-block-separator {
	border: 0;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 100px;
}

/* Media & Text */

.wp-block-media-text {
	margin-bottom: 1.5em;
}

.wp-block-media-text *:last-child {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
5.0 Blocks - Widgets
--------------------------------------------------------------*/

/* Archives, Categories & Latest Posts */

.wp-block-archives.aligncenter,
.wp-block-categories.aligncenter,
.wp-block-latest-posts.aligncenter {
	list-style-position: inside;
	text-align: center;
}

/* Comments */

.wp-block-latest-comments article {
	margin-bottom: 4em;
}

.widget-area .wp-block-latest-comments article {
	margin-bottom: 1em;
}

.blog:not(.has-sidebar) #primary .wp-block-latest-comments article,
.archive:not(.page-one-column):not(.has-sidebar) #primary .wp-block-latest-comments article,
.search:not(.has-sidebar) #primary .wp-block-latest-comments article {
	float: none;
	width: 100%;
}

.wp-block-latest-comments .avatar,
.wp-block-latest-comments__comment-avatar {
	border-radius: 0;
}

.wp-block-latest-comments a {
	-webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 1);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 1);

}

.wp-block-latest-comments .wp-block-latest-comments__comment {
	border-top: none;
}

.wp-block-latest-comments__comment-meta {
	font-size: 16px;
	font-size: 1rem;
	margin-bottom: 0.4em;
}

.wp-block-latest-comments__comment-author,
.wp-block-latest-comments__comment-link {
	font-weight: 700;
	text-decoration: none;
}

.wp-block-latest-comments__comment-date {
	color: #767676;
	font-size: 10px;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	margin-top: 0.4em;
	text-transform: uppercase;
}

.editor-block-list__block .wp-block-latest-comments__comment-excerpt p {
	font-size: 14px;
	font-size: 0.875rem;
}

/* Query Loop & Post Template */

.wp-block-query .wp-block-post-template > li {
	border-top: none;
}

/*--------------------------------------------------------------
6.0 Blocks - Colors
--------------------------------------------------------------*/

.entry-content .has-pale-pink-color {
	color: #f78da7;
}

.entry-content .has-pale-pink-background-color,
.wp-block-button.is-style-outline .has-pale-pink-background-color:link {
	background-color: #f78da7;
}

.entry-content .has-vivid-red-color {
	color: #cf2e2e;
}

.entry-content .has-vivid-red-background-color,
.wp-block-button.is-style-outline .has-vivid-red-background-color:link {
	background-color: #cf2e2e;
}

.entry-content .has-luminous-vivid-orange-color {
	color: #ff6900;
}

.entry-content .has-luminous-vivid-orange-background-color,
.wp-block-button.is-style-outline .has-luminous-vivid-orange-background-color:link {
	background-color: #ff6900;
}

.entry-content .has-luminous-vivid-amber-color {
	color: #fcb900;
}

.entry-content .has-luminous-vivid-amber-background-color,
.wp-block-button.is-style-outline .has-luminous-vivid-amber-background-color:link {
	background-color: #fcb900;
}

.entry-content .has-light-green-cyan-color {
	color: #7bdcb5;
}

.entry-content .has-light-green-cyan-background-color,
.wp-block-button.is-style-outline .has-light-green-cyan-background-color:link {
	background-color: #7bdcb5;
}

.entry-content .has-vivid-green-cyan-color {
	color: #00d084;
}

.entry-content .has-vivid-green-cyan-background-color,
.wp-block-button.is-style-outline .has-vivid-green-cyan-background-color:link {
	background-color: #00d084;
}

.entry-content .has-pale-cyan-blue-color {
	color: #8ed1fc;
}

.entry-content .has-pale-cyan-blue-background-color,
.wp-block-button.is-style-outline .has-pale-cyan-blue-background-color:link {
	background-color: #8ed1fc;
}

.entry-content .has-vivid-cyan-blue-color {
	color: #0693e3;
}

.entry-content .has-vivid-cyan-blue-background-color,
.wp-block-button.is-style-outline .has-vivid-cyan-blue-background-color:link {
	background-color: #0693e3;
}

.entry-content .has-very-light-gray-color {
	color: #eee;
}

.entry-content .has-very-light-gray-background-color,
.wp-block-button.is-style-outline .has-very-light-gray-background-color:link {
	background-color: #eee;
}

.entry-content .has-cyan-bluish-gray-color {
	color: #abb8c3;
}

.entry-content .has-cyan-bluish-gray-background-color,
.wp-block-button.is-style-outline .has-cyan-bluish-gray-background-color:link {
	background-color: #abb8c3;
}

.entry-content .has-very-dark-gray-color {
	color: #313131;
}

.entry-content .has-very-dark-gray-background-color,
.wp-block-button.is-style-outline .has-very-dark-gray-background-color:link {
	background-color: #313131;
}

/*--------------------------------------------------------------
7.0 Millican Reserve - Article and Newsletter
--------------------------------------------------------------*/

.single-post-type-block h3 {
    font-size: 32px;
}


/* Shared article and newsletter variables; uses existing theme fonts. */
.single-post-type {
  --mr-serif: 'adobe_garamond_proregular', 'Adobe Garamond Pro', Garamond, Georgia, serif;
  --mr-sans: 'futura_ptbook', 'Futura PT', Futura, 'Trebuchet MS', sans-serif;
  --mr-ink: #191919;
  --mr-neutral: #60564b;
  --mr-muted: #707070;
  --mr-accent: #a02c22;
  --mr-rule: #a69d97;
  --mr-white: #fff;
}

/* Article typography; preserve the template and Gutenberg layouts. */
.single-post-type .single-post-type-header-content {
  font-family: var(--mr-serif);
  font-size: clamp(1.125rem, 1rem + .35vw, 1.3125rem);
  line-height: 1.65;
  color: var(--mr-neutral);
  overflow-wrap: break-word;
}

/* Keep the template's content width and Gutenberg block layouts intact. */
.single-post-type .single-post-type-header-content :is(h2, h3, h4, h5, h6) {
  margin: 1.2em 0 .55em;
  padding: 0;
  font-family: var(--mr-serif);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: normal;
  text-transform: none;
  color: var(--mr-neutral);
}
.single-post-type .single-post-type-header-content h2 {
    font-size: 34px;
    color: var(--mr-accent);
}
.single-post-type .single-post-type-header-content h3 {
    font-size: clamp(1.65rem, 1.35rem + 1vw, 2.125rem);
    color: var(--mr-accent);
}
.single-post-type .single-post-type-header-content h4 {
    font-size: 1.8rem;
    color: var(--mr-accent);
}
.single-post-type .single-post-type-header-content h5 { font-size: 1.3125rem; }
.single-post-type .single-post-type-header-content h6 { font-size: 1.125rem; font-weight: 700; }
.single-post-type .single-post-type-header-content p {
  margin: 0 0 0.85em;
  font-family: var(--mr-sans);
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: normal;
  font-style: normal;
}

/* Tighten spacing between introductory text and lists */
.single-post-type .single-post-type-header-content p:has(+ ul),
.single-post-type .single-post-type-header-content p:has(+ ol) {
    margin-bottom: 0.3em;
}

.single-post-type .single-post-type-header-content > :first-child { margin-top: 0; }

/* Native markers preserve ol start/reversed and li value numbering.
 * Set BOTH container and li styles to beat the global ul,li reset.
 */
.single-post-type .single-post-type-header-content :is(ul, ol) {
     margin: 0 0 1.25em;
     padding: 0 0 0 2.5em;
     list-style-position: outside;
     display: flow-root;
 }
.single-post-type .single-post-type-header-content ul { list-style-type: disc; }
.single-post-type .single-post-type-header-content ol { list-style-type: decimal; }
.single-post-type .single-post-type-header-content ol[type='a'] { list-style-type: lower-alpha; }
.single-post-type .single-post-type-header-content ol[type='A'] { list-style-type: upper-alpha; }
.single-post-type .single-post-type-header-content ol[type='i'] { list-style-type: lower-roman; }
.single-post-type .single-post-type-header-content ol[type='I'] { list-style-type: upper-roman; }
.single-post-type .single-post-type-header-content li {
  display: list-item;
  margin: .35em 0;
  font-family: var(--mr-sans);
  padding: 0 0 0 .2em;
  font-size: 22px;
  line-height: inherit;
  list-style-type: inherit;
  letter-spacing: normal;
}
.single-post-type .single-post-type-header-content li :is(ul, ol) { margin: .4em 0; }
.single-post-type .single-post-type-header-content ul ul { list-style-type: circle; }
.single-post-type .single-post-type-header-content ul ul ul { list-style-type: square; }
.single-post-type .single-post-type-header-content li::marker { color: var(--mr-accent); }

.single-post-type .single-post-type-header-content a:not(.wp-block-button__link) {
  color: var(--mr-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}
.single-post-type .single-post-type-header-content a:not(.wp-block-button__link):hover { color: var(--mr-ink); }
.single-post-type .single-post-type-header-content a:focus-visible {
  outline: 2px solid var(--mr-accent);
  outline-offset: 4px;
}

.single-post-type .single-post-type-header-content blockquote {
  position: relative;
  margin: 2.5em auto;
  padding: 2.5em 1em;
  border: 0;
  font-family: var(--mr-serif);
  font-size: clamp(2rem, 1.5rem + 1.5vw, 1.75rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.18;
  letter-spacing: normal;
  text-align: center;
  /* color: var(--mr-rule); */
}

/* Quote paragraph inherits quote sizing and uses italic serif text. */
.single-post-type .single-post-type-header-content blockquote p {
  width: 85%;
  margin: 0 auto;
  font-family: var(--mr-serif);
  font-size: inherit;
  font-weight: 400;
  font-style: italic;
  line-height: inherit;
  color: inherit;
}

.single-post-type .single-post-type-header-content blockquote em {
  font-style: normal;
}

/* Short horizontal rules above and below */
.single-post-type .single-post-type-header-content blockquote::before,
.single-post-type .single-post-type-header-content blockquote::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--mr-accent);
  margin: 0 auto;
}

.single-post-type .single-post-type-header-content blockquote::before {
  margin-bottom: 1.5em;
}

.single-post-type .single-post-type-header-content blockquote::after {
  margin-top: 1.5em;
}

/* Preserve Pullquote support */
.single-post-type .single-post-type-header-content .wp-block-pullquote {
  padding: 1.5em 0;
  border: 0;
}

.single-post-type .single-post-type-header-content .wp-block-pullquote blockquote {
  margin: 0;
}

@media (max-width: 600px) {
  .single-post-type .single-post-type-header-content blockquote {
    width: 100%;
  }
}

.single-post-type .single-post-type-header-content :is(figcaption, .wp-caption-text, cite) {
  font-family: var(--mr-sans);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  color: var(--mr-muted);
}
.single-post-type .single-post-type-header-content figcaption { margin: .65em 0 0; }
.single-post-type .single-post-type-header-content cite { display: block; margin-top: .8em; }
.single-post-type .single-post-type-header-content :is(.wp-block-image, .wp-block-gallery, .wp-block-table) { margin-block: 1.75em; }
.single-post-type .single-post-type-header-content img { max-width: 100%; height: auto; }
/* Preserve intentional Gutenberg crops/aspect ratios. */
.single-post-type .single-post-type-header-content .wp-block-gallery.has-nested-images figure.wp-block-image img { height: 100%; object-fit: cover; }
.single-post-type .single-post-type-header-content .wp-block-image img[style*='aspect-ratio'] { height: auto; object-fit: cover; }

.single-post-type .single-post-type-header-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.single-post-type .single-post-type-header-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
}
.single-post-type .single-post-type-header-content :is(th, td) {
  padding: .75em 1em;
  border: 1px solid var(--mr-rule);
  text-align: start;
  vertical-align: top;
}
.single-post-type .single-post-type-header-content th {
  font-family: var(--mr-sans);
  font-weight: 700;
  color: var(--mr-ink);
}
.single-post-type .single-post-type-header-content .wp-block-buttons { gap: .75rem; margin-block: 1.5em; }
.single-post-type .single-post-type-header-content .wp-block-button__link {
  display: inline-block;
  padding: .8em 1.5em;
  border: 1px solid var(--mr-accent);
  border-radius: 0;
  background: var(--mr-accent);
  color: var(--mr-white);
  font-family: var(--mr-sans);
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: normal;
}
.single-post-type .single-post-type-header-content .is-style-outline > .wp-block-button__link {
  background: transparent;
  color: var(--mr-accent);
}
.single-post-type .single-post-type-header-content .wp-block-button__link:hover {
  background: var(--mr-neutral);
  border-color: var(--mr-neutral);
  color: var(--mr-white);
}
.single-post-type .single-post-type-header-content .wp-block-separator {
  margin-block: 2em;
  border: 0;
  border-top: 1px solid var(--mr-rule);
  background: transparent;
}
@media (max-width: 600px) {
  .single-post-type .single-post-type-header-content :is(h2, h3, h4, h5, h6) { margin-top: 1.3em; }
  .single-post-type .single-post-type-header-content :is(ul, ol) { padding-left: 1.4em; }
  .single-post-type .single-post-type-header-content :is(th, td) { padding: .6em; }
  .single-post-type .single-post-type-header-content .wp-block-image :is(.alignleft, .alignright),
  .single-post-type .single-post-type-header-content .wp-block-image:is(.alignleft, .alignright) {
    float: none;
    max-width: 100%;
    margin-inline: 0;
  }
}

/* =========================================
   Legacy Article Newsletter Signup
   Retained: verify .prnt-newsletter and .newsnewwrap are unused
   in current templates/content before removing these rules.
   ========================================= */

.single-post-type .prnt-newsletter {
     padding: 60px 0;
     margin: 0;
     background-color: #60564B;
     box-shadow: 0 0 0 100vmax #60564B;
     clip-path: inset(0 -100vmax);
   }


.single-post-type .newsnewwrap {
  width: 100%;
  max-width: 870px;
  margin: 0 auto;
}

/* Newsletter heading */
.single-post-type .newsnewwrap .cmn-hdng h2 {
  margin: 0 0 25px;
  padding: 0;
  font-family: 'adobe_garamond_proregular', Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  text-align: center;
  color: #ffffff;
}

/* Form width */
.single-post-type .newsnewwrap .newsletter-form {
  width: 100%;
  max-width: 775px;
  margin: 0 auto;
}

/* Email field */
.single-post-type .newsnewwrap .gform_wrapper input[type="email"] {
  width: 100%;
  min-height: 58px;
  padding: 12px 110px 12px 50px;
  background-color: #fff;
  border: 1px solid #d8d3cf;
  border-radius: 0;
  font-size: 16px;
}

/* Submit button */
.single-post-type .newsnewwrap .gform_wrapper .gform_footer button {
  padding: 10px 18px;
  background-color: #769a55;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.single-post-type .newsnewwrap .gform_wrapper .gform_footer button:hover {
  background-color: #60564b;
}


/* =========================================
   Gutenberg Article Images & Columns
   Scoped to individual Posts only
   ========================================= */

/* Column layout and spacing */
.single-post-type .single-post-type-header-content .wp-block-columns {
  gap: 40px;
  align-items: flex-start;
  margin: 2em 0;
}

/* Image block spacing */
.single-post-type .single-post-type-header-content .wp-block-image {
  margin: 0;
}

/* Image sizing and alignment */
.single-post-type .single-post-type-header-content .wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Images inside columns */
.single-post-type .single-post-type-header-content .wp-block-column .wp-block-image {
  margin: 0;
}

/* Image captions */
.single-post-type .single-post-type-header-content .wp-block-image figcaption {
  margin: 12px 0 0;
}

/* Responsive column spacing */
@media (max-width: 781px) {
  .single-post-type .single-post-type-header-content .wp-block-columns {
    gap: 24px;
  }
}

/* =========================================
   Right-Aligned Gutenberg Images
   40% width with text wrapping
   ========================================= */

.single-post-type .single-post-type-header-content
.wp-block-image figure.alignright {
    float: right;
    width: 40%;
    max-width: 40%;
    margin: 10px 0 26px 30px;
}

/* Shared sizing for aligned and standalone article images. */
.single-post-type .single-post-type-header-content
.wp-block-image figure.alignright img,
.single-post-type .single-post-type-header-content
.wp-block-image:not(:has(.alignright, .alignleft)) img,
.single-post-type .single-post-type-header-content
.wp-block-image figure.alignleft img {
    display: block;
    width: 100%;
    height: auto;
}

/* Mobile */
@media (max-width: 767px) {
    .single-post-type .single-post-type-header-content
    .wp-block-image figure.alignright {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 30px;
    }
}

/* Center standalone Gutenberg images at full reading-column width */
.single-post-type .single-post-type-header-content
.wp-block-image:not(:has(.alignright, .alignleft)) {
    width: 100%;
    max-width: 100%;
    margin: 1.5em auto;
}


/* =========================================
   Left-Aligned Gutenberg Images
   40% width with text wrapping
   ========================================= */

.single-post-type .single-post-type-header-content
.wp-block-image figure.alignleft {
    float: left;
    width: 40%;
    max-width: 40%;
    margin: 10px 30px 26px 0;
}


/* Mobile */
@media (max-width: 767px) {
    .single-post-type .single-post-type-header-content
    .wp-block-image figure.alignleft {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 30px;
    }
}

/* Article reading column */
.single-post-type .single-post-type-header-content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hide map on individual Articles */
body.single-post .new-map-sec {
    display: none;
}

/* =========================================
   Article Newsletter
   ========================================= */

.single-post-type .article-newsletter {
    padding: 60px;
    background: #EEEAE2;
}

.single-post-type .article-newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Newsletter Content */

.single-post-type .article-newsletter-label {
    display: block;
    margin-bottom: 2px;
    color: var(--mr-muted);
    font-family: var(--mr-sans);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: uppercase;
}

.single-post-type .article-newsletter-content h2 {
    margin: 0 0 4px;
    color: var(--mr-accent);
    font-family: var(--mr-serif);
    font-size: 34px;
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: normal;
    text-transform: none;
}

.single-post-type .article-newsletter-content p {
    margin: 0;
    color: var(--mr-neutral);
    font-family: var(--mr-sans);
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: inherit;
    text-transform: none;
}

/* Gravity Forms Layout */

.single-post-type .article-newsletter-form .gform_wrapper form {
    display: flex;
    align-items: flex-end;
    gap: 0;
    position: static;
}

.single-post-type .article-newsletter-form .gform_wrapper .gform_body {
    flex: 1;
    min-width: 0;
}

.single-post-type .article-newsletter-form .gform_wrapper .gform_footer {
    position: static;
    flex: 0 0 auto;
    transform: none;
    margin: 0;
    padding: 0;
    width: auto;
}

/* Email Field */

.single-post-type .article-newsletter-form .gform_wrapper input[type="email"] {
    width: 100%;
    height: 60px;
    min-height: 60px;
    padding: 12px 16px;
    background: #FFFFFF;
    /* border: 1px solid #D8D1C8; */
    border: 0;
    border-radius: 0;
    font-family: var(--mr-sans);
    font-size: 16px;
    box-sizing: border-box;
}

/* Submit Button */
.single-post-type .article-newsletter-form .gform_wrapper .gform_footer button {
    min-height: 58px;
    margin: 0;
    padding: 12px 24px;
    background: #A02C22;
    color: #FFFFFF;
    border: 0;
    border-radius: 0;
    font-family: var(--mr-sans);
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 781px) {

    .single-post-type .article-newsletter {
        padding: 40px 20px;
    }

    .single-post-type .article-newsletter-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-post-type .article-newsletter-content h2 {
        font-size: 34px;
    }

}

@media (max-width: 480px) {

    .single-post-type .article-newsletter-form .gform_wrapper form {
        flex-direction: column;
        align-items: stretch;
    }

    .single-post-type .article-newsletter-form .gform_wrapper .gform_body,
    .single-post-type .article-newsletter-form .gform_wrapper .gform_footer {
        width: 100%;
    }

    .single-post-type .article-newsletter-form .gform_wrapper .gform_footer button {
        width: 100%;
    }

}

/* =========================================
   Hero
   ========================================= */

/* Article hero: author and publication date */
.single-post-type .properties-banner-content .article-hero-meta {
    margin: 0 0 4px;
    font-family: var(--mr-sans);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
    text-transform: none;
    color: #FFFFFF;
}

/* Article hero typography */
.single-post-type .properties-banner-content h1 {
   font-family: var(--mr-serif);
   font-size: 48px;
   font-weight: 400;
   line-height: 1.15;
   letter-spacing: normal;
   text-transform: none;
   margin: 12px 0;
}

.single-post-type .properties-banner-content h1 + .article-hero-meta {
    margin-top: 12px;
}

.single-post-type .properties-banner-top-title {
    font-size: 34px;
}

.single-post-type .properties-banner {
    position: relative;
}

.single-post-type .properties-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
background: linear-gradient(
        90deg,
        rgba(25, 25, 25, 0) 0%,
        rgba(25, 25, 25, 0.20) 35%,
        rgba(25, 25, 25, 0.60) 70%,
        rgba(25, 25, 25, 0.85) 100%
    );
}

.single-post-type .properties-banner > .container {
    position: relative;
    z-index: 1;
}

/* Article hero — mobile */
@media (max-width: 767px) {
    .single-post-type .properties-banner {
        background-position: 25% center !important;
    }

    /* Article hero typography — mobile */
    .single-post-type .properties-banner-top-title {
        font-size: 20px;
    }

    .single-post-type .properties-banner-content h1 {
        font-size: 30px;
        line-height: 1.15;
    }

    .single-post-type .properties-banner-content .article-hero-meta {
        font-size: 16px;
    }

    .single-post-type .single-post-type-header-content > :first-child {
        margin-top: 0;
    }

    /* Reduce top spacing between article hero and content */
    .single-post-type .single-post-type-block {
        padding-top: 12px;
    }

    /* Lead-in heading — mobile */
    .single-post-type .single-post-type-header-content > h2:first-child {
        font-size: 30px;
        line-height: 1.1;
    }

    /* Blockquote spacing — mobile */
    .single-post-type .single-post-type-header-content blockquote {
        margin: 1.5em auto;
    }

}
