/**
 * Theme Name: RFG Custom
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 * Version: 0.1.0
 */

/* Only affects pages using your RFG template */
.page-template-page-rfg .entry-title,
.page-template-page-rfg .ct-page-title,
.page-template-page-rfg .page-title,
.page-template-page-rfg .ct-page-header,
.page-template-page-rfg [data-id="page-title"] {
  display: none !important;
}

.page-template-page-rfg .hero-section[data-type=type-1] {
   display: none !important;
}

/* Make menu text larger */
.ct-header .menu > li > a {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 14px; /* click target + spacing */
}

/* Pull the nav toward the bottom edge of the white bar */
.ct-header [data-row="middle"] .ct-container {
  padding-top: 12px !important;
  padding-bottom: 0px !important; /* smaller gap above green strip */
}

/* Align items in the row to the bottom baseline */
.ct-header [data-row="middle"] .ct-header-items {
  align-items: flex-end;
}

/* Short underline on the active item (centered) */
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current_page_item > a { position: relative; }
.main-nav .menu > li.current-menu-item > a::after,
.main-nav .menu > li.current_page_item > a::after {
  content: "";
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -12px; width: 56px; height: 6px; background: #177b3b; border-radius: 3px;
}

/* Keep the strip tight under the header */
.ct-header { margin-bottom: 0; }
.rfg-green-strip { margin-top: 0; height: 84px; /* background: url('/wp-content/uploads/green-circuit.webp') center/cover no-repeat; */ }


/* Only on your RFG template page */
.page-template-page-rfg .ct-header {
  /* border-bottom: 6px solid var(--rfg-brand, #177b3b); */
  margin-bottom: 0; /* keep tight to content */
}

/* Make the menu sit near that line */
.page-template-page-rfg .ct-header [data-row="bottom"] .ct-container {
  padding-bottom: 0px !important;
}
.page-template-page-rfg .ct-header [data-row="bottom"] .ct-header-items {
  align-items: flex-end;
}


