/** Shopify CDN: Minification failed

Line 17:10 Unexpected "{"
Line 17:19 Expected ":"
Line 18:14 Expected identifier but found whitespace
Line 18:16 Unexpected "{"
Line 18:25 Expected ":"
Line 18:76 Expected ":"
Line 19:17 Expected identifier but found whitespace
Line 19:19 Unexpected "{"
Line 19:28 Expected ":"
Line 19:82 Expected ":"
... and 10 more hidden warnings

**/
/* General styles for the section */
.section-{{ section.id }}-padding {
  padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px;
  padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px;
}

@media screen and (min-width: 750px) {
  .section-{{ section.id }}-padding {
    padding-top: {{ section.settings.padding_top }}px;
    padding-bottom: {{ section.settings.padding_bottom }}px;
  }
}

/* Blog Grid Layout */
.blog-articles {
  display: grid;
  grid-template-columns: 1fr; /* Default for small screens, 1 card per row */
  gap: 1rem; /* Default gap between cards */
  justify-items: center; /* Center the cards by default */
}

.blog-articles .card-wrapper {
  width: 100%;
}

/* For screens above 1000px (2 cards per row, fill left to right) */
@media screen and (min-width: 1000px) {
  .blog-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    column-gap: var(--grid-desktop-horizontal-spacing); /* Horizontal spacing between cards */
    row-gap: var(--grid-desktop-vertical-spacing); /* Vertical spacing between cards */
    justify-items: center; /* Center the cards */
  }

  /* Ensure each card takes up full width of its assigned column */
  .blog-card {
    width: 100%; /* Cards will span full width of the grid column */
    grid-column: span 1; /* Each card spans 1 column */
    display: block; /* Make sure each card is block-level for full width */
  }

  /* Center the title in the blog card */
  .title--primary {
    width: 100%; /* Title takes full width of the parent */
    max-width: 1000px; /* Optional: Set a max width to match the cards */
    margin: 0 auto 1.5rem; /* Center the title */
    text-align: center; /* Align title text to the center */
  }

  /* Align the main blog container to the center */
  .main-blog {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center all content */
    text-align: center; /* Center text */
    width: 100%;
    max-width: 1000px; /* Prevent title from being too wide */
    margin: 0 auto; /* Center the container */
  }
}

/* Title Styles */
h1 {
  color: #000000;
  background-color: rgba(0, 0, 0, 0);
  font-family: 'Chivo', sans-serif;
  font-size: 24px;
  line-height: 60px;
  letter-spacing: 0.766667px;
  word-spacing: 0px;
  margin: 0;
  padding: 0;
  font-weight: 700;
  text-align: center; /* Align the title to the center */
  text-decoration: none;
}

/* Blog Card Styles */
.blog-card {
  width: 100%;
  max-width: 400px; /* Adjust the card width as needed */
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.blog-card__image img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Ensures the image scales correctly */
}

.blog-card__content {
  padding: 1rem;
}

.blog-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0.5rem 0;
}

.blog-card__description {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
}

/* Make the link for blog card clickable */
.blog-card-link {
  text-decoration: none;
  display: block;
}

.blog-card-link:hover {
  text-decoration: none;
}

/* For screens under 1000px (1 card per row, centered) */
@media screen and (max-width: 999px) {
  .blog-articles {
    grid-template-columns: 1fr; /* One card per row */
    column-gap: 0;
    row-gap: 1.5rem; /* Adjust spacing between rows */
    justify-items: center; /* Center the cards */
  }

  .blog-card {
    width: 90%; /* Makes the card take up 80% of the screen width (from 10% to 90%) */
    max-width: 1000px; /* Optional: Set a max width if needed */
    margin: 0 auto; /* Center the card horizontally */
  }

  /* Title centered for small screens */
  .title--primary {
    width: 80%; /* Title width matching card width */
    max-width: 1000px;
    margin: 0 auto; /* Center the title */
    text-align: center; /* Center title text for smaller screens */
  }

  .main-blog {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content */
    text-align: center; /* Center text for smaller screens */
  }
}

/* Truncate the blog description to ~250 characters visually */
.blog-card__description {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* Limits the text to 5 lines (approximately 250 characters) */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* Add ellipsis at the end to indicate truncation */
}

/* For screens above 1600px (3 cards per row, centered) */
@media screen and (min-width: 1600px) {
  .blog-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    column-gap: var(--grid-desktop-horizontal-spacing); /* Horizontal spacing between cards */
    row-gap: var(--grid-desktop-vertical-spacing); /* Vertical spacing between cards */
    justify-items: center; /* Center the cards */
  }

  /* Ensure each card takes up full width of its assigned column */
  .blog-card {
    width: 100%; /* Cards will span full width of the grid column */
    grid-column: span 1; /* Each card spans 1 column */
    display: block; /* Make sure each card is block-level for full width */
  }

  /* Center the title */
  .title--primary {
    width: 100%; /* Match the width of the grid */
    max-width: 1600px; /* Optional: Set a max width to match the cards */
    margin: 0 auto 1.5rem; /* Center the title */
    text-align: center; /* Align title text to the center */
    grid-column: span 3; /* Make sure it spans the width of the three cards */
  }

  /* Align the main blog container to the center */
  .main-blog {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center all content */
    text-align: center; /* Center text */
    width: 100%;
    max-width: 1600px; /* Prevent title from being too wide */
    margin: 0 auto; /* Center the container */
  }
}

.pagination {
  font-family: 'Chivo', sans-serif;
  display: flex; /* Ensures elements are in a row */
  justify-content: center; /* Centers pagination */
  align-items: center; /* Aligns items vertically */
  list-style: none; /* Removes default list styles */
  padding: 0;
  margin: 20px 0; /* Adds space above and below pagination */
}

.pagination li {
  margin: 0 5px; /* Spaces out pagination items */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Style for pagination links */
.pagination a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  display: flex; /* Ensures links align properly */
  align-items: center;
  justify-content: center;
}

/* Hover effect */
.pagination a:hover {
  background-color: #f0f0f0;
  color: #333;
}

/* Active pagination style */
.pagination .active a {
  background-color: #000;
  color: #fff;
}

/* Ensure alignment on small screens */
@media screen and (max-width: 600px) {
  .pagination {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
  }
}


