/* Shared shell — resourcecanada.com /18 and /uae: dark frame + centered lime card */
body {
  transition: opacity ease-in 0.2s;
  margin: 0;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 1024px) {
  .mobile-h-100vw {
    height: calc(100vw - 40px);
  }
}

html.age-gate--latin .age-gate-page,
html.age-gate--arabic .age-gate-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #2c313a;
}

html.age-gate--latin .age-gate-card,
html.age-gate--arabic .age-gate-card {
  width: 100%;
  max-width: 378px;
  height: auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: #e2ff00;
}

@media (min-width: 640px) {
  html.age-gate--latin .age-gate-card.age-gate-card--tall,
  html.age-gate--arabic .age-gate-card.age-gate-card--tall {
    height: 650px;
  }
}

/* Cookie-policy gates (/cookies, /uae4): content-height card, no tall/mobile stretch */
html.age-gate--latin .age-gate-card.age-gate-card--cookie,
html.age-gate--arabic .age-gate-card.age-gate-card--cookie {
  height: auto;
  padding: 1.75rem 1.25rem;
}

html.age-gate--latin .age-badge-wrap,
html.age-gate--arabic .age-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

html.age-gate--latin .age-badge,
html.age-gate--arabic .age-badge {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #cc0000;
  background: #ff0000;
}

html.age-gate--latin .age-badge span,
html.age-gate--arabic .age-badge span {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 900;
  font-family: "Roboto", sans-serif;
}

html.age-gate--latin .age-btn,
html.age-gate--arabic .age-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 0.375rem;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

html.age-gate--latin .age-btn:hover,
html.age-gate--arabic .age-btn:hover {
  opacity: 0.9;
}

html.age-gate--latin .age-btn-yes,
html.age-gate--arabic .age-btn-yes {
  background: #04b60d;
  margin-bottom: 1rem;
}

html.age-gate--latin .age-btn-no,
html.age-gate--arabic .age-btn-no {
  background: #ff0000;
  margin-top: 1.5rem;
}

/* Latin / EN — Roboto */
html.age-gate--latin .age-gate-page {
  font-family: "Roboto", sans-serif;
}

html.age-gate--latin .age-sub {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-top: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #000;
}

html.age-gate--latin .age-title {
  font-size: 36px;
  margin-top: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #000;
}

html.age-gate--latin .age-title.age-title--sentence {
  text-transform: none;
}

@media (min-width: 768px) {
  html.age-gate--latin .age-title {
    font-size: 44px;
  }
}

html.age-gate--latin .age-body {
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
  line-height: 1.625;
  color: #000;
}

html.age-gate--latin .age-btn {
  text-transform: uppercase;
  letter-spacing: 0.025em;
  font-family: "Roboto", sans-serif;
}

/* Arabic / RTL — same layout as resourcecanada.com/uae; calligraphy + +18 badge */
html.age-gate--arabic .age-gate-page {
  font-family: "Amiri", serif;
}

html.age-gate--arabic .age-badge span {
  font-size: 1.125rem;
  letter-spacing: -0.03em;
}

html.age-gate--arabic .age-sub {
  font-family: "Aref Ruqaa", "Amiri", serif;
  font-size: 1.5rem;
  line-height: 2rem;
  margin-top: 0.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000;
}

html.age-gate--arabic .age-title {
  font-family: "Aref Ruqaa", "Amiri", serif;
  font-size: 36px;
  margin-top: 1rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #000;
}

@media (min-width: 768px) {
  html.age-gate--arabic .age-title {
    font-size: 44px;
  }
}

html.age-gate--arabic .age-body {
  font-family: "Amiri", serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
  line-height: 1.625;
  color: #000;
}

html.age-gate--arabic .age-btn {
  font-family: "Aref Ruqaa", "Amiri", serif;
  text-transform: none;
  letter-spacing: 0.025em;
}
