/** Shopify CDN: Minification failed

Line 881:16 Expected identifier but found whitespace
Line 881:18 Unexpected "{"
Line 881:28 Expected ":"
Line 881:46 Expected ":"
Line 883:13 Expected identifier but found whitespace
Line 883:15 Unexpected "{"
Line 883:25 Expected ":"
Line 887:18 Expected identifier but found whitespace
Line 887:20 Unexpected "{"
Line 887:30 Expected ":"
... and 13 more hidden warnings

**/
/* ========================================
   Two-Column Layout for Article Template
   ======================================== */

.article-two-column-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

@media screen and (max-width: 989px) {
  .article-two-column-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .article-sidebar {
    order: 2;
  }
  
  .article-main-content {
    order: 1;
  }
}

/* ========================================
   Breadcrumb Navigation
   ======================================== */

.article-breadcrumb {
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.article-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.article-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-breadcrumb__link {
  font-size: 14px;
  color: rgb(0, 165, 94);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumb__link:hover {
  color: rgb(0, 165, 94);
  text-decoration: underline;
}

.article-breadcrumb__separator {
  font-size: 14px;
  color: rgba(var(--color-foreground), 0.4);
  user-select: none;
}

.article-breadcrumb__current {
  font-size: 14px;
  color: rgba(var(--color-foreground), 0.6);
  font-weight: 500;
}

.article-breadcrumb__item--active {
  pointer-events: none;
}

@media screen and (max-width: 750px) {
  .article-breadcrumb {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  
  .article-breadcrumb__list {
    gap: 6px;
  }
  
  .article-breadcrumb__link,
  .article-breadcrumb__separator,
  .article-breadcrumb__current {
    font-size: 13px;
  }
}

/* ========================================
   Sidebar Styles
   ======================================== */

.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media screen and (max-width: 989px) {
  .article-sidebar {
    position: static;
  }
}

/* Table of Contents */
.article-toc {
  background-color: rgb(var(--color-background));
  border: 1px solid rgba(var(--color-foreground), 0.1);
  border-radius: 12px;
  padding: 24px;
}

.article-toc__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: rgb(var(--color-foreground));
}

.article-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc__item {
  margin-bottom: 12px;
}

.article-toc__item--h3 {
  padding-left: 16px;
}

.article-toc__link {
  color: rgba(var(--color-foreground), 0.75);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  display: block;
  transition: color 0.2s ease;
}

.article-toc__link:hover {
  color: rgb(var(--color-foreground));
}

/* Related Products */
.article-related-products {
  background-color: rgb(var(--color-background));
  border: 1px solid rgba(var(--color-foreground), 0.1);
  border-radius: 12px;
  padding: 24px;
}

.article-related-products__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: rgb(var(--color-foreground));
}

.article-related-products__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.article-product-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px;
}

.article-product-card__info h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: rgb(var(--color-foreground));
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-product-card__price {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: rgb(var(--color-foreground));
}

.article-product-card__reviews {
  font-size: 13px;
  color: rgba(var(--color-foreground), 0.6);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Related Articles by Tag */
.article-related-articles {
  background-color: rgb(var(--color-background));
  border: 1px solid rgba(var(--color-foreground), 0.1);
  border-radius: 12px;
  padding: 24px;
}

.article-related-articles__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: rgb(var(--color-foreground));
}

.article-related-articles__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-related-article-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-related-article-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-related-article-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.article-related-article-item__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px;
}

.article-related-article-item__content h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: rgb(var(--color-foreground));
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-related-article-item__date {
  font-size: 12px;
  color: rgba(var(--color-foreground), 0.6);
}

.article-related-articles__empty {
  font-size: 14px;
  color: rgba(var(--color-foreground), 0.6);
  text-align: center;
  padding: 20px;
  margin: 0;
}

/* ========================================
   Main Content Area
   ======================================== */

.article-main-content {
  min-width: 0;
}

.article-header {
  margin-bottom: 24px;
}

.article-template__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: capitalize;
  margin: 0 0 16px 0;
  color: rgb(var(--color-foreground));
}

@media screen and (min-width: 750px) {
  .article-template__title {
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 24px;
  }
}

/* Article Meta Information */
.article-meta__date,
.article-author-inline__name {
  font-size: 14px;
  font-weight: 500;
  color: rgba(var(--color-foreground), 0.75);
}

.tw-article-tag {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  padding: 8px 16px;
  border-radius: 64px;
  background-color: #E7F9F0;
  color: #004F32;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background-color 0.2s ease;
}

.tw-article-tag:hover {
  background-color: #D0F5E5;
}

.article-tag-count {
  opacity: 0.7;
  font-size: 13px;
}

.article-author-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-author-inline__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* Share Buttons */
.article-share-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--color-foreground), 0.1);
}

.article-share-buttons--bottom {
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 24px;
  background-color: rgba(var(--color-foreground), 0.03);
  border-radius: 12px;
  border-top: none;
}

@media screen and (max-width: 750px) {
  .article-share-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .article-share-buttons--bottom {
    padding: 20px 16px;
    margin-top: 32px;
    margin-bottom: 32px;
  }
}

.article-share-buttons__label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(var(--color-foreground), 0.75);
}

.article-share-buttons--bottom .article-share-buttons__label {
  font-size: 16px;
  font-weight: 600;
}

.article-share-buttons__icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  background-color: transparent;
  color: rgb(var(--color-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.share-btn:hover {
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  border-color: rgb(var(--color-foreground));
}

.share-btn svg {
  width: 20px;
  height: 20px;
}

/* Featured Image */
.article-template__hero-container,
.article-template__hero-container img {
  border-radius: 16px;
  overflow: hidden;
}

@media screen and (min-width: 750px) {
  .article-template__hero-container,
  .article-template__hero-container img {
    border-radius: 24px;
  }
}

.article-template__hero-container {
  margin: 32px 0;
}

.article-template__hero-small {
  height: 11rem;
}

.article-template__hero-medium {
  height: 22rem;
}

.article-template__hero-large {
  height: 33rem;
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .article-template__hero-small {
    height: 22rem;
  }

  .article-template__hero-medium {
    height: 44rem;
  }

  .article-template__hero-large {
    height: 66rem;
  }
}

@media screen and (min-width: 990px) {
  .article-template__hero-small {
    height: 27.5rem;
  }

  .article-template__hero-medium {
    height: 55rem;
  }

  .article-template__hero-large {
    height: 82.5rem;
  }
}

/* Article Content */
.article-template__content {
  margin: 32px 0;
}

.article-template__content p {
  font-family: TT Commons Pro, sans-serif;
  font-weight: 450;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0px;
  color: rgb(var(--color-foreground));
  margin-bottom: 1.5rem;
}

.article-template__content h2,
.article-template__content h3,
.article-template__content h4 {
  color: rgb(var(--color-foreground));
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.article-template__content a {
  color: rgb(0, 165, 94);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.article-template__content a:hover {
  opacity: 0.8;
}

.article-template__content hr {
  border: none;
  border-top: 1px solid rgba(var(--color-foreground), 0.15);
  margin: 2.5rem 0;
  height: 0;
}

.article-template__content ul,
.article-template__content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-template__content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.article-template__content li:last-child {
  margin-bottom: 0;
}

.article-template__content ul ul,
.article-template__content ul ol,
.article-template__content ol ul,
.article-template__content ol ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Author Bio Section */
.article-author-bio {
  background-color: rgba(var(--color-foreground), 0.05);
  border-radius: 16px;
  padding: 32px;
  margin: 48px 0;
}

.article-author-bio__container {
  display: flex;
  gap: 24px;
  align-items: start;
}

@media screen and (max-width: 750px) {
  .article-author-bio__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.article-author-bio__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.article-author-bio__content {
  flex: 1;
}

.article-author-bio__name {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: rgb(var(--color-foreground));
}

.article-author-bio__description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(var(--color-foreground), 0.75);
  margin: 0 0 16px 0;
}

.article-author-bio__social {
  display: flex;
  gap: 12px;
}

@media screen and (max-width: 750px) {
  .article-author-bio__social {
    justify-content: center;
  }
}

.article-author-bio__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  background-color: transparent;
  color: rgb(var(--color-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article-author-bio__social-link:hover {
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  border-color: rgb(var(--color-foreground));
}

.article-author-bio__social-link svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   Legacy Styles (keeping for compatibility)
   ======================================== */

.article-template > *:first-child:not(.article-template__hero-container) {
  margin-top: 32px;
}

@media screen and (min-width: 750px) {
  .article-template > *:first-child:not(.article-template__hero-container) {
    /* margin-top: 80px; */
    margin-bottom: 32px;
  }
}

.tw-article_card {
  margin-top: 32px;
}

@media screen and (min-width: 750px) {
  .tw-article_card {
    margin-top: 80px;
  }

  .tw-article-info {
    margin-top: 24px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 750px) {
  .tw-article-info {
    align-items: start;
  }
}
.article-template__hero-container {
  /* max-width: 130rem; */
  margin: 0 auto;
}

.article-template__hero-small {
  height: 11rem;
}

.article-template__hero-medium {
  height: 22rem;
}

.article-template__hero-large {
  height: 33rem;
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .article-template__hero-small {
    height: 22rem;
  }

  .article-template__hero-medium {
    height: 44rem;
  }

  .article-template__hero-large {
    height: 66rem;
  }
}

@media screen and (min-width: 990px) {
  .article-template__hero-small {
    height: 27.5rem;
  }

  .article-template__hero-medium {
    height: 55rem;
  }

  .article-template__hero-large {
    height: 82.5rem;
  }
}

.article-template header {
  margin-bottom: 16px;
  line-height: calc(0.8 / var(--font-body-scale));
}

@media screen and (min-width: 750px) {
  .article-template header {
    margin-top: 0rem;
  }
}

.article-template__title {
  margin: 0;
}

.article-template__title:not(:only-child) {
  margin-bottom: 1rem;
}

.article-template__link {
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.article-template__link .icon-wrap {
  display: flex;
  margin-right: 1rem;
  transform: rotate(180deg);
}

.article-template__content {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.article-template__social-sharing {
  margin-top: 3rem;
}

.article-template__social-sharing + header,
.article-template__social-sharing + .article-template__content {
  margin-top: 1.5rem;
}

.article-template__comment-wrapper {
  margin-top: 5rem;
  padding: 2.7rem 0;
}

@media screen and (min-width: 750px) {
  .article-template__comment-wrapper {
    margin-top: 6rem;
    padding: 3.6rem 0;
  }
}

.article-template__comment-wrapper h2 {
  margin-top: 0;
}

.article-template__comments {
  margin-bottom: 5rem;
}

@media screen and (min-width: 750px) {
  .article-template__comments {
    margin-bottom: 7rem;
  }
}

.article-template__comments-fields {
  margin-bottom: 4rem;
}

.article-template__comments-comment {
  color: rgba(var(--color-foreground), 0.75);
  background-color: rgb(var(--color-background));
  margin-bottom: 1.5rem;
  padding: 2rem 2rem 1.5rem;
}

@media screen and (min-width: 750px) {
  .article-template__comments-comment {
    padding: 2rem 2.5rem;
  }
}

.article-template__comments-comment p {
  margin: 0 0 1rem;
}

.article-template__comment-fields > * {
  margin-bottom: 3rem;
}

@media screen and (min-width: 750px) {
  .article-template__comment-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 4rem;
  }
}

.article-template__comment-warning {
  margin: 2rem 0 2.5rem;
}

@media screen and (min-width: 990px) {
  .article-template__comments .pagination-wrapper {
    margin: 5rem 0 8rem;
  }
}

.article-template__back:last-child {
  margin-bottom: 3.2rem;
}


/* --- Image Carousel --- */
.carousel-container {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: {{ settings.other_radius }}px;
  margin: 2.5rem 0;
  background: {{ settings.sidebar_bg_color }};
  padding: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: {{ settings.accent_color }} {{ settings.sidebar_bg_color }};
}

/* Scrollbar fallback for browsers that don't support scrollbar-color */
.carousel-container::-webkit-scrollbar {
  height: 8px;
}
.carousel-container::-webkit-scrollbar-track {
  background: {{ settings.sidebar_bg_color }};
  border-radius: 4px;
}
.carousel-container::-webkit-scrollbar-thumb {
  background-color: {{ settings.accent_color }};
  border-radius: 4px;
}

/* Fade effect to indicate scrollability */
.carousel-container::before,
.carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  pointer-events: none;
  z-index: 1;
}
.carousel-container::before {
  left: 0;
  background: linear-gradient(to right, {{ settings.sidebar_bg_color }}, transparent);
}
.carousel-container::after {
  right: 0;
  background: linear-gradient(to left, {{ settings.sidebar_bg_color }}, transparent);
}


.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  min-width: min-content; /* Ensure track is wide enough */
}

.carousel-slide {
  flex: 0 0 80%;
  max-width: 400px;
  border-radius: {{ settings.other_radius }}px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  scroll-snap-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* For overlay effects if needed */
}

.carousel-slide:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.carousel-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* --- Responsive adjustments --- */
@media (max-width: 600px) {
  .MainContent h2 {
    font-size: calc({{ settings.fs_h2 }}px * 0.8);
  }

  .carousel-slide {
    flex-basis: 90%;
    height: 250px;
  }
  .carousel-container::before,
  .carousel-container::after {
    width: 25px;
  }
}
