/* ── Lodge finder hero ───────────────────────────────────────────────────── */
.lf-hero {
  background: var(--ugle-blue);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.lf-hero__inner {
  max-width: 680px;
  margin: 0 auto;
}

.lf-hero__title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0.4rem 0 0.75rem;
}

.lf-hero__sub {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.lf-search-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.lf-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.lf-search {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: none;
  border-radius: 6px;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.lf-search:focus {
  outline: 2px solid var(--ugle-gold);
  outline-offset: 2px;
}

/* ── Lodge grid ──────────────────────────────────────────────────────────── */
.lf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.lf-empty {
  color: var(--text-light);
  text-align: center;
  padding: 3rem 0;
  grid-column: 1 / -1;
}

/* ── Lodge card ──────────────────────────────────────────────────────────── */
.lf-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.lf-card:hover {
  box-shadow: 0 8px 28px rgba(19,50,94,0.12);
  transform: translateY(-2px);
}

.lf-card__img {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: var(--ugle-blue);
}

.lf-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ugle-blue), var(--ugle-blue-mid));
  color: rgba(255,255,255,0.25);
  font-size: 2.5rem;
}

.lf-card__body {
  padding: 1.1rem 1.25rem 0.75rem;
  flex: 1;
}

.lf-card__number {
  font-family: 'Roboto', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ugle-gold);
  margin-bottom: 0.25rem;
}

.lf-card__name {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ugle-blue);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.lf-card__meta {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-bottom: 0.3rem;
}

.lf-card__meta i {
  color: var(--accent);
  font-size: 0.72rem;
  flex-shrink: 0;
  width: 12px;
}

.lf-card__postcode {
  color: var(--text-light);
  font-size: 0.75rem;
  margin-left: 0.2rem;
}

.lf-card__next-meeting {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--ugle-blue);
  background: color-mix(in srgb, var(--ugle-blue) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--ugle-blue) 18%, transparent);
  border-radius: 5px;
  padding: 0.35rem 0.6rem;
  margin-top: 0.5rem;
}

.lf-card__next-meeting i {
  font-size: 0.72rem;
  color: var(--accent);
  flex-shrink: 0;
}

.lf-card__next-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-mid);
}

.lf-card__footer {
  padding: 0.65rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ugle-blue);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lf-card:hover .lf-card__footer {
  color: var(--ugle-blue-mid);
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* INDIVIDUAL LODGE PAGE                                                      */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ── Section background helpers ──────────────────────────────────────────── */
.ld-section--white { background: #fff; }
.ld-section--grey  { background: var(--off-white); }

/* ── Lodge hero ──────────────────────────────────────────────────────────── */
.ld-hero {
  background: var(--ugle-blue);
  padding: 3.5rem 1.5rem 4rem;
}

.ld-hero__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left column */
.ld-hero__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ld-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  margin-bottom: 1.5rem;
  transition: color 0.15s;
  width: fit-content;
}
.ld-back:hover { color: rgba(255,255,255,0.9); }

.ld-hero__chip {
  display: inline-block;
  background: rgba(184,151,42,0.2);
  border: 1px solid rgba(184,151,42,0.5);
  color: var(--ugle-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  width: fit-content;
}

.ld-hero__title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.ld-hero__consecrated {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ld-hero__consecrated i {
  color: var(--ugle-gold);
  font-size: 0.8rem;
}

/* Social icons */
.ld-social {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.ld-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ld-social__link:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

/* CTA */
.ld-hero__cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.ld-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ugle-gold);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  border: none;
}
.ld-hero__cta-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  color: #fff;
}

/* Right column — portrait image */
.ld-hero__img-col {
  display: flex;
  justify-content: center;
}

.ld-hero__img-wrap {
  width: 100%;
  max-width: 340px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.ld-hero__img-wrap img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
}

/* Placeholder when no image */
.ld-hero__img-placeholder {
  background: #0d2444;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  position: relative;
}
.ld-hero__img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(184,151,42,0.04) 0px,
    rgba(184,151,42,0.04) 1px,
    transparent 1px,
    transparent 28px
  );
}
.ld-hero__placeholder-number {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--ugle-gold);
  line-height: 1;
  position: relative;
}
.ld-hero__placeholder-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(184,151,42,0.55);
  position: relative;
}

/* ── Key facts panel ─────────────────────────────────────────────────────── */
.ld-facts-panel {
  background: #fff;
  border-top: none;
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.ld-facts-panel__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1400px;
  margin-inline: auto;
}

.ld-fact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.4rem 2.5rem 1.4rem 1.5rem;
  border-right: 1px solid var(--border);
  min-width: 160px;
  flex: 1;
}
.ld-fact-item:last-child { border-right: none; }

.ld-fact-item > i {
  color: var(--ugle-gold);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.ld-fact-item__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.ld-fact-item__value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}
.ld-fact-item__value small {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.78rem;
}

.ld-fact-item__link {
  color: var(--ugle-gold);
  text-decoration: none;
}
.ld-fact-item__link:hover { text-decoration: underline; }

/* ── Shared section heading ───────────────────────────────────────────────── */
.df-section-title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ugle-blue);
  margin: 0.4rem 0 2rem;
}

/* ── Upcoming meetings ───────────────────────────────────────────────────── */
.ld-meetings-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 780px;
}

.ld-meeting-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  position: relative;
  transition: box-shadow 0.15s;
}
.ld-meeting-row:hover {
  box-shadow: 0 4px 16px rgba(19,50,94,0.08);
}

.ld-meeting-row--next {
  border-color: var(--ugle-blue);
  background: color-mix(in srgb, var(--ugle-blue) 3%, #fff);
}

/* Date block */
.ld-meeting__date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 48px;
  padding-top: 0.1rem;
  line-height: 1.1;
  flex-shrink: 0;
}

.ld-meeting__day {
  font-family: 'Barlow', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ugle-blue);
  line-height: 1;
}

.ld-meeting__mon {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ugle-gold);
}

.ld-meeting__yr {
  font-size: 0.68rem;
  color: var(--text-light);
}

/* Detail */
.ld-meeting__detail { flex: 1; }

.ld-meeting__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.ld-meeting__type-pill {
  display: inline-block;
  background: color-mix(in srgb, var(--ugle-blue) 8%, transparent);
  color: var(--ugle-blue);
  border: 1px solid color-mix(in srgb, var(--ugle-blue) 20%, transparent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.7rem;
  border-radius: 20px;
}

.ld-meeting__business-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #f0f4fa;
  border: 1px solid #d0daea;
  color: var(--text-mid);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.22rem 0.7rem;
  border-radius: 20px;
}
.ld-meeting__business-pill i {
  font-size: 0.65rem;
  opacity: 0.6;
}

.ld-meeting__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-mid);
}
.ld-meeting__meta-row i {
  color: var(--ugle-gold);
  margin-right: 0.25rem;
  font-size: 0.75rem;
}

/* Next badge */
.ld-meeting__next-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ugle-blue);
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* ── About cards ─────────────────────────────────────────────────────────── */
.ld-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.ld-about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.ld-about-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ugle-gold) 12%, transparent);
  border: 2px solid color-mix(in srgb, var(--ugle-gold) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--ugle-gold);
  font-size: 1.2rem;
}

.ld-about-card__title {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ugle-blue);
  margin: 0 0 0.75rem;
}

.ld-about-card__body {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ── Fees ────────────────────────────────────────────────────────────────── */
.ld-fee-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.ld-fee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 2.5rem;
  flex: 1;
  min-width: 180px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.ld-fee-item__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.ld-fee-item__amount {
  font-family: 'Barlow', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ugle-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ld-fee-item__note {
  font-size: 0.75rem;
  color: var(--text-light);
}

.ld-fee-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Officers ────────────────────────────────────────────────────────────── */
.ld-officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.ld-officer-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--ugle-gold);
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  transition: box-shadow 0.15s;
}
.ld-officer-card:hover {
  box-shadow: 0 4px 14px rgba(19,50,94,0.08);
}

.ld-officer-card__office {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.ld-officer-card__name {
  font-family: 'Barlow', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ugle-blue);
}

.ld-officer-card__rank {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* ── Venue map ───────────────────────────────────────────────────────────── */
.ld-venue-address {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.ld-map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.ld-map {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* ── Back section ────────────────────────────────────────────────────────── */
.ld-back-section .df-container { text-align: center; }

/* ── Shared buttons ──────────────────────────────────────────────────────── */
.btn--primary {
  background: var(--ugle-blue);
  color: #fff;
  border: 2px solid var(--ugle-blue);
}
.btn--primary:hover {
  background: color-mix(in srgb, var(--ugle-blue) 80%, #fff);
  border-color: color-mix(in srgb, var(--ugle-blue) 80%, #fff);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--ugle-blue);
  border: 2px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--ugle-blue);
  color: var(--ugle-blue);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ld-hero__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ld-about-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .ld-hero { padding: 2.5rem 1.25rem 3rem; }
  .ld-hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ld-hero__img-col { order: -1; }
  .ld-hero__img-wrap { max-width: 240px; }

  .ld-facts-panel__grid { flex-direction: column; }
  .ld-fact-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
  }
  .ld-fact-item:last-child { border-bottom: none; }

  .ld-about-grid { grid-template-columns: 1fr; }

  .ld-fee-grid { flex-direction: column; }
  .ld-fee-item { padding: 1.5rem 2rem; }

  .ld-officers-grid { grid-template-columns: 1fr 1fr; }

  .ld-map { height: 260px; }

  .ld-meeting-row { gap: 1rem; padding: 0.9rem 1rem; }
  .ld-meeting__meta-row { flex-direction: column; gap: 0.2rem; }

  .lf-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .lf-grid        { grid-template-columns: 1fr; }
  .ld-officers-grid { grid-template-columns: 1fr; }
  .ld-about-grid  { grid-template-columns: 1fr; }
  .ld-hero__img-wrap { max-width: 200px; }
  .ld-fee-item__amount { font-size: 1.8rem; }
}
