/* V4 premium themes - fully isolated by .theme-v4 */

body.theme-v4 {
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
  background: var(--wrapper_background_color, #f6f8fc) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.theme-v4 .homepage-4,
body.theme-v4 .agents,
body.theme-v4 .list,
body.theme-v4 .hp-6 {
  background: transparent !important;
}

body.theme-v4 .header-topbar,
body.theme-v4 .topbar {
  display: none !important;
}

body.theme-v4 #wrapper {
  background: var(--wrapper_background_color, #f8fafc) !important;
}

body.theme-v4 .container.container-header {
  width: min(90%, 1320px);
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(12px, 1.8vw, 24px);
  padding-right: clamp(12px, 1.8vw, 24px);
}

body.theme-v4 .v4-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--header_background_color, #1f2a44);
  border-bottom: 1px solid var(--v4_border_color, rgba(255,255,255,.12));
  box-shadow: 0 8px 30px -22px rgba(0, 0, 0, 0.35);
}

body.theme-v4 .v4-header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body.theme-v4 .v4-brand {
  color: var(--header_text_color, #fff);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .03em;
  white-space: nowrap;
}

body.theme-v4 .v4-brand img {
  max-height: 54px;
}

body.theme-v4 .v4-main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

body.theme-v4 .v4-main-nav a,
body.theme-v4 .v4-sub-link {
  color: var(--header_li_color, #fff);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  opacity: .93;
}

body.theme-v4 .v4-main-nav a:hover,
body.theme-v4 .v4-sub-link:hover {
  color: var(--header_li_color_hover, #fff);
}

body.theme-v4 .v4-cta {
  background: var(--add_listing_background, #fff);
  color: var(--add_listing_color, #111827);
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
}

body.theme-v4 .v4-home .v4-hero {
  background: var(--bg_home, #1f2a44);
  padding: 108px 0 86px;
  margin-bottom: 26px;
}

body.theme-v4 .v4-home .v4-hero-content {
  color: var(--home_title_color, #fff);
}

body.theme-v4 .v4-home h1 {
  font-size: 56px;
  line-height: 1.06;
  margin: 0 0 14px;
  max-width: 980px;
  letter-spacing: -.02em;
}

body.theme-v4 .v4-home p {
  max-width: 760px;
  color: var(--home_subtitle_color, #fff);
  font-size: 18px;
  margin-bottom: 24px;
  opacity: .92;
}

body.theme-v4 .v4-search-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 10px;
  max-width: 980px;
}

body.theme-v4 .v4-search-form-compact {
  grid-template-columns: 1fr auto;
  max-width: 520px;
}

body.theme-v4 .v4-search-form input,
body.theme-v4 .v4-search-form select {
  height: 50px;
  border-radius: 999px;
  border: 1px solid var(--v4_border_color, #d1d5db);
  padding: 0 16px;
  background: #ffffff;
  color: #111827;
}

body.theme-v4 .v4-search-form button,
body.theme-v4 .v4-cta-hero,
body.theme-v4 .v4-inline-btn {
  height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--button_background_color, #1f2a44);
  color: var(--button_text_color, #fff);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.theme-v4 .v4-search-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.theme-v4 .v4-eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 14px;
}

body.theme-v4 .v4-kpi-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

body.theme-v4 .v4-kpi {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 160px;
}

body.theme-v4 .v4-kpi strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

body.theme-v4 .v4-kpi span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .05em;
}

body.theme-v4 .portfolio .project-single,
body.theme-v4 .portfolio .homes-content,
body.theme-v4 .inner-pages .blog .blog-info.details,
body.theme-v4 .widget-boxed {
  background: var(--v4_surface_color, #ffffff) !important;
  border: 1px solid var(--v4_border_color, #e5e7eb) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.45);
}

body.theme-v4 .v4-listari-page {
  padding: 62px 0 56px;
}

body.theme-v4 .v4-listari-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
  padding: 18px 20px;
  border: 1px solid var(--v4_border_color, #e5e7eb);
  border-radius: 14px;
  background: var(--v4_surface_color, #fff);
}

body.theme-v4 .v4-listari-head h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.1;
}

body.theme-v4 .v4-listari-head p {
  margin: 6px 0 0;
  opacity: .75;
}

body.theme-v4 .v4-listari-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

body.theme-v4 .v4-listari-editorial {
  display: grid;
  gap: 20px;
}

body.theme-v4 .v4-editorial-item {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  background: var(--v4_surface_color, #fff);
  border: 1px solid var(--v4_border_color, #e5e7eb);
  border-radius: 14px;
  overflow: hidden;
}

body.theme-v4 .v4-editorial-image {
  display: block;
}

body.theme-v4 .v4-editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.theme-v4 .v4-editorial-body {
  padding: 14px;
}

body.theme-v4 .v4-card {
  background: var(--v4_surface_color, #fff);
  border: 1px solid var(--v4_border_color, #e5e7eb);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

body.theme-v4 .v4-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px -28px rgba(15, 23, 42, 0.28);
}

body.theme-v4 .v4-overline {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 8px;
}

body.theme-v4 .v4-card-image {
  display: block;
  aspect-ratio: 1.54;
  overflow: hidden;
}

body.theme-v4 .v4-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.theme-v4 .v4-card-body {
  padding: 14px;
}

body.theme-v4 .v4-card-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

body.theme-v4 .v4-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

body.theme-v4 .v4-loc {
  margin: 0 0 12px;
  font-size: 14px;
  opacity: .75;
}

body.theme-v4 .v4-excerpt {
  margin: -4px 0 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

body.theme-v4 .v4-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.theme-v4 .v4-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

body.theme-v4 .v4-badges span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--v4_border_color, #dbe2ec);
  background: color-mix(in srgb, var(--v4_surface_color, #fff) 86%, #e8eef8 14%);
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

body.theme-v4 .v4-price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
}

body.theme-v4 .v4-open {
  text-decoration: none;
  font-weight: 700;
}

body.theme-v4 .v4-pager {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.theme-v4 .v4-pager a {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--v4_border_color, #d1d5db);
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.theme-v4 .v4-pager a.active {
  background: var(--button_background_color, #1f2a44);
  color: var(--button_text_color, #fff);
  border-color: transparent;
}

body.theme-v4 .v4-empty {
  padding: 20px;
  border: 1px dashed var(--v4_border_color, #d1d5db);
  border-radius: 12px;
}

body.theme-v4 .v4-oferta-page {
  padding: 62px 0 58px;
}

body.theme-v4 .v4-oferta-head h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -.02em;
}

body.theme-v4 .v4-oferta-head p {
  margin: 10px 0;
  opacity: .75;
}

body.theme-v4 .v4-oferta-head .v4-price {
  margin: 0 0 18px;
}

body.theme-v4 .v4-oferta-head {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--v4_border_color, #e5e7eb);
  border-radius: 14px;
  background: var(--v4_surface_color, #fff);
}

body.theme-v4 .v4-oferta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

body.theme-v4 .v4-oferta-main {
  min-width: 0;
}

body.theme-v4 .v4-gallery-main {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--v4_border_color, #e5e7eb);
}

body.theme-v4 .v4-gallery-main img {
  width: 100%;
  display: block;
}

body.theme-v4 .v4-gallery-thumbs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.theme-v4 .v4-gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--v4_border_color, #e5e7eb);
}

body.theme-v4 .v4-section,
body.theme-v4 .v4-side-box {
  margin-top: 14px;
  background: var(--v4_surface_color, #fff);
  border: 1px solid var(--v4_border_color, #e5e7eb);
  border-radius: 14px;
  padding: 18px;
}

body.theme-v4 .v4-side-box h4,
body.theme-v4 .v4-section h3 {
  margin: 0 0 10px;
}

body.theme-v4 .v4-side-box ul {
  margin: 0;
  padding-left: 18px;
}

body.theme-v4 .v4-side-action {
  display: inline-flex;
  text-decoration: none;
  margin-top: 6px;
  font-weight: 700;
  color: var(--button_background_color, #1f2a44);
}

body.theme-v4 .v4-facts {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.theme-v4 .v4-fact {
  background: var(--v4_surface_color, #fff);
  border: 1px solid var(--v4_border_color, #e5e7eb);
  border-radius: 12px;
  padding: 11px 12px;
}

body.theme-v4 .v4-fact span {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 5px;
}

body.theme-v4 .v4-fact strong {
  display: block;
  font-size: 17px;
  line-height: 1.1;
}

body.theme-v4 .v4-home-featured {
  margin: 0 auto 44px;
}

body.theme-v4 .v4-home-featured-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

body.theme-v4 .v4-home-featured-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.02em;
}

body.theme-v4 .v4-home-featured-head p {
  margin: 0;
  max-width: 520px;
  color: #64748b;
}

body.theme-v4 .v4-home-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.theme-v4 .v4-home-card {
  background: var(--v4_surface_color, #fff);
  border: 1px solid var(--v4_border_color, #e5e7eb);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 34px -28px rgba(15, 23, 42, 0.24);
}

body.theme-v4 .v4-home-card-image {
  display: block;
  aspect-ratio: 1.58;
}

body.theme-v4 .v4-home-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.theme-v4 .v4-home-card-body {
  padding: 14px;
}

body.theme-v4 .v4-home-card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

body.theme-v4 .v4-home-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

body.theme-v4 .v4-home-card-loc {
  margin: 0 0 10px;
  font-size: 14px;
  color: #64748b;
}

body.theme-v4 .v4-home-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.theme-v4 .v4-home-card-meta strong {
  font-size: 20px;
}

body.theme-v4 .v4-home-card-meta a {
  color: var(--button_background_color, #1f2a44);
  text-decoration: none;
  font-weight: 700;
}

body.theme-v4 .v4-listari-page.mode-atelier .v4-listari-grid {
  grid-template-columns: 1fr;
  gap: 22px;
}

body.theme-v4 .v4-listari-page.mode-soho .v4-listari-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-v4 .v4-listari-page.mode-noir .v4-card {
  background: #0f172a;
  border-color: #1f2937;
}

body.theme-v4 .v4-listari-page.mode-noir .v4-card-body h3 a,
body.theme-v4 .v4-listari-page.mode-noir .v4-price,
body.theme-v4 .v4-listari-page.mode-noir .v4-loc {
  color: #f8fafc;
}

body.theme-v4 .v4-listari-page.mode-harbor .v4-listari-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.theme-v4 .v4-oferta-page.mode-atelier .v4-oferta-layout {
  grid-template-columns: 1fr 300px;
}

body.theme-v4 .v4-oferta-page.mode-soho .v4-oferta-layout {
  grid-template-columns: minmax(0,1fr) 420px;
}

body.theme-v4 .v4-oferta-page.mode-noir .v4-section,
body.theme-v4 .v4-oferta-page.mode-noir .v4-side-box {
  background: #111827;
  border-color: #1f2937;
  color: #e5e7eb;
}

body.theme-v4 .v4-oferta-page.mode-noir .v4-oferta-head h1,
body.theme-v4 .v4-oferta-page.mode-noir .v4-price {
  color: #f8fafc;
}

body.theme-v4 .v4-oferta-page.mode-harbor .v4-oferta-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}

body.theme-v4 .search-button,
body.theme-v4 .btn.btn-yellow,
body.theme-v4 .add-listing {
  border-radius: 999px !important;
  padding: 12px 24px !important;
  letter-spacing: .03em;
}

/* Signature Premium */
body.theme-v4.profile-v4_signature .v4-signature-header #header .container-header {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: center;
  gap: 24px;
}

body.theme-v4.profile-v4_signature .v4-signature-listari-page .v4-listari-head,
body.theme-v4.profile-v4_signature .v4-signature-oferta .v4-oferta-head {
  box-shadow: 0 16px 32px -26px rgba(30, 56, 102, 0.38);
}

body.theme-v4.profile-v4_signature .v4-signature-listari .properties-list .row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  width: 100% !important;
  margin-left: 0 !important;
}

body.theme-v4.profile-v4_signature .v4-signature-listari .properties-list .row > [data-aos] {
  width: 100% !important;
}

body.theme-v4.profile-v4_signature .v4-signature-oferta .single-proper .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

body.theme-v4.profile-v4_signature .v4-signature-oferta .single.homes-content.details.mb-30.offer_subsection {
  border-left: 4px solid var(--section_background, #334e7d);
}

/* Atelier Editorial */
body.theme-v4.profile-v4_atelier .v4-atelier-home .banner-inner h1 {
  font-size: 68px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.theme-v4.profile-v4_atelier .v4-atelier-listari-page .v4-editorial-item {
  border-radius: 18px;
}

body.theme-v4.profile-v4_atelier .v4-atelier-listari-page .v4-editorial-body {
  padding: 20px 22px;
}

body.theme-v4.profile-v4_atelier .v4-atelier-listari-page .v4-overline {
  color: #8f6a40;
  letter-spacing: .24em;
}

body.theme-v4.profile-v4_atelier .v4-atelier-listari .properties-list .row {
  width: 100% !important;
  margin-left: 0 !important;
}

body.theme-v4.profile-v4_atelier .v4-atelier-listari .properties-list .row > [data-aos] {
  width: 100% !important;
}

body.theme-v4.profile-v4_atelier .v4-atelier-listari .portfolio .project-single,
body.theme-v4.profile-v4_atelier .v4-atelier-listari .homes-content {
  display: grid !important;
  grid-template-columns: 380px 1fr;
  gap: 24px;
}

body.theme-v4.profile-v4_atelier .v4-atelier-oferta .single-proper .row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}

body.theme-v4.profile-v4_atelier .v4-atelier-oferta .listing-title-bar h3 {
  font-size: 42px;
  line-height: 1.1;
}

/* Soho Modern */
body.theme-v4.profile-v4_soho .v4-soho-home .hero-main {
  max-width: 1280px;
  margin: 0 auto;
}

body.theme-v4.profile-v4_soho .v4-soho-listari-page .v4-card-soho {
  border-radius: 16px;
  border-color: color-mix(in srgb, var(--button_background_color, #1f2a44) 20%, #dbe2ec 80%);
}

body.theme-v4.profile-v4_soho .v4-soho-listari-page .v4-price {
  color: var(--button_background_color, #1f2a44);
}

body.theme-v4.profile-v4_soho .v4-soho-listari .filters_sidebar {
  position: sticky;
  top: 100px;
}

body.theme-v4.profile-v4_soho .v4-soho-listari .properties-list .row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100% !important;
  margin-left: 0 !important;
}

body.theme-v4.profile-v4_soho .v4-soho-listari .properties-list .row > [data-aos] {
  width: 100% !important;
}

body.theme-v4.profile-v4_soho .v4-soho-oferta .single-proper .row {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
}

body.theme-v4.profile-v4_soho .v4-soho-oferta .blog-pots {
  flex: 0 0 70%;
  max-width: 70%;
}

body.theme-v4.profile-v4_soho .v4-soho-oferta aside.col-lg-4 {
  flex: 0 0 30%;
  max-width: 30%;
  width: 30%;
}

body.theme-v4.profile-v4_soho .v4-soho-listari .portfolio .project-single {
  border-radius: 18px !important;
}

/* Noir Luxury */
body.theme-v4.profile-v4_noir,
body.theme-v4.profile-v4_noir #wrapper {
  background: #090b12 !important;
}

body.theme-v4.profile-v4_noir .v4-noir-listari-page .v4-listari-head,
body.theme-v4.profile-v4_noir .v4-noir-oferta .v4-oferta-head,
body.theme-v4.profile-v4_noir .v4-noir-oferta .v4-fact {
  background: #111827;
  border-color: #223044;
}

body.theme-v4.profile-v4_noir .v4-noir-listari-page .v4-listari-head h1,
body.theme-v4.profile-v4_noir .v4-noir-listari-page .v4-listari-head p,
body.theme-v4.profile-v4_noir .v4-noir-oferta .v4-fact strong {
  color: #f1f5f9;
}

body.theme-v4.profile-v4_noir .v4-noir-oferta .v4-fact span {
  color: #94a3b8;
}

body.theme-v4.profile-v4_noir .v4-noir-header #header {
  background: #070910 !important;
}

body.theme-v4.profile-v4_noir .v4-hero {
  background: linear-gradient(135deg, #06080f 0%, #0d1425 100%) !important;
}

body.theme-v4.profile-v4_noir .v4-noir-listari .project-single,
body.theme-v4.profile-v4_noir .v4-noir-listari .homes-content,
body.theme-v4.profile-v4_noir .v4-noir-oferta .widget-boxed,
body.theme-v4.profile-v4_noir .v4-noir-oferta .blog-info.details {
  background: #111827 !important;
  border-color: #243041 !important;
}

body.theme-v4.profile-v4_noir .v4-noir-listari .properties-list .row {
  width: 100% !important;
  margin-left: 0 !important;
}

body.theme-v4.profile-v4_noir .v4-noir-listari .properties-list .row > [data-aos] {
  width: 100% !important;
}

body.theme-v4.profile-v4_noir .v4-noir-oferta .single-proper .row {
  display: flex;
  flex-wrap: wrap;
}

body.theme-v4.profile-v4_noir .v4-noir-oferta .blog-pots,
body.theme-v4.profile-v4_noir .v4-noir-oferta aside.col-lg-4 {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

body.theme-v4.profile-v4_noir .v4-noir-home .v4-hero {
  padding: 110px 0 90px;
}

body.theme-v4.profile-v4_noir .v4-noir-home h1 {
  font-size: 64px;
}

/* Harbor Corporate */
body.theme-v4.profile-v4_harbor .v4-harbor-header #header .container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.theme-v4.profile-v4_harbor .v4-harbor-listari-page .v4-card-harbor .v4-card-body {
  padding: 12px;
}

body.theme-v4.profile-v4_harbor .v4-harbor-listari-page .v4-price {
  font-size: 20px;
}

body.theme-v4.profile-v4_harbor .v4-harbor-oferta .v4-facts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.theme-v4.profile-v4_harbor .v4-harbor-listari .filters_sidebar {
  width: 28% !important;
}

body.theme-v4.profile-v4_harbor .v4-harbor-listari .properties-right > div > div {
  width: 72% !important;
}

body.theme-v4.profile-v4_harbor .v4-harbor-listari .properties-list .row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100% !important;
  margin-left: 0 !important;
}

body.theme-v4.profile-v4_harbor .v4-harbor-listari .properties-list .row > [data-aos] {
  width: 100% !important;
}

body.theme-v4.profile-v4_harbor .v4-harbor-oferta .sidebar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.theme-v4.profile-v4_harbor .v4-harbor-header .v4-header-meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--header_li_color, #fff);
}

/* Portal-like profiles (isolated) */
body.theme-v4.profile-v4_portal_ro {
  background: #f4f6fb !important;
}

body.theme-v4.profile-v4_portal_ro .v4-header-portal-ro {
  background: #1657bf;
}

body.theme-v4.profile-v4_portal_ro .v4-portal-topline {
  background: #0f3e8a;
  color: #dbe7ff;
  font-size: 13px;
}

body.theme-v4.profile-v4_portal_ro .v4-portal-topline .container {
  display: flex;
  gap: 18px;
  min-height: 34px;
  align-items: center;
}

body.theme-v4.profile-v4_portal_ro .v4-home .v4-hero {
  background: linear-gradient(135deg, #1f5fcc 0%, #3c7fe6 100%);
}

body.theme-v4.profile-v4_portal_ro .v4-home .v4-search-form {
  grid-template-columns: 1.7fr 1fr 1fr auto;
  max-width: 1080px;
}

body.theme-v4.profile-v4_portal_ro .v4-card {
  border-radius: 10px;
}

body.theme-v4.profile-v4_portal_ro .v4-price {
  color: #1657bf;
}

body.theme-v4.profile-v4_portal_ro .v4-home-ro-quick {
  margin-top: -18px;
  background: #fff;
  border: 1px solid #d4deef;
  border-radius: 10px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

body.theme-v4.profile-v4_portal_ro .v4-home-ro-quick a {
  text-decoration: none;
  border: 1px solid #e2e8f3;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  color: #1e3a5f;
  font-weight: 700;
}

body.theme-v4.profile-v4_portal_ro .v4-listari-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 18px;
}

body.theme-v4.profile-v4_portal_ro .v4-listari-grid-portal-ro {
  display: grid;
  gap: 12px;
}

body.theme-v4.profile-v4_portal_ro .v4-card-row-ro {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  border-radius: 10px;
}

body.theme-v4.profile-v4_portal_ro .v4-card-image-row {
  aspect-ratio: auto;
  height: 100%;
}

body.theme-v4.profile-v4_portal_ro .v4-card-image-row img {
  height: 100%;
}

body.theme-v4.profile-v4_portal_ro .v4-portal-ro-filters {
  background: #fff;
  border: 1px solid #d4deef;
  border-radius: 10px;
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
}

body.theme-v4.profile-v4_portal_ro .v4-portal-ro-filters a {
  text-decoration: none;
  color: #1f3d66;
  font-weight: 600;
}

body.theme-v4.profile-v4_portal_net {
  background: #f7f8fb !important;
}

body.theme-v4.profile-v4_portal_net .v4-header-portal-net {
  background: #0f2748;
}

body.theme-v4.profile-v4_portal_net .v4-portal-net-bar {
  background: #09192f;
}

body.theme-v4.profile-v4_portal_net .v4-portal-net-bar .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}

body.theme-v4.profile-v4_portal_net .v4-portal-net-bar a {
  text-decoration: none;
  color: #c8d7ef;
  font-size: 13px;
  font-weight: 700;
}

body.theme-v4.profile-v4_portal_net .v4-header-net-main {
  min-height: 76px;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: stretch;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 20px;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-kpis {
  display: grid;
  gap: 10px;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-kpis > div {
  background: #fff;
  border: 1px solid #d8e2ee;
  border-radius: 12px;
  padding: 12px 14px;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-kpis strong {
  display: block;
  font-size: 22px;
  color: #123865;
}

body.theme-v4.profile-v4_portal_net .v4-home .v4-hero {
  background: linear-gradient(135deg, #123865 0%, #1b4f87 100%);
}

body.theme-v4.profile-v4_portal_net .v4-home .v4-search-form input {
  border-radius: 12px;
}

body.theme-v4.profile-v4_portal_net .v4-listari-portal-net .v4-editorial-item {
  border-radius: 12px;
}

body.theme-v4.profile-v4_portal_net .v4-oferta-portal-net .v4-oferta-layout {
  grid-template-columns: 1fr;
}

body.theme-v4.profile-v4_portal_net .v4-home-strip {
  margin-top: -18px;
  background: #fff;
  border: 1px solid #d8e2ee;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.theme-v4.profile-v4_portal_net .v4-home-strip a {
  text-decoration: none;
  border: 1px solid #d8e2ee;
  color: #123865;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

body.theme-v4.profile-v4_portal_net .v4-editorial-item-net {
  grid-template-columns: 320px 1fr;
}

body.theme-v4.profile-v4_portal_net .v4-listari-grid-portal-net {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.theme-v4.profile-v4_portal_net .v4-card-net {
  border-radius: 8px;
}

body.theme-v4.profile-v4_portal_net .v4-card-net .v4-card-image {
  aspect-ratio: 1 / 1;
}

body.theme-v4.profile-v4_portal_net .v4-card-net .v4-card-body {
  padding: 12px;
}

body.theme-v4.profile-v4_portal_net .v4-card-net .v4-price {
  font-size: 18px;
}

body.theme-v4.profile-v4_portal_storia {
  background: #fffdf8 !important;
}

body.theme-v4.profile-v4_portal_storia .v4-header-portal-storia {
  background: #172337;
}

body.theme-v4.profile-v4_portal_storia .v4-header-storia-main {
  min-height: 82px;
}

body.theme-v4.profile-v4_portal_storia .v4-main-nav-storia {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 6px 10px;
}

body.theme-v4.profile-v4_portal_storia .v4-main-nav-storia a {
  font-size: 13px;
}

body.theme-v4.profile-v4_portal_storia .v4-header-storia-main .v4-brand img {
  max-height: 44px;
}

body.theme-v4.profile-v4_portal_storia .v4-cta {
  background: #f7b500;
  color: #1f2937;
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-hero {
  background: linear-gradient(135deg, #1f3353 0%, #2f4e7f 100%);
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-search-form {
  grid-template-columns: 1.8fr 1fr 1fr auto;
  max-width: 100%;
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-search-form button {
  background: #f7b500;
  color: #1f2937;
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-search-form button:hover {
  background: #e0a707;
}

body.theme-v4.profile-v4_portal_storia .v4-listari-grid-storia {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

body.theme-v4.profile-v4_portal_storia .v4-listari-grid-storia-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-v4.profile-v4_portal_storia .v4-card-storia-compact .v4-card-image {
  aspect-ratio: 1.25;
}

body.theme-v4.profile-v4_portal_storia .v4-badges span {
  background: #fff8e1;
  border-color: #f2d188;
}

body.theme-v4.profile-v4_portal_storia .v4-listari-shell-storia {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 18px;
  align-items: start;
}

body.theme-v4.profile-v4_portal_storia .v4-storia-map {
  border: 1px solid #d7deea;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5f8ff 0%, #eef4ff 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5e7d;
  font-weight: 700;
  position: sticky;
  top: 110px;
}

body.theme-v4.profile-v4_portal_storia .v4-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: center;
}

body.theme-v4.profile-v4_portal_storia .v4-hero-side-card {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 12px;
  padding: 18px;
}

body.theme-v4.profile-v4_portal_storia .v4-hero-side-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

body.theme-v4.profile-v4_portal_storia .v4-home-storia-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 12px;
}

body.theme-v4.profile-v4_portal_storia .v4-home-storia-band > div {
  background: #fff;
  border: 1px solid #e7dcc0;
  border-radius: 12px;
  padding: 12px;
}

body.theme-v4.profile-v4_portal_storia .v4-home-storia-band strong {
  display: block;
  margin-bottom: 4px;
  color: #1f3353;
}

body.theme-v4.profile-v4_portal_storia .v4-oferta-layout-storia {
  grid-template-columns: 320px minmax(0, 1fr);
}

body.theme-v4.profile-v4_portal_storia .v4-oferta-layout-storia .v4-side-box {
  margin-top: 0;
  position: sticky;
  top: 110px;
}

body.theme-v4.profile-v4_portal_ro .v4-oferta-layout-ro {
  grid-template-columns: 280px minmax(0, 1fr) 280px;
}

body.theme-v4.profile-v4_portal_net .v4-oferta-layout-net {
  grid-template-columns: minmax(0, 1fr) 320px;
}

body.theme-v4.profile-v4_portal_net .v4-side-box-net {
  margin-top: 0;
}

body.theme-v4.profile-v4_portal_net .v4-section-net {
  margin-top: 18px;
}

/* Final polish pass for portal profiles */
body.theme-v4.profile-v4_portal_ro .v4-home .v4-hero {
  padding: 72px 0 56px;
}

body.theme-v4.profile-v4_portal_ro .v4-home h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  max-width: 720px;
}

body.theme-v4.profile-v4_portal_ro .v4-home p {
  font-size: 20px;
  color: #dbe9ff;
}

body.theme-v4.profile-v4_portal_ro .v4-home .v4-search-form input,
body.theme-v4.profile-v4_portal_ro .v4-home .v4-search-form select {
  border-radius: 10px;
  height: 54px;
}

body.theme-v4.profile-v4_portal_ro .v4-home-featured .v4-home-card {
  border-radius: 10px;
}

body.theme-v4.profile-v4_portal_net .v4-home .v4-hero {
  padding: 64px 0 54px;
}

body.theme-v4.profile-v4_portal_net .v4-home h1 {
  font-size: clamp(32px, 4vw, 48px);
  max-width: 700px;
}

body.theme-v4.profile-v4_portal_net .v4-home p {
  color: #dbe7f9;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-panel {
  background: rgba(8, 23, 43, 0.3);
  border: 1px solid rgba(255,255,255,.24);
}

body.theme-v4.profile-v4_portal_net .v4-home-net-kpis > div span {
  font-size: 13px;
  color: #4b5563;
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-hero {
  background: linear-gradient(135deg, #223b63 0%, #385b93 100%);
  padding: 58px 0 46px;
}

body.theme-v4.profile-v4_portal_storia .v4-home h1 {
  font-size: clamp(34px, 4.9vw, 58px);
  line-height: 1.05;
  max-width: 700px;
  margin-bottom: 8px;
}

body.theme-v4.profile-v4_portal_storia .v4-home p {
  font-size: 22px;
  font-weight: 600;
  color: #e7efff;
  margin-bottom: 14px;
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-search-form input,
body.theme-v4.profile-v4_portal_storia .v4-home .v4-search-form select {
  height: 52px;
  border-radius: 12px;
  border: 0;
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-search-form {
  background: rgba(13, 33, 62, .26);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 8px;
}

body.theme-v4.profile-v4_portal_storia .v4-hero-side-card {
  background: rgba(15, 34, 63, .34);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 16px;
}

body.theme-v4.profile-v4_portal_storia .v4-home-storia-band {
  margin-top: 12px;
  margin-bottom: 12px;
}

body.theme-v4.profile-v4_portal_storia .v4-home-storia-band > div {
  border-color: #dce5f2;
  padding: 14px;
}

body.theme-v4.profile-v4_portal_storia .v4-storia-map {
  min-height: 480px;
}

body.theme-v4.profile-v4_portal_storia .v4-home-featured-head h2 {
  font-size: clamp(30px, 4vw, 42px);
}

body.theme-v4.profile-v4_portal_storia .v4-listari-head {
  border-radius: 12px;
}

body.theme-v4.profile-v4_portal_storia .v4-card-storia-compact {
  border-radius: 12px;
}

body.theme-v4.profile-v4_portal_storia .v4-card-storia-compact .v4-card-body {
  padding: 12px;
}

/* Storya specific fixes: placeholders, widget alignment, infinity header */
body.theme-v4.profile-v4_portal_storia .v4-header-storia-main {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
}

body.theme-v4.profile-v4_portal_storia .v4-main-nav-storia {
  background: linear-gradient(90deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.10) 100%);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}

body.theme-v4.profile-v4_portal_storia .v4-hero-split {
  align-items: end;
}

body.theme-v4.profile-v4_portal_storia .v4-hero-side-card {
  margin-bottom: 8px;
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-search-form select {
  color: #334155;
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-search-form select:invalid {
  color: #8ba0bd;
}

/* Major differentiation upgrade */
body.theme-v4.profile-v4_portal_ro .v4-home-ro-stats {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.theme-v4.profile-v4_portal_ro .v4-home-ro-stats > div {
  background: #fff;
  border: 1px solid #d7e2f4;
  border-radius: 10px;
  padding: 12px 14px;
}

body.theme-v4.profile-v4_portal_ro .v4-home-ro-stats strong {
  display: block;
  font-size: 24px;
  color: #1e3a5f;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-highlights {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-highlights article {
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 12px;
  padding: 14px;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-highlights h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

body.theme-v4.profile-v4_portal_net .v4-listari-grid-portal-net {
  grid-template-columns: 1fr;
  gap: 12px;
}

body.theme-v4.profile-v4_portal_net .v4-card-net-row {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
}

body.theme-v4.profile-v4_portal_net .v4-card-image-net-row {
  aspect-ratio: auto !important;
  height: 100%;
}

body.theme-v4.profile-v4_portal_net .v4-card-image-net-row img {
  height: 100%;
}

body.theme-v4.profile-v4_portal_net .v4-oferta-net-side {
  display: grid;
  gap: 12px;
}

body.theme-v4.profile-v4_portal_storia .v4-hero-side-card .v4-inline-btn {
  margin-top: 12px;
  width: 100%;
}

/* Site-grade redesign pass */
body.theme-v4.profile-v4_portal_ro .v4-ro-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel {
  background: #ffffff;
  color: #10233d;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 60px -36px rgba(12, 34, 68, .55);
}

body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel .v4-search-form {
  grid-template-columns: 1fr;
  gap: 10px;
}

body.theme-v4.profile-v4_portal_ro .v4-home-ro-quick {
  margin-top: -24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  z-index: 2;
}

body.theme-v4.profile-v4_portal_ro .v4-home-ro-quick a {
  min-height: 86px;
  background: #fff;
  border: 1px solid #d8e6f7;
  border-radius: 14px;
  color: #10233d;
  text-decoration: none;
  padding: 14px;
  box-shadow: 0 18px 44px -34px rgba(12, 34, 68, .58);
}

body.theme-v4.profile-v4_portal_ro .v4-home-ro-quick span,
body.theme-v4.profile-v4_portal_ro .v4-home-ro-quick strong {
  display: block;
}

body.theme-v4.profile-v4_portal_ro .v4-home-ro-quick span {
  color: #4f647f;
  font-size: 13px;
}

body.theme-v4.profile-v4_portal_ro .v4-home-ro-quick strong {
  margin-top: 6px;
  font-size: 16px;
}

body.theme-v4.profile-v4_portal_ro .v4-portal-ro-filters {
  background: #f8fbff;
  border: 1px solid #d8e6f7;
  border-radius: 18px;
  padding: 18px;
  align-self: start;
  position: sticky;
  top: 18px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-filter-form {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-filter-form input,
body.theme-v4.profile-v4_portal_ro .v4-ro-filter-form select {
  width: 100%;
  height: 46px;
  border: 1px solid #d7e2ef;
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-filter-form button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #f5a623;
  color: #10233d;
  font-weight: 900;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-filter-links {
  display: grid;
  gap: 8px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-filter-links span {
  color: #5d728e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-filter-links a {
  background: #fff;
  border: 1px solid #d8e6f7;
  border-radius: 10px;
  color: #123865;
  text-decoration: none;
  padding: 11px 12px;
  font-weight: 800;
}

body.theme-v4.profile-v4_portal_ro .v4-card-row-ro {
  grid-template-columns: 310px minmax(0, 1fr);
  border-radius: 18px;
  border: 1px solid #d8e6f7;
}

body.theme-v4.profile-v4_portal_ro .v4-card-row-ro .v4-card-body {
  padding: 20px;
}

body.theme-v4.profile-v4_portal_ro .v4-side-kicker {
  display: block;
  color: #f5a623;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-trust span {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
}

body.theme-v4.profile-v4_portal_net .v4-home .v4-hero {
  background: #0c1f3a;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-stack {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
}

body.theme-v4.profile-v4_portal_net .v4-home-net-panel {
  background: #ffffff;
  color: #12243d;
  border-radius: 20px;
  padding: 26px;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-panel h1,
body.theme-v4.profile-v4_portal_net .v4-home-net-panel p,
body.theme-v4.profile-v4_portal_net .v4-home-net-panel .v4-eyebrow {
  color: #12243d;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-kpis > div {
  background: linear-gradient(135deg, #163154 0%, #203f69 100%);
  border-color: rgba(255,255,255,.14);
  color: #fff;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-kpis strong,
body.theme-v4.profile-v4_portal_net .v4-home-net-kpis > div span {
  color: #fff;
}

body.theme-v4.profile-v4_portal_net .v4-home-net-highlights article span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0c1f3a;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-hero {
  background: radial-gradient(circle at 80% 20%, rgba(247,181,0,.28), transparent 28%), linear-gradient(135deg, #172337 0%, #27476f 100%);
}

body.theme-v4.profile-v4_portal_storia .v4-hero-split {
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
}

body.theme-v4.profile-v4_portal_storia .v4-hero-side-card {
  background: #fff;
  color: #18243a;
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 26px 70px -42px rgba(0,0,0,.65);
}

body.theme-v4.profile-v4_portal_storia .v4-hero-side-card strong,
body.theme-v4.profile-v4_portal_storia .v4-hero-side-card span {
  color: #18243a;
}

body.theme-v4.profile-v4_portal_storia .v4-hero-side-card .v4-search-form {
  margin-top: 14px;
  background: #f4f7fb;
  border: 1px solid #dfe7f2;
}

body.theme-v4.profile-v4_portal_storia .v4-storia-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.theme-v4.profile-v4_portal_storia .v4-storia-chips a {
  text-decoration: none;
  color: #172337;
  background: #f7b500;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
}

body.theme-v4.profile-v4_portal_storia .v4-home-storia-band > div {
  box-shadow: 0 14px 32px -28px rgba(15, 35, 65, .45);
}

/* Hard cleanup: remove fake map feel and make offer/listing usable */
body.theme-v4.profile-v4_portal_storia .v4-header-portal-storia {
  background: #ffffff;
  border-bottom: 1px solid #e5eaf2;
}

body.theme-v4.profile-v4_portal_storia .v4-header-storia-main {
  min-height: 78px;
  grid-template-columns: 220px minmax(0, 1fr) 170px;
}

body.theme-v4.profile-v4_portal_storia .v4-main-nav-storia {
  justify-self: center;
  background: #f5f7fb;
  border-color: #dfe6f0;
  box-shadow: none;
}

body.theme-v4.profile-v4_portal_storia .v4-main-nav-storia a,
body.theme-v4.profile-v4_portal_storia .v4-brand {
  color: #172337;
}

body.theme-v4.profile-v4_portal_storia .v4-header-storia-main .v4-cta {
  justify-self: end;
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-hero {
  padding: 76px 0 70px;
  background: linear-gradient(135deg, #182846 0%, #29486f 62%, #426b94 100%);
}

body.theme-v4.profile-v4_portal_storia .v4-hero-split {
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
}

body.theme-v4.profile-v4_portal_storia .v4-hero-side-card {
  margin-bottom: 0;
  padding: 22px;
}

body.theme-v4.profile-v4_portal_storia .v4-hero-side-card .v4-search-form {
  grid-template-columns: 1fr;
}

body.theme-v4.profile-v4_portal_storia .v4-storia-listari-head {
  align-items: center;
}

body.theme-v4.profile-v4_portal_storia .v4-listari-grid-storia-clean {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.theme-v4.profile-v4_portal_storia .v4-card-storia-clean {
  border-radius: 16px;
}

body.theme-v4 .v4-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.theme-v4 .v4-spec-item {
  border: 1px solid var(--v4_border_color, #e5e7eb);
  border-radius: 12px;
  padding: 12px;
  background: color-mix(in srgb, var(--v4_surface_color, #fff) 90%, #eef3fa 10%);
}

body.theme-v4 .v4-spec-item span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 5px;
}

body.theme-v4 .v4-spec-item strong {
  display: block;
  font-size: 16px;
  color: #172337;
}

body.theme-v4.profile-v4_portal_storia .v4-oferta-layout-storia {
  grid-template-columns: minmax(0, 1fr) 330px;
}

body.theme-v4.profile-v4_portal_storia .v4-oferta-layout-storia .v4-oferta-main {
  order: 1;
}

body.theme-v4.profile-v4_portal_storia .v4-oferta-layout-storia .v4-oferta-side {
  order: 2;
}

body.theme-v4.profile-v4_portal_storia .v4-oferta-layout-storia .v4-side-box {
  position: sticky;
  top: 100px;
}

/* Top design refinement: make the three portals feel like real products */
body.theme-v4.profile-v4_portal_ro .v4-header-portal-ro {
  background: #0f4da8;
}

body.theme-v4.profile-v4_portal_ro .v4-header-inner {
  min-height: 76px;
}

body.theme-v4.profile-v4_portal_ro .v4-main-nav a {
  padding: 8px 10px;
  border-radius: 8px;
}

body.theme-v4.profile-v4_portal_ro .v4-main-nav a:hover {
  background: rgba(255,255,255,.12);
}

body.theme-v4.profile-v4_portal_ro .v4-home .v4-hero {
  background: linear-gradient(135deg, #1057bf 0%, #2d77df 100%);
}

body.theme-v4.profile-v4_portal_ro .v4-listari-head,
body.theme-v4.profile-v4_portal_ro .v4-card-row-ro,
body.theme-v4.profile-v4_portal_ro .v4-portal-ro-filters,
body.theme-v4.profile-v4_portal_ro .v4-oferta-head {
  box-shadow: 0 18px 44px -36px rgba(11, 53, 115, .4);
}

body.theme-v4.profile-v4_portal_net .v4-header-portal-net {
  background: #081b32;
}

body.theme-v4.profile-v4_portal_net .v4-home .v4-hero {
  background: linear-gradient(135deg, #07192f 0%, #102a4d 100%);
}

body.theme-v4.profile-v4_portal_net .v4-card-net-row {
  border-radius: 14px;
  border-color: #dbe5f1;
}

body.theme-v4.profile-v4_portal_net .v4-card-net-row:hover {
  transform: translateY(-1px);
}

body.theme-v4.profile-v4_portal_net .v4-oferta-head,
body.theme-v4.profile-v4_portal_net .v4-section,
body.theme-v4.profile-v4_portal_net .v4-side-box {
  border-radius: 16px;
}

body.theme-v4.profile-v4_portal_storia .v4-header-portal-storia {
  position: sticky;
  top: 0;
  z-index: 1200;
}

body.theme-v4.profile-v4_portal_storia .v4-main-nav-storia a {
  color: #23344d;
  font-weight: 800;
}

body.theme-v4.profile-v4_portal_storia .v4-home .v4-hero {
  background: radial-gradient(circle at 76% 18%, rgba(247,181,0,.26), transparent 28%), linear-gradient(135deg, #18233a 0%, #25476f 70%, #315b84 100%);
}

body.theme-v4.profile-v4_portal_storia .v4-storia-chips a:hover,
body.theme-v4.profile-v4_portal_storia .v4-cta:hover,
body.theme-v4.profile-v4_portal_storia .v4-home .v4-search-form button:hover {
  filter: brightness(.96);
}

body.theme-v4.profile-v4_portal_storia .v4-card-storia-clean {
  box-shadow: 0 18px 42px -34px rgba(23, 35, 55, .55);
}

body.theme-v4.profile-v4_portal_storia .v4-oferta-head,
body.theme-v4.profile-v4_portal_storia .v4-section,
body.theme-v4.profile-v4_portal_storia .v4-side-box {
  border-radius: 18px;
}

body.theme-v4.profile-v4_portal_storia .v4-gallery-main {
  border-radius: 18px;
}

body.theme-v4.profile-v4_portal_ro .v4-spec-item,
body.theme-v4.profile-v4_portal_net .v4-spec-item,
body.theme-v4.profile-v4_portal_storia .v4-spec-item {
  background: #fff;
}

/* Distinct homepage property sections */
body.theme-v4 .v4-featured-ro-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
}

body.theme-v4 .v4-featured-ro-card {
  background: #fff;
  border: 1px solid #d8e2f0;
  border-radius: 14px;
  overflow: hidden;
}

body.theme-v4 .v4-featured-ro-card.is-large {
  grid-row: span 2;
}

body.theme-v4 .v4-featured-ro-image {
  display: block;
  aspect-ratio: 1.5;
}

body.theme-v4 .v4-featured-ro-card.is-large .v4-featured-ro-image {
  aspect-ratio: .95;
}

body.theme-v4 .v4-featured-ro-image img,
body.theme-v4 .v4-featured-storia-tile img,
body.theme-v4 .v4-featured-net-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.theme-v4 .v4-featured-ro-body {
  padding: 14px;
}

body.theme-v4 .v4-featured-ro-body h3 {
  margin: 4px 0 10px;
  font-size: 19px;
}

body.theme-v4 .v4-featured-ro-body a,
body.theme-v4 .v4-featured-net-row a {
  color: inherit;
  text-decoration: none;
}

body.theme-v4 .v4-featured-net-list {
  display: grid;
  gap: 10px;
}

body.theme-v4 .v4-featured-net-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 140px;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 12px;
  padding: 10px;
}

body.theme-v4 .v4-featured-net-thumb {
  aspect-ratio: 1.45;
  border-radius: 10px;
  overflow: hidden;
}

body.theme-v4 .v4-featured-net-row h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

body.theme-v4 .v4-featured-net-row p {
  margin: 0;
  color: #64748b;
}

body.theme-v4 .v4-featured-net-row strong {
  text-align: right;
}

body.theme-v4.profile-v4_portal_net .v4-featured-net {
  background: #07182b;
  border-radius: 24px;
  padding: 24px;
  color: #fff;
}

body.theme-v4.profile-v4_portal_net .v4-featured-net .v4-home-featured-head h2,
body.theme-v4.profile-v4_portal_net .v4-featured-net .v4-home-featured-head p {
  color: #fff;
}

body.theme-v4.profile-v4_portal_net .v4-featured-net-row {
  background: #0d2543;
  border-color: #18385f;
  border-radius: 16px;
  color: #fff;
}

body.theme-v4.profile-v4_portal_net .v4-featured-net-row p {
  color: #b9cce4;
}

body.theme-v4.profile-v4_portal_net .v4-featured-net-row strong {
  color: #5eead4;
}

body.theme-v4.profile-v4_portal_ro .v4-featured-ro-card.is-large {
  border-top: 5px solid #f5a623;
}

body.theme-v4.profile-v4_portal_ro .v4-featured-ro-body strong {
  color: #123865;
  font-size: 18px;
}

body.theme-v4 .v4-featured-storia {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
}

body.theme-v4 .v4-featured-storia-intro {
  background: #172337;
  color: #fff;
  border-radius: 18px;
  padding: 22px;
}

body.theme-v4 .v4-featured-storia-intro span {
  color: #f7b500;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
}

body.theme-v4 .v4-featured-storia-intro h2 {
  margin: 12px 0;
}

body.theme-v4 .v4-featured-storia-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.theme-v4 .v4-featured-storia-tile {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}

body.theme-v4 .v4-featured-storia-tile.is-wide {
  grid-row: span 2;
}

body.theme-v4 .v4-featured-storia-tile img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

body.theme-v4 .v4-featured-storia-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.72) 100%);
  z-index: 1;
}

body.theme-v4 .v4-featured-storia-tile span,
body.theme-v4 .v4-featured-storia-tile strong,
body.theme-v4 .v4-featured-storia-tile em {
  position: relative;
  z-index: 2;
}

body.theme-v4 .v4-featured-storia-tile strong {
  font-size: 20px;
  line-height: 1.2;
  margin: 5px 0;
}

/* Portal footers + full header/hero redesign */
body.theme-v4 .v4-footer {
  margin-top: 54px;
}

body.theme-v4 .v4-footer a {
  text-decoration: none;
}

body.theme-v4 .v4-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 26px;
  font-size: 13px;
}

body.theme-v4 .v4-footer-ro {
  background: #0f4da8;
  color: #dbe9ff;
  padding-top: 42px;
}

body.theme-v4 .v4-footer-ro a,
body.theme-v4 .v4-footer-ro strong,
body.theme-v4 .v4-footer-ro h4 {
  color: #fff;
}

body.theme-v4 .v4-footer-ro-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 28px;
}

body.theme-v4 .v4-footer-ro-grid > div {
  display: grid;
  gap: 8px;
  align-content: start;
}

body.theme-v4 .v4-footer-brand img {
  max-height: 52px;
  margin-bottom: 12px;
}

body.theme-v4 .v4-footer-net {
  background: #07192f;
  color: #d7e4f7;
  padding: 42px 0 0;
}

body.theme-v4 .v4-footer-net-panel {
  background: #0d2543;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 22px;
}

body.theme-v4 .v4-footer-net a,
body.theme-v4 .v4-footer-net h3,
body.theme-v4 .v4-footer-net strong {
  color: #fff;
}

body.theme-v4 .v4-footer-net-links,
body.theme-v4 .v4-footer-net-contact {
  display: grid;
  gap: 8px;
  align-content: center;
}

body.theme-v4 .v4-footer-storia {
  background: #fff8e6;
  color: #172337;
  padding-top: 26px;
}

body.theme-v4 .v4-footer-storia-cta {
  background: #172337;
  color: #fff;
  border-radius: 26px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

body.theme-v4 .v4-footer-storia-cta span {
  font-size: 28px;
  font-weight: 800;
}

body.theme-v4 .v4-footer-storia-cta a {
  background: #f7b500;
  color: #172337;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
}

body.theme-v4 .v4-footer-storia-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr;
  gap: 24px;
  padding-top: 28px;
}

body.theme-v4 .v4-footer-storia-grid nav,
body.theme-v4 .v4-footer-storia-grid > div {
  display: grid;
  gap: 8px;
  align-content: start;
}

body.theme-v4.profile-v4_portal_ro .v4-header-portal-ro {
  background: #fff;
  border-bottom: 1px solid #dbe6f6;
  color: #14345f;
}

body.theme-v4.profile-v4_portal_ro .v4-portal-topline {
  background: #eff6ff;
  color: #0f4da8;
}

body.theme-v4.profile-v4_portal_ro .v4-header-ro-main {
  min-height: 78px;
}

body.theme-v4.profile-v4_portal_ro .v4-main-nav-ro a,
body.theme-v4.profile-v4_portal_ro .v4-brand {
  color: #14345f;
}

body.theme-v4.profile-v4_portal_ro .v4-main-nav-ro {
  background: #f4f8ff;
  border-radius: 12px;
  padding: 6px;
}

body.theme-v4.profile-v4_portal_ro .v4-main-nav-ro a:hover {
  background: #e7f0ff;
}

body.theme-v4.profile-v4_portal_ro .v4-home .v4-hero {
  background: linear-gradient(135deg, #f6f9ff 0%, #e8f2ff 100%);
}

body.theme-v4.profile-v4_portal_ro .v4-home h1,
body.theme-v4.profile-v4_portal_ro .v4-home p,
body.theme-v4.profile-v4_portal_ro .v4-ro-trust span,
body.theme-v4.profile-v4_portal_ro .v4-eyebrow {
  color: #14345f;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-trust span {
  background: #fff;
  border-color: #d7e5f7;
}

body.theme-v4.profile-v4_portal_net .v4-header-net-main {
  min-height: 82px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
}

body.theme-v4.profile-v4_portal_net .v4-main-nav-net {
  justify-content: center;
}

body.theme-v4.profile-v4_portal_net .v4-header-net-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

body.theme-v4.profile-v4_portal_net .v4-header-net-actions > a:first-child {
  color: #d7e4f7;
  font-weight: 800;
}

/* Strong redesign for Portal NET: editorial product, not marketplace */
body.theme-v4.profile-v4_portal_net .v4-net-hero-editorial {
  background: radial-gradient(circle at 15% 20%, rgba(19, 163, 184, .28), transparent 26%), linear-gradient(135deg, #061425 0%, #0d2543 100%);
  padding: 88px 0 76px;
}

body.theme-v4.profile-v4_portal_net .v4-net-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: end;
}

body.theme-v4.profile-v4_portal_net .v4-net-editorial-copy h1 {
  font-size: clamp(42px, 5.8vw, 74px);
  line-height: .98;
  max-width: 820px;
}

body.theme-v4.profile-v4_portal_net .v4-net-editorial-copy p {
  max-width: 620px;
  color: #d7e4f7;
  font-size: 20px;
}

body.theme-v4.profile-v4_portal_net .v4-net-floating-search {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: 0 32px 80px -48px rgba(0,0,0,.75);
}

body.theme-v4.profile-v4_portal_net .v4-net-floating-search label {
  color: #12243d;
  font-weight: 800;
}

body.theme-v4.profile-v4_portal_net .v4-net-floating-search input {
  height: 52px;
  border-radius: 12px;
  border: 1px solid #d9e2ef;
  padding: 0 14px;
}

body.theme-v4.profile-v4_portal_net .v4-net-floating-search button {
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: #13a3b8;
  color: #061425;
  font-weight: 900;
}

body.theme-v4.profile-v4_portal_net .v4-net-category-rail {
  margin-top: -28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.theme-v4.profile-v4_portal_net .v4-net-category-rail a {
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 16px;
  padding: 14px;
  color: #12243d;
  text-decoration: none;
  box-shadow: 0 18px 44px -34px rgba(12, 31, 58, .42);
}

body.theme-v4.profile-v4_portal_net .v4-net-category-rail strong,
body.theme-v4.profile-v4_portal_net .v4-net-category-rail span {
  display: block;
}

body.theme-v4.profile-v4_portal_net .v4-net-category-rail span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

body.theme-v4.profile-v4_portal_net .v4-net-listari-head,
body.theme-v4.profile-v4_portal_net .v4-net-oferta-head {
  background: #0d2543;
  color: #fff;
  border-color: #18385f;
}

body.theme-v4.profile-v4_portal_net .v4-net-listari-head h1,
body.theme-v4.profile-v4_portal_net .v4-net-listari-head p,
body.theme-v4.profile-v4_portal_net .v4-net-oferta-head h1,
body.theme-v4.profile-v4_portal_net .v4-net-oferta-head p {
  color: #fff;
}

body.theme-v4.profile-v4_portal_net .v4-net-sort-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

body.theme-v4.profile-v4_portal_net .v4-net-sort-pills span {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 8px 11px;
  color: #d7e4f7;
  font-size: 12px;
  font-weight: 800;
}

body.theme-v4.profile-v4_portal_net .v4-card-net-row {
  grid-template-columns: 260px minmax(0, 1fr) !important;
  border-left: 5px solid #13a3b8;
}

body.theme-v4.profile-v4_portal_net .v4-card-net-row .v4-overline {
  color: #13a3b8;
}

body.theme-v4.profile-v4_portal_net .v4-oferta-layout-net {
  grid-template-columns: minmax(0, 1fr) 360px !important;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) 390px;
}

body.theme-v4.profile-v4_portal_ro .v4-home .v4-hero {
  padding: 58px 0 46px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel {
  border: 1px solid #d8e6f7;
}

/* Total redesign pass: Portal RO becomes a bright marketplace portal */
body.theme-v4.profile-v4_portal_ro {
  background: #f3f7fc !important;
}

body.theme-v4.profile-v4_portal_ro #wrapper {
  background: #f3f7fc !important;
}

body.theme-v4.profile-v4_portal_ro .v4-header-portal-ro {
  background: #fff;
  border-bottom: 1px solid #d9e7f6;
  box-shadow: 0 10px 30px -26px rgba(15, 45, 85, .55);
}

body.theme-v4.profile-v4_portal_ro .v4-portal-topline {
  background: #0f3a6b;
  color: #fff;
}

body.theme-v4.profile-v4_portal_ro .v4-portal-topline .container {
  min-height: 38px;
  justify-content: space-between;
}

body.theme-v4.profile-v4_portal_ro .v4-portal-topline div div {
  display: flex;
  gap: 16px;
}

body.theme-v4.profile-v4_portal_ro .v4-portal-topline a {
  color: #dcecff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

body.theme-v4.profile-v4_portal_ro .v4-header-ro-main {
  display: grid !important;
  min-height: 84px;
  grid-template-columns: 230px minmax(0, 1fr) 290px;
}

body.theme-v4.profile-v4_portal_ro .v4-main-nav-ro {
  justify-content: center;
  background: #f2f7fd;
  border: 1px solid #dce8f6;
  border-radius: 14px;
  padding: 6px;
}

body.theme-v4.profile-v4_portal_ro .v4-main-nav-ro a {
  color: #173b66;
  border-radius: 10px;
  padding: 10px 12px;
}

body.theme-v4.profile-v4_portal_ro .v4-main-nav-ro a:hover {
  background: #fff;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-header-contact span {
  color: #173b66;
  font-weight: 900;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-market-hero {
  background: linear-gradient(135deg, #0f3a6b 0%, #1f6fb2 62%, #f5a623 62.2%, #f5a623 100%) !important;
  padding: 72px 0 84px !important;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-market-hero .v4-hero-content {
  display: grid;
  gap: 22px;
  text-align: center;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-market-copy {
  max-width: 880px;
  margin: 0 auto;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-market-copy h1 {
  color: #fff;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.02;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-market-copy p,
body.theme-v4.profile-v4_portal_ro .v4-ro-market-copy .v4-eyebrow {
  color: #e8f3ff;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel-wide {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  padding: 14px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel-wide .v4-search-form {
  grid-template-columns: 1.4fr 180px 180px 160px;
  gap: 10px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel-wide input,
body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel-wide select,
body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel-wide button {
  min-height: 54px;
  border-radius: 12px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel-wide button,
body.theme-v4.profile-v4_portal_ro .v4-cta,
body.theme-v4.profile-v4_portal_ro .v4-side-action {
  background: #f5a623;
  color: #10233d;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-trust {
  justify-content: center;
}

body.theme-v4.profile-v4_portal_ro .v4-home-ro-quick {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.theme-v4.profile-v4_portal_ro .v4-ro-listari-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid #d9e7f6;
  border-radius: 18px;
  padding: 16px 18px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-listari-toolbar span,
body.theme-v4.profile-v4_portal_ro .v4-ro-listari-toolbar strong {
  display: block;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-listari-toolbar span {
  color: #60758f;
  font-size: 13px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-listari-toolbar strong {
  color: #102f55;
  font-size: 24px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-listari-toolbar a {
  background: #0f3a6b;
  color: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  text-decoration: none;
  font-weight: 900;
}

body.theme-v4.profile-v4_portal_ro .v4-listari-shell {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
}

body.theme-v4.profile-v4_portal_ro .v4-listari-head {
  background: #fff;
  border: 1px solid #d9e7f6;
  border-radius: 18px;
}

body.theme-v4.profile-v4_portal_ro .v4-listari-grid-portal-ro {
  gap: 16px;
}

body.theme-v4.profile-v4_portal_ro .v4-card-row-ro {
  background: #fff;
  grid-template-columns: 300px minmax(0, 1fr);
  box-shadow: 0 18px 48px -40px rgba(15, 45, 85, .55);
}

body.theme-v4.profile-v4_portal_ro .v4-ro-offer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  background: #fff;
  border: 1px solid #d9e7f6;
  border-radius: 22px;
  padding: 22px;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-offer-head > div > span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #f5a623;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-price-card {
  background: #0f3a6b;
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  text-align: right;
}

body.theme-v4.profile-v4_portal_ro .v4-ro-price-card small,
body.theme-v4.profile-v4_portal_ro .v4-ro-price-card .v4-price {
  color: #fff;
}

body.theme-v4.profile-v4_portal_ro .v4-oferta-layout-ro {
  grid-template-columns: 240px minmax(0, 1fr) 280px;
  gap: 18px;
}

body.theme-v4.profile-v4_portal_ro .v4-footer-ro {
  background: #0f2f55;
  color: #dcecff;
  margin-top: 54px;
}

body.theme-v4.profile-v4_portal_ro .v4-footer-ro-cta {
  transform: translateY(-28px);
  background: #f5a623;
  color: #10233d;
  border-radius: 22px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body.theme-v4.profile-v4_portal_ro .v4-footer-ro-cta h3 {
  margin: 4px 0 0;
  color: #10233d;
}

body.theme-v4.profile-v4_portal_ro .v4-footer-ro-cta a {
  background: #10233d;
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 900;
}

body.theme-v4.profile-v4_portal_ro .v4-footer-ro-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}

body.theme-v4.profile-v4_portal_ro .v4-footer-ro a,
body.theme-v4.profile-v4_portal_ro .v4-footer-ro span,
body.theme-v4.profile-v4_portal_ro .v4-footer-ro p {
  color: #dcecff;
}

/* Total redesign pass: Portal NET becomes a dark editorial portfolio */
body.theme-v4.profile-v4_portal_net {
  background: #07111f !important;
  color: #dbeafe;
}

body.theme-v4.profile-v4_portal_net #wrapper {
  background: #07111f !important;
}

body.theme-v4.profile-v4_portal_net .v4-header-portal-net {
  background: #06101d;
  border-bottom: 1px solid rgba(125, 211, 252, .16);
}

body.theme-v4.profile-v4_portal_net .v4-net-edition-bar {
  background: #0b1b30;
  color: #93c5fd;
}

body.theme-v4.profile-v4_portal_net .v4-net-edition-bar .container {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.theme-v4.profile-v4_portal_net .v4-net-edition-bar a {
  color: #5eead4;
  text-decoration: none;
  font-weight: 900;
}

body.theme-v4.profile-v4_portal_net .v4-header-net-main {
  display: grid !important;
  min-height: 88px;
  grid-template-columns: 230px minmax(0, 1fr) 230px;
}

body.theme-v4.profile-v4_portal_net .v4-header-net-main .v4-brand,
body.theme-v4.profile-v4_portal_net .v4-main-nav-net a {
  color: #f8fbff;
}

body.theme-v4.profile-v4_portal_net .v4-main-nav-net {
  justify-content: center;
  gap: 4px;
}

body.theme-v4.profile-v4_portal_net .v4-main-nav-net a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
}

body.theme-v4.profile-v4_portal_net .v4-main-nav-net a:hover {
  border-color: rgba(94, 234, 212, .34);
  background: rgba(94, 234, 212, .08);
}

body.theme-v4.profile-v4_portal_net .v4-header-net-actions {
  justify-content: flex-end;
}

body.theme-v4.profile-v4_portal_net .v4-header-net-actions .v4-cta,
body.theme-v4.profile-v4_portal_net .v4-net-floating-search button,
body.theme-v4.profile-v4_portal_net .v4-side-action {
  background: #5eead4;
  color: #06101d;
}

body.theme-v4.profile-v4_portal_net .v4-net-hero-editorial {
  background: radial-gradient(circle at 18% 18%, rgba(94, 234, 212, .22), transparent 26%), radial-gradient(circle at 88% 18%, rgba(59, 130, 246, .18), transparent 25%), #07111f !important;
  padding: 94px 0 88px;
}

body.theme-v4.profile-v4_portal_net .v4-net-editorial-grid {
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: center;
}

body.theme-v4.profile-v4_portal_net .v4-net-editorial-copy h1 {
  color: #fff;
  font-size: clamp(44px, 6vw, 82px);
  letter-spacing: -.05em;
}

body.theme-v4.profile-v4_portal_net .v4-net-editorial-copy p {
  color: #b7c8df;
}

body.theme-v4.profile-v4_portal_net .v4-net-hero-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

body.theme-v4.profile-v4_portal_net .v4-net-hero-links a {
  color: #dbeafe;
  text-decoration: none;
  border: 1px solid rgba(219, 234, 254, .2);
  border-radius: 999px;
  padding: 10px 14px;
}

body.theme-v4.profile-v4_portal_net .v4-net-hero-card {
  background: linear-gradient(180deg, #10243d 0%, #0b1b30 100%);
  border: 1px solid rgba(94, 234, 212, .2);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 32px 90px -58px rgba(94, 234, 212, .45);
}

body.theme-v4.profile-v4_portal_net .v4-net-hero-card > span {
  color: #5eead4;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
}

body.theme-v4.profile-v4_portal_net .v4-net-hero-card h3 {
  color: #fff;
  margin: 10px 0 18px;
  font-size: 28px;
}

body.theme-v4.profile-v4_portal_net .v4-net-floating-search {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

body.theme-v4.profile-v4_portal_net .v4-net-floating-search label {
  color: #dbeafe;
}

body.theme-v4.profile-v4_portal_net .v4-net-category-rail a,
body.theme-v4.profile-v4_portal_net .v4-home-net-highlights article,
body.theme-v4.profile-v4_portal_net .v4-listari-page .v4-empty {
  background: #0b1b30;
  border-color: rgba(148, 163, 184, .18);
  color: #fff;
}

body.theme-v4.profile-v4_portal_net .v4-net-listari-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
}

body.theme-v4.profile-v4_portal_net .v4-net-listari-aside {
  position: sticky;
  top: 18px;
  align-self: start;
  background: #0b1b30;
  border: 1px solid rgba(94, 234, 212, .18);
  border-radius: 24px;
  padding: 22px;
}

body.theme-v4.profile-v4_portal_net .v4-net-listari-aside span {
  color: #5eead4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.theme-v4.profile-v4_portal_net .v4-net-listari-aside h3,
body.theme-v4.profile-v4_portal_net .v4-net-listari-aside p {
  color: #fff;
}

body.theme-v4.profile-v4_portal_net .v4-net-listari-aside a {
  display: inline-flex;
  margin-top: 8px;
  background: #5eead4;
  color: #06101d;
  border-radius: 999px;
  padding: 11px 14px;
  text-decoration: none;
  font-weight: 900;
}

body.theme-v4.profile-v4_portal_net .v4-net-listari-head,
body.theme-v4.profile-v4_portal_net .v4-net-oferta-head {
  border-radius: 24px;
  background: linear-gradient(135deg, #10243d 0%, #0b1b30 100%);
}

body.theme-v4.profile-v4_portal_net .v4-card-net-row {
  background: #0b1b30;
  border: 1px solid rgba(148, 163, 184, .18);
  border-left: 6px solid #5eead4;
  border-radius: 22px;
  color: #fff;
  box-shadow: none;
}

body.theme-v4.profile-v4_portal_net .v4-card-net-row h3,
body.theme-v4.profile-v4_portal_net .v4-card-net-row .v4-loc,
body.theme-v4.profile-v4_portal_net .v4-card-net-row .v4-excerpt {
  color: #fff;
}

body.theme-v4.profile-v4_portal_net .v4-net-offer-price {
  text-align: right;
}

body.theme-v4.profile-v4_portal_net .v4-net-offer-price span {
  display: block;
  color: #5eead4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.theme-v4.profile-v4_portal_net .v4-net-offer-price .v4-price {
  color: #fff;
}

body.theme-v4.profile-v4_portal_net .v4-net-offer-shell {
  background: #0b1b30;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 28px;
  padding: 18px;
}

body.theme-v4.profile-v4_portal_net .v4-side-box-net,
body.theme-v4.profile-v4_portal_net .v4-section-net,
body.theme-v4.profile-v4_portal_net .v4-specs-section {
  background: #10243d;
  border-color: rgba(148, 163, 184, .18);
  color: #dbeafe;
}

body.theme-v4.profile-v4_portal_net .v4-side-box-net span {
  color: #5eead4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.theme-v4.profile-v4_portal_net .v4-side-box-net h4,
body.theme-v4.profile-v4_portal_net .v4-side-box-net p,
body.theme-v4.profile-v4_portal_net .v4-section-net h3,
body.theme-v4.profile-v4_portal_net .v4-section-net div,
body.theme-v4.profile-v4_portal_net .v4-specs-section h3 {
  color: #fff;
}

body.theme-v4.profile-v4_portal_net .v4-footer-net {
  background: #040b14;
  color: #dbeafe;
  margin-top: 58px;
}

body.theme-v4.profile-v4_portal_net .v4-footer-net-newsletter {
  background: linear-gradient(135deg, #5eead4 0%, #60a5fa 100%);
  color: #06101d;
  border-radius: 28px;
  padding: 28px;
  transform: translateY(-30px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

body.theme-v4.profile-v4_portal_net .v4-footer-net-newsletter h3 {
  margin: 4px 0 0;
  color: #06101d;
}

body.theme-v4.profile-v4_portal_net .v4-footer-net-newsletter a {
  color: #fff;
  background: #06101d;
  border-radius: 999px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 900;
}

body.theme-v4.profile-v4_portal_net .v4-footer-net-panel {
  background: #0b1b30;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 28px;
  grid-template-columns: 1.4fr 1fr 1.2fr;
}

body.theme-v4.profile-v4_portal_net .v4-footer-net h3,
body.theme-v4.profile-v4_portal_net .v4-footer-net h4,
body.theme-v4.profile-v4_portal_net .v4-footer-net a,
body.theme-v4.profile-v4_portal_net .v4-footer-net span,
body.theme-v4.profile-v4_portal_net .v4-footer-net p {
  color: #dbeafe;
}

body.theme-v4.profile-v4_portal_storia .v4-header-storia-main {
  min-height: 84px;
}

@media (max-width: 1480px) {
  body.theme-v4.profile-v4_portal_ro .v4-oferta-layout-ro {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  body.theme-v4.profile-v4_portal_ro .v4-oferta-layout-ro > .v4-oferta-side:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1360px) {
  body.theme-v4.profile-v4_portal_storia .v4-listari-shell-storia {
    grid-template-columns: 1.1fr 1.4fr;
  }
  body.theme-v4.profile-v4_portal_storia .v4-listari-grid-storia-compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  body.theme-v4 .v4-header-inner {
    min-height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }
  body.theme-v4 .v4-main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  body.theme-v4.profile-v4_portal_storia .v4-header-storia-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body.theme-v4 .v4-home h1 {
    font-size: 38px;
  }
  body.theme-v4 .v4-listari-page.mode-atelier .v4-card,
  body.theme-v4 .v4-listari-page.mode-soho .v4-listari-grid,
  body.theme-v4 .v4-listari-page.mode-harbor .v4-listari-grid {
    grid-template-columns: 1fr !important;
  }
  body.theme-v4 .v4-editorial-item {
    grid-template-columns: 1fr;
  }
  body.theme-v4 .v4-oferta-layout {
    grid-template-columns: 1fr;
  }
  body.theme-v4 .v4-search-form {
    grid-template-columns: 1fr;
  }
  body.theme-v4.profile-v4_portal_ro .v4-home .v4-search-form,
  body.theme-v4.profile-v4_portal_storia .v4-home .v4-search-form {
    grid-template-columns: 1fr;
  }
  body.theme-v4 .v4-listari-grid {
    grid-template-columns: 1fr !important;
  }
  body.theme-v4.profile-v4_portal_ro .v4-listari-shell,
  body.theme-v4.profile-v4_portal_net .v4-net-listari-shell,
  body.theme-v4.profile-v4_portal_storia .v4-listari-shell-storia,
  body.theme-v4.profile-v4_portal_ro .v4-ro-hero-grid,
  body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel-wide .v4-search-form,
  body.theme-v4.profile-v4_portal_ro .v4-ro-offer-head,
  body.theme-v4.profile-v4_portal_ro .v4-footer-ro-cta,
  body.theme-v4.profile-v4_portal_net .v4-footer-net-newsletter,
  body.theme-v4 .v4-footer-ro-grid,
  body.theme-v4 .v4-footer-net-panel,
  body.theme-v4 .v4-footer-storia-grid,
  body.theme-v4.profile-v4_portal_ro .v4-home-ro-stats,
  body.theme-v4.profile-v4_portal_ro .v4-home-ro-quick,
  body.theme-v4.profile-v4_portal_net .v4-home-net-highlights,
  body.theme-v4.profile-v4_portal_net .v4-net-editorial-grid,
  body.theme-v4.profile-v4_portal_net .v4-net-category-rail,
  body.theme-v4 .v4-featured-ro-layout,
  body.theme-v4 .v4-featured-net-row,
  body.theme-v4 .v4-featured-storia,
  body.theme-v4 .v4-featured-storia-mosaic,
  body.theme-v4.profile-v4_portal_net .v4-home-net-stack,
  body.theme-v4.profile-v4_portal_storia .v4-home-storia-band,
  body.theme-v4.profile-v4_portal_storia .v4-hero-split,
  body.theme-v4.profile-v4_portal_storia .v4-oferta-layout-storia,
  body.theme-v4.profile-v4_portal_ro .v4-oferta-layout-ro,
  body.theme-v4.profile-v4_portal_ro .v4-card-row-ro,
  body.theme-v4.profile-v4_portal_net .v4-listari-grid-portal-net,
  body.theme-v4.profile-v4_portal_net .v4-card-net-row,
  body.theme-v4.profile-v4_portal_storia .v4-listari-grid-storia-compact,
  body.theme-v4.profile-v4_portal_storia .v4-listari-grid-storia-clean,
  body.theme-v4 .v4-specs-grid {
    grid-template-columns: 1fr;
  }
  body.theme-v4.profile-v4_portal_ro .v4-portal-ro-filters {
    position: static;
  }
  body.theme-v4.profile-v4_portal_net .v4-net-listari-aside {
    position: static;
  }
  body.theme-v4.profile-v4_portal_ro .v4-header-ro-main,
  body.theme-v4.profile-v4_portal_net .v4-header-net-main {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body.theme-v4.profile-v4_portal_ro .v4-ro-header-contact,
  body.theme-v4.profile-v4_portal_net .v4-header-net-actions {
    justify-content: flex-start;
  }
  body.theme-v4.profile-v4_portal_storia .v4-storia-map,
  body.theme-v4.profile-v4_portal_storia .v4-oferta-layout-storia .v4-side-box {
    position: static;
    min-height: 220px;
  }
  body.theme-v4 .v4-footer-bottom,
  body.theme-v4 .v4-footer-storia-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  body.theme-v4 .v4-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.theme-v4 .v4-home-featured-grid {
    grid-template-columns: 1fr;
  }
  body.theme-v4 .v4-signature-header #header .container-header,
  body.theme-v4 .v4-signature-oferta .single-proper .row,
  body.theme-v4 .v4-atelier-listari .portfolio .project-single,
  body.theme-v4 .v4-atelier-listari .homes-content,
  body.theme-v4 .v4-atelier-oferta .single-proper .row {
    grid-template-columns: 1fr !important;
  }
  body.theme-v4 .v4-soho-listari .properties-list .row,
  body.theme-v4 .v4-harbor-listari .properties-list .row {
    grid-template-columns: 1fr !important;
  }
  body.theme-v4.profile-v4_soho .v4-soho-oferta .single-proper .row {
    flex-wrap: wrap;
  }
  body.theme-v4.profile-v4_soho .v4-soho-oferta .blog-pots,
  body.theme-v4.profile-v4_soho .v4-soho-oferta aside.col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  body.theme-v4.profile-v4_harbor .v4-harbor-listari .filters_sidebar,
  body.theme-v4.profile-v4_harbor .v4-harbor-listari .properties-right > div > div {
    width: 100% !important;
  }
}

/* Tablet/compact desktop must not look like mobile for portal themes. */
@media (min-width: 901px) and (max-width: 1180px) {
  body.theme-v4.profile-v4_portal_ro .v4-header-ro-main {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  body.theme-v4.profile-v4_portal_ro .v4-main-nav-ro {
    width: auto;
    justify-content: flex-end;
    grid-column: 2;
    grid-row: 1;
  }

  body.theme-v4.profile-v4_portal_ro .v4-ro-header-contact {
    grid-column: 1 / -1;
    justify-content: space-between;
    border-top: 1px solid #dce8f6;
    padding-top: 12px;
  }

  body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel-wide .v4-search-form {
    grid-template-columns: minmax(0, 1fr) 170px 170px;
  }

  body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel-wide .v4-search-form button {
    grid-column: 1 / -1;
  }

  body.theme-v4.profile-v4_portal_ro .v4-home-ro-quick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.theme-v4.profile-v4_portal_ro .v4-listari-shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  body.theme-v4.profile-v4_portal_ro .v4-card-row-ro {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  body.theme-v4.profile-v4_portal_net .v4-header-net-main {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  body.theme-v4.profile-v4_portal_net .v4-main-nav-net {
    width: auto;
    justify-content: flex-end;
    grid-column: 2;
    grid-row: 1;
  }

  body.theme-v4.profile-v4_portal_net .v4-header-net-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
    border-top: 1px solid rgba(148, 163, 184, .18);
    padding-top: 12px;
  }

  body.theme-v4.profile-v4_portal_net .v4-net-editorial-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  body.theme-v4.profile-v4_portal_net .v4-net-category-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.theme-v4.profile-v4_portal_net .v4-net-listari-shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  body.theme-v4.profile-v4_portal_net .v4-card-net-row {
    grid-template-columns: 220px minmax(0, 1fr) !important;
  }

  body.theme-v4.profile-v4_portal_storia .v4-header-storia-main,
  body.theme-v4.profile-v4_portal_storia .v4-hero-split,
  body.theme-v4.profile-v4_portal_storia .v4-oferta-layout-storia {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

@media (max-width: 900px) {
  body.theme-v4.profile-v4_portal_ro .v4-ro-search-panel-wide .v4-search-form,
  body.theme-v4.profile-v4_portal_ro .v4-header-ro-main,
  body.theme-v4.profile-v4_portal_net .v4-header-net-main,
  body.theme-v4.profile-v4_portal_net .v4-net-editorial-grid {
    grid-template-columns: 1fr !important;
  }
}
