/*
Theme Name: Rehoboth Springs Theme
Theme URI: https://rehobothspringsassembly.ca
Author: Rehoboth Springs Assembly
Author URI: https://rehobothspringsassembly.ca
Description: A modern WordPress theme for Rehoboth Springs Assembly, preserving the custom gradients, glassmorphism, and church-brand UI patterns from the existing static site.
Version: 1.0.0
Text Domain: rehoboth-theme
*/

:root {
  --theme-surface: #0b1020;
  --theme-surface-2: #111a31;
  --theme-accent: #f5c94d;
  --theme-accent-2: #ff8a00;
  --theme-ink: #ffffff;
}

/* html,
body {
  background: #071019;
  color: var(--theme-ink);
} */

body {
  min-height: 100vh;
}

.site-shell {
  /* background: linear-gradient(
    180deg,
    rgba(7, 10, 18, 0.98),
    rgba(12, 18, 30, 0.98)
  ); */
}

.site-shell .container {
  max-width: 1280px;
}

.site-shell .card,
.site-shell .glass-card {
  border-radius: 24px;
}

.site-shell .btn,
.site-shell a.btn {
  border-radius: 999px;
}

.site-shell .hero-surface {
  min-height: 70vh;
  /* background:
    linear-gradient(110deg, rgba(3, 7, 17, 0.62), rgba(4, 14, 29, 0.58)),
    linear-gradient(135deg, #0f172a, #101c37 52%, #172b52); */
}

/* Post list / card tweaks */

.card.send-backward,
.post-thumb-link img,
.d-flex.w-100.send-backward {
  width: 40%;
  object-fit: cover;
  display: block;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.micro-card .grid-item img,
.micro-card img {
  height: 72px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Responsive: stack thumbnail above content on narrow screens */
@media (max-width: 767px) {
  .d-flex.w-100.align-items-center.rounded.card {
    flex-direction: column;
    gap: 1rem;
  }

  .itemData {
    max-width: 100%;
    padding: 1.25rem !important;
  }

  .card.send-backward,
  .post-thumb-link img,
  .d-flex.w-100.send-backward {
    width: 100%;
    height: auto;
  }
}

/* Small utility */
.clamp-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
