@charset "utf-8";

@font-face { font-family: "MFinanceHK"; font-style: normal; font-weight: 700; src: url("../fonts/MFinance-HK-Bold.ttf") format("opentype"); }
@font-face { font-family: "Noto Sans TC"; font-style: normal; font-weight: 400 700; src: url("../fonts/NotoSansTC-VariableFont_wght.ttf") format("opentype"); }
@font-face { font-family: "Gilroy"; font-style: normal; font-weight: 400; src: local("Gilroy-Regular"), url("../fonts/Gilroy-Regular.ttf") format("opentype"); }
@font-face { font-family: "Gilroy"; font-style: normal; font-weight: 600; src: local("Gilroy-SemiBold"), url("../fonts/Gilroy-SemiBold.ttf") format("opentype"); }

*, *::before, *::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  object-fit: cover;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

ul {
  list-style: none;
}

ol {
  padding-left: 2rem;
}

button, input, textarea, select {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
}

button, [type="submit"], [type="reset"] {
  cursor: pointer;
}

iframe {
  display: block;
  width: 100%;
  border: none;
}

/* RESET - End */

/* GLOBAL - Start */

:root {
  --clr-red: #d55332;
  --clr-red-alt: #ea4531;
  --clr-red-light: #f97655;
  --clr-red-very-light: #f8f0f0;
  --clr-brand1: #f6ab00;
  --clr-brand2: #e4007f;
  --clr-hktvmall: #b6cd00;
  --clr-white: #ffffff;
  --clr-off-white: #fbfbf7;
  --clr-light-grey: #c9c9c9;
  --clr-grey: #868686;
  --clr-black: #292929;
  --clr-beige: #f8f1df;
  --clr-salmon: #efb795;

  --clr-red-a25: #d553323f;
  --clr-white-a50: #ffffff7f;
  --clr-grey-a50: #8686867f;

  --gradient-brand: linear-gradient(to bottom right, var(--clr-brand1), var(--clr-brand2));
  --bshadow: 0 0 0.25rem #0000003f;

  --header-size: 4rem;
  --ff-main: "Gilroy", "Noto Sans TC", sans-serif;
  --ff-brand: "MFinanceHK", sans-serif;
  --rfs: clamp(0.75rem, 0.5rem + 1.042vw, 1rem);
}
@media (min-width: 72rem) {
  :root {
    --header-size: 8rem;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-size);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background-color: var(--clr-off-white);
  color: var(--clr-red);
  font-family: var(--ff-main);
  line-height: 1.5;
}

main {
  flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5rem;
  font-family: var(--ff-brand);
  font-weight: bold;
  line-height: 1;
}
h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5rem;
  margin-bottom: 0;
  font-size: calc(var(--rfs) * 2.5);
  background-color: var(--clr-red);
  color: var(--clr-white);
  text-align: center;
}
@media (min-width: 48rem) {
  h1 {
    height: 7rem;
  }
}
@media (min-width: 72rem) {
  h1 {
    height: 9rem;
  }
}
h2 {
  font-size: calc(var(--rfs) * 1.5);
}
h3 {
  font-size: calc(var(--rfs) * 2);
}

hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: none;
  border-top: 0.125rem dashed var(--clr-red);
}

ul.dotted {
  list-style-type: disc;
  padding-left: 2em;
}

dl {
  display: grid;
  grid-template-columns: 6rem 1fr;
  align-items: start;
  gap: 1rem 1.5rem;
}
dl > dt {
  border-radius: 0.25rem;
  background-color: var(--clr-red-light);
  color: var(--clr-white);
  font-family: var(--ff-brand);
  text-align: center;
}

input:not([type="submit"], [type="reset"]), textarea, select {
  width: 100%;
  padding: 0.25rem;
  border-radius: 0.25rem;
  background-color: var(--clr-red-a25);
}
textarea {
  min-height: calc(6em + 0.5rem);
  resize: vertical;
}

section.red {
  background-color: var(--clr-red);
  color: var(--clr-white);
}
section.padded {
  padding: 2rem;
}
section.padded-v {
  padding: 2rem 0;
}
section.padded-v > h2 {
  margin-left: 2rem;
}
section.bg-map {
  position: relative;
}
section.bg-map::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5vw;
  width: 50vw;
  aspect-ratio: 891 / 705;
  background: url("../images/hkmap.svg") center/100%;
  pointer-events: none;
}
@media (min-width: 48rem) {
  section.padded {
    padding: 3rem;
  }
  section.padded-v {
    padding: 3rem 0;
  }
  section.padded-v > h2 {
    margin-left: 6rem;
  }
}
@media (min-width: 72rem) {
  section.padded {
    padding: 4rem 8rem;
  }
  section.padded-v {
    padding: 4rem 0;
  }
  section.padded-v > h2 {
    margin-left: 8rem;
  }
}

/* GLOBAL - End */

/* Utility - Start */

.pc-only {
  display: none;
}

@media (min-width: 72rem) {

  .sp-only {
    display: none;
  }

  .pc-only {
    display: block;
  }

}

/* -------- */

.content-text {
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.75rem;
}

.content-text h1 {
  display: block;
  height: auto;
  background-color: transparent;
  color: inherit;
}

.content-text :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1em;
}

.content-text p {
  margin-bottom: 0.75rem;
}

@media (min-width: 48rem) {

  .content-text {
    font-size: 1rem;
  }

}

/* -------- */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  font-weight: bold;
  white-space: nowrap;
}

.btn-pill {
  padding: 0.25em 1.5em;
  border-radius: 1000em;
}

.btn-round {
  padding: 0.25em;
  border-radius: 50%;
}

.btn-learn-more {
  position: relative;
  font-size: 1rem;
  padding: 0.5em 4em 0.5em 2em;
  border-radius: 0.375em;
  border: 0.0625rem solid currentColor;
  transition: padding 0.2s ease-in-out;
}

.btn-learn-more::before,
.btn-learn-more::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1em;
  margin: auto;
  width: 1em;
  height: 1em;
  background: url("../icons/icon-arrow-right-yellow.svg") center/100%;
  transition: visibility 0.2s ease-in-out, opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.red .btn-learn-more {
  color: var(--clr-white);
}

.red .btn-learn-more::before,
.red .btn-learn-more::after {
  background: url("../icons/icon-arrow-right-white.svg") center/100%;
}

.btn-learn-more:where(:hover, :focus-visible) {
  padding: 0.5em 3em;
}

.btn-learn-more:not(:where(:hover, :focus-visible))::before {
  visibility: hidden;
  opacity: 0;
  transform: translateX(-1em);
}

.btn-learn-more:where(:hover, :focus-visible)::after {
  visibility: hidden;
  opacity: 0;
  transform: translateX(1em);
}

.btn-white {
  background-color: var(--clr-white);
  color: var(--clr-red);
}

.btn-red {
  background-color: var(--clr-red);
  color: var(--clr-white);
}

.btn-gradient {
  background-image: var(--gradient-brand);
  color: var(--clr-white);
}

.btn-hktvmall {
  padding: 0.25em 1.5em;
  border-radius: 1000em;
  background-color: var(--clr-hktvmall);
  color: var(--clr-white);
}

:where(.btn-white, .btn-red, .btn-gradient, .btn-hktvmall) {
  transition: opacity 0.2s ease-in-out;
}

:where(.btn-white, .btn-red, .btn-gradient, .btn-hktvmall):where(:hover, :focus-visible) {
  opacity: 0.5;
}

.btn > img {
  height: 1em;
}

/* -------- */

.accordion {
  display: flex;
  flex-wrap: wrap;
}

.accordion-content-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  transition: grid-template-rows 0.4s ease-in-out;
}

.accordion-content-wrapper > * {
  overflow: hidden;
}

.accordion-content-wrapper > :last-child {
  transition: padding-bottom 0.4s ease-in-out;
}

.accordion-arrow {
  transition: transform 0.4s ease-in-out;
}

.accordion.active .accordion-content-wrapper {
  grid-template-rows: 1fr;
}

.accordion.active .accordion-arrow {
  transform: rotate(-180deg);
}

/* -------- */

.dropdown {
  position: relative;
}

.dropdown-arrow {
  display: inline;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  transition: transform 0.4s ease-in-out;
}

.dropdown-click.active .dropdown-arrow {
  transform: rotate(-180deg);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  box-shadow: var(--bshadow);
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.dropdown::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.dropdown:not(.dropdown-click):where(:hover, :focus-within) .dropdown-content,
.dropdown:not(.dropdown-click):where(:hover, :focus-within)::after,
.dropdown-click.active .dropdown-content,
.dropdown-click.active::after {
  visibility: visible;
  opacity: 1;
}

/* -------- */

.slick-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  padding: 0.5rem;
  font-size: 0;
  opacity: 0.5;
  z-index: 1;
  transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.slick-arrow:where(:hover, :focus-visible) {
  opacity: 1;
  background-color: var(--clr-white-a50);
}

.slick-arrow.slick-prev {
  left: 0;
  border-radius: 0.25rem 0 0 0.25rem;
}

.slick-arrow.slick-next {
  right: 0;
  border-radius: 0 0.25rem 0.25rem 0;
}

.slick-arrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
}

.slick-arrow.slick-prev::before {
  background: url("../icons/icon-chevron-left-black.svg") center/100%;
}

.slick-arrow.slick-next::before {
  background: url("../icons/icon-chevron-right-black.svg") center/100%;
}

/* -------- */

.slick-dots {
  --dot-size: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--dot-size);
  margin-top: calc(var(--dot-size) * 2);
}

.slick-dots.small {
  --dot-size: 0.5rem;
}

.slick-dots.red {
  --clr-active: var(--clr-red);
}

.slick-dots.white {
  --clr-active: var(--clr-white);
}

.slick-dots > li > button {
  font-size: 0;
}

.slick-dots > li > button::before {
  content: "";
  display: block;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background-color: var(--clr-red-light);
  transition: background-color 0.2s ease-in-out;
}

.slick-dots > li > button:where(:hover, :focus-visible)::before,
.slick-dots > li.slick-active > button::before {
  background-color: var(--clr-active);
}

@media (min-width: 48rem) {

  .slick-dots {
    --dot-size: 1rem;
  }

}

/* -------- */

.slick-paginate {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.slick-paginate > li > button {
  color: var(--clr-light-grey);
  font-family: var(--ff-brand);
  font-size: 1.25rem;
  transition: color 0.2s ease-in-out;
}

.slick-paginate > li > button:where(:hover, :focus-visible),
.slick-paginate > li.slick-active > button {
  color: var(--clr-red);
}

/* Utility - End */

/* Header - Start */

header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-size);
  padding: 0 1rem;
  z-index: 1000;
  isolation: isolate;
  transition: background-color 0.4s ease-in-out;
}

header.sticking {
  background-color: var(--clr-off-white);
}

header .header-logo {
  height: 2rem;
  transition: opacity 0.2s ease-in-out;
}

header .header-logo:is(:hover, :focus-visible) {
  opacity: 0.5;
}

@media (min-width: 72rem) {

  header {
    padding: 0 2rem;
  }

  header .header-logo {
    height: 4rem;
    margin-left: 1rem;
  }

}

/* -------- */

.sp-nav {
  font-size: 0.875rem;
  font-weight: 600;
}

.sp-nav > ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.sp-nav > ul > li {
  display: flex;
  gap: 0.5rem;
}

.sp-nav a:not(.btn-gradient) {
  color: var(--clr-black);
  transition: color 0.2s ease-in-out;
}

.sp-nav .social-link {
  font-size: 1.25rem;
}

.sp-nav .sp-nav-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(24rem, 100%);
  padding: 4rem 2rem 2rem 2rem;
  background-color: var(--clr-red);
  color: var(--clr-white);
  font-size: 1rem;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: visibility 0.4s ease-in-out, opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.sp-nav .sp-nav-menu.active {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.sp-nav .sp-nav-menu .sp-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.sp-nav .sp-nav-menu a {
  color: var(--clr-white);
}

.sp-nav .sp-nav-menu > ul > li {
  display: flex;
  align-items: center;
  border-bottom: 0.0625rem solid var(--clr-red-light);
}

.sp-nav .sp-nav-menu > ul > li > a {
  flex-grow: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.sp-nav .sp-nav-menu > ul > li:not(.accordion)::after {
  content: "";
  width: 1em;
  height: 1em;
  background: url("../icons/icon-chevron-right-white.svg") center/100%;
  opacity: 0.5;
}

.sp-nav .sp-nav-menu .accordion-toggle {
  opacity: 0.5;
}

.sp-nav .sp-nav-menu .accordion-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-size: 0.75rem;
  font-weight: normal;
}

.sp-nav .sp-nav-menu .accordion-content > li::before {
  content: "– ";
}

.sp-nav .sp-nav-menu .accordion.active .accordion-content {
  padding-bottom: 1rem;
}

.sp-nav .sp-nav-menu .online-shop-link {
  display: flex;
  width: fit-content;
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--clr-red);
  font-size: 0.75rem;
  padding: 0.5em 1.5em;
}

/* -------- */

.pc-nav {
  font-size: 0.875rem;
  font-weight: 600;
}

.pc-nav > ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.875rem;
  letter-spacing: -0.0625ch;
}

.pc-nav > ul:not(:last-child) {
  margin-bottom: 1rem;
}

.pc-nav > ul > li {
  display: flex;
  gap: 0.5rem;
}

.pc-nav a:not(.btn-gradient) {
  color: var(--clr-black);
  transition: color 0.2s ease-in-out;
}

.pc-nav a:not(.btn-gradient):is(:hover, :focus-visible) {
  color: var(--clr-red);
}

.pc-nav .social-link {
  font-size: 1.25rem;
}

.pc-nav .online-shop-link {
  font-size: 0.75rem;
  padding: 0.5em 1.5em;
}

.pc-nav .dropdown-content {
  top: calc(100% + 0.5rem);
  right: 0;
  padding: 1.25rem;
  border-radius: 0.5rem;
  background-color: var(--clr-white);
}

.pc-nav .dropdown-title {
  position: relative;
  padding: 0.25rem 0;
  margin-bottom: 0.25rem;
}

.pc-nav .dropdown-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.0625rem;
  background-image: linear-gradient(90deg, var(--clr-red) 2rem, var(--clr-light-grey) 2rem);
}

.pc-nav .dropdown-list {
  width: 10rem;
}

.pc-nav .dropdown-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  border-bottom: 0.0625rem dashed var(--clr-light-grey);
  font-size: 0.75rem;
}

.pc-nav .dropdown-list a::after {
  content: "";
  width: 1em;
  height: 1em;
  background: url("../icons/icon-arrow-right-red.svg") center/100%;
  transition: transform 0.2s ease-in-out;
}

.pc-nav .dropdown-list a:is(:hover, :focus-visible)::after {
  transform: translateX(0.25rem);
}

.pc-nav .dropdown::after {
  background-color: var(--clr-grey-a50);
}

/* -------- */

header.white-text .sp-nav a:not(.btn-gradient),
header.white-text .pc-nav a:not(.btn-gradient) {
  color: var(--clr-white);
}

header.white-text .pc-nav .dropdown-list a,
header.white-text.sticking .sp-nav a:not(.btn-gradient),
header.white-text.sticking .pc-nav a:not(.btn-gradient) {
  color: var(--clr-black);
}

header.white-text.sticking .sp-nav .sp-nav-menu a {
  color: var(--clr-white);
}

header.white-text .pc-nav a:not(.btn-gradient):is(:hover, :focus-visible) {
  color: var(--clr-red);
}

/* Header - End */

/* Footer - Start */

footer {
  display: grid;
  grid-template-areas:
    "addr"
    "legal"
    "logo";
  align-items: start;
  gap: 1rem 0;
  padding: 3rem 2rem;
  background-image: var(--gradient-brand);
  color: var(--clr-white);
}

footer .back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 3rem;
  padding: 0.5rem;
  border-radius: 50%;
  background-color: var(--clr-white);
  box-shadow: var(--bshadow);
  z-index: 1000;
  transition: transform 0.2s ease-in-out;
}

footer .back-to-top:is(:hover, :focus-visible) {
  transform: scale(1.5);
}

footer .back-to-top > img {
  width: 1rem;
  height: 1rem;
}

footer .footer-logo {
  grid-area: logo;
  width: 7rem;
  margin-left: auto;
  margin-right: auto;
}

footer .address {
  grid-area: addr;
  font-size: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 0.0625rem solid var(--clr-white);
}

footer .legal {
  grid-area: legal;
  font-size: 0.75rem;
  text-align: center;
}

footer .legal ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

footer .legal > ul > li > a {
  transition: opacity 0.2s ease-in-out;
}

footer .legal > ul > li > a:is(:hover, :focus-visible) {
  opacity: 0.5;
}

@media (min-width: 72rem) {

  footer {
    grid-template-areas:
      "logo addr"
      "logo legal";
    grid-template-columns: repeat(2, 1fr);
    padding: 6rem 6rem 3rem 6rem;
    margin-left: 2rem;
    margin-right: 2rem;
    border-radius: 9rem 9rem 0 0;
  }

  footer .footer-logo {
    width: 12rem;
    margin-left: 0;
  }

  footer .address {
    justify-self: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
    max-width: 30rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    text-align: center;
    border-bottom: none;
  }

}

/* Footer - End */

/* Sections - Start */

#top-carousel {
  position: relative;
  margin-bottom: 2rem;
}

#top-carousel .top-carousel-title {
  display: block;
  height: auto;
  background-color: transparent;
  z-index: 1;
}

#top-carousel .top-carousel-title-sticky {
  position: relative;
  width: 12rem;
  height: 16rem;
}

#top-carousel .top-carousel-title-image {
  width: 100%;
  height: 100%;
  transition: visibility 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

#top-carousel .top-carousel-title-image.alt {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
}

#top-carousel .top-carousel-slide {
  aspect-ratio: 1 / 2;
  margin: 0.5rem;
  border-radius: 0.5rem;
}

#top-carousel .top-carousel-text {
  padding: 2rem 0;
  margin: 0 2rem;
  border-bottom: 0.125rem dashed var(--clr-brand2);
}

#top-carousel .top-carousel-text > .alt {
  margin-top: 1.5em;
  color: var(--clr-red-alt);
  font-weight: bold;
}

#top-carousel .top-carousel-text > .btn-learn-more {
  margin-top: 1.5em;
}

#top-carousel .top-carousel-overlay {
  display: none;
  pointer-events: none;
  opacity: 0.9;
}

#top-carousel .top-carousel-overlay-image {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

#top-carousel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  aspect-ratio: 891 / 705;
  background: url("../images/hkmap.svg") center/100%;
  pointer-events: none;
}

@media (min-width: 48rem) {

  #top-carousel .top-carousel-title {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12.5%;
    width: calc(25% - 2rem);
    margin: 1rem;
  }

  #top-carousel .top-carousel-title-sticky {
    position: sticky;
    top: calc(var(--header-size) + 1rem);
    width: 100%;
    height: auto;
  }

  #top-carousel .top-carousel-slide {
    margin: 1rem;
    transition: visibility 1s ease-in-out, opacity 1s ease-in-out;
  }

  #top-carousel .top-carousel-slide.hidden {
    visibility: hidden;
    opacity: 0;
  }

  #top-carousel .top-carousel-text {
    margin: 0 4rem 0 37.5%;
  }

  #top-carousel .top-carousel-overlay {
    display: block;
  }

  #top-carousel::before {
    right: auto;
    left: 0;
  }

}

@media (min-width: 72rem) {

  #top-carousel .top-carousel-text {
    padding: 12rem 6rem 6rem 12rem;
  }

}

/* -------- */

.overlay-active header.sticking {
  background-color: transparent;
}

.overlay-active .pc-nav a:not(.btn-gradient) {
  color: var(--clr-white);
}

.overlay-active #top-carousel .top-carousel-title-image {
  visibility: hidden;
  opacity: 0;
}

.overlay-active #top-carousel .top-carousel-title-image.alt {
  visibility: visible;
  opacity: 1;
}

/* -------- */

#video {
  position: relative;
  padding-bottom: 2rem;
  margin-left: 2rem;
  margin-right: 2rem;
}

#video::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom: 0.125rem dashed var(--clr-brand2);
}

#video .video-wrapper {
  aspect-ratio: 16 / 9;
  max-width: 100%;
  max-height: calc(100vh - var(--header-size));
  margin-left: auto;
  margin-right: auto;
}

#video .video-embed {
  height: 100%;
}

#video .video-embed:not(.active) {
  visibility: hidden;
}

@media (min-width: 48rem) {

  #video {
    height: 100vmax;
    margin-left: 0;
    margin-right: 0;
  }

  #video::after {
    left: 4rem;
    right: 4rem;
  }

  #video .video-wrapper {
    position: sticky;
    --available-height: calc(100vh - var(--header-size));
    --self-height: min(calc(100vw * 9 / 16), var(--available-height));
    --offset: calc((var(--available-height) - var(--self-height)) / 2);
    top: calc(var(--header-size) + var(--offset));
  }

  #video .video-embed {
    transform: scale(var(--scale, 0));
    transform-origin: top;
  }

}

/* -------- */

#product-scroller .product-scroller-item img {
  margin-left: auto;
  margin-right: auto;
}

#product-scroller .product-scroller-item span {
  display: block;
  width: max(8em, 50%);
  margin-left: auto;
  margin-right: auto;
  background-color: var(--clr-red);
  color: var(--clr-white);
  font-family: var(--ff-brand);
  font-size: var(--rfs);
  text-align: center;
}

/* -------- */

#product-spotlight {
  position: relative;
  isolation: isolate;
  background-color: var(--clr-white);
  overflow: hidden;
}

#product-spotlight .product-spotlight-link {
  position: relative;
  display: block;
  width: min(37.5rem, 100%);
  aspect-ratio: 8 / 9;
  margin-left: auto;
  margin-right: auto;
}

#product-spotlight .product-spotlight-image {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 1;
}

#product-spotlight .product-spotlight-bubble {
  position: absolute;
  width: 20%;
  transform: translate(0, 50%) scale(0.5);
  opacity: 0;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

#product-spotlight .product-spotlight-item.bubbles-visible .product-spotlight-bubble {
  transform: none;
  opacity: 1;
}

#product-spotlight .product-spotlight-bubble:nth-child(1) {
  top: 5%;
  left: 15%;
  transition-delay: 0.5s;
}

#product-spotlight .product-spotlight-bubble:nth-child(2) {
  top: 0%;
  left: 40%;
  transition-delay: 1s;
}

#product-spotlight .product-spotlight-bubble:nth-child(3) {
  top: 5%;
  left: 65%;
  transition-delay: 1.5s;
}

#product-spotlight .all-products-link {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 48rem) {

  #product-spotlight .all-products-link {
    font-size: 1.5rem;
  }

}

/* -------- */

#factory-spotlight .factory-spotlight-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

#factory-spotlight .factory-spotlight-text {
  padding: 2rem;
  text-align: center;
}

#factory-spotlight .factory-spotlight-text > .btn-learn-more {
  margin-top: 1.5em;
}

@media (min-width: 48rem) {

  #factory-spotlight .factory-spotlight-inner {
    max-width: min(60rem, calc(100% - 4rem));
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 3fr);
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  #factory-spotlight .factory-spotlight-slide {
    aspect-ratio: 3 / 2;
    border-radius: 1rem;
  }

  #factory-spotlight .factory-spotlight-text {
    text-align: left;
  }

}

/* -------- */

#about-us-banner > img {
  width: 100%;
}

/* -------- */

#mission {
  background-color: var(--clr-white);
}

#mission .mission-text > .alt {
  margin-top: 1.5em;
  color: var(--clr-red-alt);
  font-weight: bold;
}

@media (min-width: 48rem) {

  #mission {
    margin-top: 3rem;
    margin-right: 3rem;
    border-top-right-radius: 3rem;
  }

  #mission .mission-text {
    margin-left: 25%;
    margin-right: 12.5%;
  }

}

@media (min-width: 72rem) {

  #mission .mission-text {
    margin-left: 37.5%;
    margin-right: 18.75%;
  }

}

/* -------- */

#milestones {
  padding-bottom: 0;
}

#milestones .milestones-timeline-item > div {
  display: grid;
  gap: 1rem;
  max-width: min(54rem, calc(100% - 4rem));
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 0;
}

#milestones .milestones-timeline-item:not(:last-child) > div {
  border-bottom: 0.125rem dashed var(--clr-brand2);
}

#milestones .milestones-timeline-year {
  color: var(--clr-black);
  font-family: var(--ff-brand);
  font-size: calc(var(--rfs) * 2);
  line-height: 1;
}

@media (min-width: 48rem) {

  #milestones .milestones-timeline-item > div {
    grid-template-columns: auto 1fr;
    gap: 6rem;
    padding: 2rem 3rem 2rem 0;
  }

}

@media (min-width: 72rem) {

  #milestones .milestones-timeline-item > div {
    gap: 8rem;
    padding: 3rem 4rem 3rem 0;
  }

}

/* -------- */

#awards .awards-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

#awards .awards-list {
  max-height: 32rem;
  overflow-y: auto;
}

#awards .award-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 1rem;
  text-align: left;
}

#awards .award-button {
  transition: opacity 0.2s ease-in-out;
}

#awards .award-button:is(:hover, :focus-visible) {
  opacity: 0.5;
}

#awards .award-image {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: var(--clr-white);
}

#awards .award-desc {
  font-size: 0.75rem;
}

#awards .award-desc > .award-name {
  font-family: var(--ff-brand);
  font-size: 1rem;
}

#awards .award-dropdown .dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-bottom: 0.0625rem solid currentColor;
  font-size: 1rem;
}

#awards .award-dropdown .dropdown-content {
  width: 100%;
  max-height: 12rem;
  overflow-y: auto;
  padding: 1rem;
  border-radius: 0 0 0.25rem 0.25rem;
  background-color: var(--clr-white);
  color: var(--clr-black);
  font-family: var(--ff-main);
  font-size: 0.75rem;
}

#awards .award-dropdown .dropdown-content > li {
  padding: 0.5rem;
}

#awards .award-dropdown .dropdown-content > li:not(:last-child) {
  border-bottom: 0.0625rem dashed var(--clr-light-grey);
}

#awards .awards-slick {
  width: min(100%, 24rem);
  margin-left: auto;
  margin-right: auto;
}

#awards .slick-list {
  border: 0.0625rem solid var(--clr-white);
  border-radius: 2rem;
}

#awards .award-slide {
  aspect-ratio: 1;
  margin: 1rem;
  border-radius: 1rem;
  background-color: var(--clr-white);
}

@media (min-width: 48rem) {

  #awards .awards-inner {
    max-width: min(72rem, calc(100% - 4rem));
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 3fr);
    gap: 12.5%;
    margin-left: auto;
    margin-right: auto;
  }

  #awards .awards-slick {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

}

/* -------- */

#factory .factory-inner {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

#factory .factory-section:nth-child(1),
#factory .factory-section:nth-child(2) {
  grid-column: 1 / -1;
}

#factory .factory-section > p {
  margin-bottom: 1rem;
}

#factory .factory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

#factory .factory-image {
  aspect-ratio: 3 / 2;
  border-radius: 0.25rem;
}

@media (min-width: 48rem) {

  #factory .factory-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  #factory .factory-section:nth-child(1) .factory-grid,
  #factory .factory-section:nth-child(2) .factory-grid {
    grid-template-columns: repeat(4, 1fr);
  }

}

/* -------- */

#product-filter {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 2rem;
  border-bottom: 0.0625rem solid var(--clr-beige);
}

#product-filter .product-filter-button {
  position: relative;
  flex-shrink: 0;
  padding: 0.75rem;
  border: 0.0625rem dashed Var(--clr-black);
  border-radius: 1000em;
  color: var(--clr-grey);
  font-family: var(--ff-brand);
  transition: border 0.2s ease-in-out, background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

#product-filter .product-filter-button:not(.active):is(:hover, :focus-visible) {
  border-color: var(--clr-red);
  color: var(--clr-red);
}

#product-filter .product-filter-button.active {
  border: 0.0625rem solid var(--clr-red);
  background-color: var(--clr-red);
  color: var(--clr-white);
}

@media (min-width: 48rem) {

  #product-filter {
    padding: 2rem 6rem;
  }

}

@media (min-width: 72rem) {

  #product-filter {
    padding: 2rem 8rem;
  }

}

/* -------- */

#product-list .product-list-item {
  padding: 1rem;
  vertical-align: top;
}

#product-list .product-image {
  object-fit: contain;
  padding: 12.5%;
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--clr-beige);
  clip-path: circle(50%);
  transition: background-color 0.2s ease-in-out;
}

#product-list .product-link:is(:hover, :focus-visible) .product-image {
  background-color: var(--clr-red);
}

#product-list .product-desc {
  position: relative;
  width: 75%;
  margin-top: -0.5rem;
  margin-left: auto;
}

#product-list .product-desc::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: -15%;
  height: 8rem;
  border-left: 0.1875rem solid var(--clr-red);
}

#product-list .product-name,
#product-list .product-packaging {
  width: fit-content;
  padding: 0 1rem;
  margin-bottom: 0.25rem;
  background-color: var(--clr-red);
  color: var(--clr-white);
  font-family: var(--ff-brand);
  font-size: 1.25rem;
}

@media (min-width: 48rem) {

  #product-list .product-desc {
    font-size: 1.25rem;
  }

  #product-list .product-name,
  #product-list .product-packaging {
    font-style: 1.5rem;
  }

}

/* -------- */

#product .product-images {
  padding: 2rem;
  background-color: var(--clr-salmon);
}

#product .product-images-slick {
  max-width: 37.5rem;
  margin-left: auto;
  margin-right: auto;
}

#product .product-images-slick .slick-track {
  display: flex;
  align-items: center;
}

#product .product-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

#product .product-images-control {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 1rem;
}

#product .product-images-button {
  width: 5rem;
  height: 5rem;
  padding: 0.5rem;
  border: 0.0625rem dashed transparent;
  border-radius: 50%;
  background-color: var(--clr-white);
  overflow: hidden;
  transition: opacity 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

#product .product-images-button:not(.active):is(:hover, :focus-visible) {
  opacity: 0.5;
}

#product .product-images-button.active {
  border-color: var(--clr-black);
}

#product .product-details {
  padding: 2rem;
}

#product .product-category {
  font-size: 1.25rem;
}

#product .product-name {
  width: fit-content;
  height: auto;
  padding: 0.25rem 1rem 0.5rem 1rem;
  background-color: var(--clr-red);
  color: var(--clr-white);
  font-size: 2rem;
}

#product .product-desc > h2 {
  font-size: 1rem;
}

#product .product-desc + hr {
  border-top: 0.0625rem solid var(--clr-red);
}

#product .accordion {
  margin-top: 2rem;
  border-top: 0.0625rem solid currentColor;
  border-bottom: 0.0625rem solid currentColor;
}

#product .accordion + .accordion {
  margin-top: 0;
  border-top: none;
}

#product .accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1rem 1rem 2rem;
  font-family: var(--ff-brand);
}

#product .accordion-content {
  padding-left: 2rem;
  padding-right: 1rem;
}

#product .accordion.active .accordion-content {
  padding-bottom: 1rem;
}

@media (min-width: 48rem) {

  #product {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  #product .product-images {
    padding: 4rem 2rem;
  }

  #product .product-details {
    padding: 4rem 2rem;
  }

  #product .product-info {
    padding: 0 1rem;
  }

}

/* -------- */

#product-recommendations hgroup {
  padding: 1rem;
  margin-bottom: 2rem;
  border-top: 0.1875rem solid currentColor;
  border-bottom: 0.1875rem solid currentColor;
  background-color: transparent;
  color: inherit;
  text-align: center;
}

#product-recommendations .product-list-item {
  padding: 1rem;
  vertical-align: top;
}

#product-recommendations .product-image {
  object-fit: contain;
  padding: 12.5%;
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--clr-beige);
  clip-path: circle(50%);
  transition: background-color 0.2s ease-in-out;
}

#product-recommendations .product-link:is(:hover, :focus-visible) .product-image {
  background-color: var(--clr-red);
}

#product-recommendations .product-desc {
  position: relative;
  width: 75%;
  margin-top: -0.5rem;
  margin-left: auto;
}

#product-recommendations .product-desc::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: -15%;
  height: 8rem;
  border-left: 0.1875rem solid var(--clr-red);
}

#product-recommendations .product-name,
#product-recommendations .product-packaging {
  width: fit-content;
  padding: 0 1rem;
  margin-bottom: 0.25rem;
  background-color: var(--clr-red);
  color: var(--clr-white);
  font-family: var(--ff-brand);
  font-size: 1.25rem;
}

@media (min-width: 48rem) {

  #product-recommendations .product-desc {
    font-size: 1.25rem;
  }

  #product-recommendations .product-name,
  #product-recommendations .product-packaging {
    font-style: 1.5rem;
  }

}

/* -------- */

#latest-news {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

#latest-news h2 {
  grid-column: 1 / -1;
}

#latest-news .news-filter {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  align-content: start;
  gap: 1rem;
  padding: 2rem 0;
}

#latest-news .news-filter-button {
  display: inline-flex;
  justify-content: center;
  gap: 0.5em;
  padding: 0.5em 2em;
  border: 0.0625rem solid var(--clr-red);
  border-radius: 1000em;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

#latest-news .news-filter-button.active {
  background-color: var(--clr-red);
  color: var(--clr-white);
}

#latest-news .news-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.5rem 2rem;
  padding: 1rem;
  min-height: 5rem;
  border-bottom: 0.125rem dashed var(--clr-red);
}

#latest-news .news-link::after {
  content: "";
  width: 2rem;
  height: 2rem;
  background: url("../icons/icon-harpoon-right-orange-white.svg") center/100%;
  transition: transform 0.2s ease-in-out;
}

#latest-news .news-link:is(:hover, :focus-visible)::after {
  transform: translateX(0.5rem);
}

#latest-news .news-date {
  grid-column: -1 / 1;
  font-size: 0.75rem;
}

#latest-news .news-title {
  font-family: var(--ff-brand);
}

#latest-news .news-preview {
  position: absolute;
  bottom: 1rem;
  right: 4rem;
  height: 8rem;
  max-width: none;
  max-height: none;
  border-radius: 0.25rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translate(0, 1rem);
  transition: transform 0.2s ease-in-out, visibility 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

#latest-news .news-placeholder-text {
  margin-top: 2rem;
  font-size: 2rem;
  font-family: var(--ff-brand);
  text-align: center;
}

@media (min-width: 48rem) {

  #latest-news {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }

  #latest-news .news-filter {
    grid-template-columns: auto;
  }

  #latest-news .news-list-slick .slick-list {
    padding-top: 8rem;
    margin-top: -8rem;
  }

  #latest-news .news-link {
    grid-template-columns: 6rem 1fr auto;
  }

  #latest-news .news-date {
    grid-column: auto;
  }

  #latest-news .news-link:is(:hover, :focus-visible) .news-preview {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

}

/* -------- */

:is(#pharmacist-with-you, #health-tips) .blog-list-slick {
  margin-top: 2rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

:is(#pharmacist-with-you, #health-tips) .blog-list-item {
  padding: 0.5rem;
}

:is(#pharmacist-with-you, #health-tips) .blog-link {
  transition: opacity 0.2s ease-in-out;
}

:is(#pharmacist-with-you, #health-tips) .blog-link:is(:hover, :focus-visible) {
  opacity: 0.5;
}

:is(#pharmacist-with-you, #health-tips) .blog-link > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 0.5rem;
}

:is(#pharmacist-with-you, #health-tips) .blog-meta {
  margin: 0.5rem;
}

:is(#pharmacist-with-you, #health-tips) .blog-excerpt {
  font-size: 0.75rem;
}

:is(#pharmacist-with-you, #health-tips) .blog-placeholder-text {
  margin-top: 2rem;
  font-size: 2rem;
  font-family: var(--ff-brand);
  text-align: center;
}

@media (min-width: 48rem) {

  :is(#pharmacist-with-you, #health-tips) .blog-list-slick {
    margin-left: -1rem;
    margin-right: -1rem;
  }

  :is(#pharmacist-with-you, #health-tips) .blog-list-item {
    padding: 1rem;
  }

  :is(#pharmacist-with-you, #health-tips) .blog-title {
    font-size: 1.5rem;
  }

}

/* -------- */

#blog-entry .blog-title {
  padding-bottom: 2rem;
  border-bottom: 0.125rem dashed currentColor;
  font-size: calc(var(--rfs) * 2.5);
}

#blog-entry .blog-cover-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-top: 2rem;
}

#blog-entry .blog-content {
  padding: 2rem 1rem;
}

#blog-entry .blog-return {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: fit-content;
  margin-left: auto;
  font-weight: bold;
  transition: color 0.2s ease-in-out;
}

#blog-entry .blog-return:is(:hover, :focus-visible) {
  color: var(--clr-red-alt);
}

@media (min-width: 48rem) {

  #blog-entry .blog-content {
    padding: 2rem;
  }

}

/* -------- */

#professional-services .image-with-text {
  display: grid;
  justify-items: stretch;
  gap: 2rem;
  margin: 2rem 0;
}

#professional-services .showcase-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

#professional-services .showcase-item {
  width: 20rem;
}

#professional-services .showcase-item > img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 0.25rem;
}

#professional-services .showcase-item > figcaption {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-family: var(--ff-brand);
  text-align: center;
}

#professional-services .email-link {
  position: relative;
  display: block;
  width: min(24rem, 100%);
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 5rem 1.5rem 2rem;
  border: 0.0625rem solid var(--clr-red);
  border-radius: 0.375em;
  transition: transform 0.2s ease-in-out;
}

#professional-services .email-link:is(:hover, :focus-visible) {
  transform: scale(1.125);
}

#professional-services .email-link > h3 {
  font-family: var(--ff-main);
  font-size: 1.5rem;
}

#professional-services .email-link::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.5rem;
  margin: auto;
  width: 3rem;
  height: 3rem;
  background: url("../icons/icon-email-orange-white.svg") center/100%;
}

@media (min-width: 48rem) {

  #professional-services .image-with-text {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }

}

@media (min-width: 72rem) {

  #professional-services .image-with-text {
    gap: 4rem;
    margin: 2rem 4rem;
  }

}

/* -------- */

#contact-us .contact-details {
  max-width: 30rem;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
}

#contact-us #gmap {
  margin-top: 2rem;
  aspect-ratio: 3 / 1;
  width: 100%;
  min-height: 16rem;
}

#contact-us .contact-form {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

#contact-us .contact-form dl {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

#contact-us .contact-form dl > dt {
  margin-top: 0.25rem;
}

#contact-us .contact-form [type="submit"] {
  display: flex;
  margin-left: auto;
}

/* -------- */

#advertisement .advertisement-slick {
  margin-top: 2rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

#advertisement .advertisement-item {
  padding: 0.5rem;
  vertical-align: top;
}

#advertisement .advertisement-lightbox-button {
  width: 100%;
  transition: opacity 0.2s ease-in-out;
}

#advertisement .advertisement-lightbox-button:is(:hover, :focus-visible) {
  opacity: 0.5;
}

#advertisement .advertisement-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.25rem;
}

#advertisement .advertisement-video-title {
  padding: 0.5rem;
  font-family: var(--ff-brand);
  text-align: center;
}

@media (min-width: 48rem) {

  #advertisement .advertisement-slick {
    margin-left: -1rem;
    margin-right: -1rem;
  }

  #advertisement .advertisement-item {
    padding: 1rem;
  }

  #advertisement .advertisement-video-title {
    font-size: 1.25rem;
  }

}

/* -------- */

#where-to-buy .where-to-buy-slick {
  margin-top: 2rem;
}

#where-to-buy .where-to-buy-banner {
  margin: 0.5rem;
  aspect-ratio: 54 / 25;
}

#where-to-buy h3 {
  max-width: min(60rem, calc(100% - 4rem));
  padding: 1rem;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  border-top: 0.1875rem solid currentColor;
  border-bottom: 0.1875rem solid currentColor;
  font-size: calc(var(--rfs) * 1.5);
  text-align: center;
}

#where-to-buy .eshop-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem 3rem;
  max-width: min(60rem, calc(100% - 4rem));
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}

#where-to-buy .eshop-links > .btn {
  width: 20rem;
  font-size: 1.25rem;
  text-align: center;
}

@media (min-width: 48rem) {

  #where-to-buy h3 {
    margin-top: 4rem;
  }

  #where-to-buy .eshop-links {
    flex-direction: row;
    margin-top: 2rem;
  }

}

/* -------- */

#sales-channels .sales-channels-inner {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

#sales-channels .sales-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, calc(var(--rfs) * 9));
  gap: 2rem;
  margin-top: 2rem;
}

#sales-channels .sales-channel-grid > li {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(var(--rfs) * 6);
  background-color: var(--clr-red-very-light);
  font-size: calc(var(--rfs) * 1.5);
  font-family: var(--ff-brand);
}

#sales-channels .mainland-sales-channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
}

#sales-channels .mainland-sales-channel-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 14rem;
}

#sales-channels .mainland-sales-channel-link > img {
  width: 8rem;
  height: 8rem;
}

#sales-channels .mainland-sales-channel-link > span {
  position: relative;
  width: 100%;
  padding: 0.375rem;
  border: 0.0625rem solid var(--clr-light-grey);
  border-radius: 1000em;
  text-align: center;
}

#sales-channels .mainland-sales-channel-link > span::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 1.25rem;
  height: 1.25rem;
  background: url("../icons/icon-search-red.svg") center/100%;
}

@media (min-width: 48rem) {

  #sales-channels .sales-channels-inner {
    max-width: 75%;
    margin-left: auto;
  }

}

/* -------- */

#symptom-shooter .symptom-shooter-widget {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 72rem;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  background-color: var(--clr-red);
  clip-path: polygon(0% 0%, calc(100% - 2rem) 0%, 100% 2rem, 100% 100%, 2rem 100%, 0% calc(100% - 2rem));
}

#symptom-shooter .symptoms-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 6rem);
  grid-auto-rows: 6rem;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

#symptom-shooter .symptom-button {
  position: relative;
  display: grid;
  justify-content: center;
  justify-items: center;
  align-content: center;
  width: 100%;
  height: 100%;
  background-color: var(--clr-beige);
  font-family: var(--ff-brand);
  font-size: 0.75rem;
  line-height: 1;
  clip-path: polygon(0% 0%, 87.5% 0%, 100% 12.5%, 100% 100%, 12.5% 100%, 0% 87.5%);
  transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

#symptom-shooter .symptom-button:is(:hover, :focus-visible) {
  transform: scale(1.125);
}

#symptom-shooter .symptom-button.active {
  background-color: var(--clr-brand1);
}

#symptom-shooter .symptom-button.disabled {
  opacity: 0.3;
  pointer-events: none;
}

#symptom-shooter .symptom-button > img {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
  object-fit: contain;
}

#symptom-shooter .symptom-button > span {
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  right: 0;
}

#symptom-shooter .matched-product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: start;
  padding: 1rem;
  border-top: 0.125rem dashed var(--clr-white);
}

#symptom-shooter .product-list-title-item {
  width: 100%;
}

#symptom-shooter .product-list-title-item h3 {
  color: var(--clr-white);
  text-align: center;
}

#symptom-shooter .product-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 16rem;
  aspect-ratio: 1;
}

#symptom-shooter .product-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform 0.2s ease-in-out;
}

#symptom-shooter .product-link:is(:hover, :focus-visible) .product-image {
  transform: scale(1.125);
}

@media (min-width: 48rem) {

  #symptom-shooter .symptom-shooter-widget {
    grid-template-columns: 3fr minmax(18rem, 1fr);
  }

  #symptom-shooter .symptoms-list {
    grid-template-columns: repeat(auto-fill, 8rem);
    grid-auto-rows: 8rem;
    height: 48rem;
    overflow-y: auto;
    border-right: 0.125rem dashed var(--clr-white);
  }

  #symptom-shooter .symptom-button {
    font-size: 1rem;
  }

  #symptom-shooter .symptom-button > img {
    width: 6rem;
    height: 6rem;
  }

  #symptom-shooter .matched-product-list {
    height: 48rem;
    overflow: hidden auto;
    border-top: none;
  }

}

/* -------- */

#csr-kv {
  position: relative;
  margin-top: calc(var(--header-size) * -1);
  max-height: 100vh;
}

#csr-kv > img {
  width: 100%;
  aspect-ratio: 5 / 3;
  filter: brightness(0.8);
}

#csr-kv > h1 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: transparent;
  color: var(--clr-white);
}

@media (min-width: 72rem) {

  #csr-kv > h1 {
    font-size: calc(var(--rfs) * 6);
  }

}

/* -------- */

#good-shepherd-content > section.no-pb {
  padding-bottom: 0;
}

#good-shepherd-content h2 {
  font-size: calc(var(--rfs) * 2);
  margin-bottom: 2rem;
}

#good-shepherd-content :is(p, ul, ol) {
  margin-bottom: 1rem;
}

@media (min-width: 72rem) {

  #good-shepherd-content {
    position: relative;
  }

  #good-shepherd-content .left-box {
    position: absolute;
    top: 4rem;
    bottom: 4rem;
    left: 0;
  }

  #good-shepherd-content .page-nav {
    position: sticky;
    top: 12rem;
    width: 20rem;
    max-height: calc(100vh - 12rem);
    padding: 2rem;
    background-color: var(--clr-white);
    border: 0.0625rem solid var(--clr-light-grey);
    border-radius: 0 2rem 2rem 0;
    font-family: var(--ff-brand);
    font-size: 1.125rem;
    overflow: auto;
    scrollbar-width: none; /* hide scrollbar */
  }

  #good-shepherd-content .page-nav::-webkit-scrollbar {
    display: none; /* hide scrollbar */
  }

  #good-shepherd-content .page-nav > ul {
    display: grid;
    gap: 0.5rem;
  }

  #good-shepherd-content .page-nav h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--clr-black);
  }

  #good-shepherd-content .page-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-left: 1rem;
    color: var(--clr-light-grey);
  }

  #good-shepherd-content .page-nav a > .sheep-inactive,
  #good-shepherd-content .page-nav a > .sheep-active {
    width: 1em;
    height: 1em;
  }

  #good-shepherd-content .page-nav a > .sheep-active {
    display: none;
  }

  #good-shepherd-content .page-nav a:is(:hover, :focus-visible, .active) {
    color: var(--clr-red);
  }

  #good-shepherd-content .page-nav a:is(:hover, :focus-visible, .active) .sheep-inactive {
    display: none;
  }

  #good-shepherd-content .page-nav a:is(:hover, :focus-visible, .active) .sheep-active {
    display: block;
  }

  #good-shepherd-content > section {
    padding-left: 32rem;
  }

}

/* -------- */

#events .event-slick {
  margin-top: 2rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

#events .event-item {
  padding: 0.5rem;
  vertical-align: top;
}

#events .event-single-photo {
  aspect-ratio: 3 / 2;
  border-radius: 0.25rem;
}

#events .event-title {
  padding: 0.5rem;
  font-family: var(--ff-brand);
  text-align: center;
}

@media (min-width: 48rem) {

  #events .event-slick {
    margin-left: -1rem;
    margin-right: -1rem;
  }

  #events .event-item {
    padding: 1rem;
  }

  #events .event-title {
    font-size: 1.25rem;
  }

}

/* -------- */

#good-shepherd-mission .banner {
  margin-bottom: 2rem;
}

#good-shepherd-mission .banner > img {
  width: 100%;
}

/* -------- */

#who-we-serve .link {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: var(--clr-red);
  color: var(--clr-white);
}

#who-we-serve .link > a {
  font-weight: bold;
}

/* -------- */

#tiers .tiers-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

#tiers .tiers-grid > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-family: var(--ff-brand);
  font-size: calc(var(--rfs) * 2);
  background-color: var(--clr-red);
  color: var(--clr-white);
  transition: background-color 0.2s ease-in-out;
}

#tiers .tiers-grid > a > img {
  width: 4rem;
  height: 4rem;
}

#tiers .tiers-grid > a:is(:hover, :focus-visible) {
  background-color: var(--clr-red-light);
}

#tiers .video-embed {
  aspect-ratio: 16 / 9;
}

@media (min-width: 48rem) {

  #tiers .tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #tiers .tiers-grid > a:last-child:nth-child(2n+1) {
    grid-column: 1 / -1;
  }

}

/* -------- */

#our-team .team-list {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-left: 0.25rem solid currentColor;
  font-family: var(--ff-brand);
  font-size: 1.25rem;
}

/* -------- */

:is(#lectures, #group-interventions) .event-title {
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  background-color: var(--clr-red);
  color: var(--clr-white);
}

:is(#lectures, #group-interventions) .event-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

:is(#lectures, #group-interventions) .event-gallery:last-child {
  margin-bottom: 0;
}

:is(#lectures, #group-interventions) .event-gallery > img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.25rem;
}

@media (min-width: 48rem) {

  :is(#lectures, #group-interventions) .event-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* -------- */

#results .stats {
  display: grid;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  margin-bottom: 1rem;
  border: 0.125rem solid currentColor;
  border-radius: 0.5rem;
}

#results .stats-inner {
  display: grid;
  gap: 2rem;
}

#results .stat-entry {
  display: grid;
  justify-items: center;
  align-content: center;
  max-width: 20rem;
}

#results .stat-icon {
  width: 8rem;
  height: 8rem;
}

#results .stat-number {
  font-size: calc(var(--rfs) * 3);
  font-weight: bold;
}

#results .stat-desc {
  display: grid;
  justify-items: center;
  align-items: center;
  width: 100%;
  min-height: 3.625rem;
  padding: 0.25rem 1rem;
  border: 0.0625rem solid currentColor;
  border-radius: 1000em;
  text-align: center;
}

@media (min-width: 48rem) {

  #results .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* -------- */

#participants .accordion {
  border-bottom: 0.0625rem solid currentColor;
}

#participants .accordion + .accordion {
  border-bottom: none;
}

#participants .accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 2rem;
  font-family: var(--ff-brand);
  font-size: calc(var(--rfs) * 2);
  text-align: left;
}

#participants .accordion-content {
  padding-left: 2rem;
  padding-right: 2rem;
}

#participants .accordion.active .accordion-content {
  padding-bottom: 1rem;
}

#participants .participant-list {
  display: grid;
  gap: 0.5rem;
}

/* Sections - End */