/* =========================
   RMC HOME PAGE REDESIGN
   Dreamweaver-Friendly CSS
   File: css/rmc-home.css
   Updated: cleaned duplicates + compact Featured Members / Upcoming Events layout
   ========================= */

/* =========================
   BASE
   ========================= */

#Content {
  background: #f7f9fa;
}

.rmc-home * {
  box-sizing: border-box;
}

.rmc-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.rmc-home-section {
  padding: 70px 0;
}

.rmc-section-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 28px;
}

.rmc-section-title {
  margin: 0 0 8px;
  color: #082c31;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 700;
}

.rmc-section-subtitle {
  max-width: 720px;
  margin: 0;
  color: #5c7379;
  font-size: 17px;
  line-height: 1.7;
}

.rmc-view-all,
.rmc-view-all:visited {
  white-space: nowrap;
  color: #0ea4a2 !important;
  font-weight: 700;
  text-decoration: none;
}

.rmc-view-all:hover {
  color: #0e3b43 !important;
  text-decoration: none;
}

/* =========================
   HERO WITH WAVE
   ========================= */

.rmc-hero-modern {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7,38,44,.82) 0%, rgba(7,38,44,.62) 46%, rgba(7,38,44,.12) 100%),
url('..//images/rmc/rmcclub3.jpg') center 58% / cover no-repeat;
  background-color: #082c31;
  padding: 72px 0 125px;
}

.rmc-hero-modern:after {
  display: none;
}

.rmc-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 115px;
  z-index: 1;
  line-height: 0;
  overflow: hidden;
}

.rmc-hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rmc-hero-wave path {
  fill: #f7f9fa;
}

.rmc-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 790px;
}

.rmc-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.25);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rmc-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.rmc-hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.94);
  font-size: 20px;
  line-height: 1.55;
}

/* =========================
   HERO LINK BUTTONS
   ========================= */

.rmc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 580px;
}

.rmc-action-btn,
.rmc-action-btn:visited,
.rmc-action-btn.rmc-action-featured,
.rmc-action-btn.rmc-action-featured:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(50% - 6px);
  min-height: 50px;
  padding: 11px 15px;
  border-radius: 13px;
  background: rgba(237, 248, 247, 0.96);
  border: 1px solid rgba(214, 232, 231, 0.95);
  color: #0b3138 !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,.13);
  transition: all .25s ease;
}

.rmc-action-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rmc-action-icon,
.rmc-action-btn.rmc-action-featured .rmc-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 164, 162, 0.12);
  color: #0ea4a2;
  flex: 0 0 32px;
  font-size: 14px;
}

.rmc-hero-actions .rmc-action-btn:hover,
.rmc-hero-actions .rmc-action-btn:focus,
.rmc-hero-actions .rmc-action-btn.rmc-action-featured:hover,
.rmc-hero-actions .rmc-action-btn.rmc-action-featured:focus {
  background: #0ea4a2 !important;
  border-color: #0ea4a2 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
}

.rmc-hero-actions .rmc-action-btn:hover .rmc-action-icon,
.rmc-hero-actions .rmc-action-btn:focus .rmc-action-icon,
.rmc-hero-actions .rmc-action-btn.rmc-action-featured:hover .rmc-action-icon,
.rmc-hero-actions .rmc-action-btn.rmc-action-featured:focus .rmc-action-icon {
  background: rgba(255,255,255,.18) !important;
  color: #ffffff !important;
}

.rmc-hero-actions .rmc-action-btn:hover > i,
.rmc-hero-actions .rmc-action-btn:focus > i {
  color: #ffffff !important;
}

/* =========================
   THREE TINTED CARDS UNDER HERO
   ========================= */

.rmc-quick-cards-wrap {
  position: relative;
  z-index: 3;
  margin-top: 30px;
}

.rmc-quick-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.rmc-quick-card,
.rmc-quick-card:visited {
  display: flex;
  align-items: center;
  gap: 18px;
  width: calc(33.333% - 15px);
  min-height: 126px;
  padding: 24px;
  border-radius: 18px;
  text-decoration: none !important;
  color: #0b3138 !important;
  border: 1px solid #dbecec;
  box-shadow: 0 12px 28px rgba(13,49,57,.06);
  transition: all .25s ease;
}

.rmc-quick-card:hover,
.rmc-quick-card:focus {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(13,49,57,.11);
  color: #0b3138 !important;
  text-decoration: none !important;
}

.rmc-quick-card:nth-child(1),
.rmc-quick-card:nth-child(3) {
  background: #edf8f7;
}

.rmc-quick-card:nth-child(2) {
  background: #f1eefb;
}

.rmc-quick-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0ea4a2;
  color: #ffffff;
  font-size: 22px;
  flex: 0 0 58px;
}

.rmc-quick-card:nth-child(2) .rmc-quick-icon {
  background: #7b62c8;
}

.rmc-quick-card h3 {
  margin: 0 0 6px;
  color: #0b3138;
  font-size: 20px;
  line-height: 1.2;
}

.rmc-quick-card p {
  margin: 0 0 8px;
  color: #526b70;
  font-size: 14px;
  line-height: 1.45;
}

.rmc-card-link {
  color: #0ea4a2;
  font-size: 14px;
  font-weight: 700;
}

/* =========================
   FEATURED MEMBERS - GENERAL CARD STYLE
   ========================= */

.rmc-grid-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.rmc-member-card,
.rmc-member-card:visited {
  width: calc(25% - 17px);
  background: #ffffff;
  border: 1px solid #d6e8e7;
  border-radius: 20px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 8px 26px rgba(13,49,57,.05);
  transition: all .25s ease;
  text-decoration: none !important;
  color: #082c31 !important;
}

.rmc-member-card:hover,
.rmc-member-card:focus {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(13,49,57,.10);
  color: #082c31 !important;
  text-decoration: none !important;
}

.rmc-member-logo {
  width: 96px;
  height: 72px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rmc-member-logo img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
}

.rmc-member-card h3 {
  margin: 0 0 6px;
  color: #082c31;
  font-size: 20px;
  line-height: 1.25;
}

.rmc-member-card p {
  margin: 0 0 12px;
  color: #5c7379;
  font-size: 14px;
}

.rmc-stars {
  color: #d99b2b;
  letter-spacing: 2px;
  font-size: 14px;
}

/* =========================
   FEATURED MEMBERS + UPCOMING EVENTS
   SIDE-BY-SIDE HOME SECTION
   ========================= */

.rmc-feature-event-section {
  background: #f7f9fa;
  padding-top: 60px;
  padding-bottom: 35px;
}

.rmc-feature-event-section .rmc-container {
  max-width: 1520px;
}

.rmc-feature-event-grid {
  display: flex;
  gap: 46px;
  align-items: flex-start;
}

.rmc-feature-column,
.rmc-events-column {
  min-width: 0;
}

.rmc-feature-column {
  flex: 0 0 52%;
  padding-right: 42px;
  border-right: 1px solid #d6e8e7;
}

.rmc-events-column {
  flex: 1 1 48%;
  padding-left: 4px;
}

.rmc-small-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.rmc-small-section-header h2 {
  margin: 0;
  color: #082c31;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 1px;
}

.rmc-small-section-header a,
.rmc-small-section-header a:visited {
  color: #0ea4a2 !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  margin-left: auto;
}

.rmc-small-section-header a:hover {
  color: #0e3b43 !important;
}

/* Member cards inside the side-by-side section */
.rmc-featured-members-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.rmc-featured-members-row .rmc-member-card,
.rmc-featured-members-row .rmc-member-card:visited {
  width: calc(50% - 9px);
  min-width: 0;
  min-height: 220px;
  padding: 18px 18px;
}

.rmc-featured-members-row .rmc-member-logo {
  width: 170px;
  height: 86px;
  margin: 0 auto 16px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rmc-featured-members-row .rmc-member-card h3 {
  font-size: 20px;
  line-height: 1.25;
}

.rmc-featured-members-row .rmc-member-card p {
  font-size: 14px;
}

/* Compact home events list */
.home-events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-card-link,
.event-card-link:visited {
  display: block;
  color: inherit;
  text-decoration: none !important;
}

.home-event-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: 130px;
  background: #ffffff;
  border: 1px solid rgba(0, 157, 154, 0.22);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(7, 51, 54, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 51, 54, 0.09);
}

.home-event-card .event-date-badge {
  width: 74px;
  min-height: 130px;
  border: none;
  border-right: 1px solid rgba(0, 157, 154, 0.22);
  border-radius: 0;
  background: #ffffff;
  overflow: hidden;
  text-align: center;
}

.home-event-card .event-month {
  display: block;
  background: #009d9a;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 10px 4px;
  text-transform: uppercase;
}

.home-event-card .event-day {
  display: block;
  color: #073336;
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
  padding: 18px 4px 8px;
}

.home-event-card .event-card-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  overflow: hidden;
}

.home-event-card .event-card-content h3 {
  margin: 0 0 8px;
  color: #073336;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-event-card .event-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  color: #5d7076;
  font-size: 14px;
  line-height: 1.25;
}

.home-event-card .event-meta span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-event-card .event-meta i {
  color: #009d9a;
  width: 15px;
  margin-right: 5px;
}

.home-event-card .event-card-image {
  width: 125px;
  height: 100%;
  min-height: 130px;
  border-radius: 0;
  overflow: hidden;
  background: #eaf5f5;
}

.home-event-card .event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* No events fallback */
.no-events-card {
  display: block;
  min-height: 0;
  padding: 20px;
}

.no-events-card .event-card-content {
  padding: 0;
}

.no-events-card .event-summary {
  margin: 0 0 10px;
  color: #5d7076;
  font-size: 15px;
  line-height: 1.45;
}

/* Tighten spacing between Featured/Events and Local Info panel */
.rmc-feature-event-section + .rmc-home-section {
  padding-top: 30px;
}

/* =========================
   LOCAL INFO PANEL
   ========================= */

.rmc-local-panel {
  display: flex;
  align-items: center;
  gap: 34px;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbfb 100%);
  border: 1px solid #d6e8e7;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(13, 49, 57, 0.10);
}

.rmc-local-photo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: url('../images/home_business_img2.jpg') center center / cover no-repeat;
  border: 10px solid #ffffff;
  box-shadow: 0 14px 34px rgba(13,49,57,.12);
  flex: 0 0 210px;
}

.rmc-local-panel h2 {
  margin: 0 0 12px;
  color: #082c31;
  font-size: 38px;
  line-height: 1.15;
}

.rmc-local-panel p {
  margin: 0 0 18px;
  color: #5c7379;
  font-size: 17px;
  line-height: 1.75;
}

.rmc-link-arrow,
.rmc-link-arrow:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0ea4a2 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.rmc-link-arrow:hover,
.rmc-link-arrow:focus {
  color: #0e3b43 !important;
  text-decoration: none !important;
}

/* =========================
   RESPONSIVE
   ========================= */

@media only screen and (max-width: 1300px) {
  .rmc-feature-event-section .rmc-container {
    max-width: 1220px;
  }

  .rmc-feature-event-grid {
    display: block;
  }

  .rmc-feature-column {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 42px;
    border-bottom: 1px solid #d6e8e7;
  }

  .rmc-events-column {
    padding-left: 0;
  }
}

@media only screen and (max-width: 1024px) {
  .rmc-member-card {
    width: calc(50% - 11px);
  }

  .rmc-featured-members-row .rmc-member-card,
  .rmc-featured-members-row .rmc-member-card:visited {
    width: calc(50% - 10px);
  }

  .home-event-card {
    display: flex;
  }

  .home-event-card .event-card-image {
    width: 140px;
  }
}

@media only screen and (max-width: 900px) {
  .rmc-quick-card {
    width: 100%;
  }

  .rmc-quick-cards-wrap {
    margin-top: -34px;
  }
}

@media only screen and (max-width: 767px) {
  .rmc-container {
    padding: 0 18px;
  }

  .rmc-home-section {
    padding: 50px 0;
  }

  .rmc-hero-modern {
    padding: 56px 0 92px;
  }

  .rmc-hero-copy h1 {
    font-size: 34px;
  }

  .rmc-hero-copy p {
    font-size: 17px;
  }

  .rmc-action-btn,
  .rmc-action-btn:visited {
    width: 100%;
    min-height: 52px;
  }

  .rmc-section-intro {
    display: block;
  }

  .rmc-section-title {
    font-size: 30px;
  }

  .rmc-local-panel {
    display: block;
    text-align: center;
  }

  .rmc-local-photo {
    margin: 0 auto 24px;
  }
}

@media only screen and (max-width: 600px) {
  .rmc-small-section-header {
    display: block;
  }

  .rmc-small-section-header h2 {
    margin-bottom: 10px;
  }

  .rmc-featured-members-row {
    display: block;
  }

  .rmc-featured-members-row .rmc-member-card,
  .rmc-featured-members-row .rmc-member-card:visited {
    width: 100%;
  }

  .home-event-card {
    display: flex;
  }

  .home-event-card .event-date-badge {
    width: 70px;
  }

  .home-event-card .event-day {
    font-size: 28px;
  }

  .home-event-card .event-card-image {
    width: 105px;
  }

  .home-event-card .event-card-content h3 {
    font-size: 16px;
  }

  .home-event-card .event-meta {
    font-size: 13px;
  }
}

@media only screen and (max-width: 480px) {
  .rmc-hero-copy h1 {
    font-size: 30px;
  }

  .rmc-hero-copy p {
    font-size: 16px;
  }

  .rmc-quick-card {
    padding: 20px;
    gap: 14px;
  }

  .rmc-quick-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
    flex: 0 0 48px;
  }

  .home-event-card {
    display: block;
  }

  .home-event-card .event-date-badge {
    width: 66px;
  }

  .home-event-card .event-card-image {
    width: 100%;
    height: 150px;
  }
}

/* =========================
   FEATURED MEMBERS FINAL 2x2 OVERRIDE
   Keeps Featured Local Members balanced with Upcoming Events.
   ========================= */

.rmc-featured-members-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.rmc-featured-members-row .rmc-member-card,
.rmc-featured-members-row .rmc-member-card:visited {
  width: calc(50% - 9px);
  min-height: 220px;
  padding: 18px 18px;
}

.rmc-featured-members-row .rmc-member-logo {
  width: 100px;
  height: 56px;
  margin-bottom: 12px;
}

.rmc-featured-members-row .rmc-member-logo img {
  max-width: 100%;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.rmc-featured-members-row .rmc-member-card h3 {
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.rmc-featured-members-row .rmc-member-card p {
  font-size: 13px;
  margin-bottom: 10px;
}

.rmc-featured-members-row .rmc-stars {
  font-size: 13px;
  margin-top: 10px;
}

@media only screen and (max-width: 600px) {
  .rmc-featured-members-row .rmc-member-card,
  .rmc-featured-members-row .rmc-member-card:visited {
    width: 100%;
  }
}

/* For member photos/logos that are more portrait-like */
.rmc-featured-members-row .rmc-member-logo img[src*="photo"],
.rmc-featured-members-row .rmc-member-logo img[src*="profile"],
.rmc-featured-members-row .rmc-member-logo img[src*="headshot"] {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
}
.rmc-member-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(14, 164, 162, 0.10);
  color: #0b918f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rmc-featured-members-row .rmc-stars {
  display: none;
}
/* =========================
   FEATURED MEMBER CTA
   ========================= */

.rmc-featured-members-row .rmc-stars,
.rmc-member-badge {
  display: none;
}

.rmc-member-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #0ea4a2;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rmc-member-cta i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.rmc-member-card:hover .rmc-member-cta i {
  transform: translateX(3px);
}
/* =========================
   HEADER STICKY / OVERLAP FIX
   Keeps page content from sliding over header
   ========================= */

#Header_wrapper,
#Header,
#Top_bar {
  z-index: 99999 !important;
}

#Top_bar {
  position: sticky !important;
  top: 0;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 8px 24px rgba(7, 51, 54, 0.08);
}

/* BeTheme sticky state */
#Top_bar.is-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98) !important;
  z-index: 99999 !important;
  box-shadow: 0 8px 24px rgba(7, 51, 54, 0.10);
}

/* Keep homepage sections below the header layer */
#Content,
.rmc-home,
.rmc-hero-modern,
.rmc-quick-cards-wrap,
.rmc-feature-event-section {
  position: relative;
  z-index: 1;
}

/* Make sure dropdown menu also appears above page content */
#Top_bar .menu_wrapper,
#Top_bar .menu,
#Top_bar .sub-menu {
  z-index: 100000 !important;
}

/* =========================
   HERO LIGHT PHOTO / READABILITY PANEL
   Keeps image bright but makes text readable
   ========================= */

.rmc-hero-modern {
  background:
    url('../images/rmc/rmcclub3.jpg') center 58% / cover no-repeat !important;
  background-color: #f7f9fa !important;
}

.rmc-hero-modern::before {
  display: none !important;
}

/* Soft panel behind hero text only */
.rmc-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 28px 34px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(7, 51, 54, 0.16);
  backdrop-filter: blur(3px);
}

/* Eyebrow label */
.rmc-eyebrow {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(7, 51, 54, 0.18);
  color: #073336 !important;
}

/* Main hero text */
.rmc-hero-copy h1 {
  color: #073336 !important;
  text-shadow: none !important;
}

/* Hero paragraph */
.rmc-hero-copy p {
  color: #173f44 !important;
  font-weight: 600;
  text-shadow: none !important;
}
/* =========================
   MOBILE HERO BUTTON FIX
   Make all hero action boxes full width
   ========================= */

@media only screen and (max-width: 767px) {
  .rmc-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 100%;
  }

  .rmc-hero-actions .rmc-action-btn,
  .rmc-hero-actions .rmc-action-btn:visited,
  .rmc-hero-actions .rmc-action-btn.rmc-action-featured,
  .rmc-hero-actions .rmc-action-btn.rmc-action-featured:visited {
    width: 100% !important;
    min-height: 62px;
    justify-content: space-between;
  }

  .rmc-action-left {
    width: 100%;
  }

  .rmc-action-left span:last-child {
    flex: 1;
  }
}

/* =========================
   MOBILE UPCOMING EVENTS FIX
   Compact event cards on phones
   ========================= */

@media only screen and (max-width: 600px) {

  .home-events-list {
    gap: 16px;
  }

  .home-event-card {
    display: flex !important;
    align-items: stretch;
    min-height: 120px;
  }

  .home-event-card .event-date-badge {
    flex: 0 0 70px;
    width: 70px !important;
    min-height: 120px;
  }

  .home-event-card .event-month {
    font-size: 12px;
    padding: 10px 4px;
  }

  .home-event-card .event-day {
    font-size: 28px;
    padding: 18px 4px 8px;
  }

  .home-event-card .event-card-content {
    flex: 1 1 auto;
    padding: 18px 16px;
  }

  .home-event-card .event-card-content h3 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .home-event-card .event-meta {
    font-size: 14px;
    line-height: 1.35;
  }

  /* Hide event thumbnails on mobile so cards stay clean */
  .home-event-card .event-card-image {
    display: none !important;
  }
}
@media only screen and (max-width: 900px) {
  .rmc-quick-cards-wrap {
    margin-top: 24px !important;
  }
}

@media only screen and (max-width: 767px) {
  .rmc-hero-modern {
    padding-bottom: 95px;
  }

  .rmc-quick-cards-wrap {
    margin-top: 34px !important;
  }
}
/* =========================
   MOBILE LOCAL PANEL HEADING
   ========================= */

@media only screen and (max-width: 767px) {
  .rmc-local-panel h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  .rmc-local-panel p {
    font-size: 18px;
    line-height: 1.6;
  }
}

@media only screen and (max-width: 480px) {
  .rmc-local-panel h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  .rmc-local-panel p {
    font-size: 17px;
    line-height: 1.55;
  }
}
/* =========================
   RMC HOME VISUAL ENERGY PASS
   Adds more polish without changing content
   ========================= */

/* Warmer, more dimensional page background */
#Content {
  background:
    radial-gradient(circle at top left, rgba(14, 164, 162, 0.10), transparent 34%),
    radial-gradient(circle at 90% 38%, rgba(123, 98, 200, 0.08), transparent 28%),
    #f7f9fa;
}

/* Make section headers feel more intentional */
.rmc-small-section-header h2,
.rmc-section-title {
  letter-spacing: 2px;
}

/* Turn View All links into subtle pills */
.rmc-small-section-header a,
.rmc-small-section-header a:visited,
.rmc-view-all,
.rmc-view-all:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(14, 164, 162, 0.10);
  color: #008f8c !important;
}

.rmc-small-section-header a:hover,
.rmc-view-all:hover {
  background: #0ea4a2;
  color: #ffffff !important;
}

/* Give quick cards a little more life */
.rmc-quick-card {
  position: relative;
  overflow: hidden;
}

.rmc-quick-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 100%;
  background: #0ea4a2;
}

.rmc-quick-card:nth-child(2)::before {
  background: #7b62c8;
}

.rmc-quick-card:hover {
  border-color: rgba(14, 164, 162, 0.45);
}

/* Featured + Events section: add a soft contained background */
.rmc-feature-event-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.45), rgba(237,248,247,0.65)),
    #f7f9fa;
}

.rmc-feature-event-section .rmc-container {
  position: relative;
}

/* Add stronger card polish */
.rmc-member-card,
.home-event-card,
.rmc-local-panel,
.rmc-quick-card {
  box-shadow:
    0 12px 30px rgba(7, 51, 54, 0.07),
    0 2px 8px rgba(7, 51, 54, 0.03);
}

.rmc-member-card:hover,
.home-event-card:hover,
.rmc-quick-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 42px rgba(7, 51, 54, 0.12),
    0 3px 10px rgba(7, 51, 54, 0.05);
}

/* Featured member cards: add subtle top accent */
.rmc-featured-members-row .rmc-member-card {
  position: relative;
  overflow: hidden;
}

.rmc-featured-members-row .rmc-member-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #0ea4a2, #7b62c8);
}

/* Events: make date badge slightly richer */
.home-event-card .event-month {
  background: linear-gradient(135deg, #009d9a, #007d7b);
}

/* Local info panel: make it feel like a feature block */
.rmc-local-panel {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(237,248,247,0.96));
  border-color: rgba(14, 164, 162, 0.22);
}

.rmc-local-panel h2 {
  color: #073336;
}

.rmc-local-photo {
  box-shadow:
    0 18px 45px rgba(7, 51, 54, 0.18),
    0 0 0 8px rgba(14, 164, 162, 0.08);
}

/* Footer: add a stronger top separation */
#Footer {
  border-top: 6px solid #0ea4a2;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3fbfb 100%);
}

/* Footer social icons pop a little more */
.rmc-social-icons .social-circle {
  box-shadow: 0 8px 20px rgba(7, 51, 54, 0.14);
}

/* =========================
   HERO BUTTON TOP-TO-BOTTOM TEAL GRADIENT
   Lighter on top, white on hover/click
   ========================= */

.rmc-hero-actions .rmc-action-btn,
.rmc-hero-actions .rmc-action-btn:visited,
.rmc-hero-actions .rmc-action-btn.rmc-action-featured,
.rmc-hero-actions .rmc-action-btn.rmc-action-featured:visited {
  background: linear-gradient(
    180deg,
    #CCEEED 0%,
    #0a8f8c 50%,
    #CCEEED 100%
  ) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
}

/* Icon box inside gradient button */
.rmc-hero-actions .rmc-action-btn .rmc-action-icon {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

/* Arrow icon */
.rmc-hero-actions .rmc-action-btn > i {
  color: #ffffff !important;
}

/* White on hover/click/focus */
.rmc-hero-actions .rmc-action-btn:hover,
.rmc-hero-actions .rmc-action-btn:focus,
.rmc-hero-actions .rmc-action-btn:active,
.rmc-hero-actions .rmc-action-btn.rmc-action-featured:hover,
.rmc-hero-actions .rmc-action-btn.rmc-action-featured:focus,
.rmc-hero-actions .rmc-action-btn.rmc-action-featured:active {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  color: #073336 !important;
}

/* Icon box switches back on hover/click */
.rmc-hero-actions .rmc-action-btn:hover .rmc-action-icon,
.rmc-hero-actions .rmc-action-btn:focus .rmc-action-icon,
.rmc-hero-actions .rmc-action-btn:active .rmc-action-icon {
  background: rgba(14, 164, 162, 0.12) !important;
  color: #0ea4a2 !important;
}

/* Arrow switches back on hover/click */
.rmc-hero-actions .rmc-action-btn:hover > i,
.rmc-hero-actions .rmc-action-btn:focus > i,
.rmc-hero-actions .rmc-action-btn:active > i {
  color: #073336 !important;
}
/* RMC Home: Featured Members + Upcoming Events width fix */
.rmc-feature-events-container {
  max-width: 1200px !important;
  width: calc(100% - 40px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.rmc-feature-event-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.45fr !important;
  gap: 40px !important;
  align-items: start !important;
}

.rmc-feature-column,
.rmc-events-column {
  min-width: 0 !important;
}

@media (max-width: 900px) {
  .rmc-feature-events-container {
    width: calc(100% - 24px) !important;
  }

  .rmc-feature-event-grid {
    grid-template-columns: 1fr !important;
  }
}

.rmc-home-featured-loading,
.rmc-home-featured-empty,
.rmc-home-featured-error {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px dashed rgba(41, 174, 174, 0.45);
    color: #555;
}

.rmc-home-featured-empty a {
    color: #29AEAE;
    font-weight: 700;
    text-decoration: none;
}

.rmc-home-featured-members {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rmc-home-featured-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(41, 174, 174, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rmc-home-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.rmc-home-featured-image {
    width: 86px;
    height: 86px;
    border-radius: 14px;
    background: #f5fafa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.rmc-home-featured-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rmc-home-featured-content h3 {
    margin: 0 0 4px;
    color: #133a3a;
    font-size: 20px;
}

.rmc-home-featured-content p {
    margin: 0 0 8px;
    color: #555;
    line-height: 1.4;
}

.rmc-home-featured-category {
    color: #29AEAE !important;
    font-weight: 700;
    font-size: 14px;
}

.rmc-home-featured-link {
    color: #29AEAE;
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 700px) {
    .rmc-home-featured-card {
        align-items: flex-start;
    }

    .rmc-home-featured-image {
        width: 70px;
        height: 70px;
    }

    .rmc-home-featured-content h3 {
        font-size: 17px;
    }
}
/* Compact home page featured member cards - with short bio, no images */

#rmc-home-featured-members {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

#rmc-home-featured-members .rmc-home-featured-members {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

#rmc-home-featured-members .rmc-home-featured-card {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 18px !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid rgba(41, 174, 174, 0.18) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07) !important;
    text-decoration: none !important;
    color: inherit !important;
}

#rmc-home-featured-members .rmc-home-featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10) !important;
}

#rmc-home-featured-members .rmc-home-featured-content h3 {
    margin: 0 0 4px !important;
    color: #133a3a !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
}

#rmc-home-featured-members .rmc-home-featured-category {
    margin: 0 0 8px !important;
    color: #29AEAE !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

#rmc-home-featured-members .rmc-home-featured-bio {
    margin: 0 0 10px !important;
    color: #555 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

#rmc-home-featured-members .rmc-home-featured-link {
    display: inline-block !important;
    color: #29AEAE !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

#rmc-home-featured-members .rmc-home-featured-image {
    display: none !important;
}

@media (max-width: 700px) {
    #rmc-home-featured-members .rmc-home-featured-card {
        padding: 14px 15px !important;
    }

    #rmc-home-featured-members .rmc-home-featured-content h3 {
        font-size: 18px !important;
    }

    #rmc-home-featured-members .rmc-home-featured-category,
    #rmc-home-featured-members .rmc-home-featured-bio,
    #rmc-home-featured-members .rmc-home-featured-link {
        font-size: 14px !important;
    }
}
/* Upcoming Events - See Event Details link */

.rmc-home-event-details-link {
    display: inline-block;
    margin-top: 8px;
    color: #29AEAE;
    font-weight: 700;
    font-size: 15px;
}

.event-card-link:hover .rmc-home-event-details-link {
    text-decoration: underline;
}