/*
Theme Name: SJR Restoration
Theme URI: https://www.stjamesrestoration.org/
Author: Rank High Local
Author URI: https://www.rankhighlocal.com/
Description: Custom WordPress theme for St. James Restoration Apostle Church of Christ in God. Built by Rank High Local. Gold and blue brand palette, Merriweather headings, Poppins body text. Fully editable in the block editor with no page builder required.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sjr-restoration
Tags: church, custom-colors, custom-logo, custom-menu, featured-images, block-styles, wide-blocks
*/

/* ------------------------------------------------------------------
   1. Design tokens
------------------------------------------------------------------ */
:root {
  --sjr-gold: #CF9F4D;
  --sjr-gold-dark: #B8852F;
  --sjr-gold-light: #F3E7CF;
  --sjr-blue: #4D9BCF;
  --sjr-blue-dark: #2F6F9C;
  --sjr-navy: #1B2A3A;
  --sjr-ink: #1F1F1F;
  --sjr-muted: #5E6470;
  --sjr-cream: #FAF7F2;
  --sjr-white: #FFFFFF;
  --sjr-line: #E6E1D8;

  --font-heading: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1180px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(27, 42, 58, 0.10);
}

/* ------------------------------------------------------------------
   2. Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--sjr-ink);
  background: var(--sjr-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sjr-blue-dark); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--sjr-gold-dark); }
:focus-visible { outline: 3px solid var(--sjr-blue); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--sjr-navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.25em; }
ul, ol { padding-left: 1.4em; }
hr { border: 0; border-top: 2px solid var(--sjr-gold); width: 80px; margin: 1.5rem 0; }
blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--sjr-gold);
  background: var(--sjr-cream);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite { display: block; margin-top: .75rem; font-family: var(--font-body); font-style: normal; font-size: .95rem; color: var(--sjr-muted); }

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link { left: -9999px; top: 0; background: var(--sjr-navy); color: #fff; padding: .75rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; position: fixed; clip: auto; width: auto; height: auto; }

.container { width: min(var(--container), 100% - 2rem); margin-inline: auto; }

/* ------------------------------------------------------------------
   3. Buttons
------------------------------------------------------------------ */
.btn,
.wp-block-button__link,
button, input[type="submit"] {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid var(--sjr-gold);
  background: var(--sjr-gold);
  color: var(--sjr-navy);
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover, .wp-block-button__link:hover, button:hover, input[type="submit"]:hover {
  background: var(--sjr-gold-dark);
  border-color: var(--sjr-gold-dark);
  color: #fff;
}
.btn--outline, .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--sjr-navy);
}
.btn--light { background: #fff; border-color: #fff; color: var(--sjr-navy); }
.btn--light:hover { background: var(--sjr-gold); border-color: var(--sjr-gold); color: var(--sjr-navy); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--sjr-navy); }
.btn--blue, .wp-block-button.is-style-sjr-blue .wp-block-button__link { background: var(--sjr-blue); border-color: var(--sjr-blue); color: #fff; }
.btn--blue:hover, .wp-block-button.is-style-sjr-blue .wp-block-button__link:hover { background: var(--sjr-blue-dark); border-color: var(--sjr-blue-dark); color: #fff; }

/* ------------------------------------------------------------------
   4. Header
------------------------------------------------------------------ */
.topbar {
  background: var(--sjr-navy);
  color: #fff;
  font-size: .875rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; opacity: .9; }
.topbar a:hover { color: var(--sjr-gold); opacity: 1; }
.topbar__contact { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.topbar__contact a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__social { display: flex; gap: .75rem; align-items: center; }
.topbar__social a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.topbar__social a:hover { background: var(--sjr-gold); color: var(--sjr-navy); }
.topbar svg { width: 15px; height: 15px; fill: currentColor; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--sjr-line);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.site-branding { display: flex; align-items: center; gap: .9rem; flex: none; }
.site-branding .custom-logo-link img { height: 60px; width: auto; }
.site-branding__text { display: flex; flex-direction: column; min-width: 0; }
.site-title { margin: 0; font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.15; font-weight: 700; white-space: nowrap; }
.site-title a { color: var(--sjr-navy); }
.site-title a:hover { color: var(--sjr-gold-dark); }
.site-description { margin: .1rem 0 0; font-size: .78rem; letter-spacing: .04em; color: var(--sjr-muted); white-space: nowrap; }

.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.main-navigation li { position: relative; }
.main-navigation a {
  display: block;
  white-space: nowrap;
  padding: .6rem .8rem;
  font-weight: 500;
  font-size: .95rem;
  color: var(--sjr-navy);
  border-radius: var(--radius);
}
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a {
  color: var(--sjr-gold-dark);
  background: var(--sjr-cream);
}
.main-navigation .menu-item-give > a, .main-navigation .menu-item-give > a:hover { background: var(--sjr-gold); color: var(--sjr-navy); margin-left: .5rem; font-weight: 600; }
.main-navigation .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; box-shadow: var(--shadow); border-radius: var(--radius);
  padding: .5rem; display: none; flex-direction: column; gap: 0;
}
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { display: flex; }

.menu-toggle {
  display: none;
  background: transparent; border: 2px solid var(--sjr-navy); color: var(--sjr-navy);
  padding: .5rem .7rem; border-radius: var(--radius); font-size: .9rem; font-weight: 600;
  align-items: center; gap: .5rem;
}
.menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.menu-toggle:hover { background: var(--sjr-navy); color: #fff; }

@media (max-width: 1400px) and (min-width: 961px) {
  .site-description { display: none; }
}
@media (max-width: 960px) {
  .site-header .container { min-height: 72px; }
  .topbar .container { flex-wrap: nowrap; }
  .topbar__contact a span { display: none; }
  .topbar__contact a:first-child span { display: inline; }
  .site-branding .custom-logo-link img { height: 48px; }
  .site-title { font-size: 1rem; }
  .menu-toggle { display: inline-flex; }
  .main-navigation { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--sjr-line); box-shadow: var(--shadow); display: none; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; align-items: stretch; padding: .75rem 1rem 1rem; gap: .15rem; }
  .main-navigation a { padding: .85rem 1rem; font-size: 1rem; }
  .main-navigation .menu-item-give > a { margin: .5rem 0 0; text-align: center; }
  .main-navigation .sub-menu { position: static; box-shadow: none; display: flex; padding: 0 0 0 1rem; }
  .topbar__contact { gap: 1rem; }
  .topbar__label { display: none; }
  .site-title { white-space: normal; font-size: 1.05rem; }
  .site-description { white-space: normal; }
}

/* ------------------------------------------------------------------
   5. Hero / page banners
------------------------------------------------------------------ */
.hero {
  position: relative;
  color: #fff;
  background: var(--sjr-navy) center / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(27,42,58,.92) 0%, rgba(27,42,58,.72) 55%, rgba(27,42,58,.45) 100%);
}
.hero .container { padding: clamp(4rem, 10vw, 8rem) 0; max-width: 820px; margin-inline: auto; }
.hero--home .container { max-width: none; }
.hero--home .hero__inner { max-width: 760px; }
.hero__eyebrow { display: inline-block; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--sjr-gold); margin-bottom: 1rem; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; max-width: 640px; opacity: .95; }
.hero__actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 1.75rem; }

.page-banner {
  background: var(--sjr-navy) center / cover no-repeat;
  color: #fff; position: relative; isolation: isolate; text-align: center;
}
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(27,42,58,.78); }
.page-banner .container { padding: clamp(3rem, 7vw, 5rem) 0; }
.page-banner h1 { color: #fff; margin: 0; }
.page-banner__rule { width: 70px; height: 3px; background: var(--sjr-gold); margin: 1rem auto 0; }

/* ------------------------------------------------------------------
   6. Sections and content
------------------------------------------------------------------ */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--cream { background: var(--sjr-cream); }
.section--navy { background: var(--sjr-navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__heading { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
.section__heading h2 { margin-bottom: .5rem; }
.section__heading .rule { width: 70px; height: 3px; background: var(--sjr-gold); margin: .75rem auto 1rem; }

.entry-content, .page-content { max-width: 820px; margin-inline: auto; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content .alignwide { max-width: var(--container); width: min(var(--container), 100vw - 2rem); margin-left: calc(50% - min(var(--container), 100vw - 2rem) / 2); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin: 0 0 1.5rem; }
.entry-content .wp-block-image figcaption { font-size: .85rem; color: var(--sjr-muted); text-align: center; }
.entry-content h2 { margin-top: 2.5rem; }
.entry-content h3 { margin-top: 2rem; }
.entry-content .wp-block-separator { border: 0; border-top: 3px solid var(--sjr-gold); width: 80px; margin: 1.25rem 0 1.75rem; }
.entry-content .wp-block-separator.aligncenter { margin-inline: auto; }
.entry-content .wp-block-columns { gap: 2rem; }
.entry-content .wp-block-group.has-background { padding: 2rem; border-radius: var(--radius); }
.entry-content .wp-block-buttons { gap: .75rem; }
.entry-content .wp-block-embed iframe { max-width: 100%; }
.entry-content .wp-block-latest-posts.is-grid { padding: 0; }

.has-sjr-gold-color { color: var(--sjr-gold) !important; }
.has-sjr-gold-background-color { background-color: var(--sjr-gold) !important; }
.has-sjr-gold-dark-color { color: var(--sjr-gold-dark) !important; }
.has-sjr-blue-color { color: var(--sjr-blue) !important; }
.has-sjr-blue-background-color { background-color: var(--sjr-blue) !important; }
.has-sjr-navy-color { color: var(--sjr-navy) !important; }
.has-sjr-navy-background-color { background-color: var(--sjr-navy) !important; color: #fff; }
.has-sjr-navy-background-color h2, .has-sjr-navy-background-color h3, .has-sjr-navy-background-color h4, .has-sjr-navy-background-color p, .has-sjr-navy-background-color a { color: #fff; }
.has-sjr-cream-color { color: var(--sjr-cream) !important; }
.has-sjr-cream-background-color { background-color: var(--sjr-cream) !important; }
.has-sjr-white-color { color: #fff !important; }
.has-sjr-white-background-color { background-color: #fff !important; }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--sjr-line); border-radius: var(--radius);
  padding: 2rem; box-shadow: 0 4px 16px rgba(27,42,58,.05); height: 100%;
}
.card h3 { margin-top: .5rem; }
.card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--sjr-gold-light); display: grid; place-items: center; color: var(--sjr-gold-dark); margin-bottom: 1rem; }
.card__icon svg { width: 26px; height: 26px; fill: currentColor; }
.grid { display: grid; gap: 1.75rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* REACH block style */
.is-style-sjr-reach li, .sjr-reach li {
  list-style: none; display: flex; gap: 1rem; align-items: baseline; margin-bottom: .75rem; font-size: 1.1rem;
}
.is-style-sjr-reach, .sjr-reach { padding-left: 0; }
.is-style-sjr-reach li strong:first-child, .sjr-reach li strong:first-child {
  font-family: var(--font-heading); font-size: 1.75rem; color: var(--sjr-gold-dark); line-height: 1; min-width: 1.4ch;
}
.is-style-sjr-beliefs li, .sjr-beliefs li { list-style: none; padding-left: 1.75rem; position: relative; margin-bottom: .85rem; }
.is-style-sjr-beliefs, .sjr-beliefs { padding-left: 0; }
.is-style-sjr-beliefs li::before, .sjr-beliefs li::before { content: "\271D"; position: absolute; left: 0; top: 0; color: var(--sjr-gold-dark); font-weight: 700; }

/* Service times strip */
.info-strip { background: var(--sjr-gold); color: var(--sjr-navy); }
.info-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1.75rem 0; }
.info-strip__item { display: flex; gap: 1rem; align-items: flex-start; }
.info-strip__item svg { width: 28px; height: 28px; fill: currentColor; flex: none; margin-top: .2rem; }
.info-strip__item strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; }
.info-strip__item span { font-size: .95rem; }
.info-strip a { color: var(--sjr-navy); text-decoration: underline; }
@media (max-width: 800px) { .info-strip .container { grid-template-columns: 1fr; gap: 1rem; } }

/* Home: welcome */
.welcome { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.welcome__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.welcome__signature { font-family: var(--font-heading); font-style: italic; font-size: 1.1rem; margin-top: 1.5rem; }
.welcome__signature span { display: block; font-family: var(--font-body); font-style: normal; font-weight: 600; color: var(--sjr-gold-dark); }
@media (max-width: 900px) { .welcome { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--sjr-navy) center / cover no-repeat; color: #fff; text-align: center; position: relative; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(27,42,58,.85); }
.cta-band .container { padding: clamp(3rem, 6vw, 5rem) 0; max-width: 760px; }
.cta-band h2 { color: #fff; }
.cta-band .hero__actions { justify-content: center; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; border: 1px solid var(--sjr-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__thumb { aspect-ratio: 16 / 10; background: var(--sjr-cream) center / cover no-repeat; display: block; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card__meta { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sjr-gold-dark); font-weight: 600; }
.post-card h3 { font-size: 1.2rem; margin: 0; }
.post-card h3 a { color: var(--sjr-navy); }
.post-card p { color: var(--sjr-muted); font-size: .95rem; margin: 0; }
.post-card .read-more { margin-top: auto; font-weight: 600; font-size: .9rem; }
.no-posts { text-align: center; padding: 3rem 1.5rem; background: var(--sjr-cream); border-radius: var(--radius); }

.single .entry-header { text-align: center; max-width: 820px; margin: 0 auto; padding-top: 3rem; }
.single .entry-meta { color: var(--sjr-muted); font-size: .9rem; }
.single .post-thumbnail img { border-radius: var(--radius); margin: 2rem auto 0; }
.post-navigation { max-width: 820px; margin: 0 auto 3rem; display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; }
.pagination { display: flex; justify-content: center; gap: .5rem; margin: 2.5rem 0 0; }
.pagination .page-numbers { padding: .5rem .9rem; border: 1px solid var(--sjr-line); border-radius: var(--radius); color: var(--sjr-navy); }
.pagination .current { background: var(--sjr-gold); border-color: var(--sjr-gold); }

/* Password form */
.post-password-form { max-width: 520px; margin: 2rem auto; padding: 2rem; background: var(--sjr-cream); border-radius: var(--radius); }
.post-password-form label { display: block; font-weight: 600; }
.post-password-form input[type="password"] { width: 100%; padding: .75rem; border: 1px solid var(--sjr-line); border-radius: var(--radius); margin: .5rem 0 1rem; font-family: inherit; font-size: 1rem; }

/* Forms (WPForms + generic) */
.wpforms-container input[type="text"], .wpforms-container input[type="email"], .wpforms-container input[type="tel"],
.wpforms-container select, .wpforms-container textarea,
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content textarea, .entry-content select {
  width: 100%; padding: .8rem 1rem; border: 1px solid #CFCAC0; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; background: #fff;
}
.wpforms-container .wpforms-field-label { font-weight: 600; }
.wpforms-container button[type="submit"] { background: var(--sjr-gold) !important; border: 2px solid var(--sjr-gold) !important; color: var(--sjr-navy) !important; font-weight: 600 !important; padding: .85rem 1.75rem !important; border-radius: var(--radius) !important; }
.wpforms-container button[type="submit"]:hover { background: var(--sjr-gold-dark) !important; border-color: var(--sjr-gold-dark) !important; color: #fff !important; }

.contact-card { background: var(--sjr-cream); padding: 2rem; border-radius: var(--radius); }
.contact-card h4 { margin-bottom: .25rem; color: var(--sjr-gold-dark); font-family: var(--font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-card p { margin-bottom: 1.25rem; }

/* ------------------------------------------------------------------
   7. Footer
------------------------------------------------------------------ */
.site-footer { background: var(--sjr-navy); color: rgba(255,255,255,.85); font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sjr-gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer-grid h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 1rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.footer-brand p { color: rgba(255,255,255,.75); }
.footer-verse { font-family: var(--font-heading); font-style: italic; color: var(--sjr-gold); margin-top: 1rem; }
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); }
.footer-social a:hover { background: var(--sjr-gold); color: var(--sjr-navy); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.75); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ------------------------------------------------------------------
   8. Utilities
------------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky {}
.bypostauthor {}
.gallery-caption {}

/* WPForms fallback (shown only if the plugin is not active) */
.sjr-form-fallback { background: var(--sjr-cream); border: 1px dashed var(--sjr-gold); border-radius: var(--radius); padding: 1.5rem; }
