/**
 * @file
 * Styles for Bootstrap Barrio page.
 */

/* Hack for .placeholder issue https://www.drupal.org/project/drupal/issues/3233533 */
:root {
  --primary-color: #f3d80d;
  --gray-shade: #f1f1f1;
  --primary-color-dark: #d4b30a;
  --dembe-yellow: #ffd200;
  --dembe-black: #121212;
  --muted-gray: #f4f5f7;
}
h2 {
  text-transform: capitalize;
}
body {
  font-family: "Inter", sans-serif !important;
}
em.placeholder {
  vertical-align: unset !important;
  cursor: unset !important;
  background-color: unset !important;
  opacity: unset !important;
}
h1 {
  font-weight: 800 !important;
}
.title {
  text-transform: capitalize;
}
a {
  text-decoration: none;
}
header#header {
  width: 100%;
  z-index: 10;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease;
  /* Optional smoothness */
  will-change: background-color, box-shadow, padding;
}
.dropdown-item a {
  color: var(--bs-nav-link-color) !important;
}
div#page-wrapper {
  overflow-x: hidden;
}
.views_slideshow_cycle_slide {
  position: relative !important;
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--primary-color-dark) !important;
  text-decoration: none;
  background-color: transparent !important ;
}

.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link,
a.is-active {
  color: var(--primary-color-dark) !important;
}

/* When scrolled */
.scrolled header#header {
  /* position: fixed; */
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 2px 0;
}
section.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.main-slider {
  position: relative;
}

.slider_wrapper {
  /* position: relative; */
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.slider_wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* prevents inline gaps under images */
}

.slider_wrapper .caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.main-slider .owl-dots {
  position: absolute;
  width: 100%;
  bottom: 10px;
  z-index: 10;
}
.main-slider .owl-theme .owl-dots .owl-dot.active span,
.main-slider .owl-theme .owl-dots .owl-dot:hover span {
  background: #00000075;
  border: 2px solid #fff;
}

.main-slider .owl-theme .owl-dots .owl-dot span {
  width: 18px;
  height: 18px;
  margin: 5px 7px;
  background: #00000037;
  border: 1px solid #fff;
  border-radius: 30px;
}
nav#navbar-main img {
  width: 180px;
  transition: width 0.3s ease-in-out;
  will-change: width;
}
.scrolled nav#navbar-main img {
  width: 144px;
}
.page-titles {
  margin-top: 1.5rem;
}

.brnd_whs img {
  position: relative;

  border-radius: 41px;
}

.bg-primary-raw {
  background: var(--primary-color) !important;
}

#stats > div {
  border-right: 2px solid #000;
}
#stats > div:last-child,
#stats > div:nth-child(3) {
  border-right: none;
}
#vid,
#vid1 {
  background: url(../../images/family_picnic.jpg) no-repeat scroll center /
    cover;
  height: 700px;
}
#vid1 {
  background: url(../../images/ubisco.jpg) no-repeat scroll center / cover;
}

button.vid_btn img {
  width: 47px;
  height: 51px;
  margin-left: 9px;
}
button.vid_btn {
  border-radius: 100%;
  background: #00000061;
  border: 2px solid #fff;
  padding: 5px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer {
  padding: 35px 0 30px;
  background: var(--gray-shade) !important;
  font-family: "Inter", sans-serif !important;
  color: #000 !important;
  margin-top: 180px;
}
.site-footer .content,
.site-footer .content a {
  color: #000 !important;
  text-decoration: none;
}

.footer-bottom {
  background-color: black;
  padding: 10px 0;
  font-size: 14px;
}
.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}
.footer_cta_ {
  margin-top: -183px !important;
  position: relative;
  margin-bottom: 50px !important;
}

.f-h {
  font-weight: 600;
  text-transform: capitalize;
  font-size: 15px;
  margin-bottom: 20px;
}
ul#ab_links {
  line-height: 2;
}
ul#man_links {
  line-height: 1.8;
}

#ft_row > div {
  border-right: 1px solid #00000043;
}
#ft_row > div:nth-child(4) {
  border-right: none;
}

#soci a {
  background-color: #d9d9d9;
  padding: 8px;
  border-radius: 6px;
}

.cta_h {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 10px;
}
.ft_cta {
  padding: 28px 47px;
  border-radius: 13px;
}

footer .content a.btn_cta,
a.btn_cta,
#edit-submit {
  background-color: #000;
  color: #fff !important;
  padding: 13px 47px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}
a.btn_cta.yellow {
  background-color: var(--primary-color);
  color: #000 !important;
  font-size: 14px;
}
a.btn_cta.yellow:hover {
  color: #fff !important;
}
footer .content a.btn_cta:hover,
a.btn_cta:hover,
#edit-submit:hover {
  background-color: #000000c4;
  /* color: #000 !important; */
}

.news_card img {
  position: absolute;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  transform-origin: center; /* scale from center */
  transform: scale(1);
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.news_card {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: column;
}

/* Hover state on parent triggers the zoom */
.news_card:hover img,
.ig_h:hover img,
.ig_h:focus-within img .news_card:focus-within img {
  transform: scale(1.1); /* adjust scale factor as desired */
  /* optional visual tweak */
  /* filter: brightness(1.03) contrast(1.02); */
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .news_card img,
  .news_card:hover img {
    transition: none;
    transform: none;
  }
}
.node--type-brand .prod_cont ul,
.node--type-product .prod_cont ul {
  list-style: circle;
  margin: 0 0 0.25em 0;
  padding: 0;
}

.news_grid_1 {
  padding-top: 60px;
}
.news-grid-2 {
  margin-top: 30px;
  /* margin-left: 71px !important; */
}
/* .news-grid-2 .news_card {
  width: 312px;
} */
.nw_rp {
  background-color: #d9d9d9;
  border-radius: 16px;
  height: 300px;
}
._nr {
  padding: 41px;
}
.ns_ttle {
  position: relative;
  margin: 25px;
  color: #fff;
  z-index: 2;
  font-weight: 300;
  font-size: 14px;
}
.shade {
  background: #000000;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.91) 6%,
    rgba(0, 0, 0, 0.29) 61%,
    rgba(0, 0, 0, 0) 100%
  );
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* .var_wrap {
  display: flex !important;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  height: 400px;
  border: 1px solid #00000036;
  padding: 20px;
  border-radius: 3px;
  background-color: #f1f1f169;
} */

.var_wrap {
  display: flex !important;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  height: 400px;
  /* border: 1px solid #00000036; */
  padding: 20px;
  border-radius: 3px;
  box-shadow: 0 0 14px 2px #00000017;
  background-color: #fff;
  border-radius: 5px;
}

.var_wrap.var_wrap_2 {
  /* reverse flesx */
  flex-direction: row-reverse;
}
.var_img img {
  height: 370px;
  width: auto;
  object-fit: cover;
}

/* @media (max-width: 767px) {
  .var_wrap {
    flex-direction: column;
  }
} */

.banner {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-yellow {
  background-color: var(--primary-color) !important;
}

.promo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.promo .row > div > div {
  /* border: 1px solid; */
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 0 2px 3px #00000030;
}

header#header {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.nav-item a {
  font-size: 17px;
  font-weight: 500;
  padding: 5px 20px !important;
}

.nav.navbar-nav li:nth-child(4) ul.dropdown-menu.show {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  width: 600px;
  left: -199px;
}

ul.dropdown-menu.show a {
  text-decoration: none !important;
  font-size: 15px;
  padding: 8px 4px !important;
  font-weight: normal;
  text-transform: capitalize;
}
li.dropdown-item {
  border-bottom: 1px solid #00000010;
  padding-bottom: 8px;
}
li.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-menu.show {
  border-radius: 2px;
  box-shadow: 0 0 34px 1px #00000020;
  border: none;
}
a.nav-link.is-active,
a.nav-link:hover {
  color: var(--primary-color-dark) !important;
}
.prod_cont ul {
  margin-left: 20px !important;
}

.side_contact svg {
  width: 25px;
  height: 25px;
  /* fill: var(--primary-color); */
  margin-right: 10px;
}

/* Press styles*/

.timeline-container {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Inter", sans-serif;
}

.year-divider {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 20px;
  position: relative;
  color: #333;
}

.year-divider::before,
.year-divider::after {
  content: "";
  height: 1px;
  width: 40%;
  background: #ddd;
  position: absolute;
  top: 50%;
}

.year-divider::before {
  left: 0;
}

.year-divider::after {
  right: 0;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  background: #fafafa;
  border: 1px solid #eee;
  transition: 0.3s;
}

.timeline-item:nth-child(even) {
  background: #f3f6ff; /* soft blue stripe */
}

.timeline-item:nth-child(odd) {
  background: #fff7f3; /* soft peach stripe */
}

.timeline-item:hover {
  border-color: #ccc;
  transform: translateY(-3px);
}

.timeline-item .icon {
  font-size: 28px;
  min-width: 40px;
}

.timeline-item .content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.timeline-item .content p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #666;
}

.owl-carousel .owl-item,
.glide__slides {
  /* border: 1px solid #00000063; */
  padding: 0px;
  border-radius: 6px;
  display: flex;
  align-items: center;

  justify-content: center;
  /* aspect-ratio: 16 / 9; */
  overflow: hidden;
}

.brand-scroll .owl-carousel .owl-item img,
.brand-scroll .glide__slide img {
  display: block;
  width: 80% !important;
  height: 100% !important;
  margin: auto;
}
.brand-scroll .owl-carousel .owl-item {
  aspect-ratio: 16 / 9;
}

.brand-scroll .glide__slide {
  flex-shrink: unset;
}
.glide__arrows {
  display: none;
}

.bubu img {
  width: 60%;
  height: 100%;
  aspect-ratio: 16/9;
}

.brand-page img {
  width: 100%;
  height: auto;
  margin: auto;
}

.prod_cont {
  /* min-height: 400px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prod_img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
  background-color: #fff;
}
.prod_img.prod_img_wrap {
  position: relative;
}
.prod_img.prod_img_wrap img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.bg-gray-light {
  background-color: #f8f9fa !important;
}
.brand-page .item-list ul li:nth-child(even) .row {
  flex-direction: row-reverse;
}

.lg {
  bottom: 16px;
  left: 0;
}
.lg img {
  width: 200px;
  background: #fff;
  padding: 30px 20px;
  margin-top: 5px;
}
.Bubu {
  width: 200px;
  height: 222px;
  background: #fff url("../../images/bubu.png") no-repeat center / contain;
}

/* .node--type-brand #main {
  padding: 60px 0px;
} */

.press img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.srcs .field__label {
  display: none;
}

.srcs .field__item a {
  color: #2727ed !important;
  text-transform: capitalize;
  /* text-decoration: none; */
  font-size: 16px;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100% !important;
  margin: auto;
}
.csr-scroll .owl-carousel .owl-item {
  height: 300px;
}
.owl-carousel .owl-item {
  border: none !important;
  padding: 0px;
  border-radius: 0;
}
.csr-scroll-wrapper {
  padding: 3rem 0;
}
.brand-cats {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.ns_h_img {
  position: relative;
  width: 100%;
  height: 400px;
  border: 3px solid #fff;
  overflow: hidden;
  box-shadow: 0 0 14px 6px #00000020;
  border-radius: 5px;
}

.node--type-insights-and-csr main#content img {
  width: 100%;
  height: auto;
}

.ns_h_img img {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease-in-out;
}
.ig_h {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.ig_h img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  transition: all 0.5s ease-in-out;
}

.new_card_m {
  box-shadow: 0 0 14px 6px #0000001f;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
.new_card_m p {
  font-size: 15px;
}
a.ns_a {
  color: #000;
  text-transform: capitalize;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}
a.ns_a:hover {
  text-decoration: underline;
}

.timeleine-content-wrapper h3 {
  font-size: 21px;
  font-weight: 600;
  text-transform: capitalize;

  /* background: gray; */
}
.timeleine-content-wrapper li {
  text-transform: capitalize;
}
.timeline4__content-step__description {
  background: #f5f5f5;
  padding: 15px 0 15px 10px;
  position: relative;
}
.img_award {
  position: absolute;
  width: 100%;
  height: 250px;
  top: 108%;
  left: 0;
}
.img_award.ubis {
  background: url("../../images/awards/dembe-award.jpg") no-repeat center /
    cover;
}

.img_award._indo {
  height: 200px;

  background: url("../../images/awards/detol-animation.gif") no-repeat center /
    cover;
}
.img_award._pc_2022 {
  height: 250px;
  background: url("../../images/awards/people-choice-2022.gif") no-repeat
    center / cover;
}
.img_award._ea_2022 {
  height: 200px;
  background: url("../../images/awards/dembe-wins-east-africa.gif") no-repeat
    center / cover;
}

ul.timeline4__content-steps .timeline4__content-step:nth-child(6) {
  margin-top: 90px;
}

.auth_date {
  color: #555;
  font-size: 14px;
}

.tabs-card {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
  overflow: hidden;
  background: white;
}

.nav-pills .nav-link {
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 12px 14px;
  color: #333;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.nav-pills .nav-link .bi {
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--muted-gray);
  color: var(--dembe-black);
  box-shadow: 0 6px 16px rgba(16, 16, 16, 0.06);
  border: 3px solid #66666620;
}

.nav-pills .nav-link:hover {
  background: #4444442b;
  /* color: white; */
}

.nav-pills .nav-link.active,
.nav-pills .nav-link .active:hover {
  background: var(--dembe-black);
  color: white;
  box-shadow: 0 10px 30px rgba(18, 18, 18, 0.16);
  transform: translateX(4px);
}

.nav-pills .nav-link.active .bi {
  background: white;
  color: var(--dembe-black);
  transform: scale(1.03);
  border: 3px solid var(--dembe-yellow);
}

.tab-pane {
  padding: 24px;
}

.intro-text {
  color: #444;
  margin-bottom: 18px;
}

.infographic-placeholder {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(16, 16, 16, 0.06);
  background: linear-gradient(90deg, #ffffff, #f6f6f8);
}

.image-caption {
  font-size: 0.92rem;
  color: #6b6b6b;
  margin-top: 10px;
}

.badge-accent {
  background: linear-gradient(90deg, var(--dembe-yellow), #f5c200);
  color: #111;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 8px 22px rgba(255, 210, 0, 0.12);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.active > .page-link,
.page-link.active,
.page-link {
  color: var(--bs-pagination-color);
  text-decoration: none;
  background-color: #000000;
}

.press nav {
  display: flex;
  align-items: center;
  justify-content: center;
}
.imp {
  width: 50%;
}

.map {
  width: 100%;
  height: 600px;
  position: relative;
}

.bbu {
  border-right: 1px solid #cccc;
}

tr td,
tr th {
  padding: 4px 9px;
  border: 1px solid #070707 !important;
  text-align: left;
}
.table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  background-color: #fff !important;
  border-bottom-width: 1px;
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

form#webform-submission-the-golden-ticket-add-form {
  width: 100%;

  margin: auto;
}

.btn.btn-outline-info {
  border: 1px solid #999;
  background: #99999970;
}
.btn.btn-primary {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.webform-submission-the-golden-ticket-form label {
  display: inline-block;
  /* font-size: 18px; */
  font-weight: bold;
  color: #555;
  text-transform: capitalize;
  letter-spacing: 2px;
  text-rendering: optimizeLegibility;
  margin-bottom: 6px;
}

label.gd-upload {
  border: 1px dashed #089ee4;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 40px;
  border-radius: 6px;
  background: #5dbce926;
  color: #089ee4;
  text-transform: capitalize;
  cursor: pointer;
  text-align: center;
}
div#edit-ticket--description,
div#edit-image-of-you-enjoying-the-biscuit--description {
  font-size: 12px;
}

.desc_text > div {
  background-color: #99999929;
  padding: 20px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  border-radius: 2px;
}

.img_bnr {
  background: url("../../images/ticket_header.jpeg") no-repeat center center /
    cover;
  height: 400px;
}

.gd_text_desc {
  font-size: 18px;
  color: #282862;
  background: #88888814;
  padding: 25px;
}
.ubs {
  background: url("../../images/ubisco-logo-dembe.png") no-repeat center
    center / contain;
  height: 100px;
  width: 169px;
}

.cfm_suc {
  background: #75b79842;
  width: 100%;
  max-width: 75%;
  margin: auto;
  text-align: center;
  padding: 60px;
  border: 1px solid #22bb33;
  border-radius: 10px;
  color: #237f2d;
  font-size: 18px;
}

._t1 {
  font-size: 31px;
  font-weight: bold;
}

@media (max-width: 991.98px) {
  .nav-pills {
    flex-direction: row !important;
    overflow-x: auto;
  }
  .nav-pills .nav-link {
    white-space: nowrap;
  }
  .infographic-placeholder {
    max-height: 420px;
  }
}

@media only screen and (max-width: 767px) {
  .container,
  .container-sm {
    max-width: 600px;
  }
  .img_award {
    position: relative;
    top: 0;
  }
  .page-titles {
    margin-top: 2rem;
  }
  ul.timeline4__content-steps .timeline4__content-step:nth-child(6) {
    margin-top: 0;
  }
  .imp {
    width: 100%;
  }

  .slider_wrapper {
    /* position: relative; */
    height: 329px;
  }
  #stats > div {
    border-right: none;
  }
  #stats > div:nth-child(odd) {
    border-right: 2px solid #000;
  }
  .bubu img {
    width: 100%;
  }
  #vid {
    height: 250px;
  }
  .news_grid_1 {
    padding-top: 30px;
  }
  ._nr {
    padding: 25px;
  }
  .nw_rp {
    height: auto;
  }
  .news_card {
    height: 250px;
  }
  .ft_cta {
    padding: 28px 27px;
  }
  .site-footer {
    padding: 0px 0 30px;
  }
  .footer_cta_ {
    margin-bottom: 10px !important;
  }
  .var_wrap {
    flex-wrap: wrap;
    height: 100%;
    padding: 15px;
  }

  .banner {
    max-height: 230px;
  }
  .var_img img {
    height: auto;
    width: 100%;
  }
  .cp .views-row {
    margin-bottom: 30px;
  }
  .hero p {
    font-size: 14px;
  }
  .timeline4__content-step__description {
    padding: 15px;
  }
  li.timeline4__content-step {
    width: 100%;
  }
  .brand-cats {
    padding-top: 0;
    padding-bottom: 0;
  }
  .ft_cta {
    border-radius: 0;
  }
  .site-footer {
    margin-top: 100px;
  }
  .text-end {
    text-align: left !important;
  }
  .var_wrap {
    gap: 0px;
  }

  .csr-scroll-wrapper {
    padding: 0 20px;
  }

  .map {
    height: 300px;
  }

  .prod_img {
    min-height: 242px;
  }

  form#webform-submission-the-golden-ticket-add-form {
    width: 100%;
    margin: auto;
  }
  .img_bnr {
    height: 200px;
  }
}

@media only screen and (min-width: 1025px) {
  form#webform-submission-the-golden-ticket-add-form {
    max-width: 75%;
    margin: auto;
  }
}
