/*
 * Le Bon Repos — attractions page styles
 */

.page-attractions .site-content-inner.safar-container { max-width: none; padding: 0; }
.page-attractions .safar-main-content-inner { margin: 0; }
.page-attractions #primary { padding: 0; }
.page-attractions .safar-single-page { margin: 0; }
.page-attractions .post-thumbnail { display: none; }
.page-attractions .entry-content { margin: 0; padding: 0; }
.page-attractions .entry-title { display: none; }

/* ---- Hero ---- */
.lbr-attr-hero {
  position: relative;
  height: 60vh;
  min-height: 440px;
  background: #0d1f1c center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.lbr-attr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,31,28,.40) 0%, rgba(13,31,28,.70) 100%);
}
.lbr-attr-hero__inner { position: relative; max-width: 880px; padding: 0 24px; }
.lbr-attr-hero .lbr-eyebrow {
  letter-spacing: 6px;
  font-size: 13px;
  text-transform: uppercase;
  color: #E8C896;
  margin: 0 0 16px;
  font-weight: 600;
  display: inline-block;
}
.lbr-attr-hero h1 {
  font-family: Marcellus, Georgia, serif;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.1;
  margin: 0 0 20px;
  color: #fff;
  font-weight: 400;
}
.lbr-attr-hero p {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: #f4ebde;
  max-width: 720px;
  margin: 0 auto;
}

/* ---- Intro / stats row ---- */
.lbr-attr-intro {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 10px;
  text-align: center;
}
.lbr-attr-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 10px;
  padding: 40px 0 20px;
  border-top: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
}
.lbr-attr-stat__num {
  font-family: Marcellus, Georgia, serif;
  font-size: 34px;
  color: #C97A4F;
  line-height: 1;
  margin-bottom: 6px;
}
.lbr-attr-stat__label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #777;
  font-weight: 600;
}

/* ---- Filter chips ---- */
.lbr-attr-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 30px 0 40px;
}
.lbr-attr-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #362618;
  letter-spacing: .3px;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}
.lbr-attr-chip:hover { border-color: #C97A4F; color: #C97A4F; }
.lbr-attr-chip--active { background: #362618; color: #fff; border-color: #362618; }
.lbr-attr-chip__count {
  background: rgba(255,255,255,.15);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}
.lbr-attr-chip:not(.lbr-attr-chip--active) .lbr-attr-chip__count {
  background: #FAF5F1;
  color: #C97A4F;
}

/* ---- Card grid ---- */
.lbr-attr-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.lbr-attr-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #EAEAEA;
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.lbr-attr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(54,38,24,.15);
}
.lbr-attr-card__image {
  position: relative;
  width: 100%;
  padding-top: 62%;
  background: center/cover no-repeat;
  overflow: hidden;
}
.lbr-attr-card__image--placeholder {
  background: linear-gradient(135deg, var(--cat-bg, #C97A4F) 0%, var(--cat-bg-2, #362618) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lbr-attr-card__emoji {
  font-size: 72px;
  line-height: 1;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}
.lbr-attr-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
}
.lbr-attr-badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: rgba(255,255,255,.92);
  color: #362618;
  backdrop-filter: blur(4px);
}
.lbr-attr-badge--cat { background: var(--cat-bg, #C97A4F); color: #fff; }
.lbr-attr-card__distance {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(13,31,28,.85);
  color: #fff;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  backdrop-filter: blur(4px);
}
.lbr-attr-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lbr-attr-card h3 {
  font-family: Marcellus, Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  color: #362618;
  margin: 0 0 10px;
  font-weight: 400;
}
.lbr-attr-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #555E63;
  margin: 0 0 16px;
  flex: 1;
}
.lbr-attr-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #EAEAEA;
}
.lbr-attr-card__link {
  color: #C97A4F;
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lbr-attr-card__link:hover { color: #B16638; gap: 8px; transition: gap .2s; }
.lbr-attr-card__duration {
  font-size: 12px;
  color: #888;
  font-weight: 600;
  letter-spacing: .3px;
}
.lbr-attr-card__duration::before { content: '⏱ '; margin-right: 2px; }

/* ---- Category colors ---- */
.lbr-cat-nature  { --cat-bg: #3F6E4D; --cat-bg-2: #1F4230; }
.lbr-cat-culture { --cat-bg: #7A4F2C; --cat-bg-2: #3E2816; }
.lbr-cat-gastro  { --cat-bg: #B26E3D; --cat-bg-2: #733F1E; }
.lbr-cat-famille { --cat-bg: #2C6A8E; --cat-bg-2: #143D53; }
.lbr-cat-sport   { --cat-bg: #A84747; --cat-bg-2: #6B2323; }

/* Cards with a real image: dim the emoji placeholder via background */
.lbr-attr-card[data-has-image="1"] .lbr-attr-card__image { background-image: var(--img); }
.lbr-attr-card[data-has-image="1"] .lbr-attr-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.25) 100%);
}

/* ---- Tips strip ---- */
.lbr-attr-tips {
  background: #FAF5F1;
  padding: 70px 24px;
}
.lbr-attr-tips__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.lbr-attr-tips h2 {
  font-family: Marcellus, Georgia, serif;
  font-size: 36px;
  color: #362618;
  margin: 0 0 18px;
  font-weight: 400;
  line-height: 1.15;
}
.lbr-attr-tips .lbr-eyebrow {
  display: inline-block;
  letter-spacing: 4px;
  font-size: 12px;
  text-transform: uppercase;
  color: #C97A4F;
  font-weight: 600;
  margin-bottom: 10px;
}
.lbr-attr-tips p { font-size: 16px; line-height: 1.65; color: #555E63; margin: 0 0 16px; }
.lbr-attr-tips ul { list-style: none; padding: 0; margin: 0; }
.lbr-attr-tips li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(201,122,79,.15);
  font-size: 15px;
  color: #362618;
}
.lbr-attr-tips li:last-child { border-bottom: none; }
.lbr-attr-tips li strong { font-weight: 700; color: #362618; }
.lbr-attr-tips li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: #C97A4F;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- Final CTA ---- */
.lbr-attr-cta {
  background: #362618;
  color: #f4ebde;
  padding: 80px 24px;
  text-align: center;
}
.lbr-attr-cta .lbr-eyebrow { color: #E8C896; display: inline-block; letter-spacing: 4px; font-size: 13px; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.lbr-attr-cta h2 {
  font-family: Marcellus, Georgia, serif;
  font-size: 38px;
  margin: 0 0 18px;
  color: #fff;
  font-weight: 400;
}
.lbr-attr-cta p { font-size: 17px; line-height: 1.6; max-width: 640px; margin: 0 auto 28px; color: #f4ebde; }
.lbr-attr-cta a.btn {
  display: inline-block;
  padding: 14px 32px;
  background: #C97A4F;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 14px;
  text-transform: uppercase;
}
.lbr-attr-cta a.btn:hover { background: #B16638; }

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .lbr-attr-hero { height: 50vh; min-height: 380px; }
  .lbr-attr-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .lbr-attr-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 10px 18px 60px; }
  .lbr-attr-tips__inner { grid-template-columns: 1fr; gap: 30px; padding: 0 4px; }
  .lbr-attr-tips h2 { font-size: 30px; }
}
@media (max-width: 600px) {
  .lbr-attr-hero { height: 48vh; min-height: 340px; }
  .lbr-attr-hero h1 { font-size: 32px; }
  .lbr-attr-stats { grid-template-columns: 1fr; gap: 12px; padding: 30px 0 10px; }
  .lbr-attr-stat__num { font-size: 28px; }
  .lbr-attr-grid { grid-template-columns: 1fr; gap: 20px; padding: 10px 16px 50px; }
  .lbr-attr-filters { margin: 20px 0 30px; }
  .lbr-attr-chip { padding: 8px 14px; font-size: 12.5px; }
  .lbr-attr-cta h2 { font-size: 28px; }
  .lbr-attr-card__emoji { font-size: 54px; }
  .lbr-attr-card h3 { font-size: 20px; }
}
