/*
 Theme Name:   Listingpro Child
 Theme URI:    http://studio.cridio.com/listingpro/
 Description:  Listingpro Child Theme
 Author:       cridio team
 Author URI:   http://cridio.com/
 Template:     listingpro
 Version:      1.0.0
 Tags:         listingpro, directory, listing, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  listingpro
*/

/* Meta row layout */
.elementor-post__meta-data{
  display:flex;
}

.elementor-post__meta-data .elementor-post-date{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#131f49;
  font-family:'Poppins', sans-serif;
  font-size:13px;
  font-weight:500;
}

.main-featured-section .elementor-post__meta-data .po-meta-cat,
.recent-posts-element .elementor-post__meta-data .po-meta-cat,
.exclusive-articles-section .elementor-post__meta-data .po-meta-cat {
  font-family: Open Sans;
  color: #131f49;
  font-size: 12px;
  font-weight: 600;
}

.elementor-post__meta-data .po-meta-cat{
  color: #e52e2e;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  }



.blog-content-container{
  display: flex;
  flex-wrap: wrap;
}

.blog-content-container > [class*="col-"]{
  display: flex;
  margin-bottom: 40px;
}

.blog-content-container .lp-blog-grid-box,
.blog-content-container .lp-blog-grid-box-container{
  height: 100%;
  width: 100%;
}

.blog-content-container .lp-blog-grid-box-container{
  display: flex;
  flex-direction: column;
}

.blog-content-container .lp-blog-grid-box-description{
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-content-container .blog-read-more{
  margin-top: auto;
}

/* Stylized divider: thick line + 3 dots */
.stylized-divider .elementor-divider {
  text-align: left; 
}

.stylized-divider .elementor-divider-separator{
  
  border-top: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
}

.stylized-divider .elementor-divider-separator::before{
  content: "";
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #f43f5e;
  display: block;
}

/* the 3 dots */
.stylized-divider .elementor-divider-separator::after{
  content: "";
  display: block;

  /* make 2 more dots */
  box-shadow:
    14px 0 0 #f43f5e,
    28px 0 0 #f43f5e;
}

/* Hot this week – numbers only (safe with CubePortfolio) */
.hot-this-week .xpro-post-grid-main{
  counter-reset: hotRank;
}

.hot-this-week .xpro-post-grid-item{
  position: relative;
  counter-increment: hotRank;
}

.hot-this-week .xpro-post-grid-content{
  position: relative;
  z-index: 2;
  padding-right: 140px;
/*   min-height: 120px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hot-this-week .xpro-post-grid-item::after{
  content: counter(hotRank);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;

  color: #d2dae1;
  z-index: 1;
  pointer-events: none;
}
.hot-this-week .cbp-item {
  top: 0 !important;
}

/* Only affect tabs inside .tabbed-section */
.tabbed-section .e-n-tabs .e-con[role="tabpanel"]{
  position: relative;
}

/* Hide panel content while refresh runs */
.tabbed-section .e-n-tabs .e-con[role="tabpanel"].xpro-refreshing{
  opacity: 0;
  pointer-events: none;
}

.tabbed-section .e-n-tabs .e-con[role="tabpanel"].xpro-refreshed{
  opacity: 1;
  transition: opacity .22s ease;
}

/* Loading overlay */
.tabbed-section .e-n-tabs .e-con[role="tabpanel"].xpro-refreshing::after{
  content: "Loading…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  letter-spacing: .02em;
  color: rgba(15, 23, 42, .65);
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(2px);
}
.tabbed-section .e-n-tab-title-text {
  font-size: 13px !important;
  line-height: 2;
  font-family: Roboto Condensed;
}
.tabbed-section .e-n-tab-title-text:hover,
.tabbed-section .e-n-tab-title-text:after {
  color: #E52E2E;
}

/* Exclusive Articles Section */
.exclusive-articles-section .elementor-post {
  display: flex;
  align-items: center;
}

/* Events page */
.tribe-common-l-container.tribe-events-l-container {
  background: #fff;
  margin-top: 40px;
}

button.tribe-events-c-nav__next.tribe-common-b2.tribe-common-b1--min-medium {
    background: transparent !important;
    font-size: 16px;
}

button.tribe-common-c-btn-icon.tribe-common-c-btn-icon--caret-right.tribe-events-c-top-bar__nav-link.tribe-events-c-top-bar__nav-link--next {
    background: transparent !important;
}

.tribe-common .tribe-common-c-btn-icon--caret-right:disabled .tribe-common-c-btn-icon__icon-svg path {
    fill: #bababa;
}

.tribe-events-calendar-list__event-details.tribe-common-g-col {
    z-index: 1;
}


/*
//////////////////////////
/////////////////////////
Restrict Content Banner
////////////////////////
///////////////////////
*/

.restrict-content-block {
  position: relative;
  padding: 90px 32px;
  margin: 40px 0;
  border-radius: 16px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ff2d54 0%, #c01836 100%);
  box-shadow:
    0 20px 40px rgba(255, 45, 84, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.restrict-content-block::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.08) 12px,
    transparent 12px,
    transparent 28px
  );
  opacity: 0.35;
  pointer-events: none;
}

.restrict-content-block::after {
  content: "PREMIUM CONTENT";
  position: absolute;
  top: 56px;
  right: -60px;
  padding: 0px 50px;
  background: #ffffff;
  color: #ff2d54;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: rotate(45deg);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.restrict-content-block p {
  color: #ffffff;
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.6;
}

.restrict-content-block p:first-child {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
}

.restrict-content-block a {
  display: inline-block;
  margin: 10px 10px 0;
  padding: 12px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #ff2d54;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.restrict-content-block a:hover {
  background: #ffe3e9;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
}

/* =========
   RCP FORM - NZ Business Style
   ========= */

#rcp_registration_form.rcp_form {
  max-width: 860px;
  margin: 40px auto;
  padding: 28px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.08);
  font-family: inherit;
}

#rcp_registration_form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}

#rcp_registration_form legend,
#rcp_registration_form .rcp_subscription_message {
  margin: 0 0 14px;
  font-weight: 800;
  font-size: 18px;
  color: #0f172a;
}

#rcp_registration_form .rcp_login_link {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 45, 84, 0.08);
  border: 1px solid rgba(255, 45, 84, 0.18);
  margin-bottom: 18px;
}

#rcp_registration_form .rcp_login_link p {
  margin: 0;
  color: #0f172a;
  font-size: 14px;
}

#rcp_registration_form .rcp_login_link a {
  color: #ff2d54;
  font-weight: 700;
  text-decoration: none;
}

#rcp_registration_form .rcp_login_link a:hover {
  text-decoration: underline;
}

#rcp_registration_form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
}

#rcp_registration_form input[type="text"],
#rcp_registration_form input[type="email"],
#rcp_registration_form input[type="password"],
#rcp_registration_form select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#rcp_registration_form input[type="text"]:focus,
#rcp_registration_form input[type="email"]:focus,
#rcp_registration_form input[type="password"]:focus,
#rcp_registration_form select:focus {
  border-color: rgba(255, 45, 84, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 45, 84, 0.16);
}

#rcp_registration_form p {
  margin: 0 0 16px;
}

#rcp_registration_form .rcp_user_fieldset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

#rcp_registration_form #rcp_user_login_wrap,
#rcp_registration_form #rcp_user_email_wrap {
  grid-column: span 2;
}

#rcp_registration_form #rcp_subscription_levels {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

#rcp_registration_form .rcp_subscription_level label {
  display: block;
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

#rcp_registration_form .rcp_subscription_level input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#rcp_registration_form .rcp_subscription_level label:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 45, 84, 0.35);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.08);
}

#rcp_registration_form .rcp_subscription_level input[type="radio"]:checked + label {
  border-color: rgba(255, 45, 84, 0.65);
  box-shadow: 0 0 0 4px rgba(255, 45, 84, 0.14);
}

#rcp_registration_form .rcp_subscription_level_name {
  font-weight: 900;
  color: #0f172a;
}

#rcp_registration_form .rcp_price,
#rcp_registration_form .rcp_level_duration {
  font-weight: 800;
  color: #ff2d54;
}

#rcp_registration_form .rcp_level_description {
  margin-top: 10px;
  color: rgba(15, 23, 42, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

#rcp_registration_form .rcp_registration_total_details {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #ffffff;
}

#rcp_registration_form .rcp_registration_total_details thead th {
  text-align: left;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
  font-weight: 900;
}

#rcp_registration_form .rcp_registration_total_details td {
  padding: 12px 16px;
  border-top: 0px solid rgba(15, 23, 42, 0.08) !important;
  color: rgba(15, 23, 42, 0.88);
}

#rcp_registration_form .rcp_registration_total_details .rcp-total td {
  font-weight: 900;
  color: #0f172a;
  background: rgba(255, 45, 84, 0.06);
}

.rcp_registration_total_details tr {
  width: 100% !important;
}

#rcp_registration_form .rcp_gateway_option_label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #ffffff;
  margin: 10px 0 0;
  cursor: pointer;
}

#rcp_registration_form .rcp_gateway_option_input {
  width: 18px;
  height: 18px;
  accent-color: #ff2d54;
}

#rcp_registration_form #rcp_submit_wrap {
  margin-top: 18px;
}

#rcp_registration_form #rcp_submit.rcp-button {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: #ff2d54;
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(255, 45, 84, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

#rcp_registration_form #rcp_submit.rcp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(255, 45, 84, 0.34);
  filter: brightness(0.98);
}

#rcp_registration_form #rcp_submit.rcp-button:active {
  transform: translateY(0);
}

@media (max-width: 720px) {
  #rcp_registration_form.rcp_form {
    padding: 18px;
  }

  #rcp_registration_form .rcp_user_fieldset {
    grid-template-columns: 1fr;
  }

  #rcp_registration_form #rcp_user_login_wrap,
  #rcp_registration_form #rcp_user_email_wrap {
    grid-column: auto;
  }
}

/* =========
   RCP PROFILE EDITOR FORM
   ========= */

#rcp_profile_editor_form.rcp_form {
  max-width: 760px;
  margin: 40px auto;
  padding: 28px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.08);
}

#rcp_profile_editor_form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 26px;
}

#rcp_profile_editor_form legend {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 45, 84, 0.25);
}

#rcp_profile_editor_form fieldset:first-of-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

#rcp_profile_editor_form #rcp_profile_display_name_wrap,
#rcp_profile_editor_form p:has(#rcp_email) {
  grid-column: span 2;
}

#rcp_profile_editor_form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
}

#rcp_profile_editor_form input[type="text"],
#rcp_profile_editor_form input[type="email"],
#rcp_profile_editor_form input[type="password"],
#rcp_profile_editor_form select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#rcp_profile_editor_form input:focus,
#rcp_profile_editor_form select:focus {
  border-color: rgba(255, 45, 84, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 45, 84, 0.16);
}

#rcp_profile_editor_form p {
  margin: 0;
}

#rcp_profile_editor_form fieldset:nth-of-type(2) p {
  margin-bottom: 16px;
}

#rcp_profile_editor_form #rcp_profile_submit_wrap {
  margin-top: 10px;
}

#rcp_profile_editor_form .rcp-button {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 0;
  background: #ff2d54;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(255, 45, 84, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

#rcp_profile_editor_form .rcp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(255, 45, 84, 0.34);
  filter: brightness(0.98);
}

#rcp_profile_editor_form .rcp-button:active {
  transform: translateY(0);
}

@media (max-width: 720px) {
  #rcp_profile_editor_form.rcp_form {
    padding: 18px;
  }

  #rcp_profile_editor_form fieldset:first-of-type {
    grid-template-columns: 1fr;
  }

  #rcp_profile_editor_form #rcp_profile_display_name_wrap,
  #rcp_profile_editor_form p:has(#rcp_email) {
    grid-column: auto;
  }
}

/* =========
   RCP ACCOUNT TABLES
   ========= */

#rcp-table-wrapper {
  max-width: 980px;
  margin: 40px auto;
}

#rcp-table-wrapper h3 {
  margin: 36px 0 14px;
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  padding-left: 14px;
  position: relative;
}

#rcp-table-wrapper h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: #ff2d54;
}

#rcp-table-wrapper .rcp-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.08);
}

#rcp-table-wrapper .rcp-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 900;
  font-size: 14px;
  color: #0f172a;
  background: rgba(15, 23, 42, 0.04);
}

#rcp-table-wrapper .rcp-table td {
  padding: 14px 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 14px;
  color: rgba(15, 23, 42, 0.85);
}

#rcp-table-wrapper .rcp-table td[colspan] {
  text-align: center;
  padding: 32px 16px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.65);
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 45, 84, 0.06),
    rgba(255, 45, 84, 0.06) 10px,
    transparent 10px,
    transparent 22px
  );
}

#rcp-table-wrapper .rcp-table a {
  color: #ff2d54;
  font-weight: 700;
  text-decoration: none;
}

#rcp-table-wrapper .rcp-table a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  #rcp-table-wrapper {
    padding: 0 12px;
  }

  #rcp-table-wrapper .rcp-table thead {
    display: none;
  }

  #rcp-table-wrapper .rcp-table,
  #rcp-table-wrapper .rcp-table tbody,
  #rcp-table-wrapper .rcp-table tr,
  #rcp-table-wrapper .rcp-table td {
    display: block;
    width: 100%;
  }

  #rcp-table-wrapper .rcp-table tr {
    border-top: 1px solid rgba(15, 23, 42, 0.10);
  }

  #rcp-table-wrapper .rcp-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
  }

  #rcp-table-wrapper .rcp-table td::before {
    content: attr(data-th);
    font-weight: 800;
    color: #0f172a;
  }

  #rcp-table-wrapper .rcp-table td[colspan] {
    display: block;
  }
}

/* =========
   RCP LOGIN FORM
   ========= */

#rcp_login_form.rcp_form {
  max-width: 420px;
  margin: 48px auto;
  padding: 28px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.08);
}

#rcp_login_form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

#rcp_login_form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 13px;
  color: #0f172a;
}

#rcp_login_form input[type="text"],
#rcp_login_form input[type="password"] {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#rcp_login_form input:focus {
  border-color: rgba(255, 45, 84, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 45, 84, 0.16);
}

#rcp_login_form p {
  margin: 0 0 16px;
}

#rcp_login_form input[type="checkbox"] {
  accent-color: #ff2d54;
  margin-right: 8px;
}

#rcp_login_form p:has(#rcp_user_remember) {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.85);
}

#rcp_login_form .rcp_lost_password {
  text-align: right;
  margin-top: -6px;
}

#rcp_login_form .rcp_lost_password a {
  font-size: 13px;
  font-weight: 700;
  color: #ff2d54;
  text-decoration: none;
}

#rcp_login_form .rcp_lost_password a:hover {
  text-decoration: underline;
}

#rcp_login_submit.rcp-button {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: #ff2d54;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(255, 45, 84, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

#rcp_login_submit.rcp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(255, 45, 84, 0.34);
  filter: brightness(0.98);
}

#rcp_login_submit.rcp-button:active {
  transform: translateY(0);
}

@media (max-width: 520px) {
  #rcp_login_form.rcp_form {
    padding: 18px;
  }
}

h3.rcp_header {
    font-family: "Poppins", Sans-serif;
    text-align: center;
    font-size: 35px;
    margin-top: 60px;
}

/*Remove borders on last child*/
.exclusive-articles-section .elementor-post:last-child,
.hot-this-week .xpro-post-grid-item:last-child .xpro-post-grid-content,
.post-lists-section .xpro-post-grid-item:last-child .xpro-post-grid-content {
  border-bottom: none;
  border-bottom: none !important;
}

.hot-this-week .xpro-post-grid-wrapper .cbp-item:last-child .cbp-item-wrapper {
  border-bottom: none !important;
  border-width: 0 !important;
}

.exclusive-articles-section .elementor-post:last-child {
  border-bottom: none !important;
}


/* =========================
   TAB BAR LAYOUT
   ========================= */

.tabbed-section .e-n-tabs-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  justify-content: flex-start !important;
  /*padding-right: 42px !important;*/
}

.tabbed-section .e-n-tabs-heading .e-n-tab-title:first-of-type {
  margin-left: auto !important;
}

.tabbed-section .e-n-tabs-heading .tabs-more-wrap {
  margin-left: 0 !important;
}

/* Injected Topics title */
.tabbed-section .tabs-topics-title {
  font-size: 17px;
  font-family: 'Roboto Condensed';
  font-weight: 700;
  color: #ef4444;
  margin-right: 36px;
  flex-shrink: 0;
}

/* Hide all tabs by default (JS will re-show the first 2) */
.tabbed-section .e-n-tabs-heading .e-n-tab-title {
  display: none !important;
  padding: 0;
  border: 0;
  background: none;
}

/* JS-added class to show */
.tabbed-section .e-n-tabs-heading .e-n-tab-title.is-primary-tab {
  display: inline-flex !important;
}

/* Tab text */
.tabbed-section .e-n-tab-title-text {
  font-size: 20px;
  font-weight: 500;
  color: #6b7280;
}

/* Active tab */
.tabbed-section .e-n-tab-title[aria-selected="true"] .e-n-tab-title-text {
  color: #111827;
  font-weight: 600;
}

/*Force meta on reverse and force left*/
.tabbed-section .xpro-post-grid-meta-list{
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
    justify-content: flex-end;
}

/* =========================
   MORE DROPDOWN
   ========================= */

.tabbed-section .tabs-more-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tabbed-section .tabs-more-btn {
  font-size: 20px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tabbed-section .tabs-more-btn::after {
  content: "▾";
  font-size: 16px;
}

.tabbed-section .tabs-more-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 125px;
  background: #fff;
  border-top: #e52e2e 2px solid;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 20px 0;
  z-index: 100;
}

.tabbed-section .tabs-more-menu button {
  all: unset;
  display: block;
  padding: 10px;
  font-size: 13px;
  font-family: 'Roboto Condensed';
  cursor: pointer;
  color: #111827;
  }

.tabbed-section .tabs-more-menu button:hover {
  background: #f3f4f6;
}

.tabbed-section .tabs-more-menu button.is-active {
  font-weight: 600;
}

/* Hover open */
.tabbed-section .tabs-more-wrap:hover .tabs-more-menu {
  display: block;
}

.tabbed-section .tabs-more-wrap:hover .tabs-more-btn {
  color: #111827;
}

@media (max-width: 767px) {
  .tabbed-section .tabs-topics-title {
    font-size: 22px;
    margin-right: 24px;
  }

  .tabbed-section .e-n-tab-title-text,
  .tabbed-section .tabs-more-btn {
    font-size: 18px;
  }
}

/* =========================
   BASE TAB STYLES
   ========================= */

/* Hide all tabs first */
.tabbed-section .e-n-tabs-heading .e-n-tab-title {
  display: none !important;
}

/* Show first two tabs */
.tabbed-section .e-n-tabs-heading .e-n-tab-title:nth-child(1),
.tabbed-section .e-n-tabs-heading .e-n-tab-title:nth-child(2) {
  display: inline-flex !important;
}

/* =========================
   MORE DROPDOWN WRAPPER
   ========================= */

.tabbed-section .tabs-more-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tabbed-section .tabs-more-btn {
    font-size: 13px;
    color: #6b7280;
    font-family: 'Roboto Condensed';
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
}

.tabbed-section .tabs-more-btn::after {
  content: "▾";
  font-size: 18px;
}

/* =========================
   HOVER OPEN
   ========================= */

.tabbed-section .tabs-more-wrap:hover .tabs-more-menu {
  display: block;
}

.tabbed-section .tabs-more-wrap:hover .tabs-more-btn {
  color: #111827;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {
  .tabbed-section .tabs-more-btn {
    font-size: 18px;
  }
}

/* =========================
   BASE TAB STYLES
   ========================= */

/* Hide all tabs first */
.tabbed-section .e-n-tabs-heading .e-n-tab-title {
  display: none !important;
}

/* Show first two tabs */
.tabbed-section .e-n-tabs-heading .e-n-tab-title:nth-child(1),
.tabbed-section .e-n-tabs-heading .e-n-tab-title:nth-child(2) {
  display: inline-flex !important;
}

/* =========================
   MORE DROPDOWN WRAPPER
   ========================= */

.tabbed-section .tabs-more-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tabbed-section .tabs-more-btn {
    font-size: 13px;
    color: #6b7280;
    font-family: 'Roboto Condensed';
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
}

.tabbed-section .tabs-more-btn::after {
  content: "▾";
  font-size: 18px;
}


/* =========================
   Search Results if no post to show
   ========================= */

.custom-search-no-results {
  text-align: center;
  padding: 40px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.custom-search-no-results h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.custom-search-no-results p {
  font-size: 16px;
}

