/*
Theme Name: Stop The Drift
Theme URI: https://stopthedrift.org
Author: Shawn Gray
Description: Block theme for Stop The Drift. Rebuilds the original Bridge design (black, white and red, Montserrat, wave cards) so every page and template can be edited in the WordPress block editor.
Version: 1.0.19
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stop-the-drift
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { background: #000; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(.wp-block-group, .wp-block-column, .wp-block-columns) > * { margin-block-start: 0; }
h4.wp-block-heading, .std-gray, .std-gray p { color: #b6b6b6; }
.wp-element-button, .wp-block-button__link { transition: transform .3s ease; display: inline-block; }
.wp-element-button:hover, .wp-block-button__link:hover { transform: scale(1.03); }
.std-center { text-align: center; }

/* ---------- Header ---------- */
.std-header {
	position: relative;
	z-index: 50;
	background: #000;
	border-bottom: 2px solid rgba(182, 182, 182, .25);
	padding: 0 45px !important;
}
.std-header-row { display: flex; align-items: center; justify-content: space-between; min-height: 120px; gap: 24px; }
.std-logo { margin: 0 !important; line-height: 0; }
.std-logo img { height: 120px; width: auto; display: block; }
.std-header-right { display: flex; align-items: center; gap: 22px; }
.std-nav { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.std-nav .wp-block-navigation__container { gap: 0 !important; }
.std-nav .wp-block-navigation-item__content { color: #fff !important; padding: 0 15px; line-height: 120px; }
.std-nav .wp-block-navigation-item__content:hover { color: #b6b6b6 !important; }
.std-burger {
	background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; line-height: 0;
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
}
.std-burger svg { width: 26px; height: 26px; }
@media (max-width: 1000px) {
	.std-header { padding: 0 20px !important; }
	.std-header-row { min-height: 84px; }
	.std-logo img { height: 76px; }
	.std-nav { display: none !important; }
}

/* Side menu (slides in from the right like the old Bridge menu) */
.std-side-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 98; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.std-side {
	position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 86vw; z-index: 99;
	background: rgba(0, 0, 0, .92); padding: 110px 40px 40px; box-sizing: border-box;
	transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s;
	overflow-y: auto; text-align: left;
}
body.admin-bar .std-side { top: 32px; }
body.std-menu-open .std-side { transform: none; visibility: visible; }
body.std-menu-open .std-side-scrim { opacity: 1; visibility: visible; }
.std-side-close { position: absolute; top: 28px; right: 26px; background: none; border: 0; color: #bdbdbd; cursor: pointer; min-width: 44px; min-height: 44px; }
.std-side-close:hover { color: #fff; }
.std-side-close svg { width: 24px; height: 24px; }
.std-side h5 { color: #fff; font-size: 36px; line-height: 1.1; font-weight: 700; margin: 0 0 40px; }
.std-side ul { list-style: none; margin: 0; padding: 0; }
.std-side li { margin-bottom: 24px; }
.std-side a { display: flex; align-items: center; gap: 16px; color: #bdbdbd; font-size: 22px; line-height: 1.2; text-decoration: none; transition: color .2s ease; }
.std-side a:hover { color: #fff; }
.std-side a svg { width: 26px; height: 26px; flex: 0 0 28px; }
@media (max-width: 995px) { .std-side { padding-top: 90px; } }

/* Back to top */
.std-top {
	position: fixed; right: 30px; bottom: 30px; z-index: 40; width: 52px; height: 52px; border-radius: 50%;
	border: 2px solid #fff; background: rgba(0,0,0,.4); color: #fff; display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; cursor: pointer;
}
.std-top.is-visible { opacity: 1; visibility: visible; }
.std-top svg { width: 20px; height: 20px; }
.std-footer { background: #000; }

/* ---------- Shared section pieces ---------- */
.std-hero, .std-about-hero {
	min-height: 590px;
	background-color: #000;
	background-size: cover;
	background-position: 50% 0;
	padding-top: 310px !important;
	padding-bottom: 40px !important;
	box-sizing: border-box;
}
.std-hero { background-image: url("assets/images/hero-square.jpg"); }
.std-about-hero { min-height: 614px; background-image: url("/wp-content/uploads/2026/08/Scripture.jpg"); background-position: 50% 50%; }
.std-hero-title { margin-top: 0 !important; margin-bottom: 0 !important; }
.std-hero-title img { width: 350px; max-width: 100%; display: block; }
/* Hero headline: live text set in Oswald to match the original artwork */
h1.std-hero-title { font-family: var(--wp--preset--font-family--oswald); font-weight: 700; font-size: 50px; line-height: 0.875; letter-spacing: -0.055em; text-transform: uppercase; color: #fff; padding-top: 13px; padding-bottom: 18px; margin-top: 0 !important; margin-bottom: 0 !important; }
.std-about-hero h1.std-hero-title { line-height: 0.93; letter-spacing: -0.065em; padding-top: 9px; padding-bottom: 13px; }
.std-hero-row { display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px !important; align-items: center; margin-top: 15px !important; }
.std-hero-row > .wp-block-column { margin: 0 !important; }
.std-hero-btn { justify-content: flex-end; }
@media (max-width: 767px) {
	.std-hero, .std-about-hero { padding-top: 160px !important; min-height: 0; }
	.std-hero-row { grid-template-columns: 1fr; gap: 18px !important; }
	.std-hero-btn { justify-content: flex-start; }
}

.std-section-title { padding-top: 65px !important; }
.std-section-title h4 { margin-top: 15px !important; }
.std-pb40 { padding-bottom: 40px !important; }

/* Wave cards */
.std-cards { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px !important; padding-top: 15px !important; }
.std-card { border-radius: 20px; padding: 125px 30px !important; background-size: cover; background-position: center; background-repeat: no-repeat; margin: 0 !important; }
.std-card p { margin-top: 14px !important; }
.std-card-navy { background-color: #061957; background-image: url("assets/images/left-wave.png"); }
.std-card-green { background-color: #5e8b42; background-image: url("assets/images/right-wave.png"); }
@media (max-width: 767px) { .std-cards { grid-template-columns: 1fr; } .std-card { padding: 80px 24px !important; } }

/* Pillars */
.std-pillars { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px !important; padding: 55px 0 80px !important; }
.std-pillars > .wp-block-column { margin: 0 !important; }
.std-icon { color: #b6b6b6; line-height: 0; margin-bottom: 14px; }
.std-icon svg { width: 34px; height: 34px; }
.std-pillars h5 { margin-bottom: 10px !important; }
.std-pillars p { color: #b6b6b6; }
@media (max-width: 767px) { .std-pillars { grid-template-columns: 1fr; gap: 36px !important; } }

/* Scripture band (orange) */
.std-verse {
	background-color: #1a0605;
	background-image: url("/wp-content/uploads/2026/04/Scripture.jpg");
	background-size: cover; background-position: 50% 50%;
	padding: 50px 0 80px !important;
}
.std-verse-inner { padding: 0 80px !important; }
.std-verse h5 { margin-top: 8px !important; }
@media (max-width: 767px) { .std-verse-inner { padding: 0 !important; } }

/* Post grids (Recent posts, Blog, Listen, Watch) */
.std-post-grid .wp-block-post-template { gap: 32px !important; }
.std-post-grid .wp-block-post-featured-image { margin: 0; overflow: hidden; }
.std-post-grid .wp-block-post-featured-image img { transition: transform .3s ease; display: block; width: 100%; }
.std-post-grid .wp-block-post-featured-image:hover img { transform: scale(1.03); }
.std-recent { padding-top: 15px !important; }
.std-recent h4 { margin-top: 15px !important; margin-bottom: 55px !important; }
@media (max-width: 767px) { .std-post-grid .wp-block-post-template { grid-template-columns: 1fr !important; } }

/* Newsletter */
.std-newsletter { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px !important; align-items: center; padding: 45px 0 80px !important; }
.std-newsletter > .wp-block-column { margin: 0 !important; }
.std-newsletter h5 { color: #b6b6b6; }
.std-newsletter h3 { margin: 4px 0 6px !important; }
.std-newsletter p { color: #b6b6b6; font-size: 15px; line-height: 22px; }
.std-newsletter .mc4wp-form-fields { display: flex; align-items: center; gap: 14px; }
.std-newsletter .mc4wp-form-fields p { margin: 0 !important; }
.std-newsletter .mc4wp-form label { font-size: 0 !important; margin: 0 !important; }
.std-newsletter .mc4wp-form input[type="email"] {
	height: 43px; width: 320px; max-width: 100%; padding: 0 18px; border: 2px solid #fff; border-radius: 20px;
	background: transparent; color: #fff; font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 500; line-height: 39px; box-sizing: border-box;
}
.std-newsletter .mc4wp-form input[type="email"]::placeholder { color: #fff; opacity: .8; }
.std-newsletter .mc4wp-form input[type="submit"] {
	height: 43px; padding: 0 23px; border: 2px solid #fff; border-radius: 20px; background: #fff; color: #000;
	font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700; line-height: 39px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
}
.std-newsletter .mc4wp-response { margin-top: 18px; color: #fff; font-size: 14px; line-height: 1.5; }
.std-newsletter .mc4wp-form input[type="email"]:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #b6b6b6 inset; -webkit-text-fill-color: #000; border-color: #b6b6b6; }
@media (max-width: 1024px) {
	.std-newsletter .mc4wp-form-fields p:first-child { flex: 1 1 auto; min-width: 0; }
	.std-newsletter .mc4wp-form input[type="email"] { width: 100%; }
}
@media (max-width: 767px) {
	.std-newsletter { grid-template-columns: 1fr; }
	.std-newsletter .mc4wp-form-fields { display: block; }
	.std-newsletter .mc4wp-form input[type="email"], .std-newsletter .mc4wp-form input[type="submit"] { width: 100%; margin-bottom: 12px; }
}

/* ---------- Inner page intros (Blog, Listen, Watch) ---------- */
.std-page-intro { padding-top: 30px !important; padding-bottom: 15px !important; }
.std-page-intro h4 { margin-top: 15px !important; }
.std-page-intro p { color: #b6b6b6; margin-top: 15px !important; }
.std-page-list { padding-bottom: 65px !important; }
.std-listen-logos { display: flex !important; align-items: center; gap: 12px !important; padding: 15px 0 50px !important; flex-wrap: wrap; }
.std-listen-logos figure { margin: 0 !important; line-height: 0; }
.std-listen-logos img { width: 45px; height: 45px; object-fit: contain; display: block; }
.std-listen-logos p { color: #fff; }
.std-listen-logos p a { font-weight: 700; color: #fff; }

/* ---------- About ---------- */
.std-hero-text { margin-top: 15px !important; padding-right: min(377px, 34%); box-sizing: border-box; }
@media (max-width: 767px) { .std-hero-text { padding-right: 0; } }
.std-eyebrow { color: #d12f1f; font-weight: 700; text-transform: uppercase; }
.std-purpose { padding: 95px 0 125px !important; }
.std-purpose-inner { padding: 0 85px !important; }
.std-purpose-inner h1 { margin-top: 15px !important; }
.std-purpose-inner h4 { margin-top: 25px !important; }
.std-purpose-inner p:last-child { margin-top: 20px !important; }
.std-goal {
	background-color: #0b0b0b;
	background-image: url("/wp-content/uploads/2026/08/Scripture.jpg");
	background-size: cover; background-position: 50% 50%;
	padding: 85px 0 70px !important;
}
.std-goal-row { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr); gap: 30px !important; }
.std-goal-row > .wp-block-column { margin: 0 !important; }
.std-goal-row p { font-weight: 700; }
.std-boxes { padding: 95px 0 80px !important; }
.std-box-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 !important; }
.std-box-row > .wp-block-column { margin: 0 !important; border: 1px solid #d12f1f; padding: 50px !important; }
.std-box-row.is-top > .wp-block-column:first-child { border-right: 0; }
.std-box-row.is-bottom > .wp-block-column:first-child { border-right: 0; padding-right: 15px !important; }
.std-box-row.is-bottom > .wp-block-column:last-child { border-left: 0; padding-left: 15px !important; }
.std-box-row h3 { margin: 15px 0 25px !important; }
.std-box-row p + p { margin-top: 24px !important; }
@media (max-width: 767px) {
	.std-purpose-inner { padding: 0 !important; }
	.std-goal-row, .std-box-row { grid-template-columns: 1fr; }
	.std-box-row > .wp-block-column { border: 1px solid #d12f1f !important; padding: 36px 24px !important; }
	.std-box-row.is-bottom { border-top: 0; }
}
.std-about-verse { padding: 15px 0 80px !important; }
.std-about-verse h5 { margin-top: 10px !important; }
.std-bio { background: #151719; padding: 95px 0 80px !important; }
.std-bio-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px !important; align-items: start; }
.std-bio-row > .wp-block-column { margin: 0 !important; }
.std-bio-photo { margin-top: 0 !important; margin-bottom: 0 !important; }
.std-bio-photo img { width: 100%; display: block; }
.std-bio-row h1 { margin-top: 15px !important; }
.std-bio-row h4 { margin-top: 15px !important; }
.std-bio-row h4 + p { margin-top: 15px !important; }
.std-sep-thick { border: 0 !important; height: 5px !important; background: #eaeaea !important; margin: 35px 0 15px !important; opacity: 1; width: 100% !important; max-width: none !important; }
.std-sep { border: 0 !important; height: 1px !important; background: #eaeaea !important; margin: 15px 0 !important; opacity: 1; width: 100% !important; max-width: none !important; }
.std-heart { padding: 85px 0 70px !important; }
.std-heart-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px !important; }
.std-heart-row > .wp-block-column { margin: 0 !important; }
.std-heart-row h1 { margin-top: 15px !important; }
.std-heart-row p + p { margin-top: 24px !important; }
@media (max-width: 767px) { .std-bio-row, .std-heart-row { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
	h1.wp-block-heading { font-size: 36px; line-height: 44px; }
	h2.wp-block-heading { font-size: 32px; line-height: 38px; }
	h3.wp-block-heading { font-size: 26px; line-height: 33px; }
}

/* ---------- Single posts ---------- */
body.single-post, body.single-post .wp-site-blocks { background: #151719; }
body.single-post .std-header { background: #000; }
.std-single { padding-bottom: 50px !important; }
.std-single .wp-block-post-featured-image { margin-top: 60px !important; margin-bottom: 0 !important; }
.std-single .wp-block-post-featured-image img { width: 100%; display: block; }
.std-post-head { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 0 .3em !important; margin-top: 23px !important; }
.std-post-head .wp-block-post-date, .std-post-head .wp-block-post-title { font-size: 36px; line-height: 48px; font-weight: 700; margin: 0; }
.std-post-head .wp-block-post-date { color: #b6b6b6; }
.std-post-info { display: flex !important; flex-wrap: wrap; gap: 0 .3em !important; margin-top: 0 !important; margin-bottom: 18px !important; color: #b6b6b6; font-size: 17px; line-height: 26px; font-weight: 500; }
.std-post-info > * { margin: 0 !important; color: #b6b6b6; }
.std-post-info a { color: #b6b6b6; }
.std-post-info a:hover { color: #fff; }
.std-single .wp-block-post-content p { font-size: 20px; line-height: 31px; color: #c9c9c9; margin: 0 0 2px; }
.std-single .wp-block-post-content h1, .std-single .wp-block-post-content h2, .std-single .wp-block-post-content h3, .std-single .wp-block-post-content h4, .std-single .wp-block-post-content h5, .std-single .wp-block-post-content h6 { margin: 0; }
.std-single .wp-block-post-content ul, .std-single .wp-block-post-content ol { font-size: 20px; line-height: 31px; color: #c9c9c9; }
.std-single .wp-block-post-content p a { text-decoration: underline; }
.std-single .wp-block-post-content blockquote {
	width: 100%; max-width: 900px; margin: 65px auto; padding: 55px 24px; box-sizing: border-box;
	border: 0; border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35);
	background: transparent; text-align: center;
}
.std-single .wp-block-post-content blockquote p {
	max-width: 820px; margin: 0 auto; color: #fff; font-family: Georgia, serif;
	font-size: 36px; line-height: 1.05; font-weight: 500;
}
@media (max-width: 1024px) { .std-single .wp-block-post-content blockquote { margin: 55px auto; padding: 46px 24px; } .std-single .wp-block-post-content blockquote p { font-size: 34px; line-height: 1.15; } }
@media (max-width: 767px) {
	.std-single .wp-block-post-content p, .std-single .wp-block-post-content ul, .std-single .wp-block-post-content ol { font-size: 16px; line-height: 27px; }
	.std-single .wp-block-post-content blockquote { margin: 45px auto; padding: 38px 20px; }
	.std-single .wp-block-post-content blockquote p { font-size: 30px; line-height: 1.15; }
	.std-post-head .wp-block-post-date, .std-post-head .wp-block-post-title { font-size: 28px; line-height: 36px; }
}
/* Shorts: video posts show only their content */
body.std-shorts .std-single .wp-block-post-featured-image,
body.std-shorts .std-post-head,
body.std-shorts .std-post-info { display: none !important; }
body.std-shorts .std-single { padding-top: 40px !important; }

/* Audio players (WordPress audio, old and new) */
.mejs-container.wp-audio-shortcode, .mejs-container.wp-audio-shortcode .mejs-controls {
	background: transparent !important; border: 1px solid #fff !important; border-radius: 22px !important; overflow: hidden !important; box-shadow: none !important;
}
.mejs-container.wp-audio-shortcode { height: 46px !important; width: 100% !important; max-width: none !important; box-sizing: border-box !important; }
.mejs-container.wp-audio-shortcode .mejs-controls { height: 44px !important; width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; border: 0 !important; }
.mejs-container.wp-audio-shortcode .mejs-time, .mejs-container.wp-audio-shortcode .mejs-time span { color: #fff !important; }
.mejs-container.wp-audio-shortcode .mejs-time-total, .mejs-container.wp-audio-shortcode .mejs-horizontal-volume-total { background: rgba(255,255,255,.25) !important; }
.mejs-container.wp-audio-shortcode .mejs-time-current, .mejs-container.wp-audio-shortcode .mejs-horizontal-volume-current, .mejs-container.wp-audio-shortcode .mejs-time-handle-content { background: #fff !important; }
.mejs-container.wp-audio-shortcode .mejs-button > button { filter: brightness(0) invert(1) !important; opacity: 1 !important; }
.mejs-container.wp-audio-shortcode .mejs-time-hovered, .mejs-container.wp-audio-shortcode .mejs-time-float, .mejs-container.wp-audio-shortcode .mejs-time-loaded, .mejs-container.wp-audio-shortcode .mejs-time-buffering { display: none !important; }
.wp-block-audio audio { width: 100%; }

/* ---------- Archives and search ---------- */
.std-archive { padding: 60px 0 80px !important; }
.std-archive .wp-block-query-title { margin-bottom: 40px !important; }
.std-archive .wp-block-post-template { gap: 40px 30px !important; }
.std-archive .wp-block-post-title { font-size: 24px; line-height: 1.05em; margin-top: 16px; }
.std-archive .wp-block-post-date { color: #b6b6b6; font-size: 15px; margin-top: 6px; }
.std-archive .wp-block-query-pagination { margin-top: 50px; font-weight: 600; }
.std-404 { padding: 120px 0 140px !important; text-align: center; }
.std-404 p { color: #b6b6b6; margin-top: 16px !important; }
.std-404 .wp-block-buttons { justify-content: center; margin-top: 30px !important; }

/* ---------- Bridge content compatibility (buttons, rows, footnotes) ---------- */
.std-qbutton {
	--c: #000; --bg: #fff; --b: #fff;
	display: inline-block; position: relative; box-sizing: border-box; height: 43px; line-height: 39px; padding: 0 23px;
	border: 2px solid var(--b); border-radius: 20px; background-color: var(--bg); color: var(--c) !important;
	font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
	text-decoration: none !important; white-space: nowrap; transition: color .3s, background-color .3s, border-color .3s;
}
.std-qbutton.white { --c: #fff; --bg: transparent; --b: #fff; }
.std-qbutton:hover { background-color: var(--hbg, var(--bg)); color: var(--hc, var(--c)) !important; border-color: var(--hb, var(--b)); }
.mejs-container, .mejs-container * { font-family: Montserrat, sans-serif !important; }
.std-footnote-ref, .std-footnote-back { cursor: pointer; }

/* Shorts posts: button row under the video (from the old Bridge custom CSS) */
.shorts-button-row .vc_column-inner > .wpb_wrapper { display: flex !important; flex-wrap: wrap; gap: clamp(.625rem, 1.5vw, 1rem); width: 100% !important; }
.shorts-button-row .qbutton {
	display: flex !important; align-items: center; justify-content: center; flex: 1 1 16em; width: auto !important; height: auto !important;
	min-width: 0; margin: 0 !important; padding: .85em clamp(.75em, 2vw, 1.5em) !important; line-height: 1.2 !important; text-align: center; white-space: normal !important;
}
/* Audio rows: the label button beside the player is not clickable */
.std-single .vc_col-sm-3 .qbutton { pointer-events: none; cursor: default; }
@media (min-width: 768px) and (max-width: 1024px) {
	.std-single .vc_col-sm-3, .std-single .vc_col-sm-9 { float: none !important; width: 100% !important; }
	.std-single .vc_col-sm-3 { margin-bottom: 12px !important; }
	.std-single .vc_col-sm-3 .qbutton { display: inline-block !important; width: auto !important; white-space: nowrap !important; }
}

/* ==== STD-MATCH-BRIDGE ==== */
body { line-height: 26px; }
p { line-height: 24px; }
.vc_column_container > .vc_column-inner { padding-top: 15px; }
.wpb_content_element, .wpb_text_column, .wpb_video_widget, .vc_separator { margin-bottom: 0 !important; }
body.std-shorts .std-single { padding-top: 0 !important; }
.std-single .wp-block-post-content .wpb_text_column p:last-child { margin-bottom: 0; }
.std-single { padding-bottom: 26px !important; }
body.std-shorts .std-single { padding-bottom: 33px !important; }
.std-post-head .wp-block-post-date, .std-post-info, .std-post-info > *, .std-post-info a { color: #bebebe; }
.std-post-info a { text-decoration: none; }
.std-post-info a:hover { color: #fff; }
.std-single .wp-block-post-content blockquote p { font-weight: 500 !important; }
.std-single .wp-block-post-content sup { font-size: 50%; line-height: inherit; vertical-align: super; position: static; top: auto; }
@media (min-width: 768px) { .std-hero { padding-top: 325px !important; } }
.std-hero-row { grid-template-columns: minmax(0, 723fr) minmax(0, 347fr); }
.std-card p { margin-top: 15px !important; }
.std-verse-inner { padding: 0 65px !important; }
.std-verse h5 { margin-top: 15px !important; }
.std-hero + .std-section-title { padding-top: 80px !important; }
.std-pillars h5 { margin-bottom: 15px !important; }
.std-recent { padding-top: 30px !important; }
.std-newsletter { padding-top: 62px !important; padding-bottom: 79px !important; align-items: start; }
.std-newsletter h3 { margin: 10px 0 10px !important; }
.std-newsletter p { font-size: 17px; line-height: 24px; }
.std-newsletter > .wp-block-column:last-child { padding-top: 25px; }
@media (max-width: 767px) { .std-newsletter > .wp-block-column:last-child { padding-top: 0; } }
@media (min-width: 768px) { .std-about-hero { padding-top: 325px !important; } }
.std-purpose .std-purpose-inner > h1.wp-block-heading { margin-top: 30px !important; padding-top: 0 !important; }
.std-goal-row { grid-template-columns: minmax(0, 196fr) minmax(0, 874fr); }
@media (min-width: 768px) { .std-boxes > .std-box-row { max-width: 1130px !important; margin-left: auto !important; margin-right: auto !important; } }
.std-box-row h3 { margin-top: 10px !important; }
.std-purpose { padding-top: 110px !important; padding-bottom: 140px !important; }
.std-box-row.is-top > .wp-block-column { padding-bottom: 75px !important; }
.std-about-verse { padding-top: 30px !important; }
.std-about-verse h5 { margin-top: 15px !important; }
.std-bio { padding-top: 110px !important; }
.std-bio-row h4 { margin-top: 25px !important; }
.std-bio-row h4 + p { margin-top: 25px !important; }
.std-bio-row .std-sep { margin: 15px 0 20px !important; }
.std-heart { padding-top: 90px !important; }
.page-id-240 .std-page-intro { padding-bottom: 65px !important; }
.page-id-242 .std-page-intro { padding-bottom: 30px !important; }
.std-listen-logos { padding-top: 30px !important; }
.std-post-grid .wp-block-post-template { row-gap: 31.1px !important; }
.page-id-240 .std-page-list { padding-bottom: 30px !important; }
.page-id-961 .std-page-list { padding-bottom: 81px !important; }
.page-id-242 .std-page-list { padding-bottom: 81px !important; }
.std-single .wp-block-post-content blockquote { margin-top: 40px !important; margin-bottom: 40px !important; }

/* WPBakery fallback grid (used when the WPBakery plugin is not installed) */
.vc_row:before, .vc_row:after, .vc_clearfix:before, .vc_clearfix:after { content: " "; display: table; }
.vc_row:after, .vc_clearfix:after { clear: both; }
.vc_row { margin-left: -15px; margin-right: -15px; }
.wpb_column, .vc_column_container { position: relative; min-height: 1px; box-sizing: border-box; width: 100%; }
.vc_column_container > .vc_column-inner { box-sizing: border-box; padding-left: 15px; padding-right: 15px; width: 100%; }
@media (min-width:768px){.vc_col-sm-1{float:left;width:8.33333333%}.vc_col-sm-2{float:left;width:16.66666667%}.vc_col-sm-3{float:left;width:25%}.vc_col-sm-4{float:left;width:33.33333333%}.vc_col-sm-5{float:left;width:41.66666667%}.vc_col-sm-6{float:left;width:50%}.vc_col-sm-7{float:left;width:58.33333333%}.vc_col-sm-8{float:left;width:66.66666667%}.vc_col-sm-9{float:left;width:75%}.vc_col-sm-10{float:left;width:83.33333333%}.vc_col-sm-11{float:left;width:91.66666667%}.vc_col-sm-12{float:left;width:100%}.vc_col-sm-1\/5{float:left;width:20%}.vc_col-sm-2\/5{float:left;width:40%}.vc_col-sm-3\/5{float:left;width:60%}.vc_col-sm-4\/5{float:left;width:80%}}
@media (min-width:992px){.vc_col-md-1{float:left;width:8.33333333%}.vc_col-md-2{float:left;width:16.66666667%}.vc_col-md-3{float:left;width:25%}.vc_col-md-4{float:left;width:33.33333333%}.vc_col-md-5{float:left;width:41.66666667%}.vc_col-md-6{float:left;width:50%}.vc_col-md-7{float:left;width:58.33333333%}.vc_col-md-8{float:left;width:66.66666667%}.vc_col-md-9{float:left;width:75%}.vc_col-md-10{float:left;width:83.33333333%}.vc_col-md-11{float:left;width:91.66666667%}.vc_col-md-12{float:left;width:100%}.vc_col-md-1\/5{float:left;width:20%}.vc_col-md-2\/5{float:left;width:40%}.vc_col-md-3\/5{float:left;width:60%}.vc_col-md-4\/5{float:left;width:80%}}
@media (min-width:1200px){.vc_col-lg-1{float:left;width:8.33333333%}.vc_col-lg-2{float:left;width:16.66666667%}.vc_col-lg-3{float:left;width:25%}.vc_col-lg-4{float:left;width:33.33333333%}.vc_col-lg-5{float:left;width:41.66666667%}.vc_col-lg-6{float:left;width:50%}.vc_col-lg-7{float:left;width:58.33333333%}.vc_col-lg-8{float:left;width:66.66666667%}.vc_col-lg-9{float:left;width:75%}.vc_col-lg-10{float:left;width:83.33333333%}.vc_col-lg-11{float:left;width:91.66666667%}.vc_col-lg-12{float:left;width:100%}.vc_col-lg-1\/5{float:left;width:20%}.vc_col-lg-2\/5{float:left;width:40%}.vc_col-lg-3\/5{float:left;width:60%}.vc_col-lg-4\/5{float:left;width:80%}}
.wpb_text_column :last-child, .wpb_text_column p:last-child { margin-bottom: 0; }
.wpb_video_widget .wpb_video_wrapper { position: relative; width: 100%; padding-top: 56.25%; }
.vc_video-aspect-ratio-916 .wpb_video_wrapper { padding-top: 177.7778%; }
.vc_video-aspect-ratio-43 .wpb_video_wrapper { padding-top: 75%; }
.vc_video-aspect-ratio-11 .wpb_video_wrapper { padding-top: 100%; }
.wpb_video_widget .wpb_video_wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Paragraph spacing in posts (blank paragraphs are removed, so spacing lives here) */
.std-single .wp-block-post-content p { margin-bottom: 24px; }
.std-single .wp-block-post-content .wpb_text_column p:last-child { margin-bottom: 0; }
.std-single .wp-block-post-content .wpb_text_column h1,
.std-single .wp-block-post-content .wpb_text_column h2,
.std-single .wp-block-post-content .wpb_text_column h3,
.std-single .wp-block-post-content .wpb_text_column h4 { margin: 40px 0 14px; }
.std-single .wp-block-post-content .wpb_text_column > .wpb_wrapper > :first-child { margin-top: 0; }
.std-single .wp-block-post-content ul, .std-single .wp-block-post-content ol { margin: 0 0 24px; }
/* WPBakery rows span 30px wider than the text column, as WPBakery drew them */
.wp-block-post-content > .vc_row { margin-left: -15px !important; margin-right: -15px !important; max-width: none !important; width: auto; }

/* ==== Native Gutenberg posts (converted from WPBakery) ==== */
.std-single .wp-block-post-content > :first-child { margin-top: 0; }
.std-single .wp-block-post-content p:last-child { margin-bottom: 0; }
.std-single .wp-block-post-content > h1, .std-single .wp-block-post-content > h2,
.std-single .wp-block-post-content > h3, .std-single .wp-block-post-content > h4 { margin: 40px 0 14px; }
.std-single .wp-block-post-content > h1:first-child, .std-single .wp-block-post-content > h2:first-child,
.std-single .wp-block-post-content > h3:first-child, .std-single .wp-block-post-content > h4:first-child { margin-top: 0; }
.std-single .wp-block-post-content .wp-block-list { margin: 0 0 24px; }
.std-single .wp-block-embed, .std-single .wp-block-audio { margin: 0; }
.std-single .wp-block-columns.std-cols { gap: 30px; margin: 0; }
.std-single .wp-block-columns.std-cols > .wp-block-column { min-width: 0; }
@media (max-width: 767px) { .std-single .wp-block-columns.std-cols { flex-wrap: wrap !important; } .std-single .wp-block-columns.std-cols > .wp-block-column { flex-basis: 100% !important; } }
.std-single .wp-block-buttons { gap: 10px; margin: 0; }
.std-single .wp-block-button.std-btn-outline .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; }
.std-single .wp-block-button.std-btn-outline .wp-block-button__link:hover { background: #1e1d1d; color: #fff; }
.std-single .wp-block-button:not(.std-btn-outline) .wp-block-button__link:hover { background: #e9e8e8; border-color: #e9e8e8; color: #000; }
.std-single .wp-block-button.std-btn-label .wp-block-button__link { pointer-events: none; cursor: default; white-space: nowrap; }
.std-single .wp-block-buttons.shorts-button-row { display: flex; flex-wrap: wrap; gap: clamp(.625rem, 1.5vw, 1rem); width: 100%; }
.std-single .wp-block-buttons.shorts-button-row > .wp-block-button { flex: 1 1 16em; min-width: 0; margin: 0; }
.std-single .wp-block-buttons.shorts-button-row .wp-block-button__link { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; padding: .85em clamp(.75em, 2vw, 1.5em); line-height: 1.2; text-align: center; white-space: normal; }

/* Native posts: match the old WPBakery column spacing */
.std-single .wp-block-post-content { padding-top: 15px; }
.std-single .wp-block-columns.std-cols { gap: 0; margin-left: -15px !important; margin-right: -15px !important; max-width: none !important; width: auto; }
.std-single .wp-block-columns.std-cols > .wp-block-column { padding: 15px 15px 0; box-sizing: border-box; }
.std-single .std-cols .wp-block-column > p { margin-bottom: 0; }
.std-single .std-cols .wp-block-column > h1, .std-single .std-cols .wp-block-column > h2, .std-single .std-cols .wp-block-column > h3, .std-single .std-cols .wp-block-column > h4 { margin: 40px 0 14px; }
.std-single .std-cols .wp-block-column > :first-child { margin-top: 0; }
.std-single .std-cols .wp-block-column > :last-child { margin-bottom: 0; }
.std-single .std-cols .wp-block-column > blockquote { margin-top: 25px !important; }
.std-single .wp-block-post-content > :has(+ .wp-block-spacer) { margin-bottom: 0; }
@media (min-width: 768px) and (max-width: 1024px) {
	.std-single .std-cols:has(.std-btn-label) { flex-wrap: wrap !important; }
	.std-single .std-cols:has(.std-btn-label) > .wp-block-column { flex-basis: 100% !important; }
	.std-single .std-cols:has(.std-btn-label) > .wp-block-column:first-child { margin-bottom: 12px; }
}

/* ==== Phone fixes ==== */
@media (max-width: 767px) {
	.std-purpose, .std-goal, .std-about-verse, .std-bio, .std-heart { padding-left: 24px !important; padding-right: 24px !important; }
	.std-hero-row { grid-template-columns: 1fr !important; gap: 24px !important; }
	.std-hero-btn { justify-content: flex-start !important; }
	.std-hero-btn .wp-block-button__link { white-space: nowrap; }
	.std-goal-row { grid-template-columns: 1fr !important; gap: 16px !important; }
	.std-boxes { padding-left: 24px !important; padding-right: 24px !important; }
	.std-box-row > .wp-block-column { padding-left: 24px !important; padding-right: 24px !important; }
	.std-box-row { gap: 20px !important; }
	.std-box-row > .wp-block-column { border: 1px solid #d12f1f !important; }
	.std-box-row + .std-box-row { margin-top: 20px !important; }
}

/* Stacked headline lines (like STOP / CODDLING / ADULTS) sit tight together */
.std-single .wp-block-post-content h1 + h1, .std-single .wp-block-post-content h2 + h2 { margin-top: 0 !important; }
