/* ========================================
   1) Base Layout
======================================== */
.alphauzi-post-grid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  --alphauzi-pg-list-img-width: 38%;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  padding: 0;
  margin: 0 auto;
  min-width: 0;
  container-type: inline-size;
  container-name: alphauzi-post-grid;
}

/* ========================================
   2) Button Shape Presets
======================================== */
.alphauzi-post-grid.alphauzi-pg-btn-shape--square {
  --alphauzi-pg-btn-radius: 0;
}

.alphauzi-post-grid.alphauzi-pg-btn-shape--rounded {
  --alphauzi-pg-btn-radius: 8px;
}

.alphauzi-post-grid.alphauzi-pg-btn-shape--pill {
  --alphauzi-pg-btn-radius: 9999px;
}

/* ========================================
   3) Main Two-Column Wrapper
======================================== */
.alphauzi-post-grid-container {
  display: flex;
  flex-direction: row;
  gap: clamp(16px, 2vw, 30px);
  align-items: stretch;
  position: relative;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: gap 0.3s ease;
  align-content: stretch;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* ========================================
   4) Featured Column
======================================== */
.alphauzi-featured-post {
  flex: 0 1 calc(50% - 15px);
  max-width: calc(50% - 15px);
  min-width: 0;
  background: #f6f6f4;
  padding: 0;
  padding-bottom: 30px;
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  margin-left: 0;
}

.featured-post-image {
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  width: 100%;
  padding-bottom: 65%;
  height: 0;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.featured-post-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  max-height: 100%;
}

.featured-post-image:hover img {
  transform: scale(1.05);
}

.featured-post-content {
  padding: 25px 30px 25px 30px;
  overflow: visible;
  box-sizing: border-box;
  max-height: none;
  width: 100%;
  min-width: 0;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
}

.post-category {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #6f665b;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.post-title {
  margin: 0 0 20px 0;
  font-size: clamp(1.125rem, 0.85rem + 1.1vw, 2rem);
  line-height: 1.3;
  font-weight: 400;
  font-family: Georgia, "Times New Roman", serif;
}

.post-title a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-post-content .post-title {
  font-size: clamp(1.375rem, 0.95rem + 1.35vw, 2.25rem);
  margin-bottom: 20px;
}

.post-excerpt {
  font-size: clamp(0.8125rem, 0.74rem + 0.25vw, 0.9375rem);
  line-height: 1.7;
  color: #5b5b5b;
  margin-bottom: 25px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.alphauzi-post-grid .post-button {
  display: inline-block;
  width: auto;
  max-width: none;
  align-self: flex-start;
  padding: 12px 30px;
  background-color: #f4f2ee;
  color: #6f665b;
  text-decoration: none;
  border-radius: var(--alphauzi-pg-btn-radius, 0);
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border: 1px solid transparent;
}

.alphauzi-post-grid .post-button:hover,
.alphauzi-post-grid .post-button:focus-visible {
  background-color: #5e564d;
  color: #ffffff;
  outline: none;
}

/* ========================================
   5) List Column
======================================== */
.alphauzi-list-posts {
  flex: 0 1 calc(50% - 15px);
  max-width: calc(50% - 15px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  box-sizing: border-box;
  transition: gap 0.3s ease;
  align-self: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-right: 0;
}

.list-post-item {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 0%;
}

.list-post-item:first-child {
  margin-top: 0;
  border-radius: 0;
}

.list-post-item:nth-child(2) {
  border-radius: 0;
}

.list-post-item:last-child {
  margin-bottom: 0;
  border-radius: 0;
}

.list-post-link {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
  background: #f6f6f4;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  flex: 1 1 0%;
  min-height: 0;
  min-width: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
  color: inherit;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.list-post-image {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  margin: 0;
  padding: 0;
  background: #fff;
  box-sizing: border-box;
  flex: 0 0 var(--alphauzi-pg-list-img-width);
  width: var(--alphauzi-pg-list-img-width);
  min-width: 0;
  max-width: var(--alphauzi-pg-list-img-width);
  height: 100%;
  align-self: stretch;
  transition:
    width 0.3s ease,
    flex-basis 0.3s ease;
}

.list-post-item:first-child .list-post-image {
  border-radius: 0;
}

.list-post-item:last-child .list-post-image {
  border-radius: 0;
}

.list-post-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.3s ease;
}

.list-post-image:hover img {
  transform: scale(1.05);
}

.list-post-content {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: clamp(12px, 2vw, 20px);
  min-height: 0;
  box-sizing: border-box;
  height: 100%;
}

.list-post-content .post-category {
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-align: left;
  width: 100%;
  line-height: 1.2;
}

.list-post-content .post-title {
  font-size: clamp(0.8125rem, 0.72rem + 0.35vw, 1rem);
  margin-bottom: 0;
  line-height: 1.4;
  text-align: left;
  width: 100%;
  font-weight: 400;
}

.list-post-content .post-title a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* ========================================
   6) Responsive: Desktop Range
======================================== */
/* Full desktop (covers desktop window shrinking) */
@media (max-width: 1366px) and (min-width: 1025px) {
  .alphauzi-post-grid-container {
    gap: 20px;
  }

  .alphauzi-featured-post {
    flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    min-width: 0;
  }

  .alphauzi-list-posts {
    flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    min-width: 0;
    gap: 24px;
  }

  .featured-post-content {
    padding: 20px 24px;
  }

  .featured-post-content .post-title {
    margin-bottom: 18px;
  }

  .post-excerpt {
    margin-bottom: 20px;
  }

  .list-post-content {
    padding: 16px 16px 16px 18px;
  }

  .list-post-image {
    flex: 0 0 var(--alphauzi-pg-list-img-width);
    width: var(--alphauzi-pg-list-img-width);
    max-width: var(--alphauzi-pg-list-img-width);
  }

  .list-post-content {
    flex: 1 1 auto;
    width: auto;
  }
}

/* Large desktop shrink */
@media (max-width: 1366px) and (min-width: 1201px) {
  .alphauzi-post-grid-container {
    gap: 24px;
  }

  .alphauzi-featured-post {
    flex: 0 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
    min-width: 0;
  }

  .alphauzi-list-posts {
    flex: 0 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
    min-width: 0;
    gap: 28px;
  }

  .featured-post-content {
    padding: 22px 26px;
  }

  .list-post-content {
    padding: 18px 18px 18px 20px;
  }
}

/* Medium desktop shrink */
@media (max-width: 1024px) and (min-width: 769px) {
  .alphauzi-post-grid-container {
    gap: 18px;
  }

  .alphauzi-featured-post {
    flex: 0 1 calc(50% - 9px);
    max-width: calc(50% - 9px);
    min-width: 0;
  }

  .alphauzi-list-posts {
    flex: 0 1 calc(50% - 9px);
    max-width: calc(50% - 9px);
    min-width: 0;
    gap: 20px;
  }

  .featured-post-content {
    padding: 18px 20px;
  }

  .featured-post-content .post-title {
    margin-bottom: 16px;
  }

  .post-excerpt {
    margin-bottom: 18px;
  }

  .list-post-content {
    padding: 14px 14px 14px 16px;
  }

  .list-post-image {
    flex: 0 0 var(--alphauzi-pg-list-img-width);
    width: var(--alphauzi-pg-list-img-width);
    max-width: var(--alphauzi-pg-list-img-width);
  }

  .list-post-content {
    flex: 1 1 auto;
    width: auto;
  }
}

/* Medium desktop */
@media (max-width: 1200px) and (min-width: 1025px) {
  .alphauzi-list-posts {
    justify-content: space-between;
    gap: 22px;
    transition: gap 0.3s ease;
  }

  .list-post-item {
    flex: 1 1 0%;
    align-items: stretch;
    gap: 0;
  }

  .list-post-image {
    flex: 0 0 var(--alphauzi-pg-list-img-width);
    width: var(--alphauzi-pg-list-img-width);
    max-width: var(--alphauzi-pg-list-img-width);
    height: 100%;
    border-radius: 0;
  }

  .list-post-content {
    flex: 1 1 auto;
    width: auto;
    padding: 18px;
    height: 100%;
    justify-content: center;
  }
}

/* ========================================
   7) Responsive: Tablet Range
======================================== */
/* Tablet (keep two columns) */
@media (max-width: 1024px) and (min-width: 601px) {
  .alphauzi-post-grid-container {
    gap: 20px;
    align-items: stretch;
    box-sizing: border-box;
    transition: gap 0.3s ease;
  }

  .alphauzi-featured-post {
    flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    min-width: 0;
    padding-bottom: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    margin-left: 0;
  }

  .alphauzi-list-posts {
    flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    min-width: 0;
    justify-content: space-between;
    gap: 26px;
    box-sizing: border-box;
    margin-right: 0;
    transition: gap 0.3s ease;
    align-self: stretch;
    overflow: hidden;
  }

  .list-post-item {
    flex: 1 1 0%;
    align-items: stretch;
  }

  .list-post-image {
    flex: 0 0 var(--alphauzi-pg-list-img-width);
    width: var(--alphauzi-pg-list-img-width);
    min-width: 0;
    max-width: var(--alphauzi-pg-list-img-width);
    height: 100%;
    border-radius: 0;
  }

  .list-post-content {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 100%;
    justify-content: center;
    padding: 12px 12px 12px clamp(12px, 3vw, 18px);
    box-sizing: border-box;
  }

  .featured-post-image {
    width: 100%;
    padding-bottom: 65%;
    margin-bottom: 25px;
    box-sizing: border-box;
  }

  .featured-post-content {
    width: 100%;
    padding: 0 clamp(18px, 4vw, 25px);
    box-sizing: border-box;
  }

  .list-post-item {
    flex: 1;
    gap: 12px;
    align-items: stretch;
    transition: gap 0.3s ease;
  }
}

/* Tablet portrait (override tablet umum, keep two columns) */
@media (max-width: 768px) and (min-width: 601px) {
  .alphauzi-post-grid-container {
    gap: 18px;
    flex-direction: row;
    align-items: stretch;
    box-sizing: border-box;
  }

  .alphauzi-featured-post {
    flex: 0 1 calc(50% - 9px);
    max-width: calc(50% - 9px);
    min-width: 0;
    width: auto;
    margin-bottom: 0;
    padding-bottom: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    margin-left: 0;
  }

  .alphauzi-list-posts {
    flex: 0 1 calc(50% - 9px);
    max-width: calc(50% - 9px);
    min-width: 0;
    width: auto;
    gap: 20px;
    box-sizing: border-box;
    align-self: stretch;
    margin-right: 0;
  }

  .featured-post-content {
    width: 100%;
    padding: 0 25px 0 25px;
    box-sizing: border-box;
  }

  .list-post-item {
    width: 100%;
  }

  .list-post-link {
    flex-direction: row;
  }

  .list-post-image {
    flex: 0 0 var(--alphauzi-pg-list-img-width);
    min-width: 0;
    width: var(--alphauzi-pg-list-img-width);
    max-width: var(--alphauzi-pg-list-img-width);
    height: 100%;
  }

  .list-post-content {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 12px 12px 12px 18px;
    box-sizing: border-box;
  }
}

/* ========================================
   8) Container Query Fallback
======================================== */
/* Saat lebar area grid sempit (resize jendela / kolom Elementor), sama seperti mobile */
@container alphauzi-post-grid (max-width: 600px) {
  .alphauzi-post-grid-container {
    gap: 20px;
    flex-direction: column !important;
    align-items: stretch !important;
    align-content: flex-start !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    transition: gap 0.3s ease;
    box-sizing: border-box;
    display: flex !important;
  }

  .alphauzi-featured-post {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    padding: 0;
    padding-bottom: 16px;
    box-sizing: border-box;
    height: auto;
    display: flex;
    flex-direction: column;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-start;
  }

  .featured-post-image {
    margin: 0 0 25px 0;
    padding: 0;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 20 / 13;
    box-sizing: border-box;
  }

  .featured-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .featured-post-content {
    width: 100%;
    padding: 0 15px 0 15px;
    box-sizing: border-box;
  }

  .alphauzi-list-posts {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    justify-content: flex-start;
    gap: 22px;
    box-sizing: border-box;
    transition: gap 0.3s ease;
    height: auto;
    max-height: none !important;
    overflow-y: visible;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-start;
  }

  .list-post-item {
    width: 100%;
    min-height: 0;
    flex: 0 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
  }

  .list-post-link {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    box-sizing: border-box;
    transition: all 0.3s ease;
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .list-post-image {
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    padding: 0;
    padding-bottom: 0;
    height: auto;
    aspect-ratio: 20 / 13;
    flex: 0 0 auto !important;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
  }

  .list-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .list-post-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding: 15px;
    justify-content: flex-start;
    box-sizing: border-box;
    height: auto !important;
    min-height: 0 !important;
  }
}

/* ========================================
   9) Responsive: Mobile
======================================== */
/* Mobile/phone (single column) */
@media (max-width: 600px) {
  .alphauzi-post-grid {
    width: 100%;
    max-width: 100%;
  }

  .alphauzi-post-grid-container {
    gap: 20px;
    flex-direction: column !important;
    align-items: stretch !important;
    align-content: flex-start !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    transition: gap 0.3s ease;
    box-sizing: border-box;
    display: flex !important;
  }

  .alphauzi-featured-post {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    padding: 0;
    padding-bottom: 16px;
    box-sizing: border-box;
    height: auto;
    display: flex;
    flex-direction: column;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-start;
  }

  .featured-post-image {
    margin: 0 0 25px 0;
    padding: 0;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 20 / 13;
    box-sizing: border-box;
  }

  .featured-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .featured-post-content {
    width: 100%;
    padding: 0 15px 0 15px;
    box-sizing: border-box;
  }

  .alphauzi-list-posts {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    justify-content: flex-start;
    gap: 22px;
    box-sizing: border-box;
    transition: gap 0.3s ease;
    height: auto;
    max-height: none !important;
    overflow-y: visible;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-start;
  }

  .list-post-item {
    width: 100%;
    min-height: 0;
    flex: 0 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
  }

  .list-post-link {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    box-sizing: border-box;
    transition: all 0.3s ease;
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .list-post-image {
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    padding: 0;
    padding-bottom: 0;
    height: auto;
    aspect-ratio: 20 / 13;
    flex: 0 0 auto !important;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
  }

  .list-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .list-post-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding: 15px;
    justify-content: flex-start;
    box-sizing: border-box;
    height: auto !important;
    min-height: 0 !important;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .alphauzi-list-posts {
    gap: 20px;
    transition: gap 0.3s ease;
  }

  .list-post-item {
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .list-post-link {
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: all 0.3s ease;
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .list-post-image {
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    padding: 0;
    padding-bottom: 0;
    height: auto;
    aspect-ratio: 20 / 13;
    flex: 0 0 auto !important;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
  }

  .list-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .list-post-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding: 12px;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    height: auto !important;
    min-height: 0 !important;
  }
}

/* ========================================
   10) Elementor-Specific Fixes
======================================== */
/*
 * Tablet & mobile (≤1024px): ruang putih di bawah widget (Elementor) + distribusi flex kolom daftar.
 * Desktop (>1024px) tidak diubah.
 */
@media (max-width: 1024px) {
  .elementor-element[data-widget_type^="alphauzi_post_grid"] {
    flex-grow: 0 !important;
    flex-shrink: 0;
    align-self: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .elementor-element[data-widget_type^="alphauzi_post_grid"]
    > .elementor-widget-container {
    display: block;
    height: fit-content;
    min-height: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .elementor-widget-alphauzi_post_grid .elementor-widget-container {
    height: fit-content;
    min-height: 0 !important;
  }

  .e-con:has(.alphauzi-post-grid),
  .e-con-inner:has(.alphauzi-post-grid),
  .e-child:has(.alphauzi-post-grid) {
    min-height: 0;
    justify-content: flex-start;
  }

  .elementor-column:has(.alphauzi-post-grid),
  .elementor-column-wrap:has(.alphauzi-post-grid) {
    justify-content: flex-start;
  }

  .elementor-widget-container:has(> .alphauzi-post-grid) {
    height: fit-content;
    min-height: 0 !important;
  }

  .alphauzi-post-grid {
    display: flow-root;
    height: fit-content;
    min-height: 0;
    margin: 0;
  }

  .alphauzi-post-grid-container {
    align-content: flex-start;
    min-height: 0;
    height: auto;
  }
}

/*
 * Tablet dua kolom (601–1024px): kolom featured & list sama tinggi (stretch);
 * tiap baris list membesar merata agar isi kanan mengisi tinggi featured (bukan ruang kosong di bawah).
 * Mobile satu kolom: tidak memakai aturan ini (lihat @media max-width 600).
 */
@media (max-width: 1024px) and (min-width: 601px) {
  .alphauzi-post-grid-container {
    align-items: stretch;
  }

  .alphauzi-featured-post,
  .alphauzi-list-posts {
    align-self: stretch;
    min-height: 0;
  }

  .alphauzi-list-posts {
    justify-content: flex-start;
    min-height: 0;
  }

  .list-post-item {
    flex: 1 1 0 !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .list-post-link {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    align-items: stretch;
  }

  .list-post-image {
    height: 100% !important;
    min-height: 0;
    align-self: stretch;
  }

  .list-post-content {
    justify-content: center;
    height: 100% !important;
    min-height: 0 !important;
  }
}

/* Variasi lebar tablet portrait: gap sedikit lebih rapat agar proporsi tetap enak */
@media (max-width: 834px) and (min-width: 601px) and (orientation: portrait) {
  .alphauzi-list-posts {
    gap: clamp(12px, 2.5vw, 20px);
  }
}
