/** Shopify CDN: Minification failed

Line 38:0 All "@import" rules must come first

**/
/* Place any CSS overrides in this file. */
.image-with-text-overlay-wrapper--textPosition-left .homepage-featured-content-box {
  padding-top: 50px;
}

/* Blog updates: 561 Media MLW 8/29/2023 */
.article__featured-image-wrap,
.article--image-wrapper {
  /* margin: 0 auto; */
  max-width: 75%;
}

.template-article .article--image-wrapper {
  margin: 0 auto;
}

.template-article article img {
  width: inherit;
}

@media only screen and (max-width : 480px) {
  .article__featured-image-wrap,
  .article--image-wrapper {
    max-width: 100%;
  }
}

/* ========================================
   HALO42 BLOG — CUSTOM REDESIGN STYLES
   Flow Theme Compatible
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- Design Tokens ---------- */
.halo-blog-page {
  --halo-ivory: #FAF8F5;
  --halo-cream: #F5F0EA;
  --halo-warm-gray: #6B6560;
  --halo-dark: #2C2824;
  --halo-gold: #C4A265;
  --halo-gold-light: #D4B87A;
  --halo-sage: #8B9E8B;
  --halo-white: #FFFFFF;
  --halo-font-serif: 'Playfair Display', 'Georgia', serif;
  --halo-font-sans: 'Inter', 'Helvetica Neue', sans-serif;
  font-family: var(--halo-font-sans);
  color: var(--halo-dark);
  background-color: var(--halo-ivory);
}

/* ==========================================
   FILTER BAR
   ========================================== */
.halo-blog-filter-bar {
  background-color: var(--halo-ivory);
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.halo-blog-filter-list {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
  flex-wrap: wrap; /* Allows wrapping to a second line on desktop */
  justify-content: center; /* Centers all the pills nicely */
}

.halo-blog-filter-item a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 30px;
  text-decoration: none;
  color: var(--halo-warm-gray);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.halo-blog-filter-item a:hover,
.halo-blog-filter-item a.active {
  background-color: var(--halo-gold);
  border-color: var(--halo-gold);
  color: var(--halo-white);
}

/* On mobile, keep it as a single scrolling row */
@media (max-width: 768px) {
  .halo-blog-filter-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }
  
  .halo-blog-filter-list::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
  }
}


/* ==========================================
   ARTICLE GRID
   ========================================== */
.halo-blog-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.halo-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

/* ==========================================
   ARTICLE CARDS
   ========================================== */
.halo-blog-card {
  background: var(--halo-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(44,40,36,0.06);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex;
  flex-direction: column;
}

.halo-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(44,40,36,0.12);
}

/* -- Featured Card (spans full width) -- */
.halo-blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: 16px;
  min-height: 380px;
}

.halo-blog-card--featured .halo-blog-card__image-wrapper {
  aspect-ratio: auto;
  height: 100%;
}

.halo-blog-card--featured .halo-blog-card__body {
  padding: 36px 40px;
  justify-content: center;
}

.halo-blog-card--featured .halo-blog-card__title {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.halo-blog-card--featured .halo-blog-card__excerpt {
  font-size: 1rem;
  line-height: 1.7;
}

.halo-blog-card__badge {
  display: inline-block;
  font-family: var(--halo-font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--halo-gold);
  border: 1px solid var(--halo-gold);
  border-radius: 4px;
  padding: 4px 12px;
  margin-bottom: 16px;
  width: fit-content;
}

/* -- Card Image -- */
.halo-blog-card__image-link { display: block; text-decoration: none; }

.halo-blog-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.halo-blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.halo-blog-card:hover .halo-blog-card__image {
  transform: scale(1.05);
}

.halo-blog-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(44,40,36,0.15) 100%);
  pointer-events: none;
}

.halo-blog-card__no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--halo-cream);
  color: var(--halo-warm-gray);
  font-family: var(--halo-font-serif);
  font-size: 1rem;
  font-style: italic;
}

/* -- Card Body -- */
.halo-blog-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.halo-blog-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--halo-warm-gray);
  margin-bottom: 12px;
}

.halo-blog-card__divider { color: var(--halo-gold); font-size: 1rem; }
.halo-blog-card__tag { color: var(--halo-gold); }
.halo-blog-card__read-time { color: var(--halo-sage); }

.halo-blog-card__title {
  font-family: var(--halo-font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--halo-dark);
}

.halo-blog-card__title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.halo-blog-card__title a:hover { color: var(--halo-gold); }

.halo-blog-card__excerpt {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--halo-warm-gray);
  margin: 0 0 auto;
  padding-bottom: 16px;
}

.halo-blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--halo-gold);
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
  margin-top: auto;
}

.halo-blog-card__read-more:hover { gap: 14px; color: var(--halo-gold-light); }
.halo-blog-card__read-more svg { transition: transform 0.3s ease; }
.halo-blog-card__read-more:hover svg { transform: translateX(4px); }

/* ==========================================
   NEWSLETTER SIGNUP (inline in grid)
   ========================================== */
.halo-blog-newsletter {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--halo-dark) 0%, #3A3530 100%);
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.halo-blog-newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,162,101,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.halo-blog-newsletter__inner { position: relative; z-index: 1; max-width: 500px; margin: 0 auto; }

.halo-blog-newsletter__title {
  font-family: var(--halo-font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--halo-white);
  margin: 0 0 12px;
}

.halo-blog-newsletter__text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0 0 28px;
}

.halo-blog-newsletter__form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(196,162,101,0.3);
}

.halo-blog-newsletter__input {
  flex: 1;
  padding: 14px 24px;
  background: rgba(255,255,255,0.08);
  border: none;
  outline: none;
  font-family: var(--halo-font-sans);
  font-size: 0.9rem;
  color: var(--halo-white);
}

.halo-blog-newsletter__input::placeholder { color: rgba(255,255,255,0.4); }

.halo-blog-newsletter__btn {
  padding: 14px 28px;
  background: var(--halo-gold);
  border: none;
  font-family: var(--halo-font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--halo-white);
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.halo-blog-newsletter__btn:hover { background: var(--halo-gold-light); }

/* ==========================================
   PAGINATION
   ========================================== */
.halo-blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--halo-cream);
}

.halo-blog-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  font-family: var(--halo-font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--halo-warm-gray);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.halo-blog-pagination__link:hover {
  color: var(--halo-dark);
  background: var(--halo-cream);
}

.halo-blog-pagination__link--active {
  color: var(--halo-white);
  background: var(--halo-gold);
  border-color: var(--halo-gold);
  font-weight: 600;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes haloFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .halo-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .halo-blog-card--featured { grid-template-columns: 1fr; }
  .halo-blog-card--featured .halo-blog-card__image-wrapper { aspect-ratio: 16 / 9; }
  .halo-blog-card--featured .halo-blog-card__body { padding: 28px; }
}

@media (max-width: 600px) {
  .halo-blog-hero { min-height: 400px; }
  .halo-blog-hero__content { padding: 40px 20px; }
  .halo-blog-grid { grid-template-columns: 1fr; gap: 24px; }
  .halo-blog-grid-wrapper { padding: 40px 16px 60px; }
  .halo-blog-card__body { padding: 20px 20px 24px; }
  .halo-blog-newsletter { padding: 40px 24px; }
  .halo-blog-newsletter__form { flex-direction: column; border-radius: 12px; }
  .halo-blog-newsletter__input { border-radius: 8px; }
  .halo-blog-newsletter__btn { border-radius: 8px; padding: 14px; }
}

/* ==========================================
   BLOG HERO — Premium Editorial
   ========================================== */
.template-blog .image-with-text-overlay-wrapper {
  max-width: 100% !important;
  padding: 0 !important;
}

.template-blog .image-with-text-overlay {
  min-height: 75vh !important;
  position: relative;
}

.template-blog .image-with-text-overlay__content-wrapper {
  position: relative;
  z-index: 2;
  padding: 120px 40px !important;
  max-width: 780px;
  margin: 0 auto;
}

.template-blog .image-with-text-overlay h2.homepage-section-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 48px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  line-height: 1.15 !important;
  color: #FFFFFF !important;
  text-shadow: 0 2px 30px rgba(0,0,0,0.2) !important;
  margin-bottom: 28px !important;
  padding-bottom: 32px !important;
  border-bottom: 1.5px solid #C4A265 !important;
}

.template-blog .image-with-text-overlay .featured-row__subtext {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.15rem !important;
  line-height: 1.85 !important;
  color: rgba(255,255,255,0.88) !important;
  max-width: 580px !important;
  margin: 0 auto !important;
}

/* ── Blog Search Bar ── */
.halo-blog-search-bar {
  max-width: 480px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.halo-blog-search-form {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #F5F0EA;
  border-radius: 50px;
  padding: 4px 8px 4px 20px;
  transition: border-color 0.3s ease;
}
.halo-blog-search-form:focus-within { border-color: #C4A265; }
.halo-blog-search-icon { color: #C4A265; flex-shrink: 0; }
.halo-blog-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #2C2824;
}
.halo-blog-search-input::placeholder { color: #6B6560; opacity: 0.6; }

/* ── Category Filter Bar ── */
.halo-blog-filter-container {
  background-color: #FAF8F5;
  padding: 20px 0;
  position: sticky;
  top: 85px;
  z-index: 20;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.halo-blog-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
  max-width: 1000px !important;
  margin: 0 auto;
  padding: 0 20px;
  max-height: 44px;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent !important;
  border: none !important;
}

.halo-blog-filters.is-expanded {
  max-height: 800px;
}

.halo-blog-filter {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 30px;
  text-decoration: none;
  color: #6B6560;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
  background: #FFFFFF;
}

.halo-blog-filter:hover {
  border-color: #C4A265;
  color: #2C2824;
}

.halo-blog-filter--active {
  background-color: #C4A265 !important;
  border-color: #C4A265 !important;
  color: #FFFFFF !important;
}

.halo-filter-toggle {
  background: none;
  border: none;
  color: #C4A265;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 15px;
  transition: color 0.3s ease;
}

.halo-filter-toggle:hover { color: #2C2824; }

.halo-filter-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s ease;
}

.halo-filter-toggle.is-expanded svg {
  transform: rotate(180deg);
}
