:root {
  --color-blue: #022D44;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-red: #A01A2A;
  --color-grey: #C7C7C7;
}

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

a {
  transition: all .3s ease-in-out;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

.pagecontent .container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Banner Section */
.banner {
  position: relative;
  width: 100%;
  height: 780px;
  overflow: hidden;
  display: flex;
  align-items: center;

}

.banner-video {
  box-sizing: border-box;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 1.7777777778;
}

.banner:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-blue);
  opacity: 0.3;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 800px;
}

.banner-content h1 {
  font-weight: 400;
  /* font-size: clamp(2.5rem, 2.2375rem + 1.3125vw, 3.8125rem); */
  font-size: clamp(1.875rem, 1.5625rem + 1.5625vw, 3.4375rem);
  line-height: 1;
  color: var(--color-white);
  text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);

}

.banner-content h2 {
  font-family: Poppins;
  font-weight: normal;
  font-size: clamp(1.875rem, 1.5625rem + 1.5625vw, 3.4375rem);
  line-height: 1.28;
  color: var(--color-white);
  text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.text-only-section {
  padding: 50px 0 20px;
}

.text-only-content h2 {
  font-size: clamp(1.375rem, 1.325rem + 0.25vw, 1.625rem);
  font-size: clamp(1.375rem, 1.325rem + 0.25vw, 1.325rem);
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--color-red);
  margin-bottom: 20px;
}

.text-only-content p {
  font-weight: 300;
  font-size: clamp(1.20rem, 1.2rem + 0.25vw, 1.20rem);
  letter-spacing: 0.03em;
  line-height: 1.8;
  color: var(--color-black);
}

/* Layout */
.category-section {
  padding: 30px 0 150px;
}

.category-content h2 {
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.20rem, 1.325rem + 0.25vw, 1.20rem);
  letter-spacing: 0.03em;
  line-height: 1.7;
  color: #c7c7c7;
  text-align: center;
}

.category-content {
  margin-bottom: 30px;
}

.tabs {
  overflow: hidden;
}

/* Tabs (Desktop) */
.tablist {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tablist button {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease-in-out;
  color: var(--color-white);
  position: relative;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  width: calc(33.33% - 14px);
  height: 340px;
}

.tablist button:before {
  content: "";
  background-color: #000000;
  height: 100%;
  width: 100%;
  z-index: 1;
  position: absolute;
  opacity: .45;
  transition: all .3s ease-in-out;
}

.tablist button:hover:before {
  background-color: #A01A2A;
  opacity: .85;
}

.tablist button span,
.tabs.is-accordion .accordion-header span {
  position: absolute;
  z-index: 2;
  font-weight: 600;
  font-size: clamp(1.625rem, 1.5125rem + 0.5625vw, 2.1875rem);
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
  color: var(--color-white);
  text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.73);
  text-transform: uppercase;
  padding: 20px;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.tablist button img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
}

.tablist-wrap button[aria-selected="true"] {
  border: 3px solid var(--color-red);
  border-bottom: 0;
}

.tablist-wrap button[aria-selected="true"] img,
.tablist-wrap button[aria-selected="true"]:before {
  opacity: 0;
}

.tablist button:after {
  content: "";
  background-color: #fff;
  height: 3px;
  width: 100%;
  bottom: -3px;
  position: absolute;
  z-index: 2;
  opacity: 0;
}

.tablist-wrap button[aria-selected="true"]:after {
  opacity: 1;
}

.tablist button[aria-selected="true"] span {
  color: var(--color-red);
  text-shadow: none;
}

.tablist-wrap:has(button[aria-selected="true"]),
.tablist-wrap:has(button[aria-selected="true"]) img {
  height: 100px;
}

.tablist-wrap:has(button[aria-selected="true"]) button {
  height: 115px;
}

.tablist-wrap:has(button[aria-selected="true"]) button:before {
  height: 115px;
}

/* Panels */
.tabpanel-content {
  border: 3px solid var(--color-red);
  margin-top: 15px;
}

/* (Accordion slide animation; keep if you already have it) */
.tabs.is-accordion .panel-body {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 280ms ease, opacity 220ms ease;
}

.tabs.is-accordion .panel-body.is-open {
  opacity: 1;
}

.tabs.is-accordion .accordion-header {
  display: flex;
  align-items: center;
  padding: 0;
  width: 100%;
  border: 0;
  justify-content: center;
  position: relative;
  background: transparent;
}

.tabs.is-accordion .accordion-header:before {
  content: "";
  background-color: #000000;
  height: 100%;
  width: 100%;
  z-index: 1;
  position: absolute;
  opacity: .45;
  transition: all .3s ease-in-out;
}

.tabs.is-accordion .accordion-header img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}



[hidden] {
  display: none !important;
}

/* Base */

.shops-container {
  padding: 70px 60px;
}

/* Grid */
.shops-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

/* Cards + row rules */
.shop-card {
  padding: 30px 0;
  border-top: 1px solid var(--color-grey);
}

.shop-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.shop-card:last-child {
  padding-bottom: 0;
}

/* Typography */
.shop-card h4 {
  font-weight: 300;
  color: var(--color-blue);
  font-size: clamp(1rem, 1.0875rem + 0.1875vw, 1rem);
  line-height: 1.5;
  margin-bottom: 10px;
}

.shop-card p {
  font-weight: 300;
  font-size: clamp(.9rem, 0.975rem + 0.125vw, .9rem);
  line-height: 1.777777;
  color: var(--color-black);
}

.shop-card h3 a {
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: underline;
  font-size: clamp(1.125rem, 1.0875rem + 0.1875vw, 1.3125rem);
  line-height: 1.5;
}

.shop-card p strong {
  font-weight: 600;
}

.shop-card h3 a:hover {
  color: var(--color-red);
}

/* Promo */
.promo-intro {
  margin: 0;
}

.shop-card .btn {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 8px 30px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  font-size: clamp(1.125rem, 1.0875rem + 0.1875vw, 1.3125rem);
  line-height: 1.6;
  margin-top: 30px;
}

.shop-card .btn:hover {
  background: var(--color-blue);
}



/* 2 cols + vertical divider on desktop */
@media (min-width: 1024px) {
  .shop-card {
    padding: 30px;
  }

  .shops-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shops-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--color-grey);
    transform: translateX(-0.5px);
  }

  .shop-card:nth-child(-n+2) {
    border-top: 0;
    padding-top: 0;
  }

  .shop-card:nth-child(odd) {
    padding-left: 0;
  }

  .shop-card:nth-child(even) {
    padding-right: 0;
  }
}

@media (min-width: 1200px) {
  .shop-card {
    padding: 30px 50px;
  }

}

@media (max-width: 1199.98px) {
  .banner {
    height: 500px;
  }

  .tablist-wrap:has(button[aria-selected="true"]),
  .tablist-wrap:has(button[aria-selected="true"]) img,
  .tablist-wrap:has(button[aria-selected="true"]) button:before {
    height: 95px;
  }

  .tablist button {
    height: 250px;
  }

  .tablist-wrap:has(button[aria-selected="true"]) button {
    height: 95px;
  }
  .tabpanel-content {
	margin-top: 0;
  }
  .shops-container {
    padding: 40px;
  }

  .category-section {
    padding: 30px 0 100px;
  }
}

@media screen and (max-width: 1024.98px) {
  .tabpanel-content {
    border-top: 0px;
    margin-top: 0px;
  }

  .tablist-wrap {
    display: none;
  }

  .tabs.is-accordion [role="tabpanel"] {
    padding: 0;
    border-top: 1px solid var(--c-border);
    margin-bottom: 30px;

  }

  .accordion-header {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
  }

  .tabs.is-accordion .accordion-header[aria-expanded="true"] span {
    color: var(--color-red);
    text-shadow: none;
  }

  .tabs.is-accordion .accordion-header[aria-expanded="true"] img {
    opacity: 0;
  }

  .tabs.is-accordion .accordion-header[aria-expanded="true"] {
    border: 3px solid var(--color-red);
  }

  .tabs.is-accordion .accordion-header[aria-expanded="true"]:before {
    opacity: 0;
  }

  .category-section {
    padding: 30px 0 80px;
  }

}

@media screen and (max-width: 767.98px) {
  .shops-container {
    padding: 30px 20px;
  }

  .banner {
    height: 420px;
  }

  .text-only-content h2,
  .text-only-content p,
  .category-content h2,
  .shop-card p {
    line-height: 1.5;
  }

  .category-section {
    padding: 30px 0 60px;
  }

}
@media screen and (max-width: 575.98px) {
  .tabs.is-accordion .accordion-header img {
    height: 80px;
}
}
