body {
  width: 100vw;
  overflow-x: hidden;
  cursor: url('/assets/images/13116.png');
  margin: 0;
  font-family: 'Times New Roman', Times, serif;
  min-height: 100vh;
}

.content {
  display: grid;
  grid-template-columns: 1fr 350px;
  grid-template-rows: auto 1fr; /* Ensure the rows take auto height based on content */
  grid-gap: 25px;
  height: auto;  /* Allow the height to adjust based on content */
  margin: 0;
}

header {
  grid-column: 1;  /* Span across both columns */
  background-color: #fff;
  margin-bottom: 0;
  padding: 30px;
  height: auto; /* Let it take its natural height */
}

.main-content {
  grid-column: 1;  /* Align it directly under the header in the first column */
  grid-row: 2; /* Ensure it starts directly after the header */
  padding: 30px;
  height: auto; /* Allow it to adjust based on content */
  margin-top: 0;
}

.sidebar {
  grid-column: 2;  /* Align it to the second column */
  grid-row: 1 / span 2; /* Stretch the sidebar across both rows */
  background-color: #fff;
  padding: 20px;
  height: auto;
}

footer {
  grid-column: 1 / span 2;  /* Footer spans across both columns */
  grid-row: 3;
  background-color: #fff;
  padding: 20px;
  text-align: center;
}



ul, li {
  list-style-type: none;
  list-style-position: inside;
  margin: 0;
  padding: 0;
}

.sidebar h3 {
  font-size: 30px;
  font-style: italic;
  font-weight: normal;
  text-align: center;
  margin-bottom: 30px;
  animation: float 4s ease-in-out infinite;
}

.sidebar-header-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* Sidebar adjustments */
.sidebar-box {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #000;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
}

.sidebar-box a {
    color: #000;
}

.sidebar-extra-images {
  margin-top: 30px; /* separates block from text above */
}

.sidebar-item {
  margin-bottom: 20px;
  background: #fff;       /* optional, matches your other box */
}

.sidebar-item img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sidebar-caption {
  margin-top: 10px;
  color: #000000;
}

.sidebar-item a {
  color: #000000;
}

.sidebar-item a:hover {
  color: #000000;
}

.sidebar-item a:visited {
  color: #000000;
}


ul a {
    color: #000;
}

p {
  font-size: 16px;
}

h2 {
  font-size: 14px;
  font-weight: normal;
}

h3 {
  font-size: 22px;
  font-weight: bold;
}


header li {
  display: inline;
}


.header h1 {
  margin: 0;
}

.nav-row {
  color: #000;
  margin-bottom: 12px;
}

.nav-row a {
  color: #000;
  font-size: 16px;
  margin-right: 20px;
  text-decoration: none;
}

.nav-row a:hover {
  text-decoration: underline;
}

.content {
  grid-column: 1 / span 1;
}

.bio-text {
    font-style: italic;
}

.solid {
  border-top: 1px solid #000;
  margin-bottom: 12px;
  margin-top: 12px;
}

.article-divider {
  border-top: 1px solid #000;
  margin-bottom: 30px;
  margin-top: 30px;
}

.pagination a {
  margin: 0 5px;
  text-decoration: none;
  color: #000;
  font-size: 16px;
}

.pagination a.active {
  font-weight: bold;
  text-decoration: underline;
}

.header-active {
    text-decoration: underline;
}

.nav-row {
  color: #000;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-row a {
  color: #000;
  font-size: 16px;
  margin-right: 20px;
  text-decoration: none;
}

.nav-row a:hover {
  color: #000;
  font-size: 16px;
  margin-right: 20px;
  text-decoration: underline;
}

.right-text {
  margin-left: auto;
  font-size: 16px;
  color: #000;
}

.star {
  color: #FF59AA;
  text-shadow: rgb(237, 216, 129) 1px 0 3px;
}


footer p {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 25px;
  line-height: 1em;
  background-color: #b0b0b0;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 1px 2px 1px rgba(255, 255, 255, 0.5);
  text-align: center;
  transform: rotate(-4deg);
  margin-bottom: 80px;
}

article p {
  max-width: 100%;
}

article a {
  color: #000;
}

figure {
    margin-right: 0px;
    margin-left: 0px;
}

figure img {
    max-width: 50%;
}

/* General image handling for all categories */
article .article-image,
.review-image img {
  display: block; /* Prevent inline gaps */
  max-width: 400px;  /* Ensure images do not overflow the container */
  width: auto;      /* Maintain natural width */
  height: auto;     /* Maintain natural height */
  margin: 0 auto;   /* Center the image horizontally */
}

/* For the review category: Display images in a 2-row grid */
.review-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 20px;
  margin-top: 30px;
}

.review-image {
  display: flex;          /* Flexbox for centering the image */
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Center vertically if necessary */
}

/* Ensure article uses block layout */
article {
  display: block; /* Make the article a block-level element */
  padding-bottom: 20px;
}

/* Ensure images are centered in their container */
article .article-image {
  display: flex;
  justify-content: center; /* Centers the image */
  align-items: center;
  width: 100%; /* Ensure full width */
  text-align: center; /* Fallback for centering */
}

/* Reset margin and padding for images */
article p img,
article .article-image img {
  margin-left: 0;  /* Reset any left margin */
  margin-right: 0; /* Reset any right margin */
  margin-top: 0;   /* Reset any top margin */
  margin-bottom: 0; /* Reset any bottom margin */
  display: block;  /* Prevent inline display issues */
  width: 100%;     /* Ensure images take full width within container */
  max-width: 400px; /* Limit image size */
  height: auto;    /* Maintain aspect ratio */
  margin: 0 auto;  /* Center the image */
}

.active a {
    text-decoration: underline;
}

.mobile-wrapper {
    width: 100vw;
    overflow-x: hidden;
}

    .product-card {
      font-family: Times New Roman;
      width: 150px;
      margin: 0px 0 0px 0px;
      text-align: center;
    }

    .product-image {
      width: 100%;
      height: auto;
    }

    .text-group {
      display: inline-block; /* keeps text together */
    }

    .sold-out, .product-name, .price {
      margin: 5px 0;
    }

    .sold-out {
      color: red;
      font-weight: bold;
      margin-top: 10px;
    }

    .product-name {
      font-style: italic;
    }

    /* Hovering over the text group underlines ALL the text */
    .text-group:hover .sold-out,
    .text-group:hover .product-name,
    .text-group:hover .price {
      text-decoration: underline;
    }
    
    .pagination a {
  text-decoration: none; /* optional: removes underline by default */s
}

.pagination a:hover {
  text-decoration: underline;
}

/* Show/Hide */
@media (max-width: 880px) {
  .hide-from-mobile {
    display: none;
  }
}

@media (min-width: 880px) {
  .hide-from-desktop {
    display: none;
  }
}
/* Show/Hide */

@media (max-width: 880px) {
  .sidebar {
    display: none;
  }

  /* Make the main-content span the full width */
  .main-content {
    grid-column: 1 / span 2; /* Ensure it spans the entire width */
    padding: 10px; /* Adjust padding if needed */
  }

  /* Update body layout for full-width content */
  body {
    grid-template-columns: 1fr; /* Single column layout */
  }

  .nav-row a {
    font-size: 17px;
  }

  .right-text {
    font-size: 17px;
  }

  p {
    font-size: 17px;
  }

  header {
    grid-column: 1 / span 2;
    grid-row: 1;
    background-color: #fff;
    padding: 10px;
  }

  .pagination a {
    font-size: 17px;
  }

  article .article-image,
.review-image img {
  display: block; /* Prevent inline gaps */
  max-width: 100%;  /* Ensure images do not overflow the container */
  width: auto;      /* Maintain natural width */
  height: auto;     /* Maintain natural height */
  margin: 0 auto;   /* Center the image horizontally */
}

figure img {
    max-width: 100%;
}

footer p {
  font-size: 20px;
  margin-bottom: 60px;
  margin-left: -0px;
}

  video {
    width: 100%;
    height: auto;
  }
  
  .main-content li {
      margin-bottom: 15px;
  }
}


@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}
