.vthd-recommended-posts { clear: both; padding-top: 30px; padding-bottom: 45px; }
.vthd-recommended-posts-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.vthd-recommended-posts-heading h2 { margin: 0; font-size: 26px; line-height: 1.4; }
.vthd-recommended-posts-slider { position: relative; overflow: hidden; touch-action: pan-y; }
.vthd-recommended-posts-track { display: flex; width: 100%; height: auto; align-items: stretch; transition-property: transform; box-sizing: content-box; }
.vthd-recommended-post-card { flex: 0 0 auto; width: calc((100% - 72px) / 4); height: auto; min-width: 0; margin: 0; }
/* The child theme hides generic Swiper siblings. Loop reordering can hide the active card. */
#vthd-recommended-posts-track > .vthd-recommended-post-card.swiper-slide { visibility: visible !important; }
.vthd-recommended-posts-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.vthd-recommended-posts-pagination:empty, .vthd-recommended-posts-pagination.swiper-pagination-lock { display: none; }
.vthd-recommended-posts-pagination .vthd-recommended-posts-bullet { display: flex; justify-content: center; align-items: center; flex: 0 0 24px; width: 24px; min-width: 0; height: 24px; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; cursor: pointer; }
.vthd-recommended-posts-bullet::before { content: ''; display: block; width: 9px; height: 9px; border-radius: 50%; background: #d1d1d1; transition: background-color 200ms; }
.vthd-recommended-posts-bullet.is-active::before { background: #13007d; }
.vthd-recommended-post-image { display: flex; width: 100%; aspect-ratio: 1.7; overflow: hidden; border-radius: 6px; background: #f1f1f4; }
.vthd-recommended-post-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vthd-recommended-post-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; color: #13007d; }
.vthd-recommended-post-card h3 { margin: 10px 0 8px; font-size: 16px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.vthd-recommended-post-card h3 a { color: #111; text-decoration: none; }
.vthd-recommended-post-card h3 a:hover { color: #13007d; }
.vthd-recommended-post-card time { display: flex; align-items: center; gap: 7px; color: #929292; font-size: 12px; line-height: 1.5; }
.vthd-recommended-posts :focus-visible { outline: 2px solid #13007d; outline-offset: -2px; }
.vthd-recommended-posts-track .swiper-slide > a img:hover { border-color: unset; opacity: 0.8;}
@media (max-width: 1023px) {
  .vthd-recommended-post-card { width: calc((100% - 24px) / 2); }
}
@media (max-width: 639px) {
  .vthd-recommended-post-card { width: 100%; }
  .vthd-recommended-posts-heading h2 { font-size: 22px; }
}
