/* DeepStay Blog List Widget - True Full-Width Viewport Execution */
:root {
  --ds-list-bg: #090a0c;
  --ds-list-text: #ffffff;
  --ds-list-sub: #e4e4e7;
  --ds-list-dim: #a1a1aa;
  --ds-list-border: rgba(255, 255, 255, 0.1);
  --ds-list-surface: rgba(255, 255, 255, 0.02);
  --ds-content-width: 1240px;
}

/* Stripped container border-radius to prevent clipping issues shown in image_4558a2.png */
.ds-list {
  background: var(--ds-list-bg);
  color: var(--ds-list-text);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  
  /* Forces section past typical theme containers into true viewport full-width */
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border-bottom: 1px solid var(--ds-list-border);
}

/* Aligns the content area neatly with the Hero layout rules directly above */
.ds-list__inner {
  width: 100%;
  max-width: var(--ds-content-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Centralized Header Blocks */
.ds-list__head {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.ds-list__title {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  color: #ffffff;
}

.ds-list__sub {
  color: var(--ds-list-dim);
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
}

/* Component Level Badges */
.ds-pill-wrapper {
  display: flex;
}

.ds-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ds-list-border);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ds-list-sub);
}

.ds-list__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Grid Calculations Control */
.ds-list__grid {
  display: grid;
  grid-template-columns: repeat(var(--ds-cols, 3), minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 1024px) { .ds-list__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 640px) { .ds-list__grid { grid-template-columns: 1fr; gap: 28px; } }

/* Dynamic Article Card Modules */
.ds-card {
  background: var(--ds-list-surface);
  border: 1px solid var(--ds-list-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color .4s cubic-bezier(0.16, 1, 0.3, 1), 
              background .4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow .4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(24px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ds-card.is-in { 
  opacity: 1; 
  transform: translateY(0); 
}

/* Card Hover Actions */
.ds-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.ds-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000000;
  border-bottom: 1px solid var(--ds-list-border);
}

.ds-card__img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ds-card:hover .ds-card__img { 
  transform: scale(1.03); 
}

.ds-card__img--ph {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #111215 0%, #000000 100%);
}

/* Card Category Pill Overlays */
.ds-card__cat {
  position: absolute;
  top: 16px; 
  left: 16px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Card Inner Content Slots */
.ds-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.ds-card__title {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
}

.ds-card__title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ds-card__title a:hover { 
  color: var(--ds-list-dim);
}

.ds-card__excerpt {
  margin: 0;
  color: var(--ds-list-sub);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Clean Meta Separator Layout */
.ds-card__meta-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.ds-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ds-list-dim);
}

.ds-card__meta-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* Interactive Embedded Icon Links */
.ds-card__arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ds-list-border);
  color: var(--ds-list-sub);
  transition: all 0.2s ease;
}

.ds-card__arrow-link svg {
  width: 14px;
  height: 14px;
}

.ds-card:hover .ds-card__arrow-link {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: scale(1.05);
}

/* Empty Queries Handling States */
.ds-list__empty-wrapper {
  grid-column: 1 / -1;
  padding: 48px 0;
  text-align: center;
  border: 1px dashed var(--ds-list-border);
  border-radius: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.ds-list__empty {
  margin: 0;
  color: var(--ds-list-dim);
  font-size: 14px;
}

/* Responsive adjustment */
@media (max-width: 991px) {
  .ds-list__inner {
    padding: 0 24px;
  }
}