.card-variant-info {
  border-left: 4px solid #3b82f6;
}
.card-variant-success {
  border-left: 4px solid #10b981;
}
.card-variant-warning {
  border-left: 4px solid #f59e0b;
}
.card-variant-note {
  border-left: 4px solid #6366f1;
}
.card-variant-neutral {
  border-left: 4px solid #9ca3af;
}
.card-cta {
  margin-top: 0.5rem;
  display: inline-block;
}

/* Center all table headers */
table thead th {
  text-align: center;
  vertical-align: middle;
}

/* Round cards */
.rounds-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.round-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 0.9rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    transform 0.02s ease-in-out;
}
.round-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.round-card .rc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.round-card .rc-head .rc-round {
  font-weight: 700;
}
.round-card .rc-sub {
  color: #6b7280;
  font-size: 0.9em;
}
.round-card .rc-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.round-card .button.small {
  flex: 1 1 0;
  text-align: center;
}
.round-card .round-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* Lodging cards */
.lodging-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
/* make sure the card is a column container */
.lodge-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 0.9rem 0.95rem;
  display: flex; /* already present */
  flex-direction: column; /* already present */
  gap: 0.5rem;
  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    transform 0.02s ease-in-out;
}

/* push actions to the bottom and center the button */
.lodge-actions {
  margin-top: auto; /* stick to bottom of the card */
  display: flex;
  justify-content: center; /* center horizontally */
}

/* optional: give the button a consistent width */
.lodge-actions .button.small {
  min-width: 140px;
  text-align: center;
}

/* Design tokens */
:root {
  --card-bg: #fff;
  --card-bd: #e5e7eb;
  --card-radius: 10px;
  --card-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  --muted: #6b7280;
}

/* Utilities */
.section {
  margin-top: 1.25rem;
}
.muted {
  color: var(--muted);
}

/* Cards (unified) */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  border-radius: var(--card-radius);
  padding: 0.9rem 0.95rem;
  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.card:hover {
  border-color: #d1d5db;
  box-shadow: var(--card-shadow);
}

/* Images (banner/round/lodging) */
.img-framed {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--card-bd);
  object-fit: cover;
}

/* Tables inside cards */
.table-soft {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.table-soft thead th {
  text-align: center;
  vertical-align: middle;
  background: #f9fafb;
  border-bottom: 1px solid var(--card-bd);
  padding: 0.55rem 0.6rem;
  font-weight: 600;
}
.table-soft tbody td {
  border-top: 1px solid #f1f5f9;
  padding: 0.55rem 0.6rem;
}
.table-soft tr:nth-child(odd) td {
  background: #fcfcfd;
}

/* Buttons */
.button.primary {
  background: #111827;
  color: #fff;
}
.button.secondary {
  background: #f3f4f6;
  color: #111827;
}
.button.disabled,
.button.disabled:hover {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

/* Make items in each grid row the same height */
.rounds-grid,
.lodging-grid {
  align-items: stretch; /* grid default, but set explicitly */
}

/* Cards fill the grid track height and use flex to space content */
.round-card,
.lodge-card {
  height: 100%; /* key: match tallest in the row */
  display: flex;
  flex-direction: column;
}

/* Keep images tidy; already fixed height is fine */
.round-card .round-photo,
.lodge-card .lodge-photo {
  height: 150px; /* or whatever you already use */
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* Push buttons to the bottom of the card */
.rc-actions,
.lodge-actions {
  margin-top: auto; /* sticks actions to the bottom */
  display: flex;
  gap: 0.5rem;
  justify-content: center; /* optional */
}
/* --- 7/5 two-col equal height without squish --- */
.row.cards-row {
  /* kill framework gutters on this row only */
  margin-left: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); /* 7/5 split */
  gap: 1rem;
  align-items: stretch;
}

/* kill the child padding/floats/widths the framework adds */
.row.cards-row > .\7u,
.row.cards-row > .\5u {
  padding-left: 0 !important;
  width: auto !important;
  float: none !important;
  flex: none !important;
  min-width: 0; /* allow content to shrink instead of pushing column wider */
}
.row.cards-row {
  grid-template-columns: minmax(320px, 7fr) minmax(280px, 5fr);
}

/* make the card fill the track height */
.cards-row .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* keep bottom buttons pinned */
.cards-row .rc-actions,
.cards-row .lodge-actions {
  margin-top: auto;
}

/* stack on small screens */
@media (max-width: 860px) {
  .row.cards-row {
    grid-template-columns: 1fr;
  }
}
/* Center the H2 only in the special-day cards */
.section .card > h2,
.card.section > h2 {
  display: block; /* ensure full width */
  text-align: center;
  margin: 0 0 0.75rem;
}

/* If something still wins the cascade, bump specificity + !important */
section.wrapper.style1 .section .card > h2 {
  text-align: center !important;
}
/* tight list: no vertical gaps */
.tight-list,
.tight-list ul {
  margin: 0; /* kill top/bottom gaps on ULs */
  padding-left: 1.25rem; /* keep bullets indented */
}
.tight-list li {
  margin: 0; /* ensure no li spacing if your theme adds any */
}

.lodging-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.lodge-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
}

.lodge-photo {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.lodge-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.lodge-title {
  margin: 0;
  min-height: 3.3em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
  font-size: 1.05rem;
}

.lodge-beds {
  margin-top: 0.45rem;
  min-height: 2.6em;
  text-align: center;
  color: #777;
  font-size: 0.92rem;
  line-height: 1.45;
}

.lodge-price-block {
  margin-top: 0.8rem;
  min-height: 3.7em;
  text-align: center;
}

.lodge-price {
  font-size: 1.08rem;
  font-weight: 700;
  color: #2b2b2b;
  line-height: 1.2;
}

.lodge-price-caption {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: #777;
  line-height: 1.35;
}

.lodge-detail-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.lodge-detail-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: 0.92rem;
  line-height: 1.4;
}

.lodge-detail-label {
  font-weight: 600;
  color: #444;
}

.lodge-detail-value {
  color: #666;
}

.lodge-actions {
  margin-top: auto;
  padding-top: 1rem;
  text-align: center;
}
