/**
 * Brierfield Baptist Church - Custom Theme
 * Base styles built on Bootstrap5 4.x
 */

:root {
  --bb-purple:      #3b1a5c;
  --bb-purple-dark: #2d1247;
  --bb-gold:        #c8973a;
  --bb-light:       #f8f6f2;
  --bb-white:       #ffffff;
  --bb-text:        #2c2c2c;
  --bb-muted:       #6c757d;
}

body {
  font-family: 'Candara', 'Optima', 'Segoe UI', 'Calibri', 'Trebuchet MS', sans-serif;
  color: var(--bb-text);
  background-color: var(--bb-white);
  font-size: 1rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--bb-purple);
}

a { color: var(--bb-purple); }
a:hover { color: var(--bb-gold); }

/* Top utility bar - Log in link */
.region-header nav[aria-labelledby*="account-menu"] {
  background-color: var(--bb-purple-dark);
  text-align: right;
  padding: 0.2rem 1.5rem;
  width: 100%;
  order: -1;
}

.region-header nav[aria-labelledby*="account-menu"] ul {
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.region-header nav[aria-labelledby*="account-menu"] .nav-link {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.78rem !important;
  padding: 0.15rem 0.75rem !important;
}

.region-header nav[aria-labelledby*="account-menu"] .nav-link:hover {
  color: var(--bb-gold) !important;
}

/* Header & Branding */
header[role="banner"] {
  background-color: var(--bb-purple);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

header[role="banner"] .region-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

#block-brierfield-baptist-branding {
  flex: 1;
  padding: 0.75rem 1.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.site-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.site-title a,
.navbar-brand .site-title a {
  color: var(--bb-white) !important;
  text-decoration: none !important;
}

#block-brierfield-baptist-search {
  padding: 0.5rem 1.5rem;
}

/* Main Navigation */
.region-primary-menu {
  background-color: var(--bb-purple-dark);
  padding: 0 1.5rem;
}

.region-primary-menu ul.nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.region-primary-menu .nav-item a,
.region-primary-menu .nav-link {
  color: rgba(255,255,255,0.9) !important;
  padding: 0.75rem 1.1rem !important;
  font-size: 0.95rem;
  font-family: 'Candara', 'Optima', 'Segoe UI', 'Calibri', sans-serif;
  transition: color 0.2s, background 0.2s;
  display: block;
  text-decoration: none;
}

.region-primary-menu .nav-link:hover,
.region-primary-menu .nav-link.active {
  color: var(--bb-gold) !important;
  background-color: rgba(255,255,255,0.05);
}

/* Page Layout */
main { flex: 1; padding: 2rem 0; }

.layout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Banner */
.region-hero {
  background: linear-gradient(135deg, var(--bb-purple) 0%, #4a2272 100%);
  color: var(--bb-white);
  padding: 4rem 2rem;
  text-align: center;
}

.region-hero h1 {
  color: var(--bb-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.region-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 1.5rem;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-title { color: var(--bb-purple); }

/* Newsletter Archive */
.newsletter-card {
  background: var(--bb-light);
  border-left: 4px solid var(--bb-gold);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0 8px 8px 0;
}

.newsletter-card a {
  color: var(--bb-purple);
  font-weight: bold;
  text-decoration: none;
}

.newsletter-card a:hover { color: var(--bb-gold); }

/* Footer */
footer {
  background-color: var(--bb-purple);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

footer h4 {
  font-family: 'Georgia', serif;
  color: var(--bb-gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
footer a:hover { color: var(--bb-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* Service Times */
.service-times {
  background: var(--bb-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-times h3 {
  color: var(--bb-purple);
  border-bottom: 2px solid var(--bb-gold);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
  background-color: var(--bb-purple);
  border-color: var(--bb-purple);
  color: var(--bb-white);
}

.btn-primary:hover {
  background-color: var(--bb-gold);
  border-color: var(--bb-gold);
  color: var(--bb-white);
}

.btn-secondary {
  background-color: var(--bb-gold);
  border-color: var(--bb-gold);
  color: var(--bb-white);
}

.btn-secondary:hover {
  background-color: var(--bb-purple);
  border-color: var(--bb-purple);
  color: var(--bb-white);
}

/* Highlighted */
.region-highlighted {
  background: var(--bb-light);
  padding: 1rem 1.5rem;
  border-bottom: 3px solid var(--bb-gold);
}

/* Responsive */
@media (max-width: 768px) {
  .site-title { font-size: 1.1rem; }

  header[role="banner"] .region-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .region-primary-menu ul.nav { flex-direction: column; }
  .region-hero h1 { font-size: 1.8rem; }
}

/* Force site title white */
a.site-title,
a.site-title:link,
a.site-title:visited {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Site title - warm pale gold */
a.site-title,
a.site-title:link,
a.site-title:visited {
  color: #e8c97a !important;
  text-decoration: none !important;
}

/* Search bar padding */
header[role="banner"] .region-header {
  padding-right: 2rem;
}

#block-brierfield-baptist-search {
  padding: 0.5rem 2rem 0.5rem 1.5rem;
}

/* Navigation menu items - ensure visibility */
header[role="banner"] ul.nav li a,
header[role="banner"] .nav-link,
header[role="banner"] ul.navbar-nav li a {
  color: rgba(255,255,255,0.9) !important;
}

header[role="banner"] ul.nav li a:hover,
header[role="banner"] .nav-link:hover {
  color: var(--bb-gold) !important;
}

/* Hide submitted by / author information on all nodes */
.node__submitted,
.submitted,
.node__meta {
  display: none !important;
}

/* Content padding - stop content hitting the edge */
.layout-container {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

main {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Restore purple footer bar */
footer[role="contentinfo"] {
  background-color: var(--bb-purple);
  color: rgba(255,255,255,0.85);
  padding: 2rem;
  margin-top: 3rem;
}

/* Hide submitted by line - precise selector */
div.node__submitted {
  display: none !important;
}

/* Content padding - stop content hitting the edge */
.layout-container {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

/* Restore purple footer bar */
footer[role="contentinfo"] {
  display: block !important;
  background-color: var(--bb-purple);
  color: rgba(255,255,255,0.85);
  padding: 2rem;
  margin-top: 3rem;
}

/* Hide node meta footer (submitted by) - correct selector */
footer.node__meta {
  display: none !important;
}

/* =====================
   Utility bar (Log in)
   ===================== */
.bb-utility-bar {
  background-color: var(--bb-purple-dark);
  width: 100%;
}

.bb-utility-inner {
  display: flex;
  justify-content: flex-end;
  padding: 0.15rem 2rem;
}

.bb-utility-bar .nav-link {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.78rem !important;
  padding: 0.15rem 0.5rem !important;
}

.bb-utility-bar .nav-link:hover {
  color: var(--bb-gold) !important;
}

/* =====================
   Header branding row
   ===================== */
header[role="banner"] {
  background-color: var(--bb-purple);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.bb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
}

.bb-branding .navbar-brand,
.bb-branding a.site-title {
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none !important;
}

.bb-search {
  padding-right: 2rem;
}

/* =====================
   Navigation bar
   ===================== */
.bb-navbar {
  background-color: var(--bb-purple-dark);
  padding: 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.bb-nav-container {
  padding: 0;
}

.bb-navbar .nav-link,
.bb-navbar .nav-item > a {
  color: rgba(255,255,255,0.9) !important;
  padding: 0.75rem 1rem !important;
  font-family: 'Candara', 'Optima', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.bb-navbar .nav-link:hover,
.bb-navbar .nav-item > a:hover {
  color: var(--bb-gold) !important;
}

.bb-navbar .dropdown-menu {
  background-color: var(--bb-purple-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0 0 6px 6px;
}

.bb-navbar .dropdown-item {
  color: rgba(255,255,255,0.85) !important;
  font-family: 'Candara', 'Optima', 'Segoe UI', sans-serif;
  padding: 0.5rem 1.25rem;
}

.bb-navbar .dropdown-item:hover {
  background-color: rgba(255,255,255,0.08);
  color: var(--bb-gold) !important;
}

/* Mobile hamburger */
.bb-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}

.bb-navbar .navbar-toggler-icon {
  filter: invert(1);
}

/* =====================
   Main content area
   ===================== */
.bb-main-container {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* =====================
   Footer
   ===================== */
.bb-footer {
  background-color: var(--bb-purple) !important;
  color: rgba(255,255,255,0.85);
  padding: 2rem 0;
  margin-top: 3rem;
}

.bb-footer-inner {
  padding: 0 2rem;
}

.bb-footer p {
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.bb-footer a {
  color: var(--bb-gold);
  text-decoration: none;
}

.bb-footer a:hover {
  color: var(--bb-white);
}

/* =====================
   Footer Columns
   ===================== */
.bb-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 1rem 0;
}

.bb-footer-col h3 {
  font-family: 'Georgia', serif;
  color: var(--bb-gold);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.bb-footer-col p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.bb-footer-col a {
  color: var(--bb-gold);
  text-decoration: none;
}

.bb-footer-col a:hover {
  color: var(--bb-white);
}

@media (max-width: 768px) {
  .bb-footer-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Footer columns - centred with fixed gaps */
.bb-footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.bb-footer-col {
  flex: 0 1 280px;
  min-width: 220px;
}

/* =====================
   Homepage
   ===================== */

/* Hero */
.bb-hero {
  background: linear-gradient(135deg, var(--bb-purple) 0%, #4a2272 100%);
  color: var(--bb-white);
  padding: 4rem 2rem;
  text-align: center;
  margin: -2rem -2rem 2rem -2rem;
}

.bb-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.bb-hero h1 {
  color: var(--bb-white);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.bb-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.bb-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.bb-btn-primary {
  background-color: var(--bb-gold);
  color: var(--bb-white) !important;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  text-decoration: none !important;
  font-family: 'Candara', sans-serif;
  font-size: 0.95rem;
  transition: background 0.2s;
  display: inline-block;
}

.bb-btn-primary:hover {
  background-color: #a87a2a;
  color: var(--bb-white) !important;
}

.bb-btn-secondary {
  background-color: transparent;
  color: var(--bb-white) !important;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.6);
  text-decoration: none !important;
  font-family: 'Candara', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.bb-btn-secondary:hover {
  border-color: var(--bb-gold);
  color: var(--bb-gold) !important;
}

.bb-btn-small {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* Two column layout */
.bb-home-content {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.bb-home-main {
  flex: 2;
}

.bb-home-sidebar {
  flex: 1;
  min-width: 240px;
}

/* Content blocks */
.bb-content-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.bb-content-block h2 {
  color: var(--bb-purple);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bb-gold);
  display: inline-block;
}

/* Sidebar blocks */
.bb-sidebar-block {
  background: var(--bb-light);
  border-left: 4px solid var(--bb-gold);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.bb-sidebar-block h3 {
  color: var(--bb-purple);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.bb-sidebar-block p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.bb-sidebar-link {
  font-size: 0.85rem;
  color: var(--bb-purple);
  text-decoration: none;
  font-weight: bold;
}

.bb-sidebar-link:hover {
  color: var(--bb-gold);
}

.bb-quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bb-quick-links li {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.bb-quick-links li:last-child {
  border-bottom: none;
}

.bb-quick-links a {
  color: var(--bb-purple);
  text-decoration: none;
  font-size: 0.9rem;
}

.bb-quick-links a:hover {
  color: var(--bb-gold);
}

/* About section */
.bb-home-about {
  background: var(--bb-light);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 1rem;
}

.bb-home-about h2 {
  color: var(--bb-purple);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bb-gold);
  display: inline-block;
}

.bb-home-about p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .bb-hero {
    padding: 2.5rem 1rem;
    margin: -2rem -1rem 1.5rem -1rem;
  }

  .bb-hero h1 {
    font-size: 1.6rem;
  }

  .bb-home-content {
    flex-direction: column;
  }

  .bb-home-sidebar {
    min-width: unset;
    width: 100%;
  }
}

/* Hide page title on front page */
.path-frontpage .page-title,
.path-frontpage h1.page-title,
.path-frontpage .bb-main-container h1:first-child {
  display: none;
}

/* Hero full width on front page */
.path-frontpage .bb-main-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.path-frontpage .bb-hero {
  margin: -2rem 0 2rem 0;
  border-radius: 0;
}

.path-frontpage .bb-home-content,
.path-frontpage .bb-home-about {
  padding: 0 2rem;
}

/* Fix - only hide the page title block, not hero h1 */
.path-frontpage .page-title,
.path-frontpage #block-brierfield-baptist-page-title {
  display: none !important;
}

.path-frontpage .bb-hero h1 {
  display: block !important;
  color: var(--bb-white) !important;
}

/* Hero with church interior background */
.bb-hero {
  background:
    linear-gradient(135deg, rgba(59,26,92,0.88) 0%, rgba(74,34,114,0.88) 100%),
    url('/sites/default/files/Indoor_Panoramic.jpg') center center / cover no-repeat;
}

/* Hero overlay - more transparent to show interior */
.bb-hero {
  background:
    linear-gradient(135deg, rgba(59,26,92,0.72) 0%, rgba(74,34,114,0.72) 100%),
    url('/sites/default/files/Indoor_Panoramic.jpg') center center / cover no-repeat;
}

/* =====================
   Cookie Consent Banner
   ===================== */
.eu-cookie-compliance-banner {
  background-color: var(--bb-purple-dark) !important;
  color: rgba(255,255,255,0.9) !important;
  padding: 1rem 2rem !important;
}

.eu-cookie-compliance-banner p,
.eu-cookie-compliance-banner h2 {
  color: rgba(255,255,255,0.9) !important;
}

.eu-cookie-compliance-banner a {
  color: var(--bb-gold) !important;
}

button.agree-button,
.eu-cookie-compliance-band__agree {
  background-color: var(--bb-gold) !important;
  color: white !important;
  border: none !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}

button.disagree-button,
.eu-cookie-compliance-band__disagree {
  background-color: transparent !important;
  color: white !important;
  border: 2px solid rgba(255,255,255,0.6) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}

button.disagree-button:hover {
  border-color: var(--bb-gold) !important;
  color: var(--bb-gold) !important;
}

/* ── Hymns table ─────────────────────────────────────────────────────────── */
.hymns-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.hymns-table th {
  text-align: left;
  padding: 0.4rem 0.75rem;
  background: var(--bb-purple);
  color: #fff;
  font-family: Candara, sans-serif;
  font-size: 0.9rem;
}
.hymns-table td {
  padding: 0.35rem 0.75rem;
  border-bottom: 1px solid #e8e4f0;
  font-family: Candara, sans-serif;
}
.hymns-table tr:last-child td {
  border-bottom: none;
}
.hymn-number {
  width: 60px;
  color: var(--bb-purple);
  font-weight: bold;
}
.hymns-table tr:hover td {
  background: #f8f6f2;
}

/* ── Service Highlight Block ─────────────────────────────────────────────── */
.service-highlight {
  background: #fff;
  border: 1px solid #e8e4f0;
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}
.service-highlight--next {
  border-left: 5px solid var(--bb-purple);
}
.service-highlight--catchup {
  border-left: 5px solid var(--bb-gold);
}
.service-highlight__heading {
  color: var(--bb-purple);
  font-family: Georgia, serif;
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e8e4f0;
}
.service-highlight__title a {
  color: var(--bb-purple);
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
}
.service-highlight__title a:hover {
  text-decoration: underline;
}
.service-highlight__date {
  color: #555;
  margin: 0.25rem 0;
}
.service-highlight__preacher,
.service-highlight__leader,
.service-highlight__location {
  margin: 0.25rem 0;
  color: #444;
}
.service-highlight__link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--bb-gold);
  font-weight: bold;
  text-decoration: none;
}
.service-highlight__link:hover {
  text-decoration: underline;
}
.service-highlight__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 4px;
}
.service-highlight__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.service-highlight__no-recording {
  color: #777;
  font-style: italic;
}

/* ── Next Praise & Munch block ───────────────────────────────────────────── */
.bb-pm-logo {
  text-align: center;
  margin-bottom: 1rem;
}
.bb-pm-logo img {
  max-width: 200px;
  height: auto;
}
.bb-pm-date,
.bb-pm-preacher,
.bb-pm-theme,
.bb-pm-menu,
.bb-pm-organiser {
  margin: 0.25rem 0;
}

/* ── Next Praise & Munch — side by side layout ───────────────────────────── */
.bb-pm-next {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.bb-pm-details {
  flex: 1;
}
.bb-pm-logo {
  flex-shrink: 0;
  width: 120px;
}
.bb-pm-logo img {
  width: 100%;
  height: auto;
}

/* ── Praise & Munch combined block ───────────────────────────────────────── */
.bb-pm-combined {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.bb-pm-combined__content {
  flex: 1;
}
.bb-pm-combined__content h2 {
  color: var(--bb-purple);
  font-family: Georgia, serif;
  margin-top: 0;
}
.bb-pm-combined__details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e8e4f0;
}
.bb-pm-combined__logo {
  flex-shrink: 0;
  width: 180px;
}
.bb-pm-combined__logo img {
  width: 100%;
  height: auto;
}
@media (max-width: 600px) {
  .bb-pm-combined {
    flex-direction: column;
  }
  .bb-pm-combined__logo {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
}

/* ── Bible Study block ────────────────────────────────────────────────────── */

.bb-bible-study-block {
  background: var(--bb-purple);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.bb-bible-study-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bb-bible-study-logo {
  flex: 0 0 auto;
  width: 220px;
}

.bb-bible-study-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.bb-bible-study-details {
  flex: 1 1 auto;
  color: var(--bb-light);
}

.bb-bible-study-title {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--bb-gold);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.bb-bible-study-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  color: var(--bb-light);
}

.bb-bible-study-next {
  font-size: 1rem;
  margin: 0;
}

.bb-bible-study-next .bb-label {
  font-weight: 600;
  color: var(--bb-gold);
  margin-right: 0.35rem;
}

.bb-bible-study-next a {
  color: var(--bb-light);
  text-decoration: underline;
}

.bb-bible-study-next a:hover {
  color: var(--bb-gold);
}

.bb-bible-study-next.bb-tbc {
  font-style: italic;
  opacity: 0.8;
}

@media (max-width: 576px) {
  .bb-bible-study-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .bb-bible-study-logo {
    width: 100%;
    max-width: 280px;
  }
}
