/* Public CMS additions. Mockup styles.css and v2-pages.css stay untouched.
   Badges are off in the seed, so these rules do not change the approved pages. */

.cms-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cms-badge--orange {
  background: var(--orange, #e87722);
  color: #fff;
}

.cms-badge--dark {
  background: var(--ink, #0f0f12);
  color: #fff;
}

.cms-badge--light {
  background: #fff;
  color: var(--ink, #0f0f12);
}

.cms-badge--outline {
  background: transparent;
  color: var(--ink, #0f0f12);
  box-shadow: inset 0 0 0 1.5px currentColor;
}

/* Readable on dark feature / hero / country-card heads */
.feature-card .cms-badge--orange,
.page-hero .cms-badge--orange,
.country-card__head .cms-badge--orange {
  background: var(--orange, #e87722);
  color: #fff;
}

.feature-card .cms-badge--dark,
.page-hero .cms-badge--dark,
.country-card__head .cms-badge--dark {
  background: rgba(15, 15, 18, 0.72);
  color: #fff;
}

.feature-card .cms-badge--light,
.page-hero .cms-badge--light,
.country-card__head .cms-badge--light {
  background: #fff;
  color: var(--ink, #0f0f12);
}

.feature-card .cms-badge--outline,
.page-hero .cms-badge--outline,
.country-card__head .cms-badge--outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.9);
}

.country-card__head .cms-badge,
.country-card__head .tag {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.cms-prose {
  max-width: 760px;
}

.cms-prose p + p {
  margin-top: 1em;
}

.form-message {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.form-message--ok {
  background: #e8f6ec;
  color: #0f5c2e;
}

.form-message--err {
  background: #fff1e8;
  color: #8a3b00;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  border-radius: inherit;
}

.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

img.icon-img {
  object-fit: contain;
  display: block;
}

.icon-tile > .icon-img {
  width: 24px;
  height: 24px;
}

.icon-tile--sm > .icon-img {
  width: 20px;
  height: 20px;
}

.icon-tile--lg > .icon-img {
  width: 28px;
  height: 28px;
}

.benefit-list .icon-tile > .icon-img {
  width: 18px;
  height: 18px;
}

.trust-row .icon-img {
  width: 20px;
  height: 20px;
  flex: none;
}

.util-bar .icon-img,
.footer-social .icon-img,
.cluster .icon-img,
img.icon.icon--sm.icon-img,
img.icon-img.icon--sm {
  width: 18px;
  height: 18px;
}

.hp-field[hidden] {
  display: none;
}

.admin-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  place-items: center;
  padding: 1rem;
}

.admin-gate.open {
  display: grid;
}

.admin-gate-card {
  width: min(100%, 380px);
  background: var(--white, #fff);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow, 0 24px 50px -28px rgba(0, 0, 0, 0.45));
}

.admin-gate-card h3 {
  margin: 0 0 0.4rem;
}

.admin-gate-card input {
  width: 100%;
  margin: 0.85rem 0;
  padding: 0.85rem;
  border: 1px solid var(--line, #e6e1d6);
  border-radius: 12px;
}

.admin-gate-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
