.elementor-62597 .elementor-element.elementor-element-8d4514d:not(.elementor-motion-effects-element-type-background), .elementor-62597 .elementor-element.elementor-element-8d4514d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-primary );}.elementor-62597 .elementor-element.elementor-element-8d4514d{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin-top:-10px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-62597 .elementor-element.elementor-element-8d4514d > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-62597 .elementor-element.elementor-element-ebd08bd{width:var( --container-widget-width, 104.179% );max-width:104.179%;--container-widget-width:104.179%;--container-widget-flex-grow:0;}.elementor-62597 .elementor-element.elementor-element-cbc5e63{width:var( --container-widget-width, 104.179% );max-width:104.179%;--container-widget-width:104.179%;--container-widget-flex-grow:0;}.elementor-62597 .elementor-element.elementor-element-5bdc54f:not(.elementor-motion-effects-element-type-background), .elementor-62597 .elementor-element.elementor-element-5bdc54f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-primary );}.elementor-62597 .elementor-element.elementor-element-5bdc54f{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin-top:-10px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-62597 .elementor-element.elementor-element-5bdc54f > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-62597 .elementor-element.elementor-element-24f2979{width:100%;max-width:100%;}@media(max-width:767px){.elementor-62597 .elementor-element.elementor-element-8d4514d{margin-top:-70px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-62597 .elementor-element.elementor-element-ebd08bd{width:100%;max-width:100%;}.elementor-62597 .elementor-element.elementor-element-ebd08bd > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-62597 .elementor-element.elementor-element-cbc5e63{width:100%;max-width:100%;}.elementor-62597 .elementor-element.elementor-element-cbc5e63 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-62597 .elementor-element.elementor-element-5bdc54f{margin-top:-70px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-62597 .elementor-element.elementor-element-24f2979{width:100%;max-width:100%;}.elementor-62597 .elementor-element.elementor-element-24f2979 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}}/* Start custom CSS for html, class: .elementor-element-ebd08bd */.article-page-wrapper {
  transition: margin-left 0.3s ease;
    margin-top: 44px !important;

}

html, body {
  background-color: #2a2a2a !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-section,
.elementor-container,
.elementor {
  background-color: #2a2a2a !important;
}

.article-section-heading {
  padding-left: 24px !important;
  margin-top: 44px !important;
  margin-bottom: 0px !important;
  font-family: 'Figtree', sans-serif !important;
}

.article-main-headline {
  font-size: 28px !important;
  font-weight: 600 !important;
  color: white !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
}

.article-sub-headline {
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.5 !important;
  max-width: 720px !important;
    margin-bottom: 20px !important;
    
}



.latest-articles {
  padding: 40px 24px !important;
  display: flex !important;
  flex-direction: row !important;       /* ← changed from column */
  flex-wrap: wrap !important;           /* ← allows wrapping */
  gap: 40px !important;
  font-family: 'Figtree', sans-serif !important;
}

.article-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 20px !important;
background: rgba(255, 255, 255, 0.16) !important;
backdrop-filter: blur(24px) !important;
-webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.3s ease !important;
  position: relative;
  padding: 24px !important;
  flex-wrap: nowrap !important;
  
  
}


.article-meta-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 8px !important;
}

.article-meta-dot {
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}


.article-card:hover {
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.article-image img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  margin: 0 !important;
}

.article-content {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding-right: 8px !important;
  height: 120px !important; /* Match image height exactly */
}

.article-header {
  gap: 2px !important; /* reduce from 4px */
  margin-bottom: 4px !important; /* add this if you want tighter spacing before teaser */
}

.article-theme {
  font-size: 12px !important;
  color: #888 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.article-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: white !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.article-meta,
.article-theme {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.65) !important;
}


.article-link {
  font-size: 14px !important;
  color: #FFEE5C !important;
  text-decoration: underline !important;
  margin-top: 4px;
  width: fit-content !important;
}
.article-link:hover {
  color: white !important;
}


.article-icons {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
  flex-direction: row;
}

.glass-icon {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
  /* ✅ remove border for cleaner style */
  border: none !important;
}

.glass-icon:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

.glass-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6; /* ✅ thinner lines */
}

@media (min-width: 769px) {
  .article-icons {
    top: 50%;
    right: 20px;
    left: auto;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
  }
}

.article-card,
.article-content {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.article-teaser {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.4 !important;
  margin: 0 !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important; /* Limit to 3 lines */
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-weight: 400 !important;
}

/* Default: hide mobile version, show desktop */
.meta-mobile {
  display: none !important;
}
.meta-desktop {
  display: flex !important;
}

/* Mobile: swap */
@media (max-width: 768px) {
  .meta-mobile {
    display: flex !important;
    padding: 0 24px !important;
    width: 100% !important;
    box-sizing: border-box;
        margin-top: 4px !important; /* was 12px */

  }

  .meta-desktop {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .article-teaser {
    max-width: calc(100% - 60px) !important;
  }
}


    
    
  .article-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 24px !important;
    gap: 16px !important;
  }

  .article-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
  }

  .article-icons {
    top: 16px;
    right: 16px;
    left: auto;
    transform: none;
  }

  .article-content {
    height: auto !important;
    padding-right: 0 !important;
    gap: 8px !important;
  }

  .meta-mobile {
    margin-top: 12px !important;
    padding: 0 !important;
  }
  
  .article-title {
  font-size: 16px !important;
  font-weight: 600 !important;
}

.article-image img {
  border-radius: 16px !important;
}
}

@media (max-width: 768px) {
  .meta-mobile {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px !important;
    margin-top: 12px !important;
  }
}

.tag-filter-container {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;  
  margin: 0 24px 32px 24px !important;
  margin-top: 16px !important; /* 🔼 Add spacing above tags */
}

.tag-pill {
  padding: 6px 14px !important;
  border: 1px solid #ccc !important;
  border-radius: 9999px !important;
  background: white !important;
  color: black !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.3s ease !important;
}

.tag-pill .pill-x {
  display: none !important;
  font-size: 13px !important;
  color: white !important;
}

.tag-pill.active {
  background: black !important;
  color: white !important;
  border-color: white !important;
}

.tag-pill.active .pill-x {
  display: inline !important;
  color: white !important;
}

.article-search-bar-wrapper {
  padding: 0 24px !important;
  margin-bottom: 0px !important;
  display: flex !important;
  justify-content: flex-start !important; /* ← left align on desktop */
  width: 100% !important;
}

.article-card.skeleton {
  animation: pulse 1.5s infinite;
  background: #f5f5f5 !important;
  box-shadow: none !important;
  pointer-events: none;
}

.article-card.skeleton .article-image img {
  background: #ddd !important;
  width: 120px !important;
  height: 120px !important;
  border-radius: 8px !important;
}

.article-card.skeleton .article-title,
.article-card.skeleton .article-teaser,
.article-card.skeleton .article-theme,
.article-card.skeleton .article-meta,
.article-card.skeleton .article-link {
  background: #e0e0e0 !important;
  color: transparent !important;
  border-radius: 6px !important;
  width: 100%;
  height: 16px;
}

.article-card.skeleton .article-title {
  height: 20px;
  width: 60%;
}

.article-card.skeleton .article-teaser {
  height: 14px;
  width: 80%;
}

.article-card.skeleton .article-meta {
  height: 12px;
  width: 40%;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

.article-card {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.article-card.skeleton {
  opacity: 0.5;
}


/* ⬛ Skeleton Loading Styles */
.article-card.skeleton {
  animation: pulse 1.5s infinite;
  background: #f4f4f4 !important;
  box-shadow: none !important;
  pointer-events: none;
  opacity: 0.6;
}

.article-card.skeleton .article-image img {
  background: #ddd !important;
  width: 120px !important;
  height: 120px !important;
  border-radius: 8px !important;
}

.article-card.skeleton .article-theme,
.article-card.skeleton .article-title,
.article-card.skeleton .article-meta,
.article-card.skeleton .article-teaser,
.article-card.skeleton .article-link {
  background: #e0e0e0 !important;
  color: transparent !important;
  border-radius: 6px !important;
}

.article-card.skeleton .article-theme {
  height: 12px;
  width: 40%;
}

.article-card.skeleton .article-title {
  height: 20px;
  width: 60%;
}

.article-card.skeleton .article-meta {
  height: 14px;
  width: 30%;
}

.article-card.skeleton .article-teaser {
  height: 14px;
  width: 80%;
}

.article-card.skeleton .article-link {
  height: 16px;
  width: 20%;
}

.tag-pill.skeleton {
  background: #e0e0e0 !important;
  border: none !important;
  width: 80px;
  height: 28px;
  border-radius: 9999px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ⬛ Smooth fade-in for final articles */
.article-card {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}

.article-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.tag-pill {
  -webkit-tap-highlight-color: transparent !important;
}

.tag-pill {
  background: white !important;
  color: black !important;
}

.tag-pill.active {
  background: black !important;
  color: white !important;
  border: 1px solid white !important;
}

/* Force consistent styling during touch */
.tag-pill:focus,
.tag-pill:active {
  background: white !important;
  color: black !important;
  outline: none !important;
  box-shadow: none !important;
}

.tag-pill:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

.search-input-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
}

#articleSearchInput {
  width: 100% !important;
  padding: 12px 16px 12px 42px !important;
  font-size: 15px !important;
  font-family: 'Figtree', sans-serif !important;

  background: rgba(0, 0, 0, 0.45) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  color: white !important;

  outline: none !important;
  transition: all 0.3s ease !important;

  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.6),
    inset -2px -2px 6px rgba(255, 255, 255, 0.04),
    0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

#articleSearchInput::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

#articleSearchInput:focus {
  border: 1px solid #ffee5c !important;
  background: rgba(0, 0, 0, 0.6) !important;
  box-shadow:
    inset 2px 2px 6px rgba(0, 0, 0, 0.75),
    inset -2px -2px 6px rgba(255, 255, 255, 0.03),
    0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.search-input-wrapper:focus-within .search-icon {
  color: #ffee5c !important;
}

@media (max-width: 768px) {
  #articleSearchInput {
    max-width: 100% !important;
  }
}

.glass-icon.liked {
  background-color: #FF3366 !important;
  color: white !important;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-cbc5e63 */.article-page-wrapper {
  transition: margin-left 0.3s ease;
    margin-top: 44px !important;

}

html, body {
  background-color: #2a2a2a !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-section,
.elementor-container,
.elementor {
  background-color: #2a2a2a !important;
}

.article-section-heading {
  padding-left: 24px !important;
  margin-top: 44px !important;
  margin-bottom: 0px !important;
  font-family: 'Figtree', sans-serif !important;
}

.article-main-headline {
  font-size: 28px !important;
  font-weight: 600 !important;
  color: white !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
}

.article-sub-headline {
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.5 !important;
  max-width: 720px !important;
    margin-bottom: 20px !important;
    
}



.latest-articles {
  padding: 40px 24px !important;
  display: flex !important;
  flex-direction: row !important;       /* ← changed from column */
  flex-wrap: wrap !important;           /* ← allows wrapping */
  gap: 40px !important;
  font-family: 'Figtree', sans-serif !important;
}

.article-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 20px !important;
background: rgba(255, 255, 255, 0.16) !important;
backdrop-filter: blur(24px) !important;
-webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.3s ease !important;
  position: relative;
  padding: 24px !important;
  flex-wrap: nowrap !important;
  
  
}


.article-meta-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 8px !important;
}

.article-meta-dot {
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}


.article-card:hover {
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.article-image img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  margin: 0 !important;
}

.article-content {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding-right: 8px !important;
  height: 120px !important; /* Match image height exactly */
}

.article-header {
  gap: 2px !important; /* reduce from 4px */
  margin-bottom: 4px !important; /* add this if you want tighter spacing before teaser */
}

.article-theme {
  font-size: 12px !important;
  color: #888 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.article-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: white !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.article-meta,
.article-theme {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.65) !important;
}


.article-link {
  font-size: 14px !important;
  color: #FFEE5C !important;
  text-decoration: underline !important;
  margin-top: 4px;
  width: fit-content !important;
}
.article-link:hover {
  color: white !important;
}


.article-icons {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
  flex-direction: row;
}

.glass-icon {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
  /* ✅ remove border for cleaner style */
  border: none !important;
}

.glass-icon:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

.glass-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6; /* ✅ thinner lines */
}

@media (min-width: 769px) {
  .article-icons {
    top: 50%;
    right: 20px;
    left: auto;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
  }
}

.article-card,
.article-content {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.article-teaser {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.4 !important;
  margin: 0 !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important; /* Limit to 3 lines */
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-weight: 400 !important;
}

/* Default: hide mobile version, show desktop */
.meta-mobile {
  display: none !important;
}
.meta-desktop {
  display: flex !important;
}

/* Mobile: swap */
@media (max-width: 768px) {
  .meta-mobile {
    display: flex !important;
    padding: 0 24px !important;
    width: 100% !important;
    box-sizing: border-box;
        margin-top: 4px !important; /* was 12px */

  }

  .meta-desktop {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .article-teaser {
    max-width: calc(100% - 60px) !important;
  }
}


    
    
  .article-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 24px !important;
    gap: 16px !important;
  }

  .article-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
  }

  .article-icons {
    top: 16px;
    right: 16px;
    left: auto;
    transform: none;
  }

  .article-content {
    height: auto !important;
    padding-right: 0 !important;
    gap: 8px !important;
  }

  .meta-mobile {
    margin-top: 12px !important;
    padding: 0 !important;
  }
  
  .article-title {
  font-size: 16px !important;
  font-weight: 600 !important;
}

.article-image img {
  border-radius: 16px !important;
}
}

@media (max-width: 768px) {
  .meta-mobile {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px !important;
    margin-top: 12px !important;
  }
}

.tag-filter-container {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;  
  margin: 0 24px 32px 24px !important;
  margin-top: 16px !important; /* 🔼 Add spacing above tags */
}

.tag-pill {
  padding: 6px 14px !important;
  border: 1px solid #ccc !important;
  border-radius: 9999px !important;
  background: white !important;
  color: black !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.3s ease !important;
}

.tag-pill .pill-x {
  display: none !important;
  font-size: 13px !important;
  color: white !important;
}

.tag-pill.active {
  background: black !important;
  color: white !important;
  border-color: white !important;
}

.tag-pill.active .pill-x {
  display: inline !important;
  color: white !important;
}

.article-search-bar-wrapper {
  padding: 0 24px !important;
  margin-bottom: 0px !important;
  display: flex !important;
  justify-content: flex-start !important; /* ← left align on desktop */
  width: 100% !important;
}

.article-card.skeleton {
  animation: pulse 1.5s infinite;
  background: #f5f5f5 !important;
  box-shadow: none !important;
  pointer-events: none;
}

.article-card.skeleton .article-image img {
  background: #ddd !important;
  width: 120px !important;
  height: 120px !important;
  border-radius: 8px !important;
}

.article-card.skeleton .article-title,
.article-card.skeleton .article-teaser,
.article-card.skeleton .article-theme,
.article-card.skeleton .article-meta,
.article-card.skeleton .article-link {
  background: #e0e0e0 !important;
  color: transparent !important;
  border-radius: 6px !important;
  width: 100%;
  height: 16px;
}

.article-card.skeleton .article-title {
  height: 20px;
  width: 60%;
}

.article-card.skeleton .article-teaser {
  height: 14px;
  width: 80%;
}

.article-card.skeleton .article-meta {
  height: 12px;
  width: 40%;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

.article-card {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.article-card.skeleton {
  opacity: 0.5;
}


/* ⬛ Skeleton Loading Styles */
.article-card.skeleton {
  animation: pulse 1.5s infinite;
  background: #f4f4f4 !important;
  box-shadow: none !important;
  pointer-events: none;
  opacity: 0.6;
}

.article-card.skeleton .article-image img {
  background: #ddd !important;
  width: 120px !important;
  height: 120px !important;
  border-radius: 8px !important;
}

.article-card.skeleton .article-theme,
.article-card.skeleton .article-title,
.article-card.skeleton .article-meta,
.article-card.skeleton .article-teaser,
.article-card.skeleton .article-link {
  background: #e0e0e0 !important;
  color: transparent !important;
  border-radius: 6px !important;
}

.article-card.skeleton .article-theme {
  height: 12px;
  width: 40%;
}

.article-card.skeleton .article-title {
  height: 20px;
  width: 60%;
}

.article-card.skeleton .article-meta {
  height: 14px;
  width: 30%;
}

.article-card.skeleton .article-teaser {
  height: 14px;
  width: 80%;
}

.article-card.skeleton .article-link {
  height: 16px;
  width: 20%;
}

.tag-pill.skeleton {
  background: #e0e0e0 !important;
  border: none !important;
  width: 80px;
  height: 28px;
  border-radius: 9999px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ⬛ Smooth fade-in for final articles */
.article-card {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}

.article-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.tag-pill {
  -webkit-tap-highlight-color: transparent !important;
}

.tag-pill {
  background: white !important;
  color: black !important;
}

.tag-pill.active {
  background: black !important;
  color: white !important;
  border: 1px solid white !important;
}

/* Force consistent styling during touch */
.tag-pill:focus,
.tag-pill:active {
  background: white !important;
  color: black !important;
  outline: none !important;
  box-shadow: none !important;
}

.tag-pill:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

.search-input-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
}

#articleSearchInput {
  width: 100% !important;
  padding: 12px 16px 12px 42px !important;
  font-size: 15px !important;
  font-family: 'Figtree', sans-serif !important;

  background: rgba(0, 0, 0, 0.45) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  color: white !important;

  outline: none !important;
  transition: all 0.3s ease !important;

  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.6),
    inset -2px -2px 6px rgba(255, 255, 255, 0.04),
    0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

#articleSearchInput::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

#articleSearchInput:focus {
  border: 1px solid #ffee5c !important;
  background: rgba(0, 0, 0, 0.6) !important;
  box-shadow:
    inset 2px 2px 6px rgba(0, 0, 0, 0.75),
    inset -2px -2px 6px rgba(255, 255, 255, 0.03),
    0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.search-input-wrapper:focus-within .search-icon {
  color: #ffee5c !important;
}

@media (max-width: 768px) {
  #articleSearchInput {
    max-width: 100% !important;
  }
}

.glass-icon.liked {
  background-color: #FF3366 !important;
  color: white !important;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-24f2979 */.article-page-wrapper {
    margin-top: 40px !important;
  transition: margin-left 0.3s ease;
}

html, body {
  background-color: #2a2a2a !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-section,
.elementor-container,
.elementor {
  background-color: #2a2a2a !important;
}

.article-section-heading {
  padding-left: 24px !important;
  margin-top: 44px !important;
  margin-bottom: 0px !important;
  font-family: 'Figtree', sans-serif !important;
}

.article-main-headline {
  font-size: 28px !important;
  font-weight: 600 !important;
  color: white !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
}

.article-sub-headline {
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.5 !important;
  max-width: 720px !important;
    margin-bottom: 20px !important;
    
}



.latest-articles {
  padding: 40px 24px !important;
  display: flex !important;
  flex-direction: row !important;       /* ← changed from column */
  flex-wrap: wrap !important;           /* ← allows wrapping */
  gap: 40px !important;
  font-family: 'Figtree', sans-serif !important;
}

.article-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 20px !important;
background: rgba(255, 255, 255, 0.16) !important;
backdrop-filter: blur(24px) !important;
-webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.3s ease !important;
  position: relative;
  padding: 24px !important;
  flex-wrap: nowrap !important;
  
  
}


.article-meta-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 8px !important;
}

.article-meta-dot {
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}


.article-card:hover {
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.article-image img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  margin: 0 !important;
}

.article-content {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding-right: 8px !important;
  height: 120px !important; /* Match image height exactly */
}

.article-header {
  gap: 2px !important; /* reduce from 4px */
  margin-bottom: 4px !important; /* add this if you want tighter spacing before teaser */
}

.article-theme {
  font-size: 12px !important;
  color: #888 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.article-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: white !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.article-meta,
.article-theme {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.65) !important;
}


.article-link {
  font-size: 14px !important;
  color: #FFEE5C !important;
  text-decoration: underline !important;
  margin-top: 4px;
  width: fit-content !important;
}
.article-link:hover {
  color: white !important;
}


.article-icons {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
  flex-direction: row;
}

.glass-icon {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
  /* ✅ remove border for cleaner style */
  border: none !important;
}

.glass-icon:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

.glass-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6; /* ✅ thinner lines */
}

@media (min-width: 769px) {
  .article-icons {
    top: 50%;
    right: 20px;
    left: auto;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
  }
}

.article-card,
.article-content {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.article-teaser {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.4 !important;
  margin: 0 !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important; /* Limit to 3 lines */
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-weight: 400 !important;
}

/* Default: hide mobile version, show desktop */
.meta-mobile {
  display: none !important;
}
.meta-desktop {
  display: flex !important;
}

/* Mobile: swap */
@media (max-width: 768px) {
  .meta-mobile {
    display: flex !important;
    padding: 0 24px !important;
    width: 100% !important;
    box-sizing: border-box;
        margin-top: 4px !important; /* was 12px */

  }

  .meta-desktop {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .article-teaser {
    max-width: calc(100% - 60px) !important;
  }
}


    
    
  .article-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 24px !important;
    gap: 16px !important;
  }

  .article-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
  }

  .article-icons {
    top: 16px;
    right: 16px;
    left: auto;
    transform: none;
  }

  .article-content {
    height: auto !important;
    padding-right: 0 !important;
    gap: 8px !important;
  }

  .meta-mobile {
    margin-top: 12px !important;
    padding: 0 !important;
  }
  
  .article-title {
  font-size: 16px !important;
  font-weight: 600 !important;
}

.article-image img {
  border-radius: 16px !important;
}
}

@media (max-width: 768px) {
  .meta-mobile {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px !important;
    margin-top: 12px !important;
  }
}

.tag-filter-container {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;  
  margin: 0 24px 32px 24px !important;
  margin-top: 16px !important; /* 🔼 Add spacing above tags */
}

.tag-pill {
  padding: 6px 14px !important;
  border: 1px solid #ccc !important;
  border-radius: 9999px !important;
  background: white !important;
  color: black !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.3s ease !important;
}

.tag-pill .pill-x {
  display: none !important;
  font-size: 13px !important;
  color: white !important;
}

.tag-pill.active {
  background: black !important;
  color: white !important;
  border-color: white !important;
}

.tag-pill.active .pill-x {
  display: inline !important;
  color: white !important;
}

.article-search-bar-wrapper {
  padding: 0 24px !important;
  margin-bottom: 0px !important;
  display: flex !important;
  justify-content: flex-start !important; /* ← left align on desktop */
  width: 100% !important;
}

.article-card.skeleton {
  animation: pulse 1.5s infinite;
  background: #f5f5f5 !important;
  box-shadow: none !important;
  pointer-events: none;
}

.article-card.skeleton .article-image img {
  background: #ddd !important;
  width: 120px !important;
  height: 120px !important;
  border-radius: 8px !important;
}

.article-card.skeleton .article-title,
.article-card.skeleton .article-teaser,
.article-card.skeleton .article-theme,
.article-card.skeleton .article-meta,
.article-card.skeleton .article-link {
  background: #e0e0e0 !important;
  color: transparent !important;
  border-radius: 6px !important;
  width: 100%;
  height: 16px;
}

.article-card.skeleton .article-title {
  height: 20px;
  width: 60%;
}

.article-card.skeleton .article-teaser {
  height: 14px;
  width: 80%;
}

.article-card.skeleton .article-meta {
  height: 12px;
  width: 40%;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

.article-card {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.article-card.skeleton {
  opacity: 0.5;
}


/* ⬛ Skeleton Loading Styles */
.article-card.skeleton {
  animation: pulse 1.5s infinite;
  background: #f4f4f4 !important;
  box-shadow: none !important;
  pointer-events: none;
  opacity: 0.6;
}

.article-card.skeleton .article-image img {
  background: #ddd !important;
  width: 120px !important;
  height: 120px !important;
  border-radius: 8px !important;
}

.article-card.skeleton .article-theme,
.article-card.skeleton .article-title,
.article-card.skeleton .article-meta,
.article-card.skeleton .article-teaser,
.article-card.skeleton .article-link {
  background: #e0e0e0 !important;
  color: transparent !important;
  border-radius: 6px !important;
}

.article-card.skeleton .article-theme {
  height: 12px;
  width: 40%;
}

.article-card.skeleton .article-title {
  height: 20px;
  width: 60%;
}

.article-card.skeleton .article-meta {
  height: 14px;
  width: 30%;
}

.article-card.skeleton .article-teaser {
  height: 14px;
  width: 80%;
}

.article-card.skeleton .article-link {
  height: 16px;
  width: 20%;
}

.tag-pill.skeleton {
  background: #e0e0e0 !important;
  border: none !important;
  width: 80px;
  height: 28px;
  border-radius: 9999px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ⬛ Smooth fade-in for final articles */
.article-card {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}

.article-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.tag-pill {
  -webkit-tap-highlight-color: transparent !important;
}

.tag-pill {
  background: white !important;
  color: black !important;
}

.tag-pill.active {
  background: black !important;
  color: white !important;
  border: 1px solid white !important;
}

/* Force consistent styling during touch */
.tag-pill:focus,
.tag-pill:active {
  background: white !important;
  color: black !important;
  outline: none !important;
  box-shadow: none !important;
}

.tag-pill:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

.search-input-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
}

#articleSearchInput {
  width: 100% !important;
  padding: 12px 16px 12px 42px !important;
  font-size: 15px !important;
  font-family: 'Figtree', sans-serif !important;

  background: rgba(0, 0, 0, 0.45) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  color: white !important;

  outline: none !important;
  transition: all 0.3s ease !important;

  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.6),
    inset -2px -2px 6px rgba(255, 255, 255, 0.04),
    0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

#articleSearchInput::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

#articleSearchInput:focus {
  border: 1px solid #ffee5c !important;
  background: rgba(0, 0, 0, 0.6) !important;
  box-shadow:
    inset 2px 2px 6px rgba(0, 0, 0, 0.75),
    inset -2px -2px 6px rgba(255, 255, 255, 0.03),
    0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.search-input-wrapper:focus-within .search-icon {
  color: #ffee5c !important;
}

@media (max-width: 768px) {
  #articleSearchInput {
    max-width: 100% !important;
  }
}

.glass-icon.liked {
  background-color: #FF3366 !important;
  color: white !important;
}/* End custom CSS */