/* ── Events Page (Luma-inspired) ── */
.events-page {
  background-color: var(--color-muted);
  min-height: calc(100vh - 4rem);
}

/* ── Event Card ── */
.event-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.event-card--past {
  opacity: 0.6;
  pointer-events: none;
}

.event-card__inner {
  display: flex;
  flex-direction: column;
}

.event-card--horizontal .event-card__inner {
  flex-direction: row;
  align-items: center;
}

.event-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.event-card--horizontal .event-card__image {
  width: 200px;
  height: auto;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .event-card--horizontal .event-card__inner {
    flex-direction: column;
  }

  .event-card--horizontal .event-card__image {
    width: 100%;
    height: 200px;
    aspect-ratio: auto;
  }
}

.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
}

.event-card__date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3rem;
  padding-top: 0.125rem;
}

.event-card__date-month {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.event-card__date-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-foreground);
}

.event-card__info {
  flex: 1;
  min-width: 0;
}

.event-card__title {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-foreground);
  margin-bottom: 0.375rem;
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 0.8125rem;
  color: var(--color-muted-foreground);
}

.event-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.event-card__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-foreground);
}

.event-card__price--free {
  color: var(--color-primary);
}

.event-card__tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
}

.event-card__tag--full {
  color: var(--color-destructive);
}

/* ── Event Show ── */
.event-show__container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .event-show__container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.event-show__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .event-show__layout {
    grid-template-columns: 1fr;
  }
}

.event-show__left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-show__cover {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.event-show__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-show__right {
  display: flex;
  flex-direction: column;
}

.event-show__title {
  font-size: 2rem;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.event-show__details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-show__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.event-show__rsvp {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.event-show__description {
  padding-top: 0.5rem;
}
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  /* Base colors — override per client */
  --color-primary: #6b7e4e;
  --color-primary-foreground: #ffffff;
  --color-primary-hover: #566339;
  --color-secondary: #f1f5f9;
  --color-secondary-foreground: #1e293b;
  --color-accent: #4e6e7c;
  --color-accent-foreground: #ffffff;
  --color-background: #ffffff;
  --color-foreground: #0f172a;
  --color-muted: #f8fafc;
  --color-muted-foreground: #64748b;
  --color-border: #e2e8f0;
  --color-destructive: #ef4444;
  --color-destructive-foreground: #ffffff;
  --color-success: #10b981;
  --color-success-foreground: #ffffff;
  --color-warning: #f59e0b;
  --color-warning-foreground: #ffffff;
  --color-card: #ffffff;
  --color-card-foreground: #0f172a;
  --color-sidebar: #f8fafc;
  --color-sidebar-foreground: #334155;
  --color-footer: #3a4428;

  /* Typography */
  --font-sans: "Raleway", system-ui, -apple-system, sans-serif;
  --font-heading: var(--font-sans);

  /* Spacing & Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Min-height equal to viewport minus the navbar (h-20 = 5rem).
   Used by full-bleed pages like login/register that should fill the screen
   without depending on Tailwind arbitrary-value compilation. */
.layout-viewport-fill {
  min-height: calc(100vh - 5rem);
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Calendar view toggle buttons */
.active-view {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

.active-view:hover {
  opacity: 0.9;
}

.inactive-view {
  border: 1px solid var(--color-border);
  background-color: transparent;
  color: var(--color-foreground);
}

.inactive-view:hover {
  background-color: var(--color-secondary);
}

/* Scoped overrides for the toggle buttons when placed on a primary-colored container */
.calendar-controls-primary .active-view {
  background-color: white;
  color: var(--color-primary);
}

.calendar-controls-primary .active-view:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.calendar-controls-primary .inactive-view {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: transparent;
  color: white;
}

.calendar-controls-primary .inactive-view:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Pagy pagination */
.pagy.series-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagy.series-nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md, 0.5rem);
  color: var(--color-foreground);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.pagy.series-nav > a:hover:not([aria-disabled="true"]) {
  background-color: var(--color-muted);
}

.pagy.series-nav > a[aria-current="page"] {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

.pagy.series-nav > a[aria-disabled="true"]:not([aria-current="page"]) {
  color: var(--color-muted-foreground);
  cursor: default;
  opacity: 0.5;
}

.pagy.series-nav > a[role="separator"] {
  opacity: 1;
  letter-spacing: 0.1em;
}

.pagy.series-nav > a[aria-label="Previous"],
.pagy.series-nav > a[aria-label="Next"] {
  font-size: 0;
  overflow: hidden;
}

.pagy.series-nav > a[aria-label="Previous"]::before,
.pagy.series-nav > a[aria-label="Next"]::before {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.pagy.series-nav > a[aria-label="Previous"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 19l-7-7 7-7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 19l-7-7 7-7'/%3E%3C/svg%3E");
}

.pagy.series-nav > a[aria-label="Next"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}
