/*
 * Main-menu page introductions.
 * Scope: .rg-menu-intro, the support channel strip under it, and the
 * Motshameko landing hero. Does not style the shared header, footer,
 * or .rg-home.
 */

/*
 * One shared banner box for every main-menu introduction.
 * Desktop fits the tallest real copy (Motshameko). Narrow screens
 * use one taller box so stacked photos still match the navy pages.
 */
.rg-menu-intro {
  --menu-intro-height: 420px;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: var(--menu-intro-height);
  min-height: var(--menu-intro-height);
}

.rg-menu-intro__inner {
  position: relative;
  z-index: 2;
  width: min(1190px, calc(100% - 2 * var(--section-pad-x, 24px)));
  margin: 0 auto;
  padding: 26px 0 32px;
}

.rg-menu-intro__crumb {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  opacity: 0.85;
}

.rg-menu-intro__crumb a {
  color: inherit;
  text-decoration: none;
}

.rg-menu-intro__crumb a:hover {
  text-decoration: underline;
}

.rg-menu-intro__crumb [aria-hidden="true"] {
  opacity: 0.45;
  padding: 0 8px;
  font-style: normal;
}

.rg-menu-intro__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.rg-public .rg-menu-intro h1 {
  margin: 12px 0 14px;
  max-width: 16em;
  font-size: clamp(31px, 3.6vw, 49px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.046em;
}

body.rg-public .rg-menu-intro--exclusion h1 {
  max-width: 11em;
}

.rg-menu-intro__lede {
  margin: 0;
  max-width: 42rem;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

.rg-menu-intro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
}

.rg-menu-intro__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 5px;
  background: #c92a2d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.rg-menu-intro__btn:hover {
  background: #a82225;
  color: #fff;
}

.rg-menu-intro__textlink {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid #71aed1;
  padding-bottom: 4px;
}

.rg-menu-intro__textlink:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.rg-menu-intro a:focus-visible,
.rg-menu-intro button:focus-visible,
.rg-menu-intro input:focus-visible,
.rg-menu-channels a:focus-visible,
.rg-menu-follow button:focus-visible,
.mop-page .mop-hero a:focus-visible {
  outline: 3px solid #6bc8e2;
  outline-offset: 3px;
}

/* Exclusions — navy, left aligned */
.rg-menu-intro--exclusion {
  background: linear-gradient(115deg, #081931 0%, #102b54 69%, #0b3762 100%);
  color: #fff;
}

.rg-menu-intro--exclusion .rg-menu-intro__eyebrow {
  color: #6bc8e2;
}

.rg-menu-intro--exclusion .rg-menu-intro__lede {
  max-width: 40rem;
  color: #e5eaf2;
  font-size: 14px;
  line-height: 1.52;
}

.rg-menu-intro__art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 44%;
  pointer-events: none;
}

.rg-menu-intro__arc {
  position: absolute;
  border: 1px solid #5db7d4;
  border-radius: 50%;
  width: 540px;
  height: 540px;
  top: -100px;
  right: -170px;
  opacity: 0.38;
}

.rg-menu-intro__arc--2 {
  width: 390px;
  height: 390px;
  top: -23px;
  right: -94px;
  border-width: 2px;
  opacity: 0.55;
}

.rg-menu-intro__arc--3 {
  width: 240px;
  height: 240px;
  top: 52px;
  right: -18px;
  opacity: 0.8;
  background: linear-gradient(145deg, #206b9e70, #66d4e21c);
}

/* Get Support — light ground, photograph on the right */
.rg-menu-intro--support {
  background: #eef4f7;
  color: #091b3d;
}

.rg-menu-intro--support .rg-menu-intro__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
}

.rg-menu-intro--support .rg-menu-intro__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.rg-menu-intro--support .rg-menu-intro__photo::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 88px;
  background: linear-gradient(90deg, #eef4f7, rgba(238, 244, 247, 0));
  pointer-events: none;
}

.rg-menu-intro--support .rg-menu-intro__inner {
  width: min(680px, 54%);
  max-width: 680px;
  margin: 0;
  margin-left: max(var(--section-pad-x, 24px), calc((100% - 1190px) / 2));
  padding: 24px 0 36px;
}

.rg-menu-intro--support .rg-menu-intro__crumb {
  color: #55728a;
  opacity: 1;
}

.rg-menu-intro--support .rg-menu-intro__eyebrow {
  max-width: 42rem;
  color: #aa252c;
  font-size: 11px;
  letter-spacing: 0.06em;
}

body.rg-public .rg-menu-intro--support h1 {
  color: #091b3d;
  font-size: clamp(31px, 3.4vw, 43px);
}

.rg-menu-intro--support .rg-menu-intro__lede {
  color: #435874;
  font-size: 14px;
  line-height: 1.52;
}

.rg-menu-channels {
  background: #fff;
  border-bottom: 1px solid #e1e9f2;
}

.rg-menu-channels__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1190px, calc(100% - 2 * var(--section-pad-x, 24px)));
  margin: 0 auto;
}

.rg-menu-channel {
  min-width: 0;
  padding: 22px 10px;
  border-left: 1px solid #dce5ed;
  container-type: inline-size;
}

.rg-menu-channel:first-child {
  border-left: 0;
  padding-left: 0;
}

body.rg-public .rg-menu-channel h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: #566b83;
}

.rg-menu-channel__action,
.rg-menu-channel__value {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  max-width: 100%;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #091b3d;
  text-decoration: none;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

/* Keep info@gamblingauthority.co.bw on one line inside a narrow column. */
@container (max-width: 265px) {
  .rg-menu-channel__action,
  .rg-menu-channel__value {
    font-size: 13px;
  }
}

.rg-menu-channel__action:hover {
  color: #0d47a1;
}

.rg-menu-channel__action [aria-hidden="true"] {
  color: #c82a2a;
  font-weight: 700;
}

.rg-menu-channel p {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #566b83;
}

/* Knowledge Hub — compact navy search introduction */
.rg-menu-intro--knowledge {
  background: linear-gradient(104deg, #0a1a34, #0b3154 73%, #0d5471);
  color: #fff;
}

.rg-menu-intro--knowledge .rg-menu-intro__inner {
  padding-top: 20px;
  padding-bottom: 28px;
}

.rg-menu-intro--knowledge .rg-menu-intro__crumb {
  margin-bottom: 12px;
}

.rg-menu-intro--knowledge .rg-menu-intro__eyebrow {
  color: #6cc8df;
}

body.rg-public .rg-menu-intro--knowledge h1 {
  max-width: none;
  margin: 8px 0;
  font-size: clamp(31px, 3.4vw, 43px);
}

.rg-menu-intro--knowledge .rg-menu-intro__lede {
  color: #dceaf1;
}

.rg-menu-intro__books {
  position: absolute;
  right: 8%;
  top: 18px;
  width: 190px;
  height: 120px;
  opacity: 0.17;
  transform: rotate(-15deg);
  pointer-events: none;
}

.rg-menu-intro__books span {
  position: absolute;
  left: 25px;
  top: 20px;
  width: 100px;
  height: 140px;
  border: 2px solid #fff;
  border-radius: 6px;
}

.rg-menu-intro__books span:nth-child(2) {
  left: 60px;
  top: 0;
}

.rg-menu-intro__books span:nth-child(3) {
  left: 95px;
  top: -20px;
}

.rg-menu-intro__search {
  display: flex;
  align-items: stretch;
  width: min(840px, 100%);
  min-height: 57px;
  margin-top: 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 18px #0713283b;
  overflow: hidden;
}

.rg-menu-intro__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 16px;
  background: #fff;
  color: #24364c;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.rg-menu-intro__search input::placeholder {
  color: #677993;
}

.rg-menu-intro__search button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  border: 0;
  padding: 0 22px;
  background: #c92c30;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.rg-menu-intro__search button:hover {
  background: #a82225;
}

.rg-menu-follow {
  padding-top: 28px;
  padding-bottom: 28px;
}

.rg-menu-follow .rg-section-header {
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: none;
  margin: 0 0 16px;
}

.rg-menu-follow .rg-filter-tags {
  justify-content: flex-start;
}

/* About Us — compact navy title */
.rg-menu-intro--about {
  background: linear-gradient(110deg, #0b1b38, #152d52);
  color: #fff;
}

.rg-menu-intro--about .rg-menu-intro__inner {
  padding-top: 21px;
  padding-bottom: 28px;
}

.rg-menu-intro--about .rg-menu-intro__crumb {
  margin-bottom: 18px;
}

body.rg-public .rg-menu-intro--about h1 {
  margin: 0 0 12px;
  font-size: clamp(31px, 3.6vw, 49px);
}

.rg-menu-intro--about .rg-menu-intro__lede {
  max-width: 48rem;
  color: #dbe6f0;
  font-size: 16px;
  line-height: 1.5;
}

.rg-menu-intro__rings {
  position: absolute;
  width: 500px;
  height: 500px;
  right: -30px;
  top: -220px;
  border: 1px solid #53a6ce70;
  border-radius: 50%;
  box-shadow: 0 0 0 70px #2575a30b, 0 0 0 145px #2575a30b;
  pointer-events: none;
}

.rg-menu-intro + .rg-content-section {
  padding-top: 36px;
}

/* Motshameko — keep the editorial split; tighten the introduction */
.mop-page .mop-hero {
  --menu-intro-height: 420px;
  display: grid;
  height: var(--menu-intro-height);
  min-height: var(--menu-intro-height);
  overflow: hidden;
  background: #f8f8f5;
}

.mop-page .mop-hero__content {
  justify-content: center;
  padding-top: 28px;
  padding-bottom: 32px;
}

.mop-page .mop-hero__crumb {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #56718c;
}

.mop-page .mop-hero__crumb a {
  color: inherit;
  text-decoration: none;
}

.mop-page .mop-hero__crumb a:hover {
  text-decoration: underline;
}

.mop-page .mop-hero__crumb [aria-hidden="true"] {
  opacity: 0.45;
  padding: 0 8px;
}

.mop-page .mop-hero__eyebrow::before {
  display: none;
}

body.rg-public .mop-page .mop-hero__title {
  font-size: clamp(32px, 4.2vw, 51px);
  line-height: 1.05;
  letter-spacing: -0.046em;
}

.mop-page .mop-hero__media,
.mop-page .mop-hero__media img {
  height: 100%;
  min-height: 0;
  object-position: center center;
}

.mop-page .mop-hero__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: #21a5bc;
  pointer-events: none;
}

.mop-page > .rg-menu-intro + .mop-main > .mop-section:first-child {
  padding-top: 36px;
}

@media (max-width: 1000px) {
  .rg-menu-intro,
  .mop-page .mop-hero {
    --menu-intro-height: 640px;
    height: var(--menu-intro-height);
    min-height: var(--menu-intro-height);
  }

  .mop-page .mop-hero {
    display: flex;
    flex-direction: column;
  }

  .mop-page .mop-hero__content {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .mop-page .mop-hero__media {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 160px;
  }

  .mop-page .mop-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .mop-page .mop-hero__media::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .rg-menu-intro__art {
    opacity: 0.22;
  }

  .rg-menu-intro--support {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .rg-menu-intro--support .rg-menu-intro__inner {
    flex: 0 0 auto;
    width: min(1190px, calc(100% - 2 * var(--section-pad-x, 24px)));
    max-width: none;
    margin: 0 auto;
    padding: 28px 0 24px;
    order: 1;
  }

  .rg-menu-intro--support .rg-menu-intro__photo::after {
    display: none;
  }

  .rg-menu-intro--support .rg-menu-intro__photo {
    position: relative;
    order: 2;
    flex: 1 1 160px;
    width: 100%;
    height: auto;
    min-height: 160px;
    right: auto;
    top: auto;
  }

  .rg-menu-intro--support .rg-menu-intro__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .rg-menu-channels__grid {
    grid-template-columns: 1fr 1fr;
  }

  .rg-menu-channel,
  .rg-menu-channel:first-child {
    padding: 18px 16px;
    border-bottom: 1px solid #dce5ed;
  }

  .rg-menu-intro__books {
    display: none;
  }

  .mop-page .mop-hero__media::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .rg-menu-channels__grid {
    grid-template-columns: 1fr;
  }

  .rg-menu-intro__search button {
    padding: 0 14px;
  }
}
