/*
Theme Name: Montrose Bible Conference
Theme URI: https://montrosebible.localhost
Author: Austin Ginder
Description: Custom block theme port of montrosebible.org (DNN) to WordPress. Faithful recreation of the 2013 AG Custom skin.
Version: 1.0.1
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: montrose
*/

/* =Fonts
---------- */
@font-face {
	font-family: 'BandaRegular';
	src: url('assets/fonts/Banda_regular-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Poiret One';
	src: url('assets/fonts/PoiretOne.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* =Base
---------- */
body {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #333;
	background: url('assets/img/background-tile.jpg') 0 0 repeat;
	margin: 0;
}

.wp-site-blocks {
	width: 1000px;
	margin: 0 auto;
}

/* The page is one continuous white column — no block-gap between
   header, content, and footer sections (fixes "footer on a second page"). */
body .wp-site-blocks > * + * {
	margin-block-start: 0;
}
.wp-site-blocks > header,
.wp-site-blocks > main,
.wp-site-blocks > footer {
	margin: 0;
}

a:link, a:visited {
	color: #419639;
	text-decoration: none;
	cursor: pointer;
}
a:link:hover, a:visited:hover {
	color: #419639;
	text-decoration: underline;
}

p {
	font-size: 14px;
	line-height: 22px;
	margin: 0 0 1.5em;
}

h1, .wp-block-heading.mbc-page-title {
	font-family: 'BandaRegular', sans-serif;
	font-size: 42px;
	color: #419639;
	margin: 0 0 16px;
	letter-spacing: normal;
	line-height: normal;
	font-weight: normal;
}
h2 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 22px; margin: 0 0 10px; color: #004812; font-weight: bold; }
h3 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 16px; margin: 10px 0 5px; line-height: 22px; color: #419639; text-transform: uppercase; font-weight: bold; }
h4 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 16px; font-weight: normal; color: #95ab00; margin: 0 0 5px; }
h2 span { font-style: italic; font-size: 13px; color: #000; font-weight: normal; }
p strong em { color: #95ab00; }

ul, ol { margin: 0 0 1em; padding: 0 0 0 40px; font-size: 14px; line-height: 22px; }
img { border: 0; vertical-align: middle; max-width: 100%; height: auto; }
hr.wp-block-separator { border: 0; border-top: 1px solid #ccc; margin: 1em 0; opacity: 1; width: 100%; }

.imageright { float: right; margin: 0 0 20px 35px; }
.imageleft { float: left; margin: 0 35px 20px 0; }
p > img.imageright, p > img.imageleft { max-width: 300px; }

/* =Header
---------- */
.mbc-header {
	height: 96px;
	position: relative;
	z-index: 20;
}
.mbc-logo {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 25;
	display: block;
}
.mbc-logo img { width: 380px; height: 152px; max-width: none; }

/* Search — top right, white field with icon */
.mbc-search {
	position: absolute !important;
	top: 10px;
	right: 0;
	width: 300px;
	margin: 0 !important;
}
.mbc-search .wp-block-search__inside-wrapper {
	background: #fff url('assets/img/search.png') 4px 0 no-repeat;
	border: 0;
	height: 30px;
	padding: 0;
}
.mbc-search .wp-block-search__input {
	border: 0;
	height: 30px;
	margin-left: 40px;
	padding: 0 8px;
	font-size: 13px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	background: transparent;
	outline: none;
}
.mbc-search .wp-block-search__button {
	background: transparent;
	border: 0;
	color: #999;
	font-size: 12px;
	padding: 0 10px;
	margin: 0;
	cursor: pointer;
}

/* Top menu — green quick links bar */
.mbc-topmenu {
	position: absolute;
	margin: 0 !important;
	top: 50px;
	right: 10px;
	width: 600px;
	height: 45px;
	background: #8ab786;
}
.mbc-topmenu .wp-block-navigation__container {
	padding-left: 10px;
	height: 45px;
	align-items: center;
	gap: 0 !important;
	flex-wrap: nowrap !important;
}
.mbc-topmenu .wp-block-navigation-item__content {
	padding: 13px 12px;
	white-space: nowrap;
	color: #000;
	font-size: 14px;
	line-height: 18px;
}
.mbc-topmenu .wp-block-navigation-item__content:hover {
	color: #fff;
	text-decoration: none;
}

/* =White page column
---------- */
.mbc-white {
	background: #fff;
}

/* Address + social row (sits under logo overhang) */
.mbc-social {
	text-align: right;
	padding: 12px 20px 4px 400px;
	min-height: 40px;
}
.mbc-social ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 10px;
}
.mbc-social li {
	font-size: 11px;
	line-height: 14px;
	text-align: right;
}
.mbc-social li a {
	display: block;
	width: 28px;
	height: 28px;
	overflow: hidden;
	font-size: 0;
	color: transparent;
}
.mbc-social .facebook a { background: url('assets/img/facebook.png') no-repeat; }
.mbc-social .twitter a { background: url('assets/img/twitter.png') no-repeat; }

/* =Main navigation (superfish port)
---------- */
.mbc-mainnav {
	background: #fff;
	padding-left: 20px;
}
.mbc-mainnav .wp-block-navigation {
	font-family: 'BandaRegular', sans-serif;
	font-size: 20px;
}
.mbc-mainnav .wp-block-navigation__container {
	gap: 0 !important;
	flex-wrap: nowrap !important;
	justify-content: flex-start !important;
}
.mbc-mainnav .wp-block-navigation-item {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	white-space: nowrap;
}
.mbc-mainnav .wp-block-navigation__submenu-icon svg { display: block; }
.mbc-mainnav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
.mbc-mainnav .wp-block-navigation__container > .wp-block-navigation-item > button.wp-block-navigation-submenu__toggle {
	color: #419639;
	padding: 0 12px;
	line-height: 45px;
	font-family: 'BandaRegular', sans-serif;
	font-size: 20px;
}
.mbc-mainnav .wp-block-navigation .wp-block-navigation-item { gap: 0; }
.mbc-mainnav .wp-block-navigation__container > .wp-block-navigation-item:hover {
	background: #419639;
}
.mbc-mainnav .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.mbc-mainnav .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content + .wp-block-navigation__submenu-icon,
.mbc-mainnav .wp-block-navigation__container > .wp-block-navigation-item:hover .wp-block-navigation__submenu-icon {
	color: #fff;
}
.mbc-mainnav .wp-block-navigation-item__content:hover { text-decoration: none; }
.mbc-mainnav .wp-block-navigation__submenu-icon {
	color: #419639;
	margin: 0 8px 0 -6px;
	width: 12px;
	align-self: center;
}
.mbc-mainnav .wp-block-navigation__submenu-icon svg { width: 12px; height: 12px; display: block; }

/* Dropdowns */
.mbc-mainnav .wp-block-navigation__submenu-container {
	background: rgba(255, 255, 255, 0.92) !important;
	border: 0 !important;
	border-radius: 0;
	min-width: 200px !important;
	padding: 0;
	z-index: 99;
}
.mbc-mainnav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
	font-size: 15px !important;
	line-height: 21px !important;
	padding: 5px 10px !important;
	color: #004812 !important;
}
.mbc-mainnav .wp-block-navigation__submenu-container .wp-block-navigation-item:hover {
	background: #419639;
}
.mbc-mainnav .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content {
	color: #fff !important;
	text-decoration: none;
}

/* =Content area
---------- */
.mbc-content {
	background: #fff;
	min-height: 300px;
}

/* Banner image / slideshow sit flush at top of content */
.mbc-banner { margin: 0; }
.mbc-banner img { width: 1000px; display: block; }

/* Page body padding wrapper */
.mbc-body { padding: 40px; }
.mbc-body-home { padding: 35px 30px; }

/* Columns: sidebar + main */
.mbc-cols { gap: 0 !important; align-items: flex-start; margin-bottom: 0; }
.mbc-cols .mbc-sidebar {
	flex: 0 0 254px;
	max-width: 254px;
	padding-right: 40px;
	border-right: 4px solid #a6ce39;
	box-sizing: border-box;
}
.mbc-cols .mbc-main {
	flex: 1;
	padding-left: 40px;
	box-sizing: border-box;
	overflow: visible;
}

/* Home variant: wider sidebar, light divider on main */
.mbc-cols-home .mbc-sidebar {
	flex: 0 0 280px;
	max-width: 280px;
	padding-right: 0;
	border-right: 0;
}
.mbc-cols-home .mbc-main {
	padding-left: 25px;
	border-left: 1px solid #ccc;
}
.mbc-cols-home .mbc-sidebar p { font-size: 16px; }

/* Sidebar drop cap (home) */
.mbc-dropcap p:first-of-type:first-letter {
	float: left;
	font-size: 72px;
	line-height: 64px;
	margin-right: 10px;
	color: #419639;
	font-family: 'Poiret One', cursive;
	font-weight: bold;
}

/* Sidebar pull quote */
.mbc-sidebar .wp-block-quote {
	text-align: right;
	padding: 0;
	margin: 80px 0 30px;
	border: 0;
	box-shadow: none;
}
.mbc-sidebar .wp-block-quote p {
	color: #419639;
	font-size: 26px;
	font-style: normal;
	line-height: 32px;
	margin-bottom: 10px;
}
.mbc-sidebar .wp-block-quote cite {
	display: block;
	text-align: right;
	text-transform: uppercase;
	color: #419639;
	font-style: normal;
	font-size: 14px;
	margin-bottom: 60px;
}
.mbc-sidebar iframe { max-width: 100%; }
.mbc-sidebar img { max-width: 100%; height: auto; }

/* Generic pull quote */
q {
	margin: 30px 0;
	font-weight: normal;
	display: block;
	font-style: italic;
	background: #e6f0cb;
	padding: 20px;
	color: #419639;
}
q span { display: block; text-align: right; }

/* Testimonials */
.testimonials .wp-block-quote, .testimonials blockquote {
	margin: 0 0 44px 0;
	padding: 0;
	width: 90%;
	border: 0;
	box-shadow: none;
	font-size: 14px;
	font-weight: normal;
}
.testimonials .wp-block-quote p, .testimonials blockquote p {
	background: url('assets/img/green-left.png') no-repeat;
	text-indent: 45px;
	padding-top: 10px;
	font-size: 14px;
	font-weight: normal;
	font-style: italic;
	color: #666;
}
.testimonials .wp-block-quote cite, .testimonials blockquote cite { font-style: normal; }

/* =Buttons
---------- */
p.actions { padding-top: 20px; }
a.green-button, .wp-block-button.green-button .wp-block-button__link, .wp-block-button.is-style-green-button .wp-block-button__link {
	color: #fff;
	background: #339933;
	font-size: 12px;
	padding: 6px 10px;
	text-transform: uppercase;
	border-radius: 0;
	text-decoration: none;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	line-height: 1.4;
}
a.request-button, .wp-block-button.request-button .wp-block-button__link, .wp-block-button.is-style-request-button .wp-block-button__link {
	background: url('assets/img/request-info.png') no-repeat 20px 12px #339933;
	border-radius: 4px;
	color: #fff;
	font-size: 22px;
	font-family: 'BandaRegular', sans-serif;
	padding: 9px 20px 9px 50px;
	text-decoration: none;
	line-height: 1.4;
}
a.download-button, .wp-block-button.download-button .wp-block-button__link {
	background: url('assets/img/download-icon.png') no-repeat 10px 12px #339933;
	border-radius: 4px;
	color: #fff;
	font-size: 22px;
	font-family: 'BandaRegular', sans-serif;
	padding: 9px 10px 9px 35px;
	text-decoration: none;
	line-height: 1.4;
}
a.event-button, .wp-block-button.event-button .wp-block-button__link, .wp-block-button.is-style-event-button .wp-block-button__link {
	background: #339933;
	border-radius: 4px;
	color: #fff;
	font-size: 22px;
	font-family: 'BandaRegular', sans-serif;
	padding: 9px 30px;
	text-decoration: none;
	line-height: 1.4;
}
a.green-button:hover, a.request-button:hover, a.download-button:hover, a.event-button:hover,
.wp-block-button.green-button .wp-block-button__link:hover,
.wp-block-button.request-button .wp-block-button__link:hover,
.wp-block-button.download-button .wp-block-button__link:hover,
.wp-block-button.event-button .wp-block-button__link:hover,
.wp-block-button.is-style-green-button .wp-block-button__link:hover,
.wp-block-button.is-style-request-button .wp-block-button__link:hover,
.wp-block-button.is-style-event-button .wp-block-button__link:hover {
	background-color: #004812;
	text-decoration: none;
	color: #fff;
}
a.pdf {
	background: url('assets/img/pdf.png') no-repeat 0 0;
	font-size: 16px;
	line-height: 32px;
	padding-left: 30px;
}
.wp-block-buttons.mbc-actions { margin: 20px 0 1.5em; }

/* =Nav buttons (photo tiles)
---------- */
ul.nav-buttons { padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.nav-buttons li {
	background-color: #004812;
	background-size: cover;
	display: block;
	list-style-type: none;
	border-radius: 4px;
	width: 118px;
	height: 120px;
	margin: 0;
}
.nav-buttons li a {
	width: 118px;
	height: 120px;
	display: block;
	background: rgba(0, 72, 18, 0.65);
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 16px;
	border-radius: 4px;
}
.nav-buttons li a span { position: relative; top: 35%; display: inline-block; padding: 0 4px; }
.nav-buttons li a:hover { background: none; color: #fff; text-decoration: none; }

/* =Events
---------- */
.date { font-size: 20px; line-height: 24px; color: #004812; }

/* Event list rows */
.event-entry, .employment-entry {
	border-bottom: 1px solid #ccc;
	padding: 16px 0 16px;
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
}
.event-entry-cnt, .employment-entry-cnt { width: 450px; font-size: 16px; line-height: 25px; }
.event-entry-cnt h3, .employment-entry-cnt h3 { padding-bottom: 5px; margin-bottom: 0; margin-top: 0; }
.event-entry-cnt h3 span.date-summary { text-transform: none; color: #95ab00; font-weight: normal; display: block; font-size: 16px; }
.event-entry-cnt p, .employment-entry-cnt p { padding-bottom: 0; margin-bottom: 0; }
.event-entry-btns, .employment-entry-btns { width: 173px; padding-top: 25px; text-align: right; flex-shrink: 0; }
.event-entry-btns a.btn, .employment-entry-btns a.btn {
	color: #fff;
	background: #339933;
	font-size: 12px;
	padding: 6px 10px;
	text-transform: uppercase;
	white-space: nowrap;
}
.event-entry-btns a.btn:hover, .employment-entry-btns a.btn:hover { text-decoration: none; background: #004812; }

ul.events-list, ul.employment-list { padding: 0; margin: 20px 0; border-top: 1px solid #ccc; list-style: none; }
ul.events-list li, ul.employment-list li { padding: 20px 0; border-bottom: 1px solid #ccc; list-style-type: none; }
ul.events-list li h3, ul.employment-list li h3 { margin-bottom: 0; }
ul.events-list li .date, ul.employment-list li .date { color: #666; font-weight: normal; font-style: italic; text-transform: none; font-size: 14px; }

/* Event detail */
.eventinfo h3 { margin-top: 20px; }
table.workshops { font-size: 14px; }
table.workshops td { padding: 5px; border: 1px solid #ccc; }
table.workshops td.time { font-weight: bold; }
table.workshops td.day { background: #419639; }
table.workshops td.day h2 { color: #fff; font-size: 14px; margin: 0; line-height: 20px; }

/* =Tables
---------- */
.wp-block-table table { border-collapse: collapse; font-size: 14px; }
.wp-block-table td, .wp-block-table th { border: 0; padding: 4px 8px; vertical-align: top; }

/* =Forms (ported contact form styles)
---------- */
.contact-form .field, .registration-form .field {
	background-color: #FAFCF5;
	padding: 10px 8px;
	font-size: 14px;
	color: #419639;
	margin-bottom: 12px;
	width: 100%;
	max-width: 625px;
	border-radius: 3px;
	border: 1px solid #ccc;
	box-sizing: border-box;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}
.contact-form span.label, .registration-form span.label { display: block; margin-top: 10px; font-weight: bold; }
.radiobuton-list label, .radio-list label { margin-right: 15px; margin-left: 5px; }
.checkbox-list label { margin-right: 25px; margin-left: 5px; }
.contact-form input[type="submit"], .registration-form input[type="submit"] {
	color: #fff;
	background: #339933;
	font-size: 12px;
	padding: 6px 14px;
	text-transform: uppercase;
	border: 0;
	cursor: pointer;
	margin-top: 15px;
}
.contact-form input[type="submit"]:hover { background: #004812; }
.mbc-form-note { font-style: italic; color: #666; }

/* =Accordion
---------- */
.accordion { margin-top: 25px; }

/* =Footer
---------- */
.mbc-footerpane {
	background: #fff url('assets/img/container-bg.jpg') 0 100% no-repeat;
	font-size: 13px;
	color: #333;
	text-align: center;
	padding-top: 258px;
	padding-bottom: 8px;
	margin: 0;
}
.mbc-footerpane p { margin: 0; font-size: 13px; }

/* =Search results / archives
---------- */
.mbc-archive { padding: 40px; background: #fff; }
.mbc-archive .wp-block-post-title { font-size: 22px; margin-bottom: 5px; }
.mbc-archive .wp-block-post-title a { color: #419639; }

/* =Editor niceties handled in editor.css */

/* =Gravity Forms (match original DNN form styling)
---------- */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper textarea,
.gform_wrapper select {
	background-color: #FAFCF5 !important;
	border: 1px solid #ccc !important;
	border-radius: 3px !important;
	color: #419639 !important;
	font-size: 14px !important;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
	padding: 10px 8px !important;
}
.gform_wrapper .gfield_label {
	font-weight: bold !important;
	font-size: 14px !important;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
	color: #333 !important;
}
.gform_wrapper .gfield_required {
	color: red !important;
}
.gform_wrapper .gform_button {
	color: #fff !important;
	background: #339933 !important;
	font-size: 12px !important;
	padding: 8px 16px !important;
	text-transform: uppercase !important;
	border: 0 !important;
	border-radius: 0 !important;
	cursor: pointer;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
}
.gform_wrapper .gform_button:hover {
	background: #004812 !important;
}
.gform_wrapper .gfield_checkbox label,
.gform_wrapper .gfield_radio label {
	font-weight: normal !important;
	font-size: 14px !important;
}
.gform_wrapper .gform_confirmation_message {
	color: #004812;
	background: #e6f0cb;
	padding: 20px;
	font-size: 16px;
}
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"] {
	width: 100%;
	max-width: 625px;
}
.gform_wrapper textarea {
	width: 100%;
}

/* =Landing-page layout (Planned Retreats — ported landing-pages.css)
---------- */
.mbc-body-landing { padding: 0 0 30px; }
.mbc-cols-landing { gap: 0 !important; align-items: flex-start; margin-bottom: 0; }
.mbc-cols-landing .mbc-form-col { flex: 0 0 300px; max-width: 300px; }
.mbc-cols-landing .mbc-landing-main { flex: 1; padding: 0 40px 0 30px; box-sizing: border-box; }
.mbc-cols-landing .mbc-landing-main p { font-size: 15px; }
.mbc-cols-landing .mbc-landing-main h1 { margin-top: 25px; font-size: 25px; font-weight: bold; }
.mbc-guide-img { margin: 35px 0 0 35px; }
.mbc-guide-img img { width: 242px; height: auto; }
.mbc-well {
	background-color: #dae7b8;
	border: 1px solid #a6ce39;
	margin: 10px 0 0 30px;
}
.mbc-well h2 {
	margin: 0;
	background-color: #a6ce39;
	color: #004812;
	padding: 5px 10px;
	font-weight: bold;
	font-size: 17px;
}
.mbc-well p { margin: 15px; font-size: 15px; }
.mbc-well h4 {
	color: #004812;
	margin: 0 20px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
}
.mbc-well ul {
	list-style-position: inside;
	padding: 0;
	margin: 5px 15px 10px 20px;
	font-size: 14px;
}
.mbc-well .gform_wrapper { padding: 0 15px 15px; }
.mbc-well .gform_wrapper input[type="text"],
.mbc-well .gform_wrapper input[type="email"],
.mbc-well .gform_wrapper input[type="tel"] {
	background-color: #f7fce9 !important;
	border: 1px solid #a6ce39 !important;
	width: 100%;
}
.mbc-well .gform_wrapper .gform_button {
	background: #ce3729 !important;
	border-radius: 4px !important;
	font-size: 14px !important;
	padding: 10px !important;
	text-transform: uppercase;
}
.mbc-well .gform_wrapper .gform_button:hover { background: #FF612A !important; }

/* =Details/accordion (ported .accordion styles)
---------- */
.wp-block-details {
	background: #e6f0cb;
	margin: 0 0 5px;
	font-size: 16px;
}
.wp-block-details summary {
	color: #004812;
	padding: 8px 20px 8px 44px;
	cursor: pointer;
	list-style: none;
	position: relative;
	font-size: 16px;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 20px;
	margin-top: -6px;
	border-top: solid 6px transparent;
	border-left: solid 10px #004812;
	border-bottom: solid 6px transparent;
}
.wp-block-details[open] summary::before {
	border-top: solid 10px #004812;
	border-left: solid 6px transparent;
	border-right: solid 6px transparent;
	margin-top: -4px;
}
.wp-block-details > :not(summary) {
	margin-left: 44px;
	margin-right: 20px;
}
.wp-block-details > :last-child { padding-bottom: 16px; }
.wp-block-details img { max-width: 100%; height: auto; }

/* Side-by-side list columns (Camp Activities) */
.mbc-list-cols { display: flex; flex-wrap: wrap; gap: 0 30px; align-items: flex-start; }
.mbc-list-cols ul { margin: 0 0 1em; }
