/* ---------------- HERO SECTION ---------------- */
.news-wrapper {
  display: flex;
  gap: 20px;
  align-items: start;
  padding: 5rem 0;
}

.rnvip-hero {
  position: relative;
  width: 100vw;
  height: 493px;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-image: url("https://www.rnvip.com/wp-content/uploads/2025/12/Girls-Airport_FEATUREDJOBS_background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rnvip-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.rnvip-hero-content {
  position: relative;
  z-index: 2;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rnvip-hero-content h1 {
  color: #fff;
  font-size: 42px;
  text-align: center;
  line-height: 1.2;
}

.rnvip-search-form {
  margin-bottom: 20px;
  display: flex;
}

.rnvip-search-form .form-control {
  border: 1px solid #ddd;
  color: #141617;
  background-color: #fff;
  padding-right: 30px;
  margin-right: -25px;
  border-radius: 30px 0 0 30px;
}

.rnvip-search-form button {
  background-color: #ffffff;
  border-radius: 50%;
  aspect-ratio: 1 /1;
  padding: 9px 9px 6px 9px;
  border: 1px solid #ddd;
}

.rnvip-latest-posts {
  margin-bottom: 20px;
}

.latest-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.latest-post-list li {
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 14px;
}

.latest-post-list a {
  display: block;
}

.latest-post-list .post-date {
  font-size: 12px;
  color: #666;
}

/* ---------------- FILTER PILLS ---------------- */
.rnvip-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 380px;
  padding-right: 20px;
  position: sticky;
  top: 60px;
}

.rnvip-filter-bar .items {
  padding: 0 0 20px 0;
}

.rnvip-latest-posts .item h4 {
  font-size: 1.8rem;
}

.rnvip-filter-pill {
  padding: 8px 22px;
  border-radius: 30px;
  border: 1px solid #ddd;
  transition: all 0.25s ease;
  display: inline-block;
  width: 100%;
  margin-top: 12px;
}

.rnvip-filter-pill.active {
  background: #50afff;
  color: #fff;
  border-color: #50afff;
}

.rnvip-news-card:hover {
  background-color: #eee;
}

/* ---------------- GRID ---------------- */
.rnvip-news-grid {
  width: 100%;
}

select.form-control {
  border: 1px solid #ddd;
  color: #2a2c2d;
  padding: 10px;
  border-radius: 30px;
  width: 100%;
}

.rnvip-search-form .form-control::placeholder {
  color: #141617c5 !important;
}

.rnvip-search-form .form-control::-webkit-input-placeholder {
  color: #141617c5 !important;
}

.rnvip-search-form .form-control:-ms-input-placeholder {
  color: #141617c5 !important;
}

.rnvip-search-form .form-control::-ms-input-placeholder {
  color: #141617c5 !important;
}

.rnvip-news-thumb {
  width: 350px;
}

/* ---------------- CARD ---------------- */
.rnvip-news-card {
  display: flex;
  margin-bottom: 20px;
  padding: 15px;
  box-shadow: 1px 2px 3px #d3d3d354, -1px -1px 3px #d3d3d359;
  border-radius: 10px;
}

.rnvip-news-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 5px;
}

.rnvip-news-body {
  padding: 18px 22px 26px;
  width: calc(100% - 350px);
}

.rnvip-filter-bar .items h4 {
  border-left: 5px solid #50afff;
  background-color: #ebf6ff;
  padding: 10px;
}

.rnvip-category-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #50afff;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
}

.rnvip-filter-bar .latest-post-list a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rnvip-news-title,
.rnvip-news-title a {
  font-size: 22px;
  margin: 10px 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.rnvip-news-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

.rnvip-news-excerpt {
  color: var(--awb-link-color);
}

.rnvip-news-excerpt:hover {
  color: #074383;
}

.latest-post-list li img {
  width: 150px;
  height: 100px;
  margin-bottom: 8px;
}

/* ---------------- PAGINATION ---------------- */
.rnvip-pagination {
  margin: 40px 0 60px;
  text-align: center;
}

.rnvip-pagination .page-numbers {
  padding: 8px 14px;
  margin: 0 4px;
  border-radius: 4px;
  background: #eee;
  color: #333;
  text-decoration: none;
}

.rnvip-pagination .current {
  background: #0073aa;
  color: #fff;
}

.rnvip-news-card:last-of-type {
  margin-bottom: 0;
}

/* ===================== MOBILE OPTIMIZATION ===================== */

@media (max-width: 1250px) {
  .news-wrapper {
    padding: 4rem 1rem;
  }
}

@media (max-width: 1024px) {
  .news-wrapper {
    flex-direction: column;
    padding: 3rem 1rem;
  }

  .rnvip-filter-bar {
    position: inherit;
    border-right: 0;
    width: 100%;
  }

  .rnvip-latest-posts {
    display: none;
  }

  .rnvip-filter-pill {
    width: auto;
    margin-right: 8px;
  }

  .rnvip-filter-bar .items {
    padding: 0;
  }
}

@media (max-width: 900px) {
  .rnvip-news-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 800px) {
  .rnvip-news-card {
    flex-direction: column;
  }

  .rnvip-news-thumb {
    width: 100%;
  }

  .rnvip-news-body {
    padding: 18px 0 0;
    width: 100%;
  }

  .rnvip-news-thumb img {
    height: 100%;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  /* HERO */
  .rnvip-hero {
    height: 380px;
  }

  main#site-content {
    width: 100%;
  }

  .rnvip-hero-content h1 {
    font-size: 32px;
  }

  .rnvip-filter-pill {
    padding: 7px 15px;
  }

  .rnvip-news-title {
    font-size: 18px;
    line-height: 1.3;
  }
}

@media (max-width: 600px) {
  .rnvip-news-thumb img {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  /* HERO */
  .rnvip-hero {
    height: 300px;
  }

  .rnvip-hero-content h1 {
    font-size: 26px;
    padding: 0 20px;
  }

  /* FILTERS */
  .rnvip-filter-pill {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* GRID - Single Column */
  .rnvip-news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rnvip-news-title {
    font-size: 17px;
  }
}

@media only screen and (max-width: 800px) {
  #main > .fusion-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}
