/* ==========================================================================
   AWEA Post Carousel — Zero-Shadow Architectural Feed
   ========================================================================== */

.awea-post-carousel-wrap {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.awea-post-carousel {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* 1. Blog Card Shell */
.awea-blog-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: none;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.awea-blog-card:hover {
  background-color: #f8fafc;
  border-color: var(--e-global-color-primary, #4f46e5);
}

/* 2. Featured Image Frame */
.awea-blog-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background-color: #f1f5f9;
  margin-bottom: 18px;
  box-sizing: border-box;
}

.awea-blog-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.awea-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.awea-blog-card:hover .awea-blog-img {
  transform: scale(1.03);
}

.awea-blog-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 100px;
  background-color: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  line-height: 1.2;
}

/* 3. Card Body & Typography */
.awea-blog-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.awea-blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.awea-meta-dot {
  opacity: 0.4;
}

.awea-blog-title {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.awea-blog-title a {
  text-decoration: none;
  color: #0f172a;
  transition: color 0.25s ease;
}

.awea-blog-title a:hover {
  color: var(--e-global-color-primary, #4f46e5);
}

.awea-blog-desc {
  font-size: 0.94rem;
  line-height: 1.62;
  color: #475569;
  margin-top: 0;
  margin-bottom: 20px;
  word-break: break-word;
}

/* 4. Card Footer Lockup */
.awea-blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
  gap: 12px;
}

.awea-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 100px;
  background-color: #f1f5f9;
  color: #0f172a;
  border: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
  line-height: 1;
}

.awea-blog-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.awea-blog-card:hover .awea-blog-link {
  background-color: var(--e-global-color-primary, #4f46e5);
  color: #ffffff;
}

.awea-blog-card:hover .awea-blog-link svg {
  transform: translateX(3px);
}

.awea-blog-num {
  font-size: 1.1rem;
  font-weight: 900;
  color: #cbd5e1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* 5. Carousel Navigation & Dots */
.awea-post-carousel.owl-carousel .owl-stage-outer {
  padding: 8px 0;
}

.awea-post-carousel .owl-nav {
  position: static;
}

.awea-post-carousel .owl-nav button.owl-prev,
.awea-post-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 10;
  outline: none;
}

.awea-post-carousel .owl-nav button.owl-prev {
  left: -20px;
}

.awea-post-carousel .owl-nav button.owl-next {
  right: -20px;
}

.awea-carousel-arrow-border {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.awea-carousel-arrow-border:hover {
  background-color: var(--e-global-color-primary, #4f46e5);
  border-color: var(--e-global-color-primary, #4f46e5);
  color: #ffffff;
}

.awea-post-carousel .owl-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.awea-post-carousel .owl-dots button.owl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  margin: 0 5px;
  padding: 0;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.awea-post-carousel .owl-dots button.owl-dot.active {
  background-color: var(--e-global-color-primary, #4f46e5);
  transform: scale(1.25);
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  .awea-post-carousel .owl-nav button.owl-prev {
    left: -6px;
  }
  .awea-post-carousel .owl-nav button.owl-next {
    right: -6px;
  }
  .awea-carousel-arrow-border {
    width: 36px;
    height: 36px;
  }
  .awea-blog-card {
    padding: 18px;
    border-radius: 18px;
  }
  .awea-blog-img-wrap {
    border-radius: 12px;
    margin-bottom: 14px;
  }
}