/* =========================================================
   RANCHO MURIETA CONNECT
   What's New Page
   ========================================================= */


/* ---------------------------------------------------------
   HEADER / LOGO
   --------------------------------------------------------- */

#Top_bar .logo {
  line-height: 0;
  margin-left: 34px;
}

#Top_bar .logo img {
  height: auto;
  max-height: 82px;
  width: auto;
}

#Top_bar {
  min-height: 100px;
}

.logo .mobile {
  display: none;
}

.rmc-join-nav {
  background: #0ea4a2;
  color: #fff;
  padding: 0 10px;
}


/* ---------------------------------------------------------
   PAGE
   --------------------------------------------------------- */

.rmc-whats-new-page {
  background: #f6f9f9;
}

.rmc-whats-new-container {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 24px;
  padding-right: 24px;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.rmc-whats-new-hero {
  background:
    linear-gradient(
      120deg,
      rgba(7, 45, 51, .86),
      rgba(16, 121, 119, .72)
    ),
    url('/images/rmc/rmcclub3.jpg') center 48% / cover no-repeat;

  color: #fff;
  padding: 92px 0 86px;
  position: relative;
  text-align: center;
}

.rmc-whats-new-eyebrow {
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.rmc-whats-new-hero h1 {
  color: #fff;
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,.18);
}

.rmc-whats-new-hero p:last-child {
  color: rgba(255,255,255,.96);
  font-size: 19px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 780px;
  text-shadow: 0 1px 6px rgba(0,0,0,.15);
}


/* ---------------------------------------------------------
   UPDATE LIST
   --------------------------------------------------------- */

.rmc-whats-new-list {
  background: #f6f9f9;
  padding: 58px 0 76px;
}

.rmc-whats-new-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* ---------------------------------------------------------
   UPDATE CARDS
   --------------------------------------------------------- */

.rmc-whats-new-card {
  background: #fff;
  border: 1px solid #d9e7e7;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(13,49,57,.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rmc-whats-new-image {
  aspect-ratio: 16 / 8;
  background: #e8f1f1;
  overflow: hidden;
}

.rmc-whats-new-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.rmc-whats-new-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 30px;
}


/* ---------------------------------------------------------
   CARD META
   --------------------------------------------------------- */

.rmc-whats-new-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.rmc-whats-new-meta time {
  color: #687b80;
  font-size: 13px;
}


/* ---------------------------------------------------------
   BADGES
   --------------------------------------------------------- */

.rmc-whats-new-badge {
  background: #dff4f1;
  border-radius: 999px;
  color: #11635f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 6px 10px;
  text-transform: uppercase;
}

.badge-business {
  background: #fff0d8;
  color: #82520b;
}

.badge-event {
  background: #ece7fb;
  color: #5f4a9c;
}

.badge-rmc {
  background: #dfeefd;
  color: #245e92;
}


/* ---------------------------------------------------------
   CARD CONTENT
   --------------------------------------------------------- */

.rmc-whats-new-content h2 {
  color: #0b3439;
  font-size: 27px;
  line-height: 1.25;
  margin: 16px 0 12px;
}

.rmc-whats-new-content > p {
  color: #4e656b;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
}


/* ---------------------------------------------------------
   BUTTON
   --------------------------------------------------------- */

.rmc-whats-new-button {
  align-self: flex-start;
  background: #0ea4a2;
  border-radius: 7px;
  color: #fff !important;
  font-weight: 700;
  margin-top: 4px;
  padding: 10px 16px;
  text-decoration: none !important;
  transition: background .2s ease;
}

.rmc-whats-new-button:hover,
.rmc-whats-new-button:focus {
  background: #0b6f70;
  color: #fff !important;
}


/* ---------------------------------------------------------
   EMPTY STATE
   Kept for future use if needed
   --------------------------------------------------------- */

.rmc-whats-new-empty {
  background: #fff;
  border: 1px solid #d9e7e7;
  border-radius: 16px;
  padding: 42px;
  text-align: center;
}

.rmc-whats-new-empty h2 {
  color: #0b3439;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .rmc-whats-new-grid {
    grid-template-columns: 1fr;
  }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

  #Top_bar .logo {
    margin-left: 10px;
  }

  .logo .mobile {
    display: block;
  }

  .logo .desktop {
    display: none;
  }

  .rmc-whats-new-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .rmc-whats-new-hero {
    background-position: center center;
    padding: 64px 0;
  }

  .rmc-whats-new-hero h1 {
    font-size: 35px;
  }

  .rmc-whats-new-hero p:last-child {
    font-size: 17px;
  }

  .rmc-whats-new-list {
    padding: 36px 0 52px;
  }

  .rmc-whats-new-content {
    padding: 22px;
  }

  .rmc-whats-new-content h2 {
    font-size: 23px;
  }

}