/* =============================================================================
   Africa Conglomerate — Public / product page styles
   All colours sourced from theme.css variables — do not hardcode hex here.
   ============================================================================= */

.container {
  max-width: 960px;
}

.icon-link > .bi {
  width: .75em;
  height: .75em;
}


/* ── Site header (translucent, public pages) ─────────────────────────────── */

.site-header {
  background-color: var(--site-header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.site-header a {
  color: var(--site-header-link);
  transition: color .15s ease-in-out;
}
.site-header a:hover {
  color: var(--site-header-link-hover);
  text-decoration: none;
}


/* ── Decorative product device mockups ───────────────────────────────────── */

.product-device {
  position: absolute;
  right: 10%;
  bottom: -30%;
  width: 300px;
  height: 540px;
  background-color: var(--product-device-bg);
  border-radius: 21px;
  overflow: hidden;
}

.product-device::before {
  position: absolute;
  top: 10%;
  right: 10px;
  bottom: 10%;
  left: 10px;
  content: "";
  background-color: rgba(255, 255, 255, .1);
  border-radius: 5px;
}

.product-device-2 {
  top: -25%;
  right: auto;
  bottom: 0;
  left: 5%;
  background-color: var(--product-device-2-bg);
}

.product-device-2 img {
  animation-direction: inherit;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ── Tour / personalised images ─────────────────────────────────────────── */

.tour_center {
  position: relative;
  width: 70%;
  height: 280px;
}


/* ── Flex utilities ──────────────────────────────────────────────────────── */

.flex-equal > * {
  flex: 1;
}
@media (min-width: 768px) {
  .flex-md-equal > * {
    flex: 1;
  }
}


/* ── Navbar nav links (public pages) ─────────────────────────────────────── */

.navbar .nav-link {
  color: ghostwhite;
}


/* ── Dropdown submenu ────────────────────────────────────────────────────── */

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: var(--dropdown-arrow);
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
  border-left-color: var(--dropdown-arrow-hover);
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}
