/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* =======================
   Root Variables
   ======================= */
:root {
	--gold: #AC8950;
	--dark-gold: #8e6a40;
	--dark-blue: #08152D;
	--blue: #13294D;
	--soft-blue: #717F94;
	--gray: #E5E7EB;
	--soft-gray: #F8F9FA;
	--ease: 0.2s ease;
}

/* =======================
  Global Styles
   ======================= */

a,
button,
[type="button"],
[type="submit"],
[role="button"] {
	transition:
		color var(--ease),
		background-color var(--ease),
		border-color var(--ease),
		opacity var(--ease),
		transform var(--ease),
		box-shadow var(--ease);
}

.wpb-content-wrapper > .vc_row, .templatera_shortcode > .vc_row {
	padding-top: 96px;
	padding-bottom: 96px;
}

.gradient--dark-blue {
	background: linear-gradient(180deg, #08152D 0%, #13294D 100%);
}

.conatiner-shadow > .vc_column-inner {
	box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
	background-color: #fff;
	border-radius: 10px;
	padding: 2rem 2rem 0;
}

/* =======================
	WPBakery full-width row: container padding
   ======================= */

.vc_row[data-vc-full-width] {
	width: 100dvw !important;
	max-width: 100dvw !important;
	box-sizing: border-box;
	padding-left: max(0px, (100vw - 1200px) / 2) !important;
	padding-right: max(0px, (100vw - 1200px) / 2) !important;
}

.js_active .ast-left-sidebar .vc_row[data-vc-full-width],
.js_active .ast-right-sidebar .vc_row[data-vc-full-width] {
	padding-left: max(0px, (100vw - 1200px) / 2) !important;
	padding-right: max(0px, (100vw - 1200px) / 2) !important;
}

/* =======================
   Text Styles
   ======================= */

body {
	text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6,
.entry-content :where(h1,h2,h3,h4,h5,h6) {
	text-wrap: balance;
	margin-bottom: .25em;
}

h1, .entry-content :where(h1) {
	font-size: clamp(40px, 26.9091px + 3.6364vw, 72px);
}

h2, .entry-content :where(h2) {
	font-size: clamp(32px, 25.4545px + 1.8182vw, 48px);
}

h3, .entry-content :where(h3) {
	font-size: clamp(26px, 24.3636px + 0.4545vw, 30px);
}

h4, .entry-content :where(h4) {
	font-size: clamp(22px, 21.1818px + 0.2273vw, 24px);
}

h1, h2, h3,
entry-content :where(h1,h2,h3) {
	+ h4 {
		font-weight: 300 !important;
		color: var(--soft-blue);

		+ p {
			max-width: 800px;
			margin-left: auto;
			margin-right: auto;
		}
	}
}

ul {
	margin-top: 0 !important;
	margin-bottom: 0.5em;
}

ul.check-icon,
ul.x-icon {
	margin-top: 0 !important;
	list-style: none;
	padding-left: 0 !important;

	li {
		position: relative;
		padding-left: 1.75em;
		margin-bottom: 0.5em;
	}
}



ul.check-icon {
	li::before {
		content: "\f00c";
		font-family: "Font Awesome 6 Free";
		font-weight: 900;
		color: var(--gold);
		position: absolute;
		left: 0;
	}
}

ul.x-icon {
	li::before {
		content: "\f00d";
		font-family: "Font Awesome 6 Free";
		font-weight: 900;
		color: #FB2C36;
		position: absolute;
		left: 0;
	}
}

ul.two-column, .two-column .gfield_checkbox {
	column-count: 2;
	column-gap: 2% !important;
}

li {
	break-inside: avoid;
}

/* =======================
   Skins (WPBakery Row: Skin Style dropdown)
   ======================= */

   .light-skin {
	h1, h2, h3 {
		strong {
			color: var(--gold);
		}
	}
}

.medium-skin {
	h1, h2, h3 {
		strong {
			color: var(--soft-blue);
		}
	}
}

.dark-skin {
	h1, h2, h3, h4, h5, h6, p, ul {
		color: #fff;
	}

	h1, h2, h3 {
		strong {
			color: var(--gold);
		}
	}
}

/* =======================
   D2C Steps (WPBakery)
   ======================= */

/* Reset step counter once per top-level row only.
 * Normal pages: WPBakery wraps post content in .wpb-content-wrapper via the_content.
 * Agent landing pages: Templatera is rendered with do_shortcode() (no the_content), so rows
 * live under .d2c-agent-profile .templatera_shortcode instead — match those too.
 * Include top-level .vc_section in case the template starts with a section block. */
.wpb-content-wrapper > .vc_row,
.d2c-agent-profile .templatera_shortcode > .vc_row,
.d2c-agent-profile .templatera_shortcode > .vc_section {
	counter-reset: d2c-step;
}

.d2c-step {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	counter-increment: d2c-step;
}

.d2c-step__number {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	line-height: 1;
}

.d2c-step__number::before {
	content: counter(d2c-step);
}

.d2c-step__number--circle {
	border-radius: 50%;
}

.d2c-step__number--rounded {
	border-radius: 10px;
}

.d2c-step--size-small .d2c-step__number {
	width: 32px;
	height: 32px;
	font-size: 1rem;
}

.d2c-step--size-medium .d2c-step__number {
	width: 48px;
	height: 48px;
	font-size: 1.25rem;
}

.d2c-step--size-large .d2c-step__number {
	width: 64px;
	height: 64px;
	font-size: 1.5rem;
}

.d2c-step__content {
	flex: 1;
	min-width: 0;

	h1, h2, h3, h4, h5, h6 {
		color: var(--dark-blue);
	}
}

/* Connector line style for horizontal step rows */
.d2c-steps-row {
	position: relative;

	.d2c-step {
		flex-direction: column;
		align-items: center;
	}
}

@media (min-width: 768px) {
	.d2c-steps-row::before {
		content: "";
		display: block;
		position: absolute;
		top: 32px;
		left: 17%;
		right: 17%;
		height: 2px;
		background-color: var(--gold);
		opacity: 0.6;
		z-index: 0;
	}

	.d2c-steps-row .d2c-step__number {
		position: relative;
		z-index: 1;
	}
}

@media (max-width: 767px) {
	.d2c-steps-row::before {
		display: none;
	}
}

/* =======================
   D2C Button
   ======================= */

.d2c-btn-wrap--display-inline {
	display: inline-block;

	& + .d2c-btn-wrap--display-inline {
		margin-left: 1rem;
	}

	&.d2c-btn-wrap--center,
	&.d2c-btn-wrap--right {
		display: inline-block;
	}
}

/* Center a row of inline + center button wraps as one group (WPBakery: siblings in .wpb_wrapper) */
.vc_column-inner > .wpb_wrapper:has(> .d2c-btn-wrap--display-inline.d2c-btn-wrap--center) {
	text-align: center;
}

.vc_column-inner > .wpb_wrapper:has(> .d2c-btn-wrap--display-inline.d2c-btn-wrap--center) > .wpb_text_column {
	text-align: left;
}

.vc_column-inner > .wpb_wrapper:has(> .d2c-btn-wrap--display-inline.d2c-btn-wrap--right) {
	text-align: right;
}

.vc_column-inner > .wpb_wrapper:has(> .d2c-btn-wrap--display-inline.d2c-btn-wrap--right) > .wpb_text_column {
	text-align: left;
}

.d2c-btn-wrap--display-block {
	display: block;

	&.d2c-btn-wrap--center {
		text-align: center;
	}

	&.d2c-btn-wrap--right {
		text-align: right;
	}

	+ .d2c-btn-wrap--display-block {
		margin-top: 1rem;
	}
}

.d2c-btn-wrap .d2c-btn--full-width {
	display: block;
	width: 100%;
	text-align: center;
}

.d2c-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 18px;
	padding: 1rem 2rem;
	border-radius: 0.5rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition:
		background-color var(--ease),
		color var(--ease),
		border-color var(--ease),
		box-shadow var(--ease),
		transform var(--ease);

	&:focus {
		outline: 2px solid var(--gold);
		outline-offset: 2px;
	}

	&.d2c-btn--primary {
		border-color: var(--dark-gold);
		background-color: var(--gold);
		color: #fff;

		&:hover {
			background-color: var(--dark-gold);
			color: #fff;
			box-shadow: 0 4px 12px rgba(8, 21, 45, 0.25);
			transform: scale(1.02);
		}
	}

	&.d2c-btn--secondary {
		background-color: #fff;
		color: var(--blue);
		border-color: var(--dark-blue);

		&:hover {
			background-color: var(--gray);
			color: var(--dark-blue);
			border-color: var(--dark-blue);
			box-shadow: 0 4px 12px rgba(8, 21, 45, 0.25);
			transform: scale(1.02);
		}
	}

	&.d2c-btn--text-only {
		background-color: transparent;
		color: var(--gold);

		&:hover {
			color: var(--dark-gold);
			transform: scale(1.02);
		}
	}

	&.d2c-btn__icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	&.d2c-btn--icon-left,
	&.d2c-btn--icon-right {
		flex-direction: row;
	}
}

/* =======================
	Gravity Forms
   ======================= */

.gform_heading {
	display: none;
}

.gform_wrapper {
    background: white;
    border-radius: 12px;
    border: 2px solid var(--gold);
	box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
	padding: 24px 24px 0;
}

.gform_body {

	.form-header {
		background: var(--dark-blue);
		width: calc(100% + 48px);
		margin-top: -24px;
		margin-inline: -24px;
		border-radius: 10px 10px 0 0;
		padding: 24px;

		* {
			color: #fff;
		}
	}

	.gsection {
		border-bottom: 2px solid var(--gold) !important;
		padding-top: 24px !important;

		.gsection_title {
			font-size: 18px;
		}
	}

	.gfield--input-type-singleproduct {
		padding: 24px;
		background: var(--soft-gray);
		border-radius: 10px;
		border: 2px solid var(--gold);
		
		.ginput_product_price, 
		ginput_shipping_price {
			color: var(--gold) !important;
			font-size: 32px !important;
			box-shadow: none !important;
		}
	}
	 
	.gfield_checkbox {
		column-width: 144px;
		column-gap: 0;
	}

}

.gform_wrapper.gravity-theme .field_sublabel_above .description, .gform_wrapper.gravity-theme .field_sublabel_above .gfield_description, .gform_wrapper.gravity-theme .field_sublabel_above .gsection_description {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* =======================
	Agent Landing Page
   ======================= */

.d2c-agent-profile {
	max-width: 720px;
	margin: 0 auto;
	padding: 24px 16px;
}

.d2c-agent-headshot {
	display: block;
	width: 100%;
	max-width: 360px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 12px;
	border: 2px solid #c9a227;
	margin: 0 0 16px;
}

.d2c-agent-name {
	font-size: 2rem;
	margin: 0 0 8px;
}

.d2c-agent-location,
.d2c-agent-credentials,
.d2c-agent-phone,
.d2c-agent-licensed-states {
	margin: 8px 0;
}

.d2c-agent-email {
	margin: 8px 0;
}

.d2c-agent-phone,
.d2c-agent-email {
	display: inline-block;
}

.d2c-agent-booking-cta {
	display: inline-block;
	padding: 12px 18px;
	background: #111;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
}

.d2c-agent-bio p {
	margin: 0 0 12px;
}

.d2c-agent-qr {
	margin-top: 24px;
}

.d2c-agent-qr-label {
	margin: 0 0 8px;
	font-weight: 600;
}

.d2c-agent-qr-image {
	max-width: 180px;
	height: auto;
	display: block;
}

.d2c-agent-licensed-states {
	list-style: none;
	padding-left: 0;
	margin: 12px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.d2c-agent-state-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: #0c2340;
	color: #fff;
	border-radius: 999px;
	font-size: 20px;
	line-height: 1.2;
}

.d2c-agent-state-pill__icon {
	color: #c9a227;
}

.single-agent_page .ast-builder-button-wrap.ast-builder-button-size-default {
    display: none;
}

