@view-transition {
    navigation: auto;
}
 
/*::view-transition-group(root) {*/
/*    animation-duration: 2s;*/
/*} */

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

* {
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: hsl(0 0% 90%);
  --bg: hsl(0 0% 95%);
  --bg-light: hsl(0 0% 100%);

  --text: hsl(0 0% 5%);
  --text-muted: hsl(0 0% 30%);
  --text-light: hsl(0 0% 90%);

  --link-dark: hsl(0 0% 90%);
  --link: hsl(0 0% 95%);
  --link-light: hsl(0 0% 100%);

  --brand-col1: hsl(260 6% 35%);

  --brand-col2: hsl(280 20% 25%);
  --brand-col2-muted: hsl(280 20% 30%);

  --brand-col3: hsl(350 7% 58%);

  --overlay-dark: hsl(0 0% 0% / 0.7);

  /* 🌼 Pastel Yellow Variants */
  --lemon-chiffon: #fffacd; /* rgb(255, 250, 205), hsl(54, 100%, 90%) */
  --light-yellow: #ffffe0; /* rgb(255, 255, 224), hsl(60, 100%, 94%) */
  --pale-goldenrod: #fafad2; /* rgb(250, 250, 210), hsl(60, 67%, 90%) */
  --pastel-yellow: #ffffcc; /* rgb(255, 255, 204), hsl(60, 100%, 90%) */

  /* 💜 Pastel Lavender */
  --lavender: #e6e6fa; /* rgb(230, 230, 250), hsl(240, 67%, 94%) */
  --thistle: #d8bfd8; /* rgb(216, 191, 216), hsl(300, 24%, 80%) */

  /* 🌱 Pastel Mint */
  --mint-cream: #f5fffa; /* rgb(245, 255, 250), hsl(150, 100%, 98%) */
  --pale-mint: #98fb98; /* rgb(152, 251, 152), hsl(120, 93%, 79%) */

  /* 🍑 Pastel Peach */
  --peach-puff: #ffdab9; /* rgb(255, 218, 185), hsl(28, 100%, 86%) */
  --light-peach: #ffe5b4; /* rgb(255, 229, 180), hsl(36, 100%, 85%) */

  /* 🌊 Pastel Sky Blue */
  --light-sky-blue: #87cefa; /* rgb(135, 206, 250), hsl(203, 92%, 75%) */
  --powder-blue: #b0e0e6; /* rgb(176, 224, 230), hsl(187, 52%, 80%) */

  /*--highlight: oklch(0.5 0.06 300);

  --border: oklch(0.4 0.06 300);
  --border-muted: oklch(0.3 0.06 300);*/

  /*--primary: oklch(0.76 0.1 300);
  --secondary: oklch(0.76 0.1 120);

  --danger: oklch(0.7 0.06 30);
  --warning: oklch(0.7 0.06 100);
  --success: oklch(0.7 0.06 160);
  --info: oklch(0.7 0.06 260);*/

  --shadow: 4px 4px 20px 4px rgba(0, 0, 0, 0.4);
  --font: system-ui, sans-serif;

  --block-padding: 1.2rem 3rem;
}

/*body.dark {
  --bg-dark: hsl(0, 0%, 0%);
  --bg: hsl(0, 0%, 5%);
  --bg-light: hsl(0, 0%, 10%);

  --text: hsl(0, 0%, 95%);
  --text-muted: hsl(0, 0%, 70%);
}*/

html {
  color-scheme: light dark;
  font: 200 62.5%/1.6 var(--font);
  -webkit-text-size-adjust: 100%;
  hanging-punctuation: first last;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--brand-col2);
  color: var(--text);
  font-size: 1.6rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "navbar"
    "main"
    "footer";
}

@media (prefers-reduced-motion: no-preference) {
  :has(:target) {
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p {
  max-width: 75ch;
  text-wrap: pretty;
}

a {
  color: inherit;
  background-color: transparent;
  text-decoration: none;
  transition: 150ms ease;
  &:active,
  &:hover {
    outline: 0;
  }
}

ul,
li {
  list-style: none;
}

input,
textarea,
select,
button {
  font-size: inherit;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  font-style: italic;
  object-fit: cover;
  border: 0;
}

video,
iframe {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
  object-fit: cover;
  border: 0;
}

button {
  display: block;
  padding: 12px 25px;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  outline: none;
  border-radius: 6px;
  color: var(--bg);
  background: var(--blue-dark);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  cursor: pointer;
}
button * {
  pointer-events: none;
}
button:hover {
  opacity: 0.7;
}

strong {
  font-weight: bold;
}

aside {
  position: fixed;
  width: 300px;
  display: none;
}

/* --------------------------------------- */
/* ------- START CUSTOM STYLES HERE ------ */
/* --------------------------------------- */

nav {
  grid-area: navbar;
  position: sticky;
  top: 0;
  height: 75px;
  background: var(--brand-col3);
  display: flex;
  justify-content: space-between;
  z-index: 100;
}

.logo {
  --logo-w: 18rem;
  --logo-text-size: calc(var(--logo-w) * 0.18);
  --border-w: calc(var(--logo-w) * 0.06);
  --top-offset: calc(var(--border-w) * 2.1);
  --left-offset: calc(var(--top-offset) * 1.3);

  position: absolute;
  top: var(--top-offset);
  left: var(--left-offset);
  width: var(--logo-w);
  height: var(--logo-w);
  line-height: var(--logo-w);
  border-radius: 20%;
  background: var(--brand-col2);
  color: var(--light-peach);
  border: var(--border-w) solid var(--brand-col3);
  transform: rotate(340deg);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  &:hover {
    background: var(--brand-col2-muted);
  }
  span {
    line-height: 1em;
    font-size: var(--logo-text-size);
    text-align: center;
  }
  @media (max-width: 960px) {
    --logo-w: 15rem;
  }
  @media (max-width: 500px) {
    --logo-w: 10rem;
  }
}

.main-menu {
  display: flex;
  flex: 1;
  height: 100%;
  justify-content: end;
  a {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    color: var(--brand-col2);
    font-size: 2.2rem;
    font-weight: 400;
    height: 100%;
  }
  a:hover {
    color: var(--light-peach);
    background-color: var(--brand-col2-muted);
  }
  a.active-link {
    color: var(--lemon-chiffon);
    background-color: var(--brand-col2);
  }
}

#hamburger {
  position: absolute;
  top: 0;
  right: 0;
  width: 65px;
  height: 100%;
  padding: 0 1rem;
  fill: var(--brand-col2);
  display: none;
  place-content: center;
  z-index: 500;
  @media (max-width: 500px) {
    display: grid;
  }
}

.special-li {
  display: none;
  justify-content: end;
}

#close-menu {
  width: 65px;
  height: 75px;
  fill: var(--brand-col2);
  display: grid;
  place-content: center;
}

main {
  grid-area: main;
  padding-bottom: 100px;
  overflow: hidden;
}

footer {
  grid-area: footer;
  padding: 4rem 2rem;
  background: var(--brand-col3);
}

.copywrite {
  margin: auto;
  padding-bottom: 50px;
  max-width: 500px;
  text-align: center;
  color: var(--brand-col2);
}

.breadcrumb {
  --size: 2rem;
  padding: var(--size);
  color: var(--brand-col3);
  background: var(--bg);
  font-size: var(--size);
  font-weight: 200;
  display: flex;
  justify-content: start;
  gap: calc(var(--size) / 4);
  a {
    color: var(--brand-col2);
    font-weight: 500;
  }
  a:hover {
    color: var(--brand-col3);
    text-decoration: underline;
  }
  @media (max-width: 500px) {
    --size: 1.4rem;
  }
}

.post-content {
  margin-top: 25px;
  padding: 1.5rem;
  /*background: var(--bg);*/
}

.post-content p {
  padding: 1.2rem 0;
}

.spacer {
  margin-top: 90px;
}

/* This is the main div for all post content */
#post-wrapper {
  --offset: 2rem;
  --radius: 1.4rem;

  margin-top: 50px;
  padding: var(--offset);
  > :first-child {
    border-radius: var(--radius) var(--radius) 0 0;
  }
  > :last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }
  @media (max-width: 500px) {
    --offset: 1rem;
  }
}

/* ################################################### */
/* ######## Hero and Feature Top of each page ######## */
/* ################################################### */

section.hero {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  img {
    width: 100%;
    object-fit: cover;
    object-position: center top;
  }
  @media (max-width: 800px) {
    aspect-ratio: 16 / 9;
  }
  @media (max-width: 500px) {
    aspect-ratio: 5 / 4;
  }
}

section.feature {
  position: relative;
  img {
    width: 100%;
    aspect-ratio: 21 / 9;
  }
}

.title-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  h1 {
    --size: clamp(1.4rem, 1.5vw + 1rem, 3.8rem);
    width: 100%;
    padding: var(--size);
    color: var(--brand-col2);
    background: rgba(255 255 255 / 0.7);
    font-size: var(--size);
    text-align: center;
  }
}

.feature-block h3 {
  margin-top: 25px;
  padding: 8px;
  text-align: center;
  color: yellow;
}

.feature-block p {
  margin-top: 20px;
}

.feature-block ul {
  margin-top: 20px;
  padding: 1em;
  border: 2px solid var(--brand-col1);
}

.feature-block ul li a {
  color: var(--brand-col2);
  padding: 6px;
  font-weight: 400;
}

.boxed {
  display: grid;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

.content-section {
  margin: 35px auto;
  padding: 2rem;
  padding-bottom: 75px;
  width: 100%;
  max-width: 1200px;
}

.content-section h2 {
  margin: 15px 0 30px;
  font-size: clamp(2.4rem, 3.6vw + 1rem, 4.6rem);
  color: var(--brand-col3);
}

.content-section h3 {
  margin: 15px 0 30px;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
  color: var(--lemon-chiffon);
  text-align: center;
}

.content-section p {
  padding: 2rem 3rem;
  font-size: 2rem;
  line-height: 1.8;
  font-weight: 400;
}

.content-section ul {
  margin: 25px 0 50px;
  padding-left: 10rem;
  font-family: "Caveat", cursive;
  font-size: 2.8rem;
}

.content-section ul li {
  padding: 10px 0;
  color: var(--light-peach);
  list-style-type: square;
}

body .unboxed {
  color: var(--brand-col1);
  background: #eee;
  max-width: none;
}

body .unboxed ul li {
  color: var(--brand-col);
}

.split-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  /* place-items: center; */
}

.split-two p {
  padding: 2.5rem;
  color: var(--lemon-chiffon);
  font-size: 2.2rem;
  text-align: justify;
  text-justify: inter-word;
}

.split-two strong {
  padding: 0;
  font-size: 4rem;
  color: var(--light-peach);
}

.split-two strong::before {
  content: "❝";
  margin-right: 4px;
}

.split-two strong::after {
  content: "❞";
  margin-left: 4px;
}

article.modcell {
  gap: 2px;
  cursor: pointer;
}

[data-block="text-block"] {
  padding: var(--block-padding);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.2rem;
  p {
    margin-bottom: 1.8rem;
  }
  a {
    color: var(--brand-col3);
    text-decoration: underline;
  }
  @media (max-width: 500px) {
    --block-padding: 1rem 1.4rem;
  }
}

[data-block="img-block"] {
  padding: var(--block-padding);
  background: var(--bg-dark);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1em;
  @media (max-width: 500px) {
    --block-padding: 1rem 1.4rem;
  }
}

[data-block="img-block"].contain-img .block-container {
  border: none;
  height: auto;
  max-height: 500px;
}

[data-block="img-block"].contain-img img {
  object-fit: contain;
}

[data-block="tags-block"] {
  padding: var(--block-padding);
  background: var(--bg-light);
  display: flex;
  flex-wrap: wrap;
  white-space: normal;
  word-break: keep-all;
  gap: 6px;
  @media (max-width: 500px) {
    --block-padding: 1rem 1.4rem;
  }
  a {
    display: block;
    padding: 6px 15px 10px;
    color: var(--text);
    background: var(--pale-mint);
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 500;
    transition: scale 0.3s ease;
  }
  a:nth-child(odd) {
    background: #fde2e4; /* pastel pink */
    color: #7a2e33; /* deep rose */
  }
  a:nth-child(even) {
    background: #e2f0cb; /* pastel green */
    color: #3a5f2a; /* forest green */
  }
  a:nth-child(3n) {
    background: #cde7f0; /* pastel blue */
    color: #1f4d63; /* deep teal */
  }
  a:nth-child(4n) {
    background: #f9e5c9; /* pastel peach */
    color: #7a4b1f; /* warm brown */
  }
  a:nth-child(5n) {
    background: #e8dff5; /* pastel lavender */
    color: #4d3a6b; /* deep purple */
  }
  a:hover {
    border: 2px solid var(--brand-col2);
    scale: 1.2;
    z-index: 10;
  }
}

.block-container {
  border: 3px solid;
  border-radius: 8px;
  overflow: hidden;
}

.block-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.contact-wrapper {
  margin: 50px auto 0;
  padding: 3.6rem;
  background: var(--bg);
  border-radius: 1.4rem;
  max-width: 650px;
  text-align: center;
  h1 {
    margin-bottom: 50px;
    font-size: 3rem;
    color: var(--brand-col2);
  }
  a {
    padding: 10px 20px;
    color: var(--text);
    font-size: 2.4rem;
  }
  a:hover {
    color: var(--text-muted);
    text-decoration: underline;
  }
}

.mod {
  position: relative;
  /* outline: 3px dotted yellow; */
  background: white;
  cursor: text;
  caret-color: var(--brand-col2);
  z-index: 10;
}

.popup {
  position: absolute;
  background: #fff;
  padding: 8px;
  display: flex;
  gap: 6px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.popup.hidden {
  display: none;
}

.popup button {
  font-size: 1.6rem;
  padding: 6px 8px;
  cursor: pointer;
  box-shadow: none;
  border: none;
  background: transparent;
}

.cat-title {
  position: relative;
  margin: 20px 0;
  text-align: center;
  color: var(--brand-col3);
  font-family: "Caveat", cursive;
  font-size: clamp(3.4rem, 4.6vw + 1rem, 6rem);
  display: inline-block;
  z-index: 1;
}

.cat-title::before {
  position: absolute;
  content: "";
  top: 57%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-col1);
  z-index: -1;
  transform: translateY(-50%);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.grid-item {
  position: relative;
  border-radius: 1rem;
  transition: transform 0.3s ease;
  transform-origin: center;
  overflow: clip;
  &:hover {
    transform: scale(1.08);
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
  }
  h2 {
    position: absolute;
    inset: 0;
    padding: 1rem;
    color: var(--text-light);
    background: var(--overlay-dark);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    @media (max-width: 1200px) {
      inset: auto;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 0.6rem;
      font-size: 1.8rem;
      opacity: 1;
    }
  }
  &:hover h2 {
    opacity: 1;
  }
}

.product-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.product-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.product-item img {
  aspect-ratio: 4/3;
}

.product-item h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 3px;
  color: #ffffff;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
}

/* ####################################### */
/* ####################################### */

.category-block {
  padding: 0;
  display: flex;
  justify-content: end;
}

.dropdown {
  position: relative;
  min-width: 200px;
  display: inline-block;
  font-family: inherit;
  text-align: center;
}

.dropdown-toggle {
  color: var(--mint-cream);
  background: var(--brand-col2);
  padding: 10px 14px;
  border: 1px solid var(--mint-cream);
  cursor: pointer;
  border-radius: 6px;
  transition: scale 0.3s ease;
}

.dropdown-toggle:hover {
  background: var(--brand-col2-muted);
  scale: 1.05;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #eeeeee;
  border: 1px solid #ccc;
  margin-top: 4px;
  min-width: 200px;
  z-index: 1000;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  text-align: left;
  color: var(--brand-col2);
}

.dropdown-item:hover {
  color: #eeeeee;
  background-color: var(--brand-col2);
}

.dropdown-item.selected {
  color: #eeeeee;
  background-color: var(--brand-col2);
}

.dialog-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  padding: 20px;
  color: white;
  background-color: var(--brand-col2);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  touch-action: pan-y;
}

.dialog-box.show {
  opacity: 1;
}

.dialog-box button {
  display: inline-block;
  margin: 20px 8px 10px;
  color: white;
  background-color: var(--brand-col3);
}

#global-search-button {
  position: fixed;
  bottom: 40px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  fill: white;
  border-radius: 8px;
  display: grid;
  place-content: center;
  pointer-events: all;
  cursor: pointer;
  z-index: 5100;
}

.full-screen-container {
  position: fixed;
  inset: 0;
  /* padding: 50px; */
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: pointer;
}

.search-box-wrapper {
  padding: 75px 35px;
  width: 100%;
  background: #222222;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  cursor: default;
}

#searchInput {
  padding: 10px 25px;
  width: 100%;
  font-size: 2.4rem;
}

#searchBtn {
  padding: 10px 25px;
  font-size: 2.4rem;
  color: white;
  background: var(--brand-col3);
  border-radius: 8px;
  cursor: pointer;
}

#searchBtn svg {
  pointer-events: none;
}

.search-result {
  margin-bottom: 10px;
  height: 120px;
  color: black;
  background: #ccc;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
}

.search-result img {
  padding: 7px;
}

.search-content {
  padding: 8px 18px;
}

input.error {
  border: 2px solid red;
  color: red; /* text color */
}
::placeholder {
  color: gray; /* default placeholder color */
}
input.error::placeholder {
  color: red; /* placeholder color when error */
}

/* --------------------------------------- */
/* ---- Video Block Styles (Lazy Load) --- */
/* --------------------------------------- */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.video-wrapper img.thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.video-wrapper:hover img.thumb {
  opacity: 1;
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background-color: rgba(33, 33, 33, 0.8);
  border-radius: 12px;
  z-index: 10;
  transition: background-color 0.2s;
}

.play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
}

.video-wrapper:hover .play-button {
  background-color: #f00;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------- */
/* ---------- RESPONSIVE STYLES ---------- */
/* --------------------------------------- */

@media (max-width: 768px) {
  body {
    grid-template-columns: 1fr;
  }

  aside {
    position: fixed;
    width: 300px;
    display: none;
  }

  .show {
    display: block;
  }

  .content-section h2 {
    margin: 20px 0 10px;
  }

  .content-section ul {
    margin: 15px 0 35px;
    padding-left: 7rem;
    font-size: 2.6rem;
  }

  .content-section ul li {
    padding: 8px 0;
  }
}

@media (max-width: 500px) {
  .main-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--brand-col3);
    border-left: 1px solid var(--brand-col2);
    transition: right 300ms ease-out;
    pointer-events: none;
    overflow: hidden;
    z-index: 1000;
  }

  .main-menu.show {
    right: 0;
    pointer-events: all;
  }

  .special-li {
    display: flex;
  }

  .split-two {
    grid-template-columns: 1fr;
  }

  .split-two p {
    padding: 1rem;
    font-size: 1.8rem;
  }

  .split-two strong {
    font-size: 3rem;
  }

  .spacer {
    margin-top: 25px;
  }

  .content-section {
    margin: 35px auto;
    padding: 1rem;
    padding-bottom: 50px;
  }

  .content-section h2 {
    margin: 20px 0 10px;
  }

  .content-section p {
    padding: 2rem;
    font-size: 2rem;
    line-height: 1.8;
    font-weight: 200;
  }

  .content-section ul {
    margin: 15px 0 25px;
    padding-left: 3.6rem;
    font-size: 2.2rem;
  }

  .content-section ul li {
    padding: 6px 0;
  }

  .search-box-wrapper {
    padding: 50px 20px;
    display: block;
  }

  #searchInput {
    padding: 8px 15px;
    font-size: 2rem;
  }

  #searchBtn {
    margin-top: 20px;
    padding: 8px 15px;
    font-size: 2rem;
    text-align: center;
  }
}

/*  NEW ATTEMPT AT FULL SCREEN SLIDESHOW  */

/* Fullscreen Overlay */
#fs-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.4s ease;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#fs-overlay.active {
  opacity: 1;
}

.fs-img-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.fs-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.fs-img-wrapper img.show {
  opacity: 1;
}

.fs-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s;
  z-index: 1001;
  pointer-events: auto;
}

.fs-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.close-btn {
  top: 20px;
  right: 20px;
}
.prev-btn {
  left: 20px;
}
.next-btn {
  right: 20px;
}
.play-btn {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

/* Mobile optimization: hide arrows if you prefer users to only swipe */
@media (max-width: 768px) {
  .prev-btn,
  .next-btn {
    display: none;
  }
}
