/*! Styling for 43Folders Custom - CV3
 *  Version: 1.12

/**
 *  TABLE OF CONTENTS
 *
 * 1 - Main Typography, Header and Body
 * 2 - Footer
 * 3 - Block Quotes
 * 4 - Lists
 * 5 - Menu, Title Bar
 * 6 - Plugins and Related Style Additions
 * 7 - Blog Pages
 * 8 - Other Specific Page Updates
 * 9 -
 * 10 -
 * 11 -
 * 12 - Mobile and Media Styles
*/
:root { --primary-color: #436844; --primary-accent: #8dbb8d; --secondary-accent: #138430; --yellow-color: #FFCD00; --text-color: #000; --title-font: "Times New Roman", Times, serif; --body-font: 'Verdana', Geneva, sans-serif; }

/* 1 - Main Typography 
--------------------------------------------- */
/* ===== BODY & CONTENT ===== */
body { color: var(--text-color); background: #ffffff; font-family: var(--body-font); line-height: 1.8rem; font-size: clamp(16px, 1rem, 20px); }

.content-block { max-width: 1023px; }

/* Reset all headings to normal case by default */
h1, h2, h3, h4, h5, h6, .wp-block-heading, .article-title { text-transform: none; }

/* H1 page titles - dark green, 34px */
h1.article-title, .entry-title, h1 { color: var(--primary-color); font-size: clamp(30px, 34px, 38px); text-transform: none; font-weight: bold; }

/* ===== LINKS ===== */
a { text-decoration: underline; color: var(--secondary-accent); font-weight: bold; }

/* HEADER ELEMENTS */
h1#title, p#title { margin: 1.5rem 0 0.4rem; /* top | sides | bottom (gap before slogan) */ line-height: 1.6rem; letter-spacing: normal; /* suppress Baton's default uppercase letter-spacing */ }

/* Title link - the visible text */
h1#title a, p#title a { text-transform: capitalize; font-weight: bold; letter-spacing: 0.02em; /* subtle letter-spacing; remove if too wide */ }

/* Slogan element - shared across all pages */
/* Note: h2#slogan must come BEFORE the generic h2 rule below to avoid margin bleed */
h2#slogan, p#slogan { margin: 0 0 1.2rem; /* no negative top margin; bottom gives space before nav */ }

/* H2 section headers - :not(#slogan) prevents bleeding into h2#slogan on front page */
h2.wp-block-heading, h2:not(#slogan) { color: var(--primary-color); font-size: clamp(20px, 1.33333rem, 28px); text-transform: none; }

/* H3 subsection headers - black, 18px */
h3.wp-block-heading, h3 { color: #000; font-size: clamp(16px, 1rem, 20px) !important; text-transform: none; margin-top: 1.5em; margin-bottom: 0.75em; }

/* Buttons */
button { background-color: var(--secondary-accent); color: #ffffff; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; font-weight: bold; }

#header .in.baton-flex-header-in { flex-direction: row !important; }

#header #title-tagline { order: -1 !important; }

/* 3 - Block quotes 
--------------------------------------------- */
blockquote { display: block; border-width: 2px 0; border-style: solid; padding: 1.5em 0 0.5em; margin: 1.5em 0; position: relative; text-align: center; color: var(--primary-color); font-weight: 500; font-style: italic; }
blockquote:before { content: '\201C'; position: absolute; top: -.1em; left: 50%; transform: translate(-50%, -50%); background: #ffffff; width: 3rem; height: 2rem; font: 6em/1.08em 'Georgia', sans-serif; color: #ccc; text-align: center; }
blockquote:after { content: attr(cite); display: block; text-align: right; font-size: 0.875em; color: var(--secondary-accent); }
blockquote.right, blockquote.left { padding: 10px; background-color: #f5f7f5; font-weight: 500; color: var(--primary-color); }
blockquote.right:before, blockquote.left:before { content: ''; background: none; }
blockquote.right:after, blockquote.left:after { margin-top: .7em; }
blockquote.right.one-third, blockquote.left.one-third { width: 34%; }
blockquote.right { float: right; border-width: 0 0 0 2px; margin-left: 1.25em; }
blockquote.left { float: left; border-width: 0 2px 0 0; margin-right: 1.5em; }

.wp-caption p.wp-caption-text { font-size: clamp(14px, 16px, 20px); }

@media (max-width: 512px) { blockquote.right, blockquote.left { float: none; margin-left: 0; margin-right: 0; }
  blockquote.one-third { width: 100% !important; } }
/* 2 - Footer 
--------------------------------------------- */
#footer h3, #footer a { color: #ffffff; }

/* 4 Lists
--------------------------------------------- */
/* Adjust ul and ol */
/* ---------------- */
/* Make ol indent */
ol li, ul li { margin-left: 15px; }

/* 5 Menu, Title Bar
--------------------------------------------- */
#secondary-nav-container { z-index: 99; }

#header { background: var(--primary-color); }

#title a { font-family: var(--title-font); text-decoration: none; font-size: 2.2rem; }

#primary-nav-button { background: var(--primary-accent); }

#secondary-nav-button { color: var(--text-color); background: var(--primary-accent); }

#secondary-nav-wrap { background: var(--primary-accent); }

#secondary-nav { /* erase arrow on sub menu */ }
#secondary-nav .sub-menu { /* move submenu up to align with bar */ margin-top: -.8em; }
#secondary-nav .sub-menu:before { border-bottom-color: var(--primary-accent) !important; }
#secondary-nav li a, #secondary-nav .sub-menu li a { color: var(--body-font-color); background: var(--primary-accent); }

#slogan { color: #ffffff; }

/* Primary nav font size - desktop only */
#primary-nav > li > a, #primary-nav > li > a span { font-size: clamp(14px, 16px, 20px); }

/* Secondary nav font size - desktop only */
#secondary-nav > li > a, #secondary-nav > li > a span, #secondary-nav .sub-menu li a { font-size: clamp(12px, 14px, 18px); }

/* 6 Plugins and Other Style Additions
--------------------------------------------- */
/* --- MEC CALENDAR --- */
.mec-archive-content.col-md-8 { width: 100%; }

/* home page calendar */
.mec-sm959 .col-md-3 { display: none; }
.mec-sm959 .col-md-9 { width: 100%; }
.mec-sm959 h4.mec-event-title { font-size: clamp(12px, 14px, 18px); }

/* Hide time ONLY for this specific sidebar shortcode */
#mec_skin_4250 .mec-event-time, #mec_skin_4250 .mec-time-details { display: none !important; }

/* Hides the entire right-side container for the Minimal Skin */
.mec-event-list-minimal .mec-event-upcoming { display: none !important; }

.mec-event-list-standard .mec-col-table-c { display: table-cell; height: 100%; vertical-align: top; float: none !important; }

/* ======================================== EVENT BUTTONS (MEC) ======================================== */
.mec-booking-button, a.mec-booking-button { background: var(--secondary-accent) !important; color: #ffffff !important; border: 2px solid var(--secondary-accent) !important; padding: 10px 20px !important; border-radius: 4px !important; align-items: center; font-weight: bold !important; transition: all 0.3s ease; display: inline-flex; }

.mec-booking-button:hover, a.mec-booking-button:hover { background-color: var(--primary-color) !important; border-color: var(--primary-color) !important; }

/* 7 Blog Pages
--------------------------------------------- */
/* 8 Other Specific Page Updates
--------------------------------------------- */
/* Home page */
.header-row { width: 100vw; position: relative; left: 49.3%; margin-left: -50vw; margin-top: -118px; margin-bottom: 1.5em; z-index: 0; }

h3.wp-block-heading.events-header { margin-top: 2.5em !important; }

.content .article-title-wrap, .content .article-content { padding-left: 2em; padding-right: 2em; }

/* ======================================== IMAGE CAPTIONS ======================================== */
figcaption.wp-element-caption, .wp-element-caption, figcaption { font-style: italic; font-size: 12px; color: #666; line-height: 1.4; }

figcaption sub, figcaption sup, .wp-element-caption sub, .wp-element-caption sup { font-size: 10px !important; }

/* ======================================== FLOATED IMAGE BLOCKS (alignleft/alignright) For standalone Image blocks with text wrap ======================================== */
/* Left-aligned images */
.wp-block-image.alignleft, figure.alignleft, .wp-block-image.is-style-default.alignleft, .alignleft { margin: 0 1.5em 1em 0 !important; max-width: 50%; }

/* Right-aligned images */
.wp-block-image.alignright, figure.alignright, .wp-block-image.is-style-default.alignright, .alignright { margin: 0 0 1em 1.5em !important; max-width: 50%; }

/* Paragraphs after floated images should wrap, NOT clear */
.wp-block-image.alignleft + p, .wp-block-image.alignleft + .wp-block-paragraph, .wp-block-image.alignright + p, .wp-block-image.alignright + .wp-block-paragraph, figure.alignleft + p, figure.alignright + p { clear: none !important; }

/* Only clear floats for new sections */
.wp-block-separator, hr.wp-block-separator { margin-top: 3em; margin-bottom: 3em; }

/* Headings should clear floats to start new sections */
.article-content h2, .article-content h3, .entry-content h2, .entry-content h3 { clear: both; }

/* 12 Mobile and Media Calls
--------------------------------------------- */
/* Scoped to primary-nav-mobile only - previously "#primary-nav-wrap-mobile a" was too broad and bled its light-green color onto #secondary-nav-button, which is also an anchor tag rendered in the same mobile context. */
#primary-nav-wrap-mobile #primary-nav-mobile a { color: #66bc7d; /* TODO - this should be a variable or reusable color */ font-weight: bold; }

@media (max-width: 768px) { h1, h1.article-title { font-size: clamp(24px, 28px, 32px) !important; }
  h2, h2.wp-block-heading { font-size: clamp(20px, 1.33333rem, 28px) !important; }
  h3, h3.wp-block-heading { font-size: clamp(14px, 16px, 20px) !important; }
  /* Stack columns on mobile */
  .wp-block-columns { flex-direction: column; }
  /* Full width images on mobile */
  figure.alignleft, figure.alignright, .wp-block-image.alignleft, .wp-block-image.alignright { float: none !important; margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; }
  .wp-block-media-text__media { padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; align-self: start !important; }
  .wp-block-media-text__media p { padding: 0 !important; margin-top: 0 !important; }
  .header-row { margin-top: -82px; margin-bottom: 0; }
  /* Secondary nav "TOP BAR" button and expanded items - black text on mobile */
  #secondary-nav-button, #secondary-nav-button .secondary-nav-button-inner, #secondary-nav li a, #secondary-nav .sub-menu li a { color: var(--body-font-color) !important; } }
/* FROM OLD STYLESHEET */
/* ======================================== COLUMN BLOCKS FIX ======================================== 
.wp-block-columns {
	align-items: flex-start !important;
}

.wp-block-column {
	align-self: flex-start !important;
}

.wp-block-column figure {
	margin-bottom: 0.5em !important;
}

.wp-block-column p:first-child,
.wp-block-column>*:first-child {
	margin-top: 0 !important;
}
	*/
