/* ============================================================
   Paradise Recovery Housing — structural skeleton
   Mirrors layout/spacing/responsive behavior of the reference.
   Placeholder content only.
   ============================================================ */

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2680c2; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 600; line-height: 1.25; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ---------- Header (logo non-sticky, nav sticky) ---------- */
.site-header {
  background: #fff;
  position: relative;
  z-index: 50;
}
.brand-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 30px;
  max-width: 1170px;
  margin: 0 auto;
  position: relative;
}
.brand img {
  max-height: 140px;
  width: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Sticky nav strip — sticks to top on scroll, logo scrolls away */
.primary-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.primary-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1170px;
  margin: 0 auto;
}
.primary-nav a {
  display: block;
  padding: 18px 22px;
  color: #444;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s;
}
.primary-nav a:hover,
.primary-nav a.active { color: #2680c2; }

/* Dropdowns */
.primary-nav .has-dropdown { position: relative; }
.primary-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  display: none;
  flex-direction: column;
  padding: 8px 0;
  margin: 0;
  z-index: 110;
}
.primary-nav .has-dropdown:hover > .dropdown,
.primary-nav .has-dropdown:focus-within > .dropdown {
  display: flex;
}
.primary-nav .dropdown li { width: 100%; }
.primary-nav .dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #555;
  text-align: left;
}
.primary-nav .dropdown a:hover { color: #2680c2; }

/* Mobile menu toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  background: #333;
  transition: all 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 687px;            /* matches reference slider height */
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
  text-align: center;
  color: #fff;
}
.hero-title-block,
.hero-sub-block {
  background: rgba(51, 51, 51, 0.4);
  padding: 14px 28px;
  max-width: 900px;
  margin: 6px 0;
}
.hero-title-block h1 {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.2;
}
.hero-sub-block p {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
}

/* ---------- Intro ---------- */
.intro {
  background: #f6f6f6;
  padding: 80px 0 70px;
  text-align: center;
}
.intro-inner { max-width: 900px; }
.intro-heading {
  font-size: 26px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
}
.intro-phone {
  font-size: 22px;
  font-weight: 500;
  color: #2680c2;
  margin: 0 0 26px;
}
.intro-phone a { color: inherit; }
.intro-body {
  font-size: 16px;
  color: #666;
  margin: 0 0 26px;
  line-height: 1.85;
}
.intro-cta {
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}
.intro-cta a { color: #2680c2; }
.intro-tagline {
  font-size: 13px;
  letter-spacing: 2px;
  color: #888;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- Posts (2/3 + 1/3 split) ---------- */
.posts {
  background: #fff;
  padding: 70px 0;
}
.posts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.featured-post {
  position: relative;
}
.featured-link {
  display: block;
  position: relative;
  overflow: hidden;
}
.featured-link img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.featured-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 26px 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: #fff;
}
.featured-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  margin-bottom: 10px;
}
.featured-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #fff;
  line-height: 1.3;
}

.latest-posts .block-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  padding-bottom: 12px;
  border-bottom: 2px solid #2680c2;
  margin-bottom: 18px;
}
.latest-list li { border-bottom: 1px solid #eee; }
.latest-list li:last-child { border-bottom: 0; }
.latest-list a {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  color: #444;
  text-decoration: none;
}
.latest-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
}
.post-meta-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-title {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  line-height: 1.4;
  margin-bottom: 4px;
}
.post-meta {
  font-size: 12px;
  color: #999;
}
.view-all {
  text-align: right;
  margin: 18px 0 0;
}
.view-all a {
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: #2680c2;
}

/* ---------- Events ---------- */
.events {
  background: #f6f6f6;
  padding: 60px 0;
}
.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #444;
  margin: 0 0 30px;
}
.events-list { text-align: center; }
.events-empty {
  color: #888;
  font-style: italic;
  margin: 0;
}

/* ---------- Footer widget area ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
}
.footer-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding: 60px 30px 40px;
  align-items: start;
}
.footer-col { }
.footer-col-brand img {
  max-width: 260px;
}
.footer-col-cert img {
  max-width: 240px;
}
.footer-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #2680c2;
  margin-bottom: 16px;
}
.footer-contact { font-size: 14px; color: #555; }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  line-height: 1.5;
}
.footer-contact li.multi { align-items: center; }
.footer-contact .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2680c2;
  color: #fff;
  flex-shrink: 0;
}
.footer-contact .icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
.footer-contact a { color: inherit; }

.footer-col-cert {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #2680c2;
  color: #fff;
  border-radius: 6px;
  transition: background 0.15s;
}
.social-row a:hover {
  background: #1a6296;
}
.social-row a svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ---------- Footer copyright bar ---------- */
.footer-copyright {
  background: #f0f0f0;
  padding: 18px 0;
}
.footer-copyright-inner p {
  margin: 0;
  font-size: 13px;
  color: #777;
  text-align: center;
}

/* ============================================================
   Sub-page sections (shared across non-home pages)
   ============================================================ */

/* Page hero — small title band on non-home pages */
.page-hero {
  padding: 70px 0 30px;
  text-align: center;
  background: #fff;
}
.page-hero .page-title {
  font-size: 38px;
  font-weight: 400;
  color: #444;
  margin: 0 0 10px;
}
.page-hero .page-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
}

/* Page hero with image overlay (recovery-homes style) */
.page-hero-image {
  position: relative;
  height: 360px;
  overflow: hidden;
}
.page-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-image .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
}
.page-hero-image .overlay h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  padding: 0 30px;
}

/* Body text section (long-form pages) */
.section-text {
  padding: 50px 0;
  background: #fff;
}
.section-text .container { max-width: 900px; }
.section-text h2 {
  font-size: 22px;
  font-weight: 600;
  color: #2680c2;
  margin: 30px 0 12px;
}
.section-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: #444;
  margin: 24px 0 10px;
}
.section-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin: 0 0 16px;
}
.section-text ul, .section-text ol {
  padding-left: 22px;
  margin: 0 0 16px;
}
.section-text li {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 6px;
}

/* Two-column text + image (alternates direction) */
.two-col {
  padding: 60px 0;
  background: #fff;
}
.two-col .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.two-col--reverse .container > *:first-child { order: 2; }
.two-col h2 {
  font-size: 24px;
  font-weight: 600;
  color: #444;
  margin: 0 0 14px;
}
.two-col p { color: #666; line-height: 1.8; margin: 0 0 14px; }
.two-col ul { padding-left: 20px; margin: 0 0 14px; }
.two-col ul li { color: #666; line-height: 1.8; margin-bottom: 6px; }
.two-col img { width: 100%; height: auto; }
.two-col .btn-outline {
  display: inline-block;
  border: 1px solid #2680c2;
  color: #2680c2;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 6px;
}

/* 3-card row (partners / brand badges) */
.card-row-3 {
  padding: 60px 0;
  background: #f6f6f6;
}
.card-row-3 .row-title {
  text-align: center;
  font-size: 24px;
  color: #444;
  font-weight: 600;
  margin: 0 0 40px;
}
.card-row-3 .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}
.card-row-3.cards-2 .grid {
  grid-template-columns: 1fr 1fr;
  max-width: 880px;
  margin: 0 auto;
}
.card-row-3 .card {
  background: #fff;
  padding: 30px;
  text-align: center;
  border: 1px solid #eee;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card-row-3 a.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.card-row-3 .card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
}
.card-row-3 .card img.card-avatar-logo {
  width: 130px;
  height: 130px;
  border-radius: 0;
  object-fit: contain;
  margin: 0 auto 18px;
}
.card-row-3 .card-avatar-initials {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #2680c2;
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.card-row-3 .card-name {
  font-size: 16px;
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
}
.card-row-3 .card-role {
  font-size: 13px;
  color: #777;
  margin-bottom: 14px;
  line-height: 1.55;
}
.card-row-3 .card-pill {
  display: inline-block;
  font-size: 11px;
  padding: 4px 10px;
  background: #f0f0f0;
  color: #666;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

/* Feature strip — full-bleed image with 3 word callouts overlaid */
.feature-strip {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #333;
}
.feature-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.feature-strip .grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 100%;
  align-items: center;
  text-align: center;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 30px;
}
.feature-strip .word {
  color: #fff;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Get Connected centered band */
.connect-band {
  padding: 60px 0;
  background: #f0f0f0;
  text-align: center;
}
.connect-band h2 {
  font-size: 24px;
  color: #444;
  font-weight: 600;
  margin: 0 0 14px;
}
.connect-band p { color: #666; margin: 0 0 22px; }
.connect-icons {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.connect-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #bbb;
  color: #fff;
  border-radius: 50%;
  font-weight: 600;
  font-size: 14px;
}

/* Latest Community Activity — 4-card row */
.activity-row {
  padding: 50px 0;
  background: #f6f6f6;
}
.activity-row .row-title {
  text-align: center;
  font-size: 22px;
  color: #444;
  font-weight: 600;
  margin: 0 0 30px;
}
.activity-row .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.activity-row .card {
  background: #fff;
}
.activity-row .card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}
.activity-row .card-body { padding: 14px; }
.activity-row .card-title {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin: 0 0 4px;
  line-height: 1.4;
}
.activity-row .card-meta {
  font-size: 11px;
  color: #999;
  margin: 0 0 6px;
}
.activity-row .card-excerpt {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
  margin: 0;
}

/* Post grid — community / blog page (3 columns) */
.post-grid-section { padding: 60px 0; background: #fff; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.post-grid .post-card {
  background: #fff;
}
.post-grid .post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.post-grid .post-card .body { padding: 18px 0; }
.post-grid .post-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #444;
  margin: 0 0 6px;
  line-height: 1.4;
}
.post-grid .post-card .post-meta {
  font-size: 11px;
  color: #999;
  margin: 0 0 10px;
}
.post-grid .post-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin: 0;
}
.post-grid .logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #eee;
}
.post-grid .logo-card img {
  max-width: 70%;
  height: auto;
  width: auto;
}

/* Image grid (recovery-houses): 1 large + 2x2 thumbnails */
.image-grid-section { padding: 50px 0; background: #fff; }
.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}
.image-grid .main {
  grid-row: span 2;
  height: 100%;
}
.image-grid .main img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
.image-grid .thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.image-grid .thumbs img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

/* Share strip */
.share-strip {
  padding: 24px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.share-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.share-strip .label {
  font-size: 13px;
  color: #666;
}
.share-strip .icons {
  display: flex;
  gap: 6px;
}
.share-strip .icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #ddd;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

/* Related Posts (2-card row) */
.related-posts {
  padding: 50px 0;
  background: #fff;
}
.related-posts .row-title {
  font-size: 16px;
  font-weight: 600;
  color: #444;
  margin: 0 0 20px;
}
.related-posts .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.related-posts .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 10px;
}
.related-posts .card-title {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin: 0 0 4px;
}
.related-posts .card-meta { font-size: 11px; color: #999; }

/* Form block */
.form-block {
  padding: 50px 0 70px;
  background: #fff;
}
.form-block .container { max-width: 800px; }
.form-block h2 {
  font-size: 22px;
  color: #444;
  margin: 0 0 6px;
}
.form-block .form-subtitle {
  font-size: 14px;
  color: #888;
  margin: 0 0 30px;
}
.form-block label {
  display: block;
  font-size: 14px;
  color: #444;
  margin: 18px 0 6px;
}
.form-block input[type="text"],
.form-block input[type="email"],
.form-block input[type="tel"],
.form-block input[type="date"],
.form-block textarea {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #444;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
}
.form-block textarea {
  min-height: 100px;
  resize: vertical;
}
.form-block .captcha {
  margin: 24px 0;
  font-size: 12px;
  color: #888;
}
.form-block .btn-submit {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: #2680c2;
  color: #fff;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 30px;
}

/* Address strip (contact page) — 3-col with overlay backgrounds */
.address-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #2680c2;
  color: #fff;
}
.address-strip .cell {
  position: relative;
  padding: 50px 30px;
  text-align: center;
  overflow: hidden;
}
.address-strip .cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.address-strip .cell--addr::before { background-image: url("stock/florida-coast.jpg"); }
.address-strip .cell--email::before { background-image: url("stock/palm-sunset.jpg"); }
.address-strip .cell--phone::before { background-image: url("stock/dock-horizon.jpg"); }
.address-strip .cell--email { background: rgba(38, 128, 194, 0.85); }
.address-strip .cell-content {
  position: relative;
  z-index: 1;
}
.address-strip .cell-label {
  font-size: 26px;
  font-weight: 300;
  margin: 0 0 10px;
}
.address-strip .cell-value {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
}

/* Events list rows */
.events-toolbar {
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}
.events-toolbar .container {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.events-toolbar input[type="search"] {
  flex: 1;
  min-width: 200px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}
.events-toolbar .btn-find {
  padding: 8px 16px;
  background: #2680c2;
  color: #fff;
  border: 0;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.events-toolbar .view-tabs {
  display: flex;
  gap: 6px;
}
.events-toolbar .view-tabs a {
  padding: 6px 12px;
  font-size: 13px;
  color: #666;
  border: 1px solid #ddd;
  text-decoration: none;
}
.events-toolbar .view-tabs a.active { color: #2680c2; }

.events-nav {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.events-nav .container {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: #444;
}
.events-empty-banner {
  padding: 18px 30px;
  background: #f0f0f0;
  text-align: center;
  font-size: 14px;
  color: #777;
}
.events-list-section { padding: 40px 0; background: #fff; }
.events-list-section h2 {
  font-size: 22px;
  color: #444;
  margin: 0 0 24px;
}
.events-list-row {
  display: grid;
  grid-template-columns: 80px 1fr 200px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid #eee;
}
.events-list-row .date-block {
  text-align: center;
  border: 1px solid #ddd;
  padding: 10px;
}
.events-list-row .date-block .mo {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #2680c2;
  letter-spacing: 1px;
}
.events-list-row .date-block .day {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: #444;
}
.events-list-row .event-title {
  font-size: 18px;
  font-weight: 600;
  color: #444;
  margin: 0 0 6px;
}
.events-list-row .event-meta {
  font-size: 13px;
  color: #888;
  margin: 0 0 4px;
}
.events-list-row .event-cat {
  font-size: 12px;
  color: #2680c2;
}
.events-list-row .event-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

/* Quote block (single event detail) */
.quote-block {
  background: #f6f6f6;
  border-left: 3px solid #2680c2;
  padding: 18px 22px;
  margin: 24px 0;
  font-style: italic;
  font-size: 15px;
  color: #555;
}

/* Single event detail layout */
.event-detail { padding: 40px 0; background: #fff; }
.event-detail .container { max-width: 900px; }
.event-detail .hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  margin: 0 0 20px;
}
.event-detail h1 {
  font-size: 28px;
  color: #444;
  font-weight: 600;
  margin: 0 0 18px;
}
.event-detail p {
  color: #666;
  line-height: 1.8;
}

/* Resources page: two-col with logo + link list */
.resources-section { padding: 50px 0; background: #fff; }
.resources-section .container { max-width: 1000px; }
.resources-section .head {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.resources-section .logo-block {
  background: #333;
  padding: 60px 30px;
  text-align: center;
}
.resources-section .logo-block img { max-width: 100%; }
.resources-section .links-block h3 {
  font-size: 14px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
  font-weight: 600;
}
.resources-section .links-block ul { }
.resources-section .links-block li { padding: 6px 0; }
.resources-section .links-block a { color: #2680c2; font-size: 14px; }
.resources-section .badge-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  text-align: center;
}
.resources-section .badge-row .badge img {
  max-width: 120px;
  margin: 0 auto 10px;
}
.resources-section .badge-row .badge-label {
  font-size: 13px;
  font-weight: 600;
  color: #2680c2;
  letter-spacing: 1px;
}

/* Simple coming-soon page */
.coming-soon { padding: 80px 30px 200px; }
.coming-soon p { font-size: 15px; color: #555; }

/* Donate */
.donate-block { padding: 50px 0 70px; background: #fff; }
.donate-block .container { max-width: 760px; }
.donate-block .paypal-btn {
  display: inline-block;
  background: #ffc439;
  border: 1px solid #e0a800;
  padding: 8px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  color: #003087;
  margin: 8px 0 30px;
  cursor: pointer;
}
.donate-block p { color: #555; line-height: 1.85; margin: 0 0 18px; }
.donate-block .address-card {
  text-align: center;
  margin: 24px 0;
}
.donate-block .address-card strong {
  display: block;
  color: #444;
  margin-bottom: 4px;
}

/* Contact card inside text section (halfway-house-benefits) */
.contact-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  margin: 30px 0;
  padding: 20px;
  border: 1px solid #eee;
}
.contact-card img { width: 100%; height: auto; }
.contact-card h3 { margin: 0 0 8px; color: #444; }
.contact-card p { margin: 4px 0; font-size: 14px; color: #555; }

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet */
@media (max-width: 960px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .featured-link img { height: 380px; }
  .footer-widgets {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col-cert {
    align-items: center;
  }
  .footer-contact li { justify-content: center; }
}

/* Mobile */
@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .primary-nav {
    min-height: 56px;
  }
  .primary-nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid #f0f0f0;
  }
  .primary-nav.is-open ul { display: flex; }
  .primary-nav a {
    padding: 14px 30px;
    border-bottom: 1px solid #f4f4f4;
    text-align: center;
  }
  .primary-nav .dropdown {
    position: static;
    transform: none;
    display: flex;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: #fafafa;
    min-width: 0;
  }
  .primary-nav .dropdown a {
    padding-left: 50px;
    text-transform: none;
    font-size: 12px;
  }

  .brand-bar { padding: 22px 30px; }
  .brand img { max-height: 60px; }

  .hero { height: 380px; }
  .hero-title-block h1 { font-size: 24px; }
  .hero-sub-block p { font-size: 16px; }

  .intro { padding: 50px 0 45px; }
  .intro-heading { font-size: 20px; }
  .intro-phone { font-size: 20px; }
  .intro-body { font-size: 15px; }

  .posts { padding: 50px 0; }
  .featured-link img { height: 240px; }
  .featured-title { font-size: 18px; }
  .featured-overlay { padding: 18px 20px; }

  .events { padding: 45px 0; }

  .footer-widgets { padding: 40px 20px 30px; }

  .page-hero { padding: 40px 0 20px; }
  .page-hero .page-title { font-size: 28px; }
  .page-hero-image { height: 220px; }
  .page-hero-image .overlay h1 { font-size: 26px; }

  .two-col .container { grid-template-columns: 1fr; gap: 30px; }
  .two-col--reverse .container > *:first-child { order: 0; }

  .card-row-3 .grid { grid-template-columns: 1fr; }
  .activity-row .grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .image-grid { grid-template-columns: 1fr; }
  .image-grid .main img { min-height: 240px; }
  .image-grid .thumbs img { height: 140px; }
  .feature-strip { height: 180px; }
  .feature-strip .word { font-size: 22px; }

  .address-strip { grid-template-columns: 1fr; }
  .events-list-row {
    grid-template-columns: 70px 1fr;
    gap: 16px;
  }
  .events-list-row .event-img { display: none; }
  .resources-section .head { grid-template-columns: 1fr; }
  .resources-section .badge-row { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .photo-gallery .grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Home photo carousel ---------- */
.home-carousel-section {
  padding: 60px 0;
  background: #fff;
}
.home-carousel-section .section-title {
  text-align: center;
  margin-bottom: 28px;
}
.carousel {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  overflow: hidden;
  background: #1a1a1a;
}
.carousel__track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.carousel__slide img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: contain;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.carousel__btn:hover {
  background: rgba(0, 0, 0, 0.7);
}
.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }
.carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.carousel__dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

@media (max-width: 600px) {
  .carousel__slide img { height: 420px; }
  .carousel__btn { width: 38px; height: 38px; font-size: 24px; }
}

/* ---------- Empty states (no events / posts / activity yet) ---------- */
.empty-state {
  text-align: center;
  color: #888;
  font-size: 15px;
  line-height: 1.7;
  padding: 36px 20px;
  margin: 0;
}

/* ---------- Photo gallery (house photos) ---------- */
.photo-gallery {
  padding: 60px 0;
  background: #f7f7f5;
}
.photo-gallery .row-title {
  font-size: 24px;
  font-weight: 600;
  color: #444;
  text-align: center;
  margin: 0 0 8px;
}
.photo-gallery .row-subtitle {
  font-size: 14px;
  color: #888;
  text-align: center;
  margin: 0 0 36px;
}
.photo-gallery .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
}
.photo-gallery figure img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.photo-gallery figure:hover img {
  transform: scale(1.04);
}
.photo-gallery figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #666;
}
.photo-gallery [data-lightbox] figure {
  cursor: pointer;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  padding: 24px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox__figure {
  margin: 0;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lightbox__caption {
  margin-top: 14px;
  color: #f2f2f2;
  font-size: 14px;
  text-align: center;
}
.lightbox__count {
  display: block;
  margin-top: 4px;
  color: #aaa;
  font-size: 12px;
  letter-spacing: 1px;
}
.lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox__btn--close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
  border-radius: 50%;
}
.lightbox__btn--nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 34px;
  line-height: 1;
  border-radius: 50%;
}
.lightbox__btn--prev { left: 18px; }
.lightbox__btn--next { right: 18px; }

@media (max-width: 600px) {
  .lightbox__btn--nav {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }
  .lightbox__btn--prev { left: 8px; }
  .lightbox__btn--next { right: 8px; }
  .lightbox { padding: 12px; }
}

/* ---------- Form status message ---------- */
.form-status {
  margin-top: 18px;
  padding: 12px 16px;
  font-size: 14px;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: #e8f4ea;
  border: 1px solid #b6dcc0;
  color: #2f6b41;
}
.form-status.is-error {
  background: #fbe9e9;
  border: 1px solid #e3b9b9;
  color: #9a3434;
}
.form-block .btn-submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
