/*
Theme Name: BHOBU Child
Theme URI: 
Template: hello-elementor
Author: Expert Developer
Author URI: 
Description: BHOBU Child Theme based on Hello Elementor
Version: 1.0.0
Text Domain: bhobu-child
*/

:root {
  --bhobu-green: #015830;
  --bhobu-green-dark: #014324;
  --bhobu-yellow: #FFCE00;
  --bhobu-yellow-hover: #e6b900;
  --bhobu-font-headings: 'Gotham', sans-serif;
  --bhobu-font-body: 'Source Serif Variable', serif;
}

/* Global Typography */
body {
  font-family: var(--bhobu-font-body);
  color: #333;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--bhobu-font-headings);
}

.font-serif {
  font-family: var(--bhobu-font-body);
}

a {
  text-decoration: none;
}

/* Utilities */
.bg-bhobu-green { background-color: var(--bhobu-green); }
.bg-bhobu-yellow { background-color: var(--bhobu-yellow); }
.text-bhobu-green { color: var(--bhobu-green); }
.text-bhobu-yellow { color: var(--bhobu-yellow); }

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Logo Constraints */
.bhobu-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.bhobu-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.bhobu-logo-container {
  display: flex;
  align-items: center;
}

/* WordPress custom logo - output by the_custom_logo() */
.custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 1;
}

.custom-logo {
  width: auto;
  height: 52px;
  object-fit: contain;
}

/* Text fallback when no logo image is uploaded */
.bhobu-text-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a2e;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.bhobu-text-logo:hover {
  color: #D4AF37;
}

.bhobu-nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .bhobu-nav-links {
    display: flex;
  }
}

.bhobu-nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  font-family: var(--bhobu-font-headings);
  transition: color 0.2s;
}

.bhobu-nav-link:hover {
  color: var(--bhobu-green);
}

/* Buttons */
.bhobu-btn-primary {
  background-color: var(--bhobu-yellow);
  color: var(--bhobu-green);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: bold;
  font-family: var(--bhobu-font-headings);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bhobu-btn-primary:hover {
  background-color: var(--bhobu-yellow-hover);
  transform: translateY(-2px);
}

.bhobu-btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: bold;
  font-family: var(--bhobu-font-headings);
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  display: inline-flex;
}

.bhobu-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Sections & Grid */
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.grid { display: grid; }
.grid-cols-1 { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-16 { gap: 4rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }

@media (min-width: 768px) {
  .md\:col-span-2 { grid-column: span 2 / span 2; }
}

@media (min-width: 1024px) {
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
}

/* Custom CSS to mimic specific Tailwind properties used in the React code */
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-square { aspect-ratio: 1 / 1; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Utilities */
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.italic { font-style: italic; }
.font-bold { font-weight: bold; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }

/* Contact Form */
.bhobu-input, .bhobu-textarea, .bhobu-select {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  font-family: var(--bhobu-font-body);
  box-sizing: border-box;
}

.bhobu-input:focus, .bhobu-textarea:focus, .bhobu-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(1, 88, 48, 0.2);
}

.bhobu-form-label {
  font-size: 0.75rem;
  font-weight: bold;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--bhobu-font-headings);
}

/* Gallery & Event Cards */
.bhobu-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
}

.bhobu-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .bhobu-card-row { flex-direction: row; }
}

.bhobu-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: #ffffff;
  text-align: center;
}

.bhobu-gallery-grid {
  column-count: 1;
  column-gap: 1.5rem;
}

@media (min-width: 640px) { .bhobu-gallery-grid { column-count: 2; } }
@media (min-width: 1024px) { .bhobu-gallery-grid { column-count: 3; } }

.bhobu-gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.bhobu-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s;
}

.bhobu-gallery-item:hover img {
  transform: scale(1.1);
}

/* Hero Section */
.bhobu-hero-wrapper {
  position: relative;
  height: 85vh;
  min-height: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.bhobu-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bhobu-hero-overlay-1 {
  position: absolute;
  inset: 0;
  background-color: rgba(1, 88, 48, 0.6);
  mix-blend-mode: multiply;
}

.bhobu-hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 88, 48, 0.8), transparent, transparent);
}

.bhobu-hero-content {
  position: relative;
  z-index: 10;
  color: #ffffff;
}

.bhobu-hero-title {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .bhobu-hero-title { font-size: 3.75rem; }
}

.bhobu-hero-subtitle {
  font-family: var(--bhobu-font-body);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--bhobu-yellow);
  margin-bottom: 2rem;
  display: block;
  font-weight: 500;
}

@media (min-width: 768px) {
  .bhobu-hero-subtitle { font-size: 1.875rem; }
}

/* Footer */
.bhobu-footer {
  background-color: var(--bhobu-green);
  color: #ffffff;
  padding: 4rem 1.5rem;
}

@media (max-width: 768px) {
  .bhobu-footer {
    padding: 3rem 1rem;
  }
}

.bhobu-footer-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  font-family: var(--bhobu-font-headings);
}

.bhobu-footer-link {
  color: #ffffff;
  transition: color 0.2s;
}

.bhobu-footer-link:hover {
  color: var(--bhobu-yellow);
}

.bhobu-footer-heading {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--bhobu-yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--bhobu-font-headings);
}

/* Dynamic Menu Styles */
ul.bhobu-dynamic-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  align-items: center;
}

ul.bhobu-dynamic-menu li a,
ul.bhobu-dynamic-menu-mobile li a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  font-family: var(--bhobu-font-headings);
  transition: color 0.2s;
  text-decoration: none;
}

ul.bhobu-dynamic-menu li a:hover,
ul.bhobu-dynamic-menu-mobile li a:hover {
  color: var(--bhobu-green);
}

ul.bhobu-dynamic-menu-mobile {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

ul.bhobu-dynamic-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

ul.bhobu-dynamic-footer-menu li a {
  color: #ffffff;
  transition: color 0.2s;
  text-decoration: none;
}

ul.bhobu-dynamic-footer-menu li a:hover {
  color: var(--bhobu-yellow);
}

/* ==========================================================================
   Homepage About Section (Customizer Driven)
   ========================================================================== */
.bhobu-about-section {
  padding: 6rem 1.5rem;
  background-color: #ffffff;
}

.bhobu-about-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .bhobu-about-container {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.bhobu-about-subtitle {
  display: block;
  color: var(--bhobu-green);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.bhobu-about-title {
  color: var(--bhobu-green);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 2rem 0;
}

@media (min-width: 1024px) {
  .bhobu-about-title {
    font-size: 3.5rem;
  }
}

.bhobu-about-p {
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.bhobu-about-visual {
  position: relative;
  width: 100%;
}

.bhobu-about-img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.bhobu-about-quote-box {
  position: absolute;
  bottom: -2rem;
  left: 1rem;
  background-color: var(--bhobu-yellow);
  padding: 1.5rem;
  border-radius: 0.5rem;
  width: 85%;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
  color: var(--bhobu-green);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  z-index: 10;
}

@media (min-width: 1024px) {
  .bhobu-about-quote-box {
    left: -3rem;
    bottom: -2rem;
    width: 75%;
    padding: 2.5rem;
    font-size: 1.5rem;
  }
}


/* BHOBU Team Member Profile Card */
.bhobu-profile-card {
    text-align: center;
    max-width: 250px;
    margin: 0 auto;
}

.bhobu-profile-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    /* Creates the BHOBU Yellow ring with a slight gap */
    border: 4px solid var(--bhobu-yellow, #FFCE00);
    padding: 4px; 
    overflow: hidden;
}

.bhobu-profile-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.bhobu-profile-name {
    color: var(--bhobu-green, #015830);
    font-family: var(--font-heading, 'Gotham', sans-serif);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.bhobu-profile-title {
    color: #555555;
    font-family: var(--font-body, 'Source Serif Variable', serif);
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
}

/* BHOBU Contact Info Block */
.bhobu-contact-widget {
    display: flex;
    align-items: flex-start;
    gap: 15px; /* Spacing between the icon and the text */
    margin-bottom: 20px;
}

.bhobu-contact-icon {
    font-size: 24px;
    color: #7a8b82; /* Muted green/gray matching your image */
    margin-top: 2px; /* Aligns the icon nicely with the heading */
}

.bhobu-contact-text h4 {
    font-family: var(--font-heading, 'Gotham', sans-serif);
    font-size: 1.1rem;
    color: #5d6761; /* Dark slate gray from the image */
    font-weight: bold;
    margin: 0 0 5px 0;
}

.bhobu-contact-text p {
    font-family: var(--font-body, 'Source Serif Variable', serif);
    font-size: 1rem;
    color: #88938c; /* Lighter gray for the address */
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================
   BHOBU Dynamic Events Grid Widget Design
   ========================================================== */

/* 1. The Main Grid Container */
.bhobu-events-grid-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* 2. The Individual Card Layout */
.bhobu-event-card {
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bhobu-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 3. LEFT SIDE: The Green Date Block */
.card-left-date {
    background-color: var(--bhobu-green, #015830);
    color: #ffffff;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    text-align: center;
}

.card-left-date .day { 
    font-size: 3.5rem; 
    font-weight: 800; 
    line-height: 1; 
    margin-bottom: 5px; 
    font-family: var(--font-heading, 'Gotham', sans-serif);
}
.card-left-date .month { 
    font-size: 1.2rem; 
    font-weight: 700; 
    letter-spacing: 1px; 
}
.card-left-date .year { 
    font-size: 0.95rem; 
    opacity: 0.85; 
    margin-top: 5px; 
}

/* 4. RIGHT SIDE: The White Content Block */
.card-right-content { 
    padding: 30px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

/* 5. The Status Badge */
.status-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.status-badge.upcoming { 
    color: #059669; 
    background-color: #d1fae5; 
    border: 1px solid #a7f3d0; 
}
.status-badge.past { 
    color: #64748b; 
    background-color: #f1f5f9; 
    border: 1px solid #e2e8f0; 
}

/* 6. Typography Elements */
.event-title {
    color: var(--bhobu-green, #015830);
    font-family: var(--font-heading, 'Gotham', sans-serif);
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.event-meta { 
    margin-bottom: 15px; 
    color: #64748b; 
    font-size: 0.95rem; 
}
.event-meta p { 
    margin: 0 0 8px 0; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}
.event-meta i { 
    color: var(--bhobu-yellow, #FFCE00); 
    width: 16px; 
    text-align: center; 
}

.event-excerpt {
    color: #475569;
    font-style: italic;
    font-family: var(--font-body, 'Source Serif Variable', serif);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1; 
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}
.event-excerpt p { margin: 0; }

/* 7. Footer Actions */
.event-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.add-calendar {
    color: var(--bhobu-green, #015830);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}
.add-calendar:hover { opacity: 0.8; }

.event-link {
    color: var(--bhobu-green, #015830);
    background: #f8fafc;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}
.event-link:hover { 
    background: var(--bhobu-green, #015830); 
    color: #ffffff; 
}

/* ==========================================================
   8. RESPONSIVE DESIGN (Mobile & Tablet)
   ========================================================== */

/* TABLET ADJUSTMENTS */
@media screen and (max-width: 992px) {
    .bhobu-events-grid-wrap {
        /* Reduces the minimum width so cards fit better on iPads */
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }
}

/* MOBILE PHONE ADJUSTMENTS */
@media screen and (max-width: 768px) {
    
    .bhobu-events-grid-wrap {
        /* Force a single column on small phones */
        grid-template-columns: 1fr; 
    }

    /* Stack the card vertically instead of side-by-side */
    .bhobu-event-card {
        flex-direction: column; 
    }

    /* Change the Green Date Block to a horizontal banner at the top */
    .card-left-date {
        flex-direction: row; 
        justify-content: center;
        gap: 15px;
        padding: 15px 20px;
        min-width: auto;
    }

    /* Adjust font sizes so the date banner fits nicely */
    .card-left-date .day { 
        font-size: 2.2rem; 
        margin-bottom: 0; 
    }
    .card-left-date .month { 
        font-size: 1.1rem; 
    }
    .card-left-date .year { 
        font-size: 1.1rem; 
        margin-top: 0; 
        opacity: 0.8; 
    }

    /* Reduce padding on the white content block to save screen space */
    .card-right-content {
        padding: 20px;
    }

    /* Shrink the title slightly for mobile screens */
    .event-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .event-excerpt {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
}


/* ==========================================================
   BHOBU Filter & Search Bar
   ========================================================== */

/* The Main Floating Bar Container */
.bhobu-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    margin-bottom: 30px;
    border: 1px solid #f1f5f9;
    flex-wrap: wrap; /* Allows stacking on mobile */
    gap: 20px;
}

/* --- Left: Filter Buttons Area --- */
.filter-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-left svg {
    margin-right: -5px; /* Pulls the icon slightly closer to the text */
}

.filter-label {
    font-weight: 700;
    color: #334155;
    margin-right: 5px;
    font-family: var(--font-heading, 'Gotham', sans-serif);
}

.filter-btn {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 8px 18px;
    border-radius: 30px; /* Pill shape */
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading, 'Gotham', sans-serif);
}

.filter-btn:hover { 
    background: #e2e8f0; 
}

/* The Active Filter Button */
.filter-btn.active {
    background: var(--bhobu-green, #015830);
    color: #ffffff;
}

/* --- Center: Search Bar Area --- */
.filter-center { 
    flex-grow: 1; 
    max-width: 350px; 
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
 
    border-radius: 10px; /* Matches the pill buttons */
     box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.search-wrapper svg {
    position: absolute;
    left: 5px;
    pointer-events: none; /* Stops the icon from blocking clicks */
}


/* Target the exact ID to force the theme to obey */
#bhobu-event-search {
    width: 100% !important;
    padding: 10px 15px 10px 45px !important; 
    border: 1px solid #e2e8f0 !important;
    border-radius: 30px !important;
    -webkit-border-radius: 30px !important; /* Forces Safari to obey */
    background: #f8fafc !important;
    color: #334155 !important;
    outline: none !important;
    box-shadow: none !important; /* Removes any default theme shadows */
}

#bhobu-event-search:focus {
    border-color: var(--bhobu-green, #015830) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(1, 88, 48, 0.1) !important;
}

/* --- Right: Count Text --- */
.event-count-text {
    color: #64748b;
    font-style: italic;
    font-size: 0.95rem;
    font-family: var(--font-body, 'Source Serif Variable', serif);
}


/* ==========================================================
   Responsive Adjustments for Filter Bar
   ========================================================== */

/* Tablets (iPad) */
@media screen and (max-width: 992px) {
    .bhobu-filter-bar { 
        flex-direction: column; 
        align-items: flex-start; 
    }
    
    .filter-center { 
        max-width: 100%; 
        width: 100%; 
    }
    
    .filter-right {
        align-self: flex-end; /* Pushes the count to the right side on tablets */
    }
}

/* Mobile Phones */
@media screen and (max-width: 768px) {
    .filter-left {
        flex-wrap: wrap; /* Allows buttons to wrap to a new line if screen is tiny */
    }
    
    .filter-right {
        align-self: flex-start; /* Pulls count back to left for mobile readability */
    }
}

/* ==========================================================
   BHOBU Contact Form 7 Styles (Forced Override)
   ========================================================== */

.bhobu-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.bhobu-form-row {
    margin-bottom: 20px;
}

/* Style the text inputs and textareas */
.bhobu-contact-form input[type="text"],
.bhobu-contact-form input[type="email"],
.bhobu-contact-form textarea {
    width: 100% !important;
    padding: 15px 25px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 30px !important; 
    background: #f8fafc !important;
    color: #334155 !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
}

/* Make the textarea slightly less rounded */
.bhobu-contact-form textarea {
    border-radius: 20px !important; 
    resize: vertical !important; 
}

/* Focus State */
.bhobu-contact-form input[type="text"]:focus,
.bhobu-contact-form input[type="email"]:focus,
.bhobu-contact-form textarea:focus {
    border-color: var(--bhobu-green, #015830) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(1, 88, 48, 0.1) !important;
}

/* Style the Submit Button */
.bhobu-contact-form input[type="submit"] {
    background: var(--bhobu-green, #015830) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 15px 40px !important;
    border-radius: 30px !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    width: 100% !important; 
    transition: all 0.3s ease !important;
}

.bhobu-contact-form input[type="submit"]:hover {
    background: var(--bhobu-yellow, #FFCE00) !important; 
    color: #015830 !important;
}