/* upgrades-rev1.css
   Scoped styles for the SEO/CTA Rev1 preview (bk-related-articles + bk-cta-bar).
   Palette matches /nx/site.css: navy / gold / cream. RTL. No third-party assets.
*/
.bk-related-articles,
.bk-cta-bar {
  font-family: "Plex", system-ui, sans-serif;
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
}
.bk-related-articles *,
.bk-cta-bar * {
  box-sizing: border-box;
  max-width: 100%;
}
.bk-up-inner {
  width: min(44rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0;
}

/* Related articles */
.bk-related-articles {
  background: #faf8f4;
  border-top: 1px solid #e4e1da;
  padding: 1.75rem 0 1.4rem;
}
.bk-related-articles h2 {
  margin: 0 0 1rem;
  color: #24365c;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 700;
  line-height: 1.4;
}
.bk-related-articles ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.bk-related-articles li {
  margin: 0;
  padding: 0;
}
.bk-related-articles a {
  display: block;
  background: #fff;
  color: #1f2a3d;
  text-decoration: none;
  border: 1px solid #e4e1da;
  border-inline-start: 5px solid #B07A3A;
  border-radius: 0.8rem;
  padding: 0.85rem 1rem;
  line-height: 1.65;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.bk-related-articles a:hover,
.bk-related-articles a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 40, 60, 0.09);
  color: #24365c;
  outline: none;
}

/* Unified booking conversion bar */
.bk-cta-bar {
  background: #24365c;
  color: #faf8f4;
  padding: 1.8rem 0 1.9rem;
  border-top: 4px solid #B07A3A;
}
.bk-cta-credit {
  margin: 0 0 1.15rem;
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.2rem, 1.05rem + 1.1vw, 1.6rem);
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.bk-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  align-items: stretch;
}
.bk-cta-primary,
.bk-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  min-height: 3rem;
  flex: 1 1 16rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.bk-cta-primary {
  background: #B07A3A;
  color: #fff !important;
}
.bk-cta-primary:hover,
.bk-cta-primary:focus-visible {
  background: #9a6830;
  outline: 2px solid #faf8f4;
  outline-offset: 2px;
}
.bk-cta-secondary {
  background: transparent;
  color: #fff !important;
  border: 2px solid #e4e1da;
}
.bk-cta-secondary:hover,
.bk-cta-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  outline: 2px solid #B07A3A;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .bk-up-inner {
    width: min(44rem, calc(100% - 1.5rem));
  }
  .bk-cta-actions {
    flex-direction: column;
  }
  .bk-cta-primary,
  .bk-cta-secondary {
    flex: 1 1 auto;
    width: 100%;
  }
  .bk-cta-credit {
    font-size: 1.2rem;
  }
}
