.bsm-magazine {
  --bsm-ink: #162238;
  --bsm-muted: #627087;
  --bsm-line: #e7ebf0;
  --bsm-paper: #fff;
  --bsm-soft: #f6f8fb;
  --bsm-brand: #0f766e;
  --bsm-brand-dark: #0b514d;
  background: var(--bsm-paper);
  color: var(--bsm-ink);
  font-family: inherit;
  overflow: hidden;
}

.bsm-magazine *,
.bsm-magazine *::before,
.bsm-magazine *::after { box-sizing: border-box; }

.bsm-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.bsm-hero {
  position: relative;
  isolation: isolate;
  padding: 76px 0 68px;
  background:
    radial-gradient(circle at 13% 22%, rgba(45, 212, 191, .24), transparent 27%),
    radial-gradient(circle at 88% 80%, rgba(96, 165, 250, .22), transparent 28%),
    linear-gradient(135deg, #071b2d 0%, #0b3c4b 54%, #0f766e 100%);
  color: #fff;
}

.bsm-hero::before,
.bsm-hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  content: "";
}

.bsm-hero::before { width: 320px; height: 320px; top: -180px; left: 8%; }
.bsm-hero::after { width: 190px; height: 190px; right: 4%; bottom: -115px; }

.bsm-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: 72px;
}

.bsm-eyebrow,
.bsm-section-head__kicker {
  margin: 0 0 10px;
  color: #7ee6d9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
}

.bsm-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.15;
}

.bsm-hero__lead {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.95;
}

.bsm-search {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
}

.bsm-search label { display: block; margin-bottom: 10px; font-weight: 800; }
.bsm-search__field { position: relative; color: #718096; }
.bsm-search__field svg { position: absolute; top: 50%; right: 18px; transform: translateY(-50%); }
.bsm-search input {
  width: 100%;
  min-height: 56px;
  padding: 10px 52px 10px 18px;
  border: 0;
  border-radius: 15px;
  outline: 0;
  background: #fff;
  color: var(--bsm-ink);
  font: inherit;
}
.bsm-search input:focus { box-shadow: 0 0 0 4px rgba(126,230,217,.38); }
.bsm-search__hint { margin: 10px 2px 0; color: rgba(255,255,255,.68); font-size: 12px; }

.bsm-content { padding: 48px 0 80px; }
.bsm-attractions-directory { margin-bottom: 70px; }
.bsm-attraction-search { display: grid; grid-template-columns: auto minmax(240px, 420px); align-items: center; justify-content: end; gap: 12px; margin: -6px 0 24px; }
.bsm-attraction-search label { color: var(--bsm-muted); font-size: 13px; font-weight: 700; }
.bsm-attraction-search input { width: 100%; min-height: 46px; padding: 9px 15px; border: 1px solid var(--bsm-line); border-radius: 13px; background: #fff; color: var(--bsm-ink); font: inherit; outline: none; }
.bsm-attraction-search input:focus { border-color: var(--bsm-brand); box-shadow: 0 0 0 3px rgba(15,118,110,.12); }
.bsm-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; }
.bsm-card__map { padding: 7px 11px; border-radius: 10px; background: #eef2f6; color: #405066; font-size: 12px; font-weight: 800; text-decoration: none; }
.bsm-load-more { display: block; min-width: 210px; margin: 28px auto 0; padding: 13px 20px; border: 0; border-radius: 13px; background: var(--bsm-brand); color: #fff; cursor: pointer; font: inherit; font-weight: 800; }
.bsm-load-more:hover { background: var(--bsm-brand-dark); }
.bsm-filters { display: flex; gap: 10px; margin-bottom: 46px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin; }
.bsm-filter {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid var(--bsm-line);
  border-radius: 999px;
  background: #fff;
  color: #46556b;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}
.bsm-filter:hover,
.bsm-filter:focus-visible { border-color: var(--bsm-brand); color: var(--bsm-brand); }
.bsm-filter.is-active { border-color: var(--bsm-brand); background: var(--bsm-brand); color: #fff; }

.bsm-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.bsm-section-head__kicker { color: var(--bsm-brand); }
.bsm-section-head h2 { margin: 0; color: var(--bsm-ink); font-size: clamp(25px, 4vw, 36px); line-height: 1.3; }
.bsm-results-status { margin: 0; color: var(--bsm-muted); font-size: 13px; }

.bsm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bsm-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--bsm-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(21,36,55,.06);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bsm-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(21,36,55,.11); }
.bsm-card[hidden] { display: none; }
.bsm-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #dce6ed; }
.bsm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.bsm-card:hover .bsm-card__media img { transform: scale(1.045); }

.bsm-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 22% 20%, rgba(255,255,255,.26), transparent 25%),
    linear-gradient(135deg, var(--bsm-color-a), var(--bsm-color-b));
  color: rgba(255,255,255,.9);
}
.bsm-card__placeholder::before,
.bsm-card__placeholder::after { position: absolute; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; content: ""; }
.bsm-card__placeholder::before { width: 150px; height: 150px; top: -82px; left: -30px; }
.bsm-card__placeholder::after { width: 95px; height: 95px; right: 28px; bottom: -48px; }
.bsm-card__placeholder span { font-family: Arial, sans-serif; font-size: 34px; font-weight: 900; letter-spacing: .2em; text-indent: .2em; text-shadow: 0 3px 18px rgba(0,0,0,.12); }

.bsm-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.bsm-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; color: var(--bsm-muted); font-size: 12px; }
.bsm-card__category { max-width: 65%; padding: 5px 9px; border-radius: 999px; background: #e8f7f5; color: var(--bsm-brand-dark); font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bsm-card__title { margin: 0 0 10px; color: var(--bsm-ink); font-size: 20px; line-height: 1.65; }
.bsm-card__title a { color: inherit; text-decoration: none; }
.bsm-card__title a:hover { color: var(--bsm-brand); }
.bsm-card__excerpt { margin: 0 0 20px; color: var(--bsm-muted); font-size: 14px; line-height: 1.9; }
.bsm-card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--bsm-brand); font-size: 14px; font-weight: 800; text-decoration: none; }
.bsm-card__link svg { transition: transform .2s ease; }
.bsm-card__link:hover svg { transform: translateX(-4px); }

.bsm-empty { padding: 54px 24px; border: 1px dashed #ccd4dd; border-radius: 22px; background: var(--bsm-soft); text-align: center; }
.bsm-empty span { color: var(--bsm-brand); font-size: 42px; }
.bsm-empty h2,
.bsm-empty h3 { margin: 8px 0; color: var(--bsm-ink); }
.bsm-empty p { margin: 0; color: var(--bsm-muted); }

.bsm-pagination { margin-top: 46px; }
.bsm-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bsm-pagination .page-numbers { display: grid; min-width: 42px; min-height: 42px; padding: 8px 12px; place-items: center; border: 1px solid var(--bsm-line); border-radius: 12px; color: var(--bsm-ink); text-decoration: none; }
.bsm-pagination .page-numbers.current { border-color: var(--bsm-brand); background: var(--bsm-brand); color: #fff; }

.bsm-attraction { padding: 34px 0 80px; background: #fff; }
.bsm-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--bsm-muted); font-size: 13px; }
.bsm-breadcrumb a { color: var(--bsm-brand); text-decoration: none; }
.bsm-attraction__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); align-items: center; gap: 48px; margin-bottom: 30px; padding: 44px; border-radius: 28px; background: var(--bsm-soft); }
.bsm-attraction__eyebrow { margin: 0 0 10px; color: var(--bsm-brand); font-size: 13px; font-weight: 900; }
.bsm-attraction__hero h1 { margin: 0 0 16px; color: var(--bsm-ink); font-size: clamp(34px, 5vw, 58px); line-height: 1.25; }
.bsm-attraction__intro > p:not(.bsm-attraction__eyebrow) { color: var(--bsm-muted); font-size: 17px; line-height: 1.9; }
.bsm-attraction__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.bsm-map-button,
.bsm-secondary-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 17px; border-radius: 12px; font-size: 14px; font-weight: 900; text-decoration: none; }
.bsm-map-button { background: var(--bsm-brand); color: #fff; }
.bsm-secondary-button { border: 1px solid var(--bsm-line); background: #fff; color: var(--bsm-ink); }
.bsm-attraction__media { position: relative; min-height: 300px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; }
.bsm-attraction__media img { width: 100%; height: 100%; object-fit: cover; }
.bsm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 48px; border: 1px solid var(--bsm-line); border-radius: 18px; overflow: hidden; }
.bsm-facts div { display: grid; gap: 5px; padding: 18px; border-left: 1px solid var(--bsm-line); }
.bsm-facts div:last-child { border-left: 0; }
.bsm-facts span { color: var(--bsm-muted); font-size: 12px; }
.bsm-facts strong { color: var(--bsm-ink); font-size: 14px; }
.bsm-attraction__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 52px; }
.bsm-attraction__content { max-width: 780px; color: #35445a; font-size: 16px; line-height: 2.05; }
.bsm-attraction__content h2 { margin: 42px 0 12px; color: var(--bsm-ink); font-size: 27px; line-height: 1.5; }
.bsm-attraction__content a { color: var(--bsm-brand); }
.bsm-attraction__aside { position: sticky; top: 28px; padding: 24px; border: 1px solid var(--bsm-line); border-radius: 18px; background: var(--bsm-soft); }
.bsm-attraction__aside h2 { margin: 0 0 9px; font-size: 20px; }
.bsm-attraction__aside p { color: var(--bsm-muted); font-size: 13px; line-height: 1.8; }
.bsm-attraction__aside .bsm-map-button { width: 100%; }
.bsm-verified-note { margin-bottom: 0; }
.bsm-faq { margin-top: 46px; }
.bsm-visa-note { margin-top: 46px; padding: 24px 26px; border: 1px solid #bfe8e2; border-radius: 18px; background: #effaf8; }
.bsm-visa-note h2 { margin: 0 0 8px; }
.bsm-visa-note p:last-child { margin-bottom: 0; }
.bsm-faq details { border-top: 1px solid var(--bsm-line); }
.bsm-faq summary { padding: 18px 0; color: var(--bsm-ink); cursor: pointer; font-weight: 800; }
.bsm-faq details p { margin-top: 0; }
.bsm-related { margin-top: 72px; padding-top: 52px; border-top: 1px solid var(--bsm-line); }

@media (max-width: 920px) {
  .bsm-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .bsm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bsm-attraction__hero { grid-template-columns: 1fr; }
  .bsm-attraction__layout { grid-template-columns: 1fr; }
  .bsm-attraction__aside { position: static; }
  .bsm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .bsm-shell { width: min(100% - 28px, 1180px); }
  .bsm-hero { padding: 54px 0 48px; }
  .bsm-search { padding: 18px; border-radius: 19px; }
  .bsm-content { padding-top: 34px; }
  .bsm-filters { margin-bottom: 34px; }
  .bsm-section-head { display: block; }
  .bsm-results-status { margin-top: 8px; }
  .bsm-grid { grid-template-columns: 1fr; gap: 18px; }
  .bsm-attraction-search { display: block; }
  .bsm-attraction-search label { display: block; margin-bottom: 8px; }
  .bsm-attraction__hero { gap: 26px; padding: 24px; border-radius: 20px; }
  .bsm-attraction__media { min-height: 220px; }
  .bsm-facts { grid-template-columns: 1fr; }
  .bsm-facts div { border-bottom: 1px solid var(--bsm-line); border-left: 0; }
  .bsm-facts div:last-child { border-bottom: 0; }
  .bsm-card__body { padding: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .bsm-card,
  .bsm-card__media img,
  .bsm-card__link svg { transition: none; }
}
