/**
 * Singles of the Eucharist - Events & Calendar Plugin Styles
 * Matches the official design aesthetic: Eucharist Navy, Gold, Teal, and Sand
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --soe-navy: #083A4F;
  --soe-navy-dark: #052533;
  --soe-gold: #A58D66;
  --soe-gold-light: #D8C7AA;
  --soe-teal: #407E8C;
  --soe-sand: #E5E1DD;
  --soe-sand-light: #F7F5F2;
  --soe-white: #FFFFFF;
  --soe-gray-50: #F8FAFC;
  --soe-gray-100: #F1F5F9;
  --soe-gray-200: #E2E8F0;
  --soe-gray-400: #94A3B8;
  --soe-gray-500: #64748B;
  --soe-gray-600: #475569;
  --soe-gray-700: #334155;
  --soe-gray-800: #1E293B;
  --soe-font-heading: 'Cormorant Garamond', Georgia, serif;
  --soe-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --soe-radius-sm: 8px;
  --soe-radius-md: 12px;
  --soe-radius-lg: 16px;
  --soe-radius-xl: 24px;
  --soe-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --soe-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --soe-shadow-lg: 0 10px 15px -3px rgba(8, 58, 79, 0.08), 0 4px 6px -2px rgba(8, 58, 79, 0.05);
  --soe-shadow-xl: 0 20px 25px -5px rgba(8, 58, 79, 0.12), 0 10px 10px -5px rgba(8, 58, 79, 0.04);
}

/* Base Wrapper Reset & Typography */
.soe-events-wrapper,
.soe-single-event-container {
  font-family: var(--soe-font-body);
  color: var(--soe-gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.soe-events-wrapper *,
.soe-single-event-container * {
  box-sizing: border-box;
}

/* Headings */
.soe-font-heading,
.soe-events-wrapper h1,
.soe-events-wrapper h2,
.soe-events-wrapper h3,
.soe-single-event-container h1,
.soe-single-event-container h2,
.soe-single-event-container h3 {
  font-family: var(--soe-font-heading);
  letter-spacing: -0.01em;
}

/* Section Header (Matches HTML "Upcoming Gatherings") */
.soe-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.soe-subtitle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.soe-gold-divider {
  height: 1px;
  background-color: var(--soe-gold);
  width: 3rem;
  display: inline-block;
}

.soe-subtitle-text {
  color: var(--soe-teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}

.soe-section-title {
  font-family: var(--soe-font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--soe-navy);
  margin: 0 0 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .soe-section-title {
    font-size: 3rem;
  }
}

.soe-section-desc {
  color: var(--soe-gray-600);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

/* Control Bar (Views & Category Filter) */
.soe-control-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.soe-view-switcher {
  display: inline-flex;
  background: var(--soe-sand);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid rgba(165, 141, 102, 0.25);
}

.soe-view-btn {
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--soe-navy);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.soe-view-btn.active,
.soe-view-btn:hover {
  background: var(--soe-navy);
  color: var(--soe-white);
  box-shadow: var(--soe-shadow-sm);
}

.soe-category-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.soe-category-filter select {
  font-family: var(--soe-font-body);
  font-size: 0.8125rem;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(165, 141, 102, 0.4);
  background: var(--soe-white);
  color: var(--soe-navy);
  cursor: pointer;
  outline: none;
  font-weight: 500;
}

/* Grid System */
.soe-events-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.soe-grid-cols-1 { grid-template-columns: 1fr; }
.soe-grid-cols-2 { grid-template-columns: repeat(1, 1fr); }
.soe-grid-cols-3 { grid-template-columns: repeat(1, 1fr); }
.soe-grid-cols-4 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 640px) {
  .soe-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .soe-grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .soe-grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

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

/* Event Card (Matches exact HTML structure & design) */
.soe-event-card {
  background: var(--soe-white);
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(8, 58, 79, 0.08);
  overflow: hidden;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.soe-event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 28px rgba(8, 58, 79, 0.12);
  border-color: rgba(165, 141, 102, 0.35);
}

.soe-card-media {
  height: 12rem;
  background-color: var(--soe-navy);
  position: relative;
  overflow: hidden;
}

.soe-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.5s ease;
  display: block;
}

.soe-event-card:hover .soe-card-img {
  transform: scale(1.05);
  opacity: 0.95;
}

/* Floating Date Badge (Top-Right) */
.soe-date-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--soe-white);
  color: var(--soe-navy);
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  min-width: 70px;
  border: 1px solid rgba(165, 141, 102, 0.3);
  z-index: 2;
}

.soe-badge-month {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--soe-teal);
  letter-spacing: 0.05em;
  line-height: 1;
}

.soe-badge-day {
  font-family: var(--soe-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--soe-navy);
  line-height: 1.1;
  margin-top: 2px;
}

/* Card Body */
.soe-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.soe-card-title {
  font-family: var(--soe-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--soe-navy);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.soe-card-title a {
  color: var(--soe-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.soe-card-title a:hover {
  color: var(--soe-gold);
}

.soe-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: var(--soe-gray-500);
  font-weight: 500;
}

.soe-card-content .soe-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  line-height: 1.4;
}

.soe-meta-icon {
  width: 1rem;
  height: 1rem;
  color: var(--soe-gold);
  flex-shrink: 0;
}

.soe-card-excerpt {
  color: var(--soe-gray-600);
  font-weight: 300;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

/* Card Action Button */
.soe-btn-rsvp {
  display: block;
  text-align: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background-color: var(--soe-navy);
  color: var(--soe-white) !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.soe-btn-rsvp:hover {
  background-color: var(--soe-teal);
  color: var(--soe-white) !important;
}

/* Pagination */
.soe-pagination-nav {
  margin-top: 3.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.soe-pagination-nav ul.page-numbers,
.soe-pagination-list {
  display: inline-flex;
  gap: 0.625rem;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.soe-pagination-nav ul.page-numbers li,
.soe-pagination-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex;
}

.soe-pagination-nav .page-numbers,
.soe-pagination-list li a,
.soe-pagination-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(165, 141, 102, 0.4);
  background: var(--soe-white);
  color: var(--soe-navy);
  text-decoration: none;
  font-family: var(--soe-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(8, 58, 79, 0.05);
}

.soe-pagination-nav a.page-numbers:hover,
.soe-pagination-list li a:hover {
  background: var(--soe-sand);
  border-color: var(--soe-gold);
  color: var(--soe-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(8, 58, 79, 0.12);
}

.soe-pagination-nav .page-numbers.current,
.soe-pagination-list li .current {
  background: var(--soe-navy) !important;
  color: var(--soe-white) !important;
  border-color: var(--soe-navy) !important;
  box-shadow: 0 4px 14px rgba(8, 58, 79, 0.28);
}

.soe-pagination-nav .page-numbers.dots {
  border: none;
  background: transparent;
  color: var(--soe-gray-400);
  box-shadow: none;
}

.soe-pagination-nav .page-numbers.prev,
.soe-pagination-nav .page-numbers.next {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Interactive Monthly Calendar View
   ========================================================================== */
.soe-calendar-view-container {
  background: var(--soe-white);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(8, 58, 79, 0.08);
  border: 1px solid rgba(165, 141, 102, 0.2);
  overflow: hidden;
  margin-bottom: 3rem;
}

.soe-calendar-header {
  background: var(--soe-navy);
  color: var(--soe-white);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.soe-calendar-month-title {
  font-family: var(--soe-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--soe-white);
  margin: 0;
}

.soe-calendar-nav-btn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--soe-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.soe-calendar-nav-btn:hover {
  background: var(--soe-gold);
  color: var(--soe-navy);
  border-color: var(--soe-gold);
}

.soe-calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.soe-calendar-table th {
  background: var(--soe-sand-light);
  color: var(--soe-navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid var(--soe-gray-200);
}

.soe-calendar-table td {
  height: 100px;
  padding: 6px;
  vertical-align: top;
  border: 1px solid #f1f5f9;
  background: var(--soe-white);
  transition: background-color 0.2s ease;
  position: relative;
}

.soe-calendar-table td.soe-other-month {
  background: var(--soe-gray-50);
  opacity: 0.45;
}

.soe-calendar-table td.soe-has-events {
  background: #fbf9f6;
}

.soe-cal-day-num {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--soe-gray-600);
  margin-bottom: 4px;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
}

.soe-calendar-table td.soe-is-today .soe-cal-day-num {
  background: var(--soe-teal);
  color: var(--soe-white);
}

.soe-cal-event-pill {
  display: block;
  background: var(--soe-navy);
  color: var(--soe-white);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 4px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 3px solid var(--soe-gold);
  transition: all 0.2s ease;
}

.soe-cal-event-pill:hover {
  background: var(--soe-teal);
  color: var(--soe-white);
}

@media (max-width: 640px) {
  .soe-calendar-table td {
    height: 65px;
    padding: 2px;
  }
  .soe-cal-event-pill {
    font-size: 0.6rem;
    padding: 2px 4px;
  }
}

/* ==========================================================================
   Single Event Page Layout (Hero, Content, Sticky RSVP Sidebar)
   ========================================================================== */
.soe-single-hero {
  position: relative;
  background: var(--soe-navy-dark);
  color: var(--soe-white);
  padding: 7rem 1.5rem 5rem;
  text-align: center;
  overflow: hidden;
}

.soe-single-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.soe-single-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(8, 58, 79, 0.8), rgba(5, 37, 51, 0.98));
}

.soe-single-hero-content {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  margin: 0 auto;
}

.soe-single-tag {
  color: var(--soe-gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.soe-single-title {
  font-family: var(--soe-font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--soe-white);
  margin: 0 0 1rem;
}

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

.soe-single-subtitle {
  color: var(--soe-sand);
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin: 0 0 1.5rem;
}

.soe-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soe-gray-400);
}

.soe-breadcrumbs a {
  color: var(--soe-gray-200);
  text-decoration: none;
  transition: color 0.2s ease;
}

.soe-breadcrumbs a:hover {
  color: var(--soe-gold);
}

.soe-breadcrumbs .active {
  color: var(--soe-gold);
}

/* Scripture Banner */
.soe-scripture-banner {
  background-color: var(--soe-navy);
  border-top: 1px solid rgba(165, 141, 102, 0.3);
  border-bottom: 1px solid rgba(165, 141, 102, 0.3);
  padding: 2.5rem 1rem;
  text-align: center;
}

.soe-scripture-text {
  font-family: var(--soe-font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--soe-white);
  line-height: 1.6;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .soe-scripture-text {
    font-size: 1.75rem;
  }
}

.soe-scripture-ref {
  margin-top: 0.75rem;
  color: var(--soe-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Single Body 2-Column Section */
.soe-single-body-section {
  background-color: var(--soe-sand-light);
  padding: 5rem 1.5rem;
}

.soe-single-container {
  max-width: 78rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .soe-single-container {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

/* Left Column: Event Details */
.soe-single-main-card {
  background: var(--soe-white);
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px rgba(8, 58, 79, 0.06);
  border: 1px solid var(--soe-gray-200);
  overflow: hidden;
}

.soe-single-featured-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  background-color: var(--soe-navy);
}

.soe-single-main-padding {
  padding: 2.5rem;
}

@media (max-width: 640px) {
  .soe-single-main-padding {
    padding: 1.5rem;
  }
  .soe-single-featured-img {
    height: 240px;
  }
}

/* Quick Specs Strip */
.soe-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--soe-sand-light);
  border-radius: 1rem;
  border: 1px solid rgba(165, 141, 102, 0.25);
  margin-bottom: 2.5rem;
}

.soe-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.soe-spec-icon-box {
  background: var(--soe-white);
  border: 1px solid rgba(165, 141, 102, 0.35);
  border-radius: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--soe-gold);
}

.soe-spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--soe-teal);
  margin-bottom: 2px;
}

.soe-spec-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--soe-navy);
}

/* Event Content Article */
.soe-event-article {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--soe-gray-700);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.soe-event-article p {
  margin-bottom: 1.25rem;
}

.soe-event-article h2,
.soe-event-article h3 {
  color: var(--soe-navy);
  font-family: var(--soe-font-heading);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Add to Calendar & Action Buttons */
.soe-event-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--soe-gray-200);
}

.soe-btn-cal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: var(--soe-white);
  color: var(--soe-navy);
  border: 1px solid var(--soe-navy);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.soe-btn-cal:hover {
  background: var(--soe-navy);
  color: var(--soe-white);
}

/* ==========================================================================
   Right Column: Sticky RSVP & Registration Form Card
   ========================================================================== */
.soe-rsvp-sidebar-card {
  background: var(--soe-white);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(8, 58, 79, 0.1);
  border: 1px solid rgba(165, 141, 102, 0.35);
  overflow: hidden;
  position: sticky;
  top: 6.5rem;
}

.soe-rsvp-header {
  background: var(--soe-navy);
  color: var(--soe-white);
  padding: 2rem 2rem 1.75rem;
  text-align: center;
  border-bottom: 3px solid var(--soe-gold);
  position: relative;
}

.soe-rsvp-badge {
  display: inline-block;
  background: rgba(165, 141, 102, 0.25);
  color: var(--soe-gold-light);
  border: 1px solid rgba(165, 141, 102, 0.4);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.soe-rsvp-title {
  font-family: var(--soe-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--soe-white);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.soe-rsvp-desc {
  font-size: 0.875rem;
  color: var(--soe-sand);
  margin: 0;
  font-weight: 300;
}

/* RSVP Form Body */
.soe-rsvp-body {
  padding: 2rem;
}

.soe-form-group {
  margin-bottom: 1.25rem;
}

.soe-form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--soe-navy);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.soe-form-label span.soe-req {
  color: #DC2626;
}

.soe-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 0.625rem;
  font-family: var(--soe-font-body);
  font-size: 0.875rem;
  color: var(--soe-gray-800);
  background: #FAFAFA;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.soe-form-control:focus {
  outline: none;
  border-color: var(--soe-gold);
  background: var(--soe-white);
  box-shadow: 0 0 0 3px rgba(165, 141, 102, 0.18);
}

textarea.soe-form-control {
  resize: vertical;
  min-height: 90px;
}

.soe-btn-submit {
  width: 100%;
  padding: 0.95rem 1.5rem;
  border-radius: 9999px;
  background: var(--soe-gold);
  color: var(--soe-navy);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(165, 141, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.soe-btn-submit:hover {
  background: var(--soe-teal);
  color: var(--soe-white);
  box-shadow: 0 6px 18px rgba(64, 126, 140, 0.4);
  transform: translateY(-2px);
}

.soe-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.soe-form-footer-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--soe-gray-400);
  font-weight: 400;
  line-height: 1.4;
}

/* Notices & Alert Banners */
.soe-alert {
  padding: 1rem 1.25rem;
  border-radius: 0.625rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: soeFadeIn 0.3s ease;
}

.soe-alert-success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.soe-alert-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

@keyframes soeFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Honeypot Spam Prevention */
.soe-sr-only-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* Quote Banner */
.soe-acutis-banner {
  background: var(--soe-navy);
  color: var(--soe-white);
  padding: 4rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(165, 141, 102, 0.3);
  border-bottom: 1px solid rgba(165, 141, 102, 0.3);
}

.soe-acutis-quote {
  font-family: var(--soe-font-heading);
  font-size: 2rem;
  font-style: italic;
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .soe-acutis-quote {
    font-size: 2.5rem;
  }
}

.soe-acutis-author {
  color: var(--soe-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Loading Spinner */
.soe-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: currentColor;
  animation: soeSpin 0.7s linear infinite;
  display: inline-block;
}

@keyframes soeSpin {
  to { transform: rotate(360deg); }
}

/* Astra Theme Full Width Container */
.ast-container:has(.soe-events-wrapper),
.ast-container:has(.soe-single-event-container) {
  max-width: 100%;
  display: block;
  padding: 0;
}

