/*
Theme Name: Oro Baptist Church
Theme URI: https://orobaptistchurch.com/
Author: Oro Baptist Church
Author URI: https://orobaptistchurch.com/
Description: A warm, biblical, and accessible custom theme for Oro Baptist Church.
Version: 2.3.49
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: oro-baptist-church
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog
*/

:root {
  --obc-green: #69b81f;
  --obc-forest: #244b2a;
  --obc-forest-dark: #17351d;
  --obc-sky: #42b9ec;
  --obc-brown: #8a4b13;
  --obc-gold: #f4d83a;
  --obc-cream: #f7f4ea;
  --obc-white: #fff;
  --obc-ink: #20261f;
  --obc-muted: #617064;
  --obc-border: rgba(36, 75, 42, .16);
  --obc-shadow: 0 18px 50px rgba(23, 53, 29, .12);
  --obc-serif: "Libre Baskerville", Georgia, serif;
  --obc-sans: Montserrat, Arial, sans-serif;
  --obc-condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --obc-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--obc-ink); background: var(--obc-cream); font-family: var(--obc-sans); font-size: 16px; line-height: 1.7; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--obc-forest); text-underline-offset: .18em; }
a:hover { color: var(--obc-brown); }
button, input, textarea, select { font: inherit; }

/* Keep Formidable validation guidance beside each field, without its generic summary banner. */
.frm_forms .frm_error_style { display: none !important; }
:focus-visible { outline: 3px solid var(--obc-sky); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; padding: 12px 18px; margin: 8px; background: #fff; color: #000; z-index: 100000; }
.obc-container { width: min(calc(100% - 40px), var(--obc-width)); margin-inline: auto; }
.obc-narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.obc-section { padding: clamp(70px, 9vw, 120px) 0; }
.obc-section--white { background: var(--obc-white); }
.obc-section--forest { color: #fff; background: var(--obc-forest); }
.obc-section--soft { background: #edf5e6; }
.obc-eyebrow { margin: 0 0 12px; color: var(--obc-green); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.obc-section--forest .obc-eyebrow { color: var(--obc-gold); }
h1, h2, h3, h4 { color: var(--obc-forest); font-family: var(--obc-serif); line-height: 1.17; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.8rem); }
h2 { margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.obc-section--forest h2, .obc-section--forest h3 { color: #fff; }
.obc-lead { max-width: 720px; color: var(--obc-muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.obc-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 2px solid var(--obc-green); border-radius: 999px; color: var(--obc-forest-dark); background: var(--obc-green); font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.obc-button:hover { transform: translateY(-2px); color: var(--obc-forest-dark); background: #7bca30; }
.obc-button--light { border-color: #fff; color: var(--obc-forest); background: #fff; }
.obc-button--ghost { color: var(--obc-forest); background: transparent; }
.obc-button--ghost:hover { color: #fff; background: var(--obc-forest); border-color: var(--obc-forest); }

.site-header { position: relative; z-index: 50; color: #fff; background: var(--obc-forest-dark); }
.site-header__inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { display: flex; align-items: center; gap: 13px; color: #fff; text-decoration: none; }
.custom-logo-link { display: flex; flex: 0 0 auto; }
.custom-logo { width: 64px; max-height: 64px; object-fit: contain; }
.site-branding__mark { width: 58px; height: 58px; object-fit: contain; background: #fff; border-radius: 4px; }
.site-branding__name { display: block; color: #fff; font-family: var(--obc-serif); font-size: 1.05rem; line-height: 1.2; }
.site-branding__tagline { display: block; margin-top: 4px; color: var(--obc-gold); font-size: .62rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.primary-menu { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); margin: 0; padding: 0; list-style: none; }
.primary-menu a { color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .03em; text-decoration: none; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--obc-gold); }
.menu-toggle { display: none; padding: 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; color: #fff; background: transparent; }

.obc-hero { position: relative; display: grid; min-height: 720px; align-items: center; overflow: hidden; background: #f1f6eb; isolation: isolate; }
.obc-hero::before { position: absolute; top: 50px; right: -8%; z-index: -2; width: 62%; height: 620px; border-radius: 55% 0 0 55%; background: var(--obc-sky); transform: rotate(-5deg); content: ""; }
.obc-hero::after { position: absolute; right: -3%; bottom: -240px; z-index: -1; width: 70%; height: 480px; border-radius: 50%; background: var(--obc-green); content: ""; }
.obc-hero__grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(42px, 6vw, 76px); align-items: center; padding: 72px 0 110px; }
.obc-hero__content { max-width: 700px; }
.obc-hero .obc-eyebrow { color: var(--obc-green); }
.obc-hero h1 { max-width: 700px; margin: 0 0 24px; color: var(--obc-forest-dark); font-family: var(--obc-condensed); font-size: clamp(5rem, 9vw, 8.4rem); font-weight: 800; letter-spacing: -.045em; line-height: .82; text-transform: uppercase; }
.obc-hero h1 span { display: block; color: var(--obc-green); }
.obc-hero__intro { max-width: 650px; margin: 0 0 34px; color: var(--obc-ink); font-size: clamp(1rem, 1.5vw, 1.12rem); }
.obc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.obc-manifest { position: relative; max-width: 500px; padding: 62px 54px 52px; border: 2px solid var(--obc-forest-dark); border-radius: 180px 12px 180px 12px; color: var(--obc-forest-dark); background: rgba(247,244,234,.94); box-shadow: 18px 18px 0 rgba(8,43,22,.14); transform: rotate(2deg); }
.obc-manifest::before { position: absolute; top: -38px; right: 34px; color: var(--obc-gold); font-family: var(--obc-serif); font-size: 8rem; line-height: 1; content: "“"; }
.obc-manifest__reference { display: block; color: var(--obc-green); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.obc-manifest blockquote { margin: 18px 0; font-family: var(--obc-serif); font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.3; }
.obc-manifest p { max-width: 340px; font-size: .9rem; }
.obc-manifest strong { display: inline-block; margin-top: 12px; padding-top: 12px; border-top: 3px solid var(--obc-green); font-family: var(--obc-condensed); font-size: 1.3rem; text-transform: uppercase; }

.obc-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 100px); align-items: center; }
.obc-intro-grid .obc-lead { line-height: 1.9; }
.obc-scripture-card { position: relative; padding: clamp(32px, 6vw, 62px); border-radius: 3px; color: #fff; background: var(--obc-forest); box-shadow: var(--obc-shadow); }
.obc-scripture-card::before { position: absolute; top: -22px; left: 30px; color: var(--obc-gold); font-family: var(--obc-serif); font-size: 5rem; line-height: 1; content: "“"; }
.obc-scripture-card blockquote { margin: 0; font-family: var(--obc-serif); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.45; }
.obc-scripture-card cite { display: block; margin-top: 22px; color: var(--obc-gold); font-family: var(--obc-sans); font-size: .75rem; font-style: normal; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.obc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.obc-card { padding: 32px; border: 1px solid var(--obc-border); border-radius: 5px; background: #fff; box-shadow: 0 8px 28px rgba(23,53,29,.06); }
.obc-card__number { display: block; margin-bottom: 20px; color: var(--obc-green); font-family: var(--obc-serif); font-size: 2rem; }
.obc-card h3 { margin: 0 0 10px; }
.obc-card p { margin: 0; color: var(--obc-muted); }
.obc-schedule { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px, 8vw, 100px); align-items: start; }
.obc-service-list { margin: 0; border-top: 1px solid rgba(255,255,255,.2); }
.obc-service { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; min-height: 106px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.obc-service time { color: var(--obc-gold); font-weight: 700; }
.obc-service time { line-height: 1.2; white-space: nowrap; }
.obc-service strong { display: block; color: #fff; font-family: var(--obc-serif); font-size: 1.18rem; }
.obc-service span { color: rgba(255,255,255,.67); font-size: .9rem; }
.obc-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.obc-section-head h2 { margin-bottom: 0; }
.obc-values { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 42px; }
.obc-value { min-height: 124px; padding: 20px 12px; border-radius: 4px; text-align: center; background: #fff; }
.obc-value:nth-child(even) { background: var(--obc-forest); }
.obc-value__letter { display: block; color: var(--obc-green); font-family: var(--obc-serif); font-size: 2.4rem; line-height: 1; }
.obc-value:nth-child(even) .obc-value__letter { color: var(--obc-gold); }
.obc-value__name { display: block; margin-top: 12px; color: var(--obc-forest); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.obc-value:nth-child(even) .obc-value__name { color: #fff; }
.obc-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.obc-post-card { overflow: hidden; border: 1px solid var(--obc-border); border-radius: 5px; background: #fff; }
.obc-post-card__image { display: block; aspect-ratio: 16/10; overflow: hidden; background: #dfe8db; }
.obc-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.obc-post-card:hover img { transform: scale(1.035); }
.obc-post-card__body { padding: 26px; }
.obc-post-card__meta { color: var(--obc-brown); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.obc-post-card h3 { margin: 8px 0 12px; }
.obc-post-card h3 a { text-decoration: none; }
.obc-post-card p { color: var(--obc-muted); font-size: .92rem; }
.obc-cta { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: clamp(38px, 6vw, 68px); border-radius: 5px; color: #fff; background: var(--obc-forest); box-shadow: var(--obc-shadow); }
.obc-cta h2 { color: #fff; }
.obc-cta p { max-width: 700px; margin-bottom: 0; color: rgba(255,255,255,.76); }
.entry-header { padding: 80px 0 48px; text-align: center; }
.entry-title { margin: 0; font-size: clamp(2.3rem, 5vw, 4.6rem); }
.entry-content { padding-bottom: 90px; }
.entry-content > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--obc-width); }
.entry-content > .alignfull { max-width: none; }
.entry-content img { border-radius: 4px; }
.posts-navigation, .post-navigation { width: min(calc(100% - 40px), var(--obc-width)); margin: 40px auto 80px; }

.site-footer { color: rgba(255,255,255,.76); background: var(--obc-forest-dark); }
.site-footer__main { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 60px; padding: 70px 0; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h2 { margin: 0 0 16px; font-size: 1.8rem; }
.site-footer h3 { margin: 0 0 16px; font-family: var(--obc-sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { color: rgba(255,255,255,.8); }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin: 7px 0; }
.site-footer__bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.13); font-size: .8rem; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .site-navigation { position: fixed; inset: 92px 0 auto; padding: 28px 20px; background: var(--obc-forest-dark); transform: translateY(-130%); transition: transform .25s; }
  .site-navigation.is-open { transform: translateY(0); }
  .primary-menu { flex-direction: column; align-items: flex-start; }
  .obc-intro-grid, .obc-schedule { grid-template-columns: 1fr; }
  .obc-hero__grid { grid-template-columns: 1fr; }
  .obc-cards, .obc-post-grid { grid-template-columns: repeat(2, 1fr); }
  .obc-values { grid-template-columns: repeat(4, 1fr); }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .obc-container, .obc-narrow { width: min(calc(100% - 28px), var(--obc-width)); }
  .site-header__inner { min-height: 78px; }
  .site-navigation { inset-block-start: 78px; }
  .site-branding__mark, .custom-logo { width: 50px; height: 50px; }
  .site-branding__tagline { display: none; }
  .obc-hero { min-height: 680px; }
  .obc-hero::before { top: 360px; width: 95%; }
  .obc-hero__grid { padding: 64px 0 100px; }
  .obc-hero h1 { font-size: clamp(4.6rem, 23vw, 6rem); }
  .obc-manifest { padding: 48px 34px; }
  .obc-cards, .obc-post-grid, .site-footer__main { grid-template-columns: 1fr; }
  .obc-values { grid-template-columns: repeat(2, 1fr); }
  .obc-section-head { display: block; }
  .obc-section-head .obc-button { margin-top: 20px; }
  .obc-service { grid-template-columns: 1fr; gap: 4px; }
  .obc-cta { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
