/*
Theme Name: PlatformIZ
Theme URI: https://negliadesign.com
Author: Neglia Design [ Graeme Demarsh ]
Author URI: https://negliadesign.com
Description: Custom theme by Neglia Design
Version: 1.3.2
*/

/*--------------------------------------------------------------
Elements
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(69, 94, 104, 0.5);
	height:100%;
}

*,
*:before,
*:after {
	box-sizing: inherit;
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
}

body {
	margin:0;
	height:100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

img {
	vertical-align: middle;
	height: auto;
	max-width: 100%;
}

svg {
	width: 100%;
	max-width:100%;
	height: auto;
	vertical-align:middle;
}

embed,
iframe,
object {
	max-width: 100%;
}

figure {
	display:block;
	margin: 0 auto 1em;
}

table {
	max-width:100%;
	border-collapse:collapse;
	border-spacing:0;
}



/*--------------------------------------------------------------
Header structure
--------------------------------------------------------------*/
html body {
    padding-top:90px;
}


@media (min-width: 992px) {
	html body {
		padding-top:110px;
	}
}


@media (min-width: 1290px) {
	html body {
		padding-top:140px;
	}
}


html body.home {
    padding-top:0px;
}


body.admin-bar .site-header {
  top: 32px;
}


.site-header {
    position:fixed;
    top:0;
    right:0;
    left:0;
	z-index:99;
	padding: 0 .5rem;
}

.site-header .container {
	max-width: 1500px;
	display: flex;
	justify-content: space-between;
	align-items: center;
    flex-wrap: wrap;
	
	padding: 1rem 1.7em;
	margin: 1rem auto 0;
	transition: all 0.7s linear;
	background-color: var(--wp--preset--color--grey);
	color: var(--wp--preset--color--white);
	border-radius: 80px;
}

@media (min-width: 992px) {
	.site-header .container {
		padding: 1.5rem 4.1rem;
	}
}


.site-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	width: auto;
	text-decoration: none;
}

.site-logo:hover {
	text-decoration: none;
}

@media (min-width: 992px) {
	.site-logo {
	}
}

@media (min-width: 1290px) {
	.site-logo {
	}
}

.site-logo svg{
  display:block;
  height: clamp(48px, 6vw, 68px);  /* ↑ larger than before */
  width:auto;
}

.site-logo .tagline {
	font-size: clamp(0.7rem, 0.7rem + ((1vw - 0.2rem) * 0.639), 1.1rem);
	letter-spacing: .15rem;
	font-weight: 500;
	color: #FFFFFF;
	text-transform: uppercase;
	margin-left: 1.9em;
	margin-top: .5rem;
}

.site-logo:hover .tagline {
	text-decoration: none;
	color: var(--wp--preset--color--theme-primary);
}



/* ==============================================================
   GENERAL MENU STYLES (BASE)
   ============================================================== */

.site-nav {
	position: relative;
	display: flex;
	margin: 0 0 0 auto;
	text-align: right;
	text-transform: uppercase;
}

.site-nav ul {
	list-style: none;
	font-size: inherit;
	margin: 0 auto;
	padding: 0;
}

.site-nav li {
	padding: 0;
	margin: 0;
	display: inline-block;
	align-items: center;
}

/* top-level list items spacing (desktop base) */
.site-nav > ul > li {
	margin: 0 .7em;
}

/* anchor defaults */
.site-nav a {
	display: block;
	position: relative;
	text-align: center;
	text-decoration: none;
	font-weight: 300;
	color: var(--wp--preset--color--white);
}

/* top-level anchor padding */
.site-nav > ul > li > a {
	padding: .5rem 1rem;
}

/* hover baseline */
.site-nav a:hover {
	text-decoration: none;
}

/* dropdown caret on items with children */
.site-nav ul.menu > li.menu-item-has-children > a::after {
	content: ' ';
	position: absolute;
	top: .7rem;
	right: 0;
	display: block;
	width: .8em;
	height: .8em;
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg width='1792' height='1792' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1683 808l-742 741q-19 19-45 19t-45-19l-742-741q-19-19-19-45.5t19-45.5l166-165q19-19 45-19t45 19l531 531 531-531q19-19 45-19t45 19l166 165q19 19 19 45.5t-19 45.5z' fill='%23E55A43'/%3E%3C/svg%3E%0A");
	background-size: contain;
	pointer-events: none;
	transition-duration: .3s;
	transition-property: all;
}

/* caret hover scale */
.site-nav ul.menu > li.menu-item-has-children > a:hover::after {
	transform: scale(1.5);
}

/* active/current states */
.site-nav ul.menu > li.current-menu-item > a,
.site-nav ul.menu > li.current-menu-parent > a,
.site-nav ul.menu > li.current-page-ancestor > a {
	color: var(--wp--preset--color--theme-primary);
	font-weight: bold;
}

/* hover/focus/active color for top-level links */
.site-nav ul.menu > li:hover > a,
.site-nav ul.menu > li > a:hover,
.site-nav ul.menu > li > a:focus,
.site-nav ul.menu > li > a:active {
	color: var(--wp--preset--color--theme-primary);
}


/* ==============================================================
   DESKTOP DROPDOWNS (≥ 992px): POSITIONING & CONTAINER
   ============================================================== */

@media (min-width: 992px) {

	/* remove right margin on last item */
	.site-nav > ul > li:last-child {
		margin-right: 0;
	}

	/* base dropdown container (hidden off-canvas until hover/open) */
	.site-nav ul ul {
		float: left;
		position: absolute;
		overflow: hidden;
		top: 90%;
		left: -999em;
		z-index: 99999;
		width: 100%;
		background-color: var(--wp--preset--color--grey);
		padding: 1rem;
		box-shadow: 0 10px 3px -3px rgba(0, 0, 0, 0.3);
	}

	/* reveal dropdown on hover/open */
	.site-nav ul > li:hover > ul,
	.site-nav ul > li.open > ul {
		left: 0px;
	}
}


/* ==============================================================
   DROPDOWN CONTENT (ALL SIZES)
   ============================================================== */

.site-nav ul ul li {
	display: block;
}

.site-nav ul ul a {
	text-align: left;
	padding: 12px 17px;
	color: inherit;
	border-bottom: 1px solid #5E5E5E;
}

/* remove border on last dropdown item */
.site-nav ul ul li:last-child a {
	border-bottom: none;
	padding-bottom: 14px;
}


/* ==============================================================
   DROPDOWN CONTENT ENHANCEMENTS (≥ 992px)
   ============================================================== */

@media (min-width: 992px) {

	/* larger padding & font inside dropdowns on desktop */
	.site-nav ul ul a {
		position: relative;
		padding: 1rem 2rem;
		font-size: 1.5rem;
	}

	/* arrow indicator inside dropdown links (desktop) */
	.site-nav ul ul a::after {
		position: absolute;
		bottom: 1rem;
		right: 1rem;
		content: "";
		display: inline-block;
		vertical-align: middle;
		width: 43px;
		height: 43px;
		margin: 0 0 0 .3em;
		background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" fill="%23E55A43" viewBox="0 -960 960 960"><path d="M644.28-624.29 280.43-260.4q-12.93 12.89-29.47 12.8-16.54-.1-29.6-13.53-13.43-13.43-13.43-30.07 0-16.63 13.43-30.07l363.16-363.16H273.57q-18.05 0-30.33-12.32-12.29-12.32-12.29-30.03 0-17.72 12.29-30.09 12.28-12.37 30.33-12.37H686.9q17.67 0 30.12 12.45 12.45 12.46 12.45 30.12v413.34q0 17.66-12.49 29.95-12.48 12.29-30.2 12.29-18.09 0-30.29-12.29-12.21-12.29-12.21-29.95v-310.96Z"/></svg>');
		background-size: 23px;
		background-repeat: no-repeat;
		background-position: center;
		transition-duration: .3s;
		transition-property: all;
	}

	/* arrow hover scale */
	.site-nav ul ul a:hover::after {
		transform: scale(1.5);
	}
}


/* ==============================================================
   NESTED SUBMENUS (3rd level)
   ============================================================== */

.site-nav ul ul ul {
	padding: 0 0 7px 10px;
}

/* active/hover states in submenus */
.site-nav ul.sub-menu a:hover,
.site-nav ul.sub-menu a:focus,
.site-nav ul.sub-menu li.current-menu-item a,
.site-nav ul.sub-menu li.current-menu-parent a,
.site-nav ul.sub-menu li.current-page-ancestor a {
	color: var(--wp--preset--color--theme-primary);
}


/* ==============================================================
   RESPONSIVE TIGHTENING (DESKTOP NARROWING)
   Note: These run in order (1290 → 1150 → 1020) to progressively compact.
   ============================================================== */

/* Slightly tighter large-desktop nav */
@media (max-width: 1290px) {
  .site-nav > ul > li {
    margin: 0 0.4em;
  }
  .site-nav > ul > li > a {
    padding: 0.5rem 0.8rem;
    font-size: 0.9em;
  }
}

/* Medium desktops — keep on one line longer */
@media (max-width: 1150px) {
  .site-nav > ul > li {
    margin: 0 0.2em;
  }
  .site-nav > ul > li > a {
    padding: 0.45rem 0.5rem;
    font-size: 0.8em;
  }
}

/* Near tablet breakpoint — very compact */
@media (max-width: 1020px) {
  .site-nav > ul > li {
    margin: 0 0.2em;
  }
  .site-nav > ul > li > a {
    padding: 0.4rem 0.3rem;
    font-size: 0.8em;
  }
}


/* ==============================================================
   MAIN NAV: VERTICAL DIVIDERS (DESKTOP WIDE ONLY ≥1150px)
   ============================================================== */

@media (min-width: 1150px) {
  .site-nav > ul > li {
    position: relative;
  }

  /* draw the vertical divider before every item except the first */
  .site-nav > ul > li + li::before {
    content: "";
    position: absolute;
    left: -.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1.2em;
    background-color: var(--wp--preset--color--theme-primary);
  }

  /* do NOT show a divider before special buttons */
  .site-nav > ul > li.menu-item-request-access::before,
  .site-nav > ul > li.menu-item-log-out::before,
  .site-nav > ul > li.menu-item-login::before {
    content: none;
  }
}


/* ==============================================================
   MENU BUTTON (REQUEST ACCESS / LOG OUT) — DESKTOP ONLY (≥992px)
   ============================================================== */

@media (min-width: 992px) {
	nav .menu-item-request-access a,
	nav .menu-item-log-out a {
	  padding: .8em 1.6em !important;
	  background-color: var(--wp--preset--color--black);
	  border-radius: 999px; /* pill shape */
	  border: 1px solid var(--wp--preset--color--theme-primary);
	  text-decoration: none;
	  transition: all 0.25s ease;
	}

	nav .menu-item-request-access a:hover,
	nav .menu-item-request-access a:focus,
	nav .menu-item-log-out a:hover,
	nav .menu-item-log-out a:focus {
	  background-color: var(--wp--preset--color--theme-primary);
	  color: #FFFFFF !important;
	}
}


/* ==============================================================
   MOBILE HEADER TOGGLE (HAMBURGER) + STATES
   ============================================================== */

.menu-toggle {
	display: none;
	align-self: center;
	border: none;
	border-radius: 0;
	background-color: transparent;
	cursor: pointer;
	transition: all 0.25s ease-in-out;
	font-size: 0.875em;
	min-width: auto;
	color: var(--wp--preset--color--theme-primary);
	padding: 5px 15px;
	margin: 0 0 0 auto;
	text-align: center;
}

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
	color: var(--wp--preset--color--theme-primary);
	background-color: transparent;
}

/* show toggle on mobile */
@media (max-width: 991px) {
	.menu-toggle {
		display: block;
	}
}

/* label + icon sizing */
.menu-toggle span {
	display: block;
	font-size: .9em;
}

.menu-toggle svg {
	display: block;
	fill: currentColor;
	vertical-align: middle;
	position: relative;
	width: 2.7em;
	height: 2.7em;
	top: 0;
}

/* hamburger lines + transition */
.menu-toggle svg .line {
	opacity: 1;
	transform: rotate(0) translateY(0) translateX(0);
	transform-origin: 1em 1em;
	transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
}

/* specific transform-origins for top/bottom bars */
.menu-toggle svg .line-1 {
	transform-origin: 1em 2.5em;
}
.menu-toggle svg .line-3 {
	transform-origin: 1em 4.5em;
}

/* expanded (X) state transforms */
.menu-toggle[aria-expanded="true"] svg .line-1 {
	transform: rotate(45deg) translateY(0) translateX(0);
}
.menu-toggle[aria-expanded="true"] svg .line-2 {
	opacity: 0;
}
.menu-toggle[aria-expanded="true"] svg .line-3 {
	transform: rotate(-45deg) translateY(0em) translateX(0em);
}


/* ==============================================================
   MOBILE NAVIGATION PANEL (≤991px)
   ============================================================== */

body.mobile-menu-visible {
	overflow: hidden;
}

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

	/* collapsed by default */
	.main-navigation {
		display: none;
		overflow-x: hidden;
		overflow-y: auto;
		width: 100%;
	}

	/* shown when toggled */
	.main-navigation.visible {
		display: block;
	}

	/* panel inner width + spacing */
	.main-navigation > ul {
		max-width: 350px;
		margin-top: 30px;
	}

	/* vertical list items */
	.main-navigation li {
		display: block;
		font-size: 1.1rem;
	}

	/* separators between items */
	.main-navigation > ul > li {
		border-bottom: 1px solid #FFFFFF;
	}

	/* remove last separator */
	.main-navigation > ul > li:last-child {
		border-bottom: none;
	}

	/* mobile link padding + left align */
	.main-navigation > ul > li > a {
		padding: 10px;
		text-align: left;
	}

	/* flip caret icon when a submenu is open (mobile) */
	.main-navigation ul.menu > li.menu-item-has-children.open > a::after {
		background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg width='1792' height='1792' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1683 1331l-166 165q-19 19-45 19t-45-19l-531-531-531 531q-19 19-45 19t-45-19l-166-165q-19-19-19-45.5t19-45.5l742-741q19-19 45-19t45 19l742 741q19 19 19 45.5t-19 45.5z' fill='%23E55A43'/%3E%3C/svg%3E%0A");
	}

	/* nested submenu block behavior for mobile */
	.main-navigation ul ul {
		position: relative;
		display: none;
		margin-bottom: 15px;
	}

	/* show nested submenu when parent is open (mobile) */
	.main-navigation ul li.menu-item-has-children.open ul {
		display: block;
	}

	/* nested items in mobile */
	.main-navigation ul ul li {
		display: block;
	}

	/* nested link padding in mobile */
	.main-navigation ul ul a {
		text-align: left;
		padding: 8px 8px 8px 30px;
	}

	/* third-level padding in mobile */
	.main-navigation ul ul ul {
		padding: 0 0 7px 10px;
	}
}



/*--------------------------------------------------------------
Global
--------------------------------------------------------------*/
.container {
	position:relative;
	max-width: 1290px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}


.display-flex {
    display: flex;
    gap: 4%;
    flex-direction: row
}

@media (max-width: 991px) {
    .display-flex {
        flex-direction:column
    }
}

.space-between {
    justify-content: space-between
}


.home-top {
	clip-path: polygon(
	  0% 0%, 100% 0%,
	  100% 85%,
	  90% 87%, 80% 89%, 70% 91%, 60% 93%, 
	  50% 95%, 40% 97%, 30% 98%, 20% 99%, 10% 99.5%, 0% 100%
	);
}

body.page-template-default,
body.page-login,
body.page-investments,
body.page-saved,
body.page-invested,
body.single-deal {
	background: linear-gradient(18deg, rgb(255, 255, 255) 50%, rgb(200, 199, 222) 100%) no-repeat;
}





/**
 * =======================================================
 * Investor Navigation (Investments / Saved / Invested)
 * =======================================================
 */
.investor-nav {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(0.4rem, 0.2rem + 1vw, 0.75rem);
  margin: 2rem auto;
}

.investor-nav a {
	display: inline-block;
	position: relative;
	padding: 0.5em 1.2em;
	border-radius: 999px; 
	border: 1px solid var(--wp--preset--color--theme-primary);
	background-color: #FFFFFF;
	color: var(--wp--preset--color--grey);
	font-weight: 500;
	font-size: clamp(0.80rem, 0.65rem + 1vw, 1rem);
	text-decoration: none;
	transition: all 0.25s ease-in-out;
}

.investor-nav a:hover {
	background-color: var(--wp--preset--color--theme-primary);
	color: #FFF;
	text-decoration: none;
}

.investor-nav a.active,
.investor-nav a[aria-current="page"] {
	background-color: var(--wp--preset--color--theme-primary);
	color: #fff;
}

.investor-nav a.active:hover,
.investor-nav a[aria-current="page"]:hover {
  opacity: 0.8;
}


.investor-nav a::before {
	content: "";
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	margin-bottom: .2em;
	vertical-align:middle;
	transition: all 0.3s ease;
}

.investor-nav a.all::before {
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23009596'><path d='M240-160q-33 0-56.5-23.5T160-240q0-33 23.5-56.5T240-320q33 0 56.5 23.5T320-240q0 33-23.5 56.5T240-160Zm240 0q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm240 0q-33 0-56.5-23.5T640-240q0-33 23.5-56.5T720-320q33 0 56.5 23.5T800-240q0 33-23.5 56.5T720-160ZM240-400q-33 0-56.5-23.5T160-480q0-33 23.5-56.5T240-560q33 0 56.5 23.5T320-480q0 33-23.5 56.5T240-400Zm240 0q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm240 0q-33 0-56.5-23.5T640-480q0-33 23.5-56.5T720-560q33 0 56.5 23.5T800-480q0 33-23.5 56.5T720-400ZM240-640q-33 0-56.5-23.5T160-720q0-33 23.5-56.5T240-800q33 0 56.5 23.5T320-720q0 33-23.5 56.5T240-640Zm240 0q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Zm240 0q-33 0-56.5-23.5T640-720q0-33 23.5-56.5T720-800q33 0 56.5 23.5T800-720q0 33-23.5 56.5T720-640Z'/></svg>") no-repeat center;
	background-size: contain;
}

.investor-nav a.active.all::before,
.investor-nav a.all:hover::before {
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'><path d='M240-160q-33 0-56.5-23.5T160-240q0-33 23.5-56.5T240-320q33 0 56.5 23.5T320-240q0 33-23.5 56.5T240-160Zm240 0q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm240 0q-33 0-56.5-23.5T640-240q0-33 23.5-56.5T720-320q33 0 56.5 23.5T800-240q0 33-23.5 56.5T720-160ZM240-400q-33 0-56.5-23.5T160-480q0-33 23.5-56.5T240-560q33 0 56.5 23.5T320-480q0 33-23.5 56.5T240-400Zm240 0q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm240 0q-33 0-56.5-23.5T640-480q0-33 23.5-56.5T720-560q33 0 56.5 23.5T800-480q0 33-23.5 56.5T720-400ZM240-640q-33 0-56.5-23.5T160-720q0-33 23.5-56.5T240-800q33 0 56.5 23.5T320-720q0 33-23.5 56.5T240-640Zm240 0q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Zm240 0q-33 0-56.5-23.5T640-720q0-33 23.5-56.5T720-800q33 0 56.5 23.5T800-720q0 33-23.5 56.5T720-640Z'/></svg>") no-repeat center;
	background-size: contain;
}


.investor-nav a.saved::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23009596'><path d='M200-120v-640q0-33 23.5-56.5T280-840h400q33 0 56.5 23.5T760-760v640L480-240 200-120Zm80-122 200-86 200 86v-518H280v518Zm0-518h400-400Z'/></svg>") no-repeat center;
  background-size: contain;
}

.investor-nav a.active.saved::before,
.investor-nav a.saved:hover::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'><path d='M200-120v-640q0-33 23.5-56.5T280-840h400q33 0 56.5 23.5T760-760v640L480-240 200-120Zm80-122 200-86 200 86v-518H280v518Zm0-518h400-400Z'/></svg>") no-repeat center;
  background-size: contain;
}


.investor-nav a.invested::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23009596'><path d='m434-297 226-227-56-56-170 170-85-85-57 57 142 141ZM160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v400q0 33-23.5 56.5T800-160H160Zm0-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Z'/></svg>") no-repeat center;
  background-size: contain;
}

.investor-nav a.active.invested::before,
.investor-nav a.invested:hover::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'><path d='m434-297 226-227-56-56-170 170-85-85-57 57 142 141ZM160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v400q0 33-23.5 56.5T800-160H160Zm0-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Z'/></svg>") no-repeat center;
  background-size: contain;
}


.investor-nav .count-badge {
  position: absolute;
  top: -0.4em;
  right: -0.2em;
  min-width: 1.3em;
  height: 1.3em;
  line-height: 1.3em;
  background-color: var(--wp--preset--color--theme-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
  text-align: center;
  padding: 0 0.25em;
  box-shadow: 0 0 0 2px #fff;
}

.investor-nav a.active .count-badge,
.investor-nav a[aria-current="page"] .count-badge {
  background-color: #fff;
  color: var(--wp--preset--color--theme-primary);
  box-shadow: 0 0 0 2px var(--wp--preset--color--theme-primary);
}



/* =========================================
   Deal Grid Layout
   ========================================= */
.deal-grid {
  display: grid;
  grid-template-columns: 1fr;
	align-items: stretch;
  gap: 2.5rem;
  margin: 2rem auto 5rem;
}

/* Tablet layout (2 columns) */
@media (min-width: 640px) {
  .deal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop layout (3 columns) */
@media (min-width: 1024px) {
  .deal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* =========================================
   Deal Card
   ========================================= */
.deal-card-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
	height: 100%;
}

.deal-card-link-wrapper:hover {
  text-decoration: none;
}

.deal-card {
  border-radius: 0 80px 80px 80px; /* top-left flat */
  box-shadow: 12px 12px 20px rgba(28, 37, 47, 0.1);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
	height: 100%;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.deal-card:hover {
  transform: translateY(-4px);
}

.deal-card__image {
  position: relative;
  overflow: hidden;
}

.deal-card__status {
	position: absolute;
	bottom: 2rem;
	left: 0;
	background: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.4em 1.5em;
	letter-spacing: 0.03em;
	z-index: 2;
}

.deal-card__image img {
  display: block;
  width: 100%;
  height: auto;
}

.deal-card__content {
  padding: 1.5rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;            /* grow to consume leftover height */
}

.deal-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.deal-card__location {
  font-size: 0.95rem;
  color: #555;
  margin: 0.3rem 0 0.8rem;
}

.deal-card__excerpt {
  font-size: 0.95rem;
  color: #333;
  margin:0 0 1rem;
}

.deal-card__stats {
	padding: 0;
	margin: auto 0 0;
}

.deal-card__stats li {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid var(--wp--preset--color--theme-primary);
	padding: 0.6rem 0;
	margin: 0;
	font-weight: 300;
	font-size: var(--wp--preset--font-size--extra-small);
	text-transform: uppercase;
}



/* ==========================================================================
   SINGLE DEAL
   ========================================================================== */
.single-deal {
  padding-bottom: 80px;
}

.deal-header-panel {
  margin: 4rem 0 .8rem;
}

.deal-header__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}

.deal-header__info {
  flex: 1 1 auto;
}

.deal-title {
  margin: 0 0 5px 0;
  color: var(--wp--preset--color--theme-primary);
}

.deal-location {
  font-size: 1.4rem;
  color: #000;
	font-weight: 700;
  margin: 0;
}



/* =======================================================
   SINGLE DEAL — ACTION BUTTONS
   ======================================================= */
.deal-header__actions {
	position: relative;
  flex-shrink: 0;
  display: flex;
  gap: 12px;
}

.deal-header__actions button,
.single-deal .deal-card__save,
.single-deal .deal-card__invest {
  display: inline-block;
  position: relative;
  font-size: clamp(0.8rem, 0.65rem + 1vw, 1rem);
  padding: 0.5em 1.2em;
  border-radius: 999px; /* match nav buttons */
  border: 1px solid var(--wp--preset--color--theme-primary);
  background-color: #fff;
  color: var(--wp--preset--color--grey);
  font-weight: 500;
  text-transform: none;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

/* Hover and active states */
.deal-header__actions button:hover,
.single-deal .deal-card__save:hover,
.single-deal .deal-card__invest:hover,
.single-deal .deal-card__save.is-saved,
.single-deal .deal-card__invest.is-invested {
  background-color: var(--wp--preset--color--theme-primary);
  color: #fff;
  border-color: var(--wp--preset--color--theme-primary);
}


.deal-header__actions button::before {
	content: "";
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	margin-bottom: .2em;
	vertical-align:middle;
	transition: all 0.3s ease;
}

.single-deal .deal-card__save::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23009596'><path d='M200-120v-640q0-33 23.5-56.5T280-840h400q33 0 56.5 23.5T760-760v640L480-240 200-120Zm80-122 200-86 200 86v-518H280v518Zm0-518h400-400Z'/></svg>") no-repeat center;
  background-size: contain;
}

.single-deal .deal-card__save.is-saved::before,
.single-deal .deal-card__save:hover::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'><path d='m438-400 198-198-57-56-141 141-57-57-57 57 114 113ZM200-120v-640q0-33 23.5-56.5T280-840h400q33 0 56.5 23.5T760-760v640L480-240 200-120Zm80-122 200-86 200 86v-518H280v518Zm0-518h400-400Z'/></svg>") no-repeat center;
  background-size: contain;
}

.single-deal .deal-card__invest::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23009596'><path d='M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v400q0 33-23.5 56.5T800-160H160Zm0-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Z'/></svg>") no-repeat center;
  background-size: contain;
}

.single-deal .deal-card__invest.is-invested::before,
.single-deal .deal-card__invest:hover::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'><path d='m434-297 226-227-56-56-170 170-85-85-57 57 142 141ZM160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v400q0 33-23.5 56.5T800-160H160Zm0-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Z'/></svg>") no-repeat center;
  background-size: contain;
}



/* =========================================
   Deal Feedback Messages
   ========================================= */
.deal-feedback {
  position: absolute;
	bottom: 110%;
	right: 0;
	left: 0;
	margin: 0 auto;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}
.deal-feedback.success {
  background: #e7f8ee;
  border: 1px solid #4caf50;
  color: #256c33;
}
.deal-feedback.error {
  background: #fdecea;
  border: 1px solid #f44336;
  color: #a3221a;
}



/* =========================================
   HERO IMAGE
   ========================================= */
.deal-hero {
  position: relative;
  overflow: hidden;
}

.deal-hero__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0; /* top-left no radius as per design */
  object-fit: cover;
}


/* =========================================
   Deal Status and Stats
   ========================================= */
.deal-stats {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .deal-stats {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


.deal-status {
  display: block;
	margin: 0;
  font-weight: 400;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  font-size: 1rem;
  font-family: var(--wp--preset--font-family--roboto-condensed) !important;
}

.deal-status-text {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--wp--preset--color--theme-primary);
}

.deal-stats__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.deal-stat {
}

.deal-stat .label {
  display: block;
  font-weight: 400;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  font-size: 1rem;
  font-family: var(--wp--preset--font-family--roboto-condensed) !important;
}

.deal-stat .value {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
}


/* =========================================
   BOTTOM SECTION (2-COLUMN LAYOUT)
   ========================================= */
.deal-bottom {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .deal-bottom {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* -----------------------------------------
   LEFT COLUMN: Data Room Link
   ----------------------------------------- */
.deal-bottom__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.deal-dataroom__button {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--wp--preset--color--theme-primary);
  text-decoration: none;
  padding: 10px 18px;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.2s ease-in-out;
}

.deal-dataroom__button:hover {
  background: var(--wp--preset--color--theme-primary);
  color: #fff;
}

.deal-dataroom__note {
  font-size: 0.9rem;
  color: #777;
  margin-top: 8px;
}

.deal-dataroom__placeholder {
  background: #fafafa;
  padding: 16px;
  border: 1px dashed #ccc;
  color: #666;
  font-size: 0.95rem;
}


/* -----------------------------------------
   RIGHT COLUMN: Long Description
   ----------------------------------------- */
.deal-bottom__right {
}

.deal-longdesc p {
}

.deal-longdesc strong {
}



/* =========================================
   Login Page
   ========================================= */
.login-page {
  max-width: 480px;
  margin: 4rem auto;
  text-align: center;
}

.login-form-section {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.login-form label {
  display: block;
  text-align: left;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.login-form .button-primary {
  background: var(--wp--preset--color--primary, #007c7c);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.login-form .button-primary:hover {
  background: #005f5f;
}

.login-errors {
  background: #fbeaea;
  color: #b00;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.login-links {
  margin-top: 1rem;
}

.remember-wrap {
  margin-top: 0.75rem;
  text-align: left;
}



/*--------------------------------------------------------------
Paginate
--------------------------------------------------------------*/
.paginate-area {
	margin: 0 0 3em;
	font-size: 1.3rem;
}

.paginate-area .page-numbers {
	text-decoration: none;
	padding: 3px;
}

.paginate-area .page-numbers.current {
	color: var(--wp--preset--color--theme-red);
	font-weight: bold;
	text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--wp--preset--color--theme-red);
    text-underline-offset: 0.2em;
}

.paginate-area .page-numbers.next::before {
    content: ' ';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23222B35' d='M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm113.9 231L234.4 103.5c-9.4-9.4-24.6-9.4-33.9 0l-17 17c-9.4 9.4-9.4 24.6 0 33.9L285.1 256 183.5 357.6c-9.4 9.4-9.4 24.6 0 33.9l17 17c9.4 9.4 24.6 9.4 33.9 0L369.9 273c9.4-9.4 9.4-24.6 0-34z'%3E%3C/path%3E%3C/svg%3E");
}

.paginate-area .page-numbers.prev::after {
    content: ' ';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23222B35' d='M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zM142.1 273l135.5 135.5c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L226.9 256l101.6-101.6c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L142.1 239c-9.4 9.4-9.4 24.6 0 34z'%3E%3C/path%3E%3C/svg%3E");
}

.nav-previous, .nav-next {
	display:inline-block;
	margin-top:30px;
}

.nav-previous a, .nav-next a {
	display:block;
	padding:7px 20px;
	min-width:150px;
	text-align:center;
	text-decoration:none;
	font-weight:700;
	text-transform:uppercase;
	background-color: #BCD583;
	border-radius: 30px;
}



/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/
.site-footer {
	margin:0;
}

.page-contact .footer-contact {
	display: none;
}

.footer-meta {
	font-size:.8rem;
	padding: 20px 5px;
	text-align: center;
}

.footer-meta a {
	text-decoration: none;
}

.footer-meta .neglia {
	display: block;
	margin-top: 1rem;
}



/*--------------------------------------------------------------
Helper classes
--------------------------------------------------------------*/
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}



/*--------------------------------------------------------------
Forms
--------------------------------------------------------------*/
.wpcf7-form-control {
	margin-top:.5rem;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: none;
	border-radius:0;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    outline: none;
	box-shadow: none;
	text-shadow: none;
	border-radius: 99px;
	cursor: pointer;
	-webkit-appearance: none;
	margin: 0 auto;
	
	position:relative;
	transition:all .5s;
	text-decoration:none;
	display:block;
	
	text-align:center;
	font-weight:500;
	font-size:1rem;
	line-height:1.5;
    padding: 1.5em 2em;
	max-width:100%;
	color: #FFFFFF;
	background-color: var(--wp--preset--color--theme-primary);
	border: 1px solid #000000;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	text-decoration:none;
	color:#FFFFFF;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	outline: none;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="password"],
input[type="search"],
select,
textarea {
    width: 100%;
    border: 1px solid #DCDEE0;
    outline: none;
    background-color: #FFFFFF;
	border-radius: 10px;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
	outline: none!important;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="password"],
input[type="search"],
select {
    padding: 16px 20px;
}

textarea {
    padding: 18px 20px;
	overflow: auto;
}


/*--------------------------------------------------------------
  Generic Overlay Modal
--------------------------------------------------------------*/
.iz-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  z-index: 10000;
}

.iz-overlay.is-open {
  display: flex;
}

.iz-modal {
  background: #fff;
  max-width: 560px;
  width: 92%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  outline: 0;
}

.iz-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.iz-modal__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.iz-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.iz-modal__body {
  padding: 18px 20px;
}

.iz-modal__footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 20px;
  border-top: 1px solid #eee;
}

.iz-btn {
  appearance: none;
  border: 1px solid var(--wp--preset--color--theme-primary);
  background: #000000;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.iz-btn--primary {
  background: var(--wp--preset--color--theme-primary);
}

.iz-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}

.iz-field input[type="text"],
.iz-field input[type="number"] {
  padding: 10px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
}

.iz-error {
  color: #b00020;
  font-size: .9rem;
  margin-top: 6px;
}

@media (prefers-reduced-motion: no-preference) {
  .iz-modal {
    transform: translateY(6px);
    opacity: 0;
    transition: transform .15s ease, opacity .15s ease;
  }
  .iz-overlay.is-open .iz-modal {
    transform: translateY(0);
    opacity: 1;
  }
}


/*--------------------------------------------------------------
Print
--------------------------------------------------------------*/
@media print {
	
	.site-header,
	.site-footer,
	.share-icons {
		display:none;
	}

}

