/*
	Theme Name: Darius Arya Digs
	Theme URI: https://withwonderly.com
	Description: Wonderly Web starter child theme for the Genesis Framework. Beaver Builder and Beaver Themer handle all front-end layout.
	Author: Wonderly Web
	Author URI: https://withwonderly.com

	Version: 1.0.0

	Template: genesis
	Template Version: 3.5.0

	License: GPL-2.0+
	License URI: https://opensource.org/licenses/gpl-license.php
*/


/* =============================================================================
   BRAND COLORS
   Define project brand colors here as CSS custom properties.
   Reference throughout stylesheet and BB Global Styles as var(--name).
   e.g. --primary: #000; --accent: #e14d43;

   Kit form color variables are also defined here — see KIT FORMS section.
   Update these to match the project's brand before building out forms.
============================================================================= */

:root {
	
	--error: #D31919;
	--text: #471803;
	--brown: #471803;
	--cream: #FFFAE5;
	--light: #FFFAE5;
	--yellow: #E5E500;
	--accent: #E5E500;
	--gold: #A36500;

    /* Kit Form defaults — update per project */
    --kit-font: manrope, sans-serif;         /* form font family */
    --kit-primary: var(--light);            /* main accent: button bg, borders */
    --kit-primary-text: var(--text);       /* text on --kit-primary backgrounds */
    --kit-bg: transparent;                 /* input background */
    --kit-input-text: var(--light);         /* input and placeholder text color */
    --kit-success-bg: transparent;         /* success message background */
    --kit-success-border: var(--light);     /* success message border and text color */

}


/* =============================================================================
   BASE RESET
   Minimal — modern browsers don't need much.
============================================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
}

img,
embed,
iframe,
object,
video,
.wp-caption {
	max-width: 100%;
	height: auto;
}

a img {
	display: block;
}

.glass {
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

iframe[src*="libsyn.com"] {
	height: 90px !important;
	margin-bottom: 32px;
}

@media only screen and (max-width: 760px) {
	iframe[src*="libsyn.com"] {
		margin-bottom: 24px;
	}
}


/* =============================================================================
   TYPOGRAPHY DEFAULTS
   Intentionally bare — set per-project via BB Global Styles.
   These are fallback/body defaults only.
============================================================================= */

body {
	color: var(--text);
	font-family: manrope, sans-serif;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0.17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	background-color: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
	font-family: tausend-plakat;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

h1 {
	font-size: 76px;
	letter-spacing: 0.76px;
}

h2 {
	font-size: 50px;
	letter-spacing: 0.5px;
}

h3 {
	font-size: 40px;
	letter-spacing: 0.4px;
}

.accent,
.accent-small,
.press-box-content .pp-infobox-title {
	font-family: atacama;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
}

.accent {
	font-size: 32px;
}

.accent-small,
.press-box-content .pp-infobox-title {
	font-size: 26px;
}

nav a,
.eyebrow,
.nav {
	font-family: manrope;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

p {
	margin: 0 0 20px;
}

p:last-child,
.fl-rich-text p:last-child,
.uabb-text-editor p:last-child {
	margin-bottom: 0 !important;
}

/* In-text link styles — scoped to paragraph context only.
   Keeps nav, buttons, and other links unaffected. */
.entry-content p a,
.fl-rich-text p a {
	color: inherit;
	text-decoration: underline;
}

.entry-content p a:hover,
.fl-rich-text p a:hover {
	color: inherit;
	text-decoration: none;
}

a {
	transition: color 0.15s ease-in-out;
}

b,
strong {
	font-weight: 700;
}

input:focus::placeholder,
input:focus::-webkit-input-placeholder { 
	color: transparent !important; 
} 

mark {
	background-color: var(--accent) !important;
	color: var(--text) !important;
}

/* =============================================================================
   RESPONSIVE TYPOGRAPHY
   Uncomment and adjust per project. Values below are starting point examples.
   Primary breakpoint for heading size reduction is typically 768px.
============================================================================= */

@media only screen and (max-width: 1100px) {
	h1 {
		font-size: 55px;
		letter-spacing: 0.55px;
	}
}

@media only screen and (max-width: 760px) {
	body {
		font-size: 16px;
		letter-spacing: 0.16px;
	}
	
	h1 {
		font-size: 40px;
		letter-spacing: 0.4px;
	}
	
	h2 {
		font-size: 32px;
		letter-spacing: 0.32px;
	}
	
	h3 {
		font-size: 28px;
		letter-spacing: 0.28px;
	}
	
	.accent {
		font-size: 24px;
		letter-spacing: 0;
	}
	
	.accent-small,
	.press-box-content .pp-infobox-title {
		font-size: 20px;
		letter-spacing: 0;
	}
	
	.nav-small-mobile {
        font-size: 13px !important;
        letter-spacing: 0.65;
    }

}

@media only screen and (max-width: 375px) {
	h1 {
		font-size: 35px;
		letter-spacing: 0.35px;
	}
}


/* =============================================================================
   BUTTON DEFAULTS
   
============================================================================= */

.fl-button,
.pp-button,
.uabb-button,
.contact .nf-form-content input[type=submit],
.wp-block-button a {
	background-color: var(--accent) !important;
	border: 1px solid var(--accent) !important;
	border-radius: 0 !important;
	color: var(--text) !important;
	letter-spacing: 0;
	line-height: 1 !important;
	padding: 10px 24px !important;
	text-align: center !important;
}

.wp-block-button a {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.wp-block-button a::after {
	content: "\e902";
	font-family: dad-icons;
	font-size: 14px;
	padding-top: 1px;
}

.outlined .fl-button,
.pp-button.outlined {
	background-color: transparent !important;
	border: 1px solid var(--light) !important;
	color: var(--light) !important;
}

.outlined-dark .fl-button,
.pp-button.outlined-dark {
	background-color: transparent !important;
	border: 1px solid var(--text) !important;
	color: var(--text) !important;
}

.brown .fl-button {
	background-color: var(--brown) !important;
	color: var(--yellow) !important;
	border-color: var(--brown) !important;
}

.read-article-button .fl-button,
.simple-text-button .fl-button {
    background-color: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--cream) !important;
    padding: 8px 0 !important;
    color: var(--cream) !important;
}

.fl-button:hover,
.pp-button:hover,
.uabb-button:hover,
.nf-form-content input[type=submit]:hover,
.wp-block-button a:hover {
	background-color: transparent !important;
	color: var(--text) !important;
	border-color: var(--text) !important;
}

.yellow-hover .fl-button:hover {
	border-color: var(--accent) !important;
	color: var(--accent) !important;
}

.solid-hover .fl-button:hover {
	background-color: var(--text) !important;
	border-color: var(--text) !important;
	color: var(--light) !important;
}

.outlined .fl-button:hover,
.pp-button.outlined:hover {
	background-color: var(--light) !important;
	color: var(--text) !important;
	border-color: var(--light) !important;
}

.outlined-dark .fl-button:hover,
.pp-button.outlined-dark:hover {
	background-color: var(--text) !important;
	color: var(--light) !important;
	border-color: var(--text) !important;
}

.yellow-text-on-hover .fl-button:hover {
	color: var(--yellow) !important;
}

.brown .fl-button:hover {
	background-color: transparent !important;
	color: var(--text) !important;
}

.read-article-button .fl-button:hover,
.simple-text-button .fl-button:hover {
    background-color: transparent !important;
    border-bottom: 1px solid var(--accent) !important;
    color: var(--accent) !important;
}

.fl-button-text,
.uabb-button-text,
.pp-button span {
	font-family: manrope !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
}

.fl-button-icon,
.pp-button .pp-font-icon {
	font-size: 14px !important;
}

.fl-button-text,
.fl-button-icon,
.fl-button:hover .fl-button-text,
.fl-button:hover .fl-button-icon,
.uabb-button-text,
.uabb-button:hover .uabb-button-text,
.pp-button span,
.pp-button:hover span {
	color: inherit !important;
}

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

}

.uabb-button-wrap {
	line-height: 1 !important;
}


/* =============================================================================
   LISTS
   Restore sensible list defaults inside content and BB rich text areas.
   (Genesis/resets strip these.)
============================================================================= */

.entry-content ol,
.entry-content ul,
.site-inner ol,
.site-inner ul,
.fl-rich-text ol,
.fl-rich-text ul {
	margin-bottom: 24px;
	margin-left: 36px;
	padding: 0;
}

.entry-content ol > li,
.site-inner ol > li,
.fl-rich-text ol > li {
	list-style-type: decimal;
	margin-bottom: 8px;
}

.entry-content ul > li,
.site-inner ul > li,
.fl-rich-text ul > li {
	list-style-type: disc;
	margin-bottom: 8px;
}

.entry-content ol ol,
.entry-content ul ul,
.fl-rich-text ol ol,
.fl-rich-text ul ul {
	margin-bottom: 0;
}


/* =============================================================================
   WORDPRESS ALIGN CLASSES
   Used by the block editor and classic editor image alignment.
============================================================================= */

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter,
img.centered {
	display: block;
	margin: 0 auto 24px;
}

.alignnone {
	margin-bottom: 16px;
}

.wp-caption-text {
	font-size: 14px;
	text-align: center;
}

/* =============================================================================
   Position/Relative Over/Under
============================================================================= */
.over {
	z-index: 10;
	position: relative;
}

.under {
	z-index: 1;
	position: relative;
}


/* =============================================================================
   GENESIS CHROME
   Hide default Genesis header/footer — Beaver Themer handles all of this.
============================================================================= */

.site-header,
.site-footer {
	display: none;
}


/* =============================================================================
   BEAVER BUILDER
============================================================================= */

/* Prevents Genesis list reset from stripping menu item list styles */
.fl-menu .menu li {
	list-style-type: none;
}

/* Prevents absolutely-positioned elements and animations bleeding outside rows.
   Safe to remove on a per-row basis using overflow: visible !important if needed.  */

.hide-overflow .fl-row-content-wrap {
	overflow-x: hidden;
}

/* =============================================================================
   NINJA FORMS
============================================================================= */

.contact .nf-form-fields-required {
	display: none;
}

.contact .ninja-forms-req-symbol {
	color: var(--error) !important;
}

.contact .nf-field input,
.contact .nf-field textarea {
	border: 1px solid var(--brown) !important;
	padding: 10px 24px !important;
	color: var(--brown) !important;
	font-family: manrope !important;
}

.contact .nf-field ::placeholder {
	color: #818181 !important;
	opacity: 1 !important;
	font-size: 15px !important;
	line-height: 1.2 !important;
}


.contact .nf-field-label .nf-label-span, 
.contact .nf-field-label label{
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
}


/* ----------------------------------------
   ERROR STYLING
---------------------------------------- */
.contact .nf-pass.field-wrap .nf-field-element:after,
.contact .nf-error.field-wrap .nf-field-element:after {
	display: none !important;
}

.contact .nf-error-msg {
	color: var(--error) !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	letter-spacing: 0.16px !important;
}

.contact .nf-error.field-wrap .nf-field-element:after {
	background: transparent !important;
	color: var(--error) !important;
}

.contact .nf-error .ninja-forms-field {
	border-color: var(--error) !important;
}

/* ----------------------------------------
   TEXT FIELDS
---------------------------------------- */
.contact .nf-form-content .list-select-wrap .nf-field-element>div, 
.contact .nf-form-content input:not([type=button]), 
.contact .nf-form-content textarea {
	background-color: transparent !important;
}

/* ----------------------------------------
   CHECKBOXES + RADIOS
---------------------------------------- */
.contact .listcheckbox-wrap .nf-field-element label:after, 
.contact .checkbox-wrap .nf-field-label label:after,
.contact .listradio-wrap .nf-field-element label:after {
	background-color: transparent !important;
	border: 1px solid #1e1e1e !important;
	border-radius: 0 !important;
}

.contact .listradio-wrap .nf-field-element label:after {
	border-radius: 100px !important;
}

.contact .checkbox-wrap label {
	color: #1E1E1E !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 500 !important;
	line-height: 160% !important;
	letter-spacing: 0.14px !important;
	text-transform: none !important;
}

.contact .checkbox-wrap label a {
	text-decoration: underline;
	color: #1e1e1e !important;
}

.contact .checkbox-wrap label a:hover {
	text-decoration: none;
}

/* Checked */
.contact .checkbox-wrap .nf-field-element label:before, 
.contact .checkbox-wrap .nf-field-label label:before, 
.contact .listcheckbox-wrap .nf-field-element label:before, 
.contact .listcheckbox-wrap .nf-field-label label:before {
	color: var(--yellow) !important;
	font-size: 20px !important;
	line-height: 18px !important;
	bottom: unset !important;
	top: unset !important;
	left: -29px !important;
}

.contact .listradio-wrap .nf-field-element label.nf-checked-label:before {
	background-color: var(--yellow) !important;
}

/* ----------------------------------------
   SUBMIT BUTTON
---------------------------------------- */
.contact .nf-form-content input[type=submit] {
	background-color: var(--accent) !important;
	background-image: url('../../uploads/submit-arrow.png') !important;
	background-repeat: no-repeat !important;
	background-size: 17px auto !important;
	background-position: right 24px center !important;
	padding: 10px 50px 10px 24px !important;
}

.contact .nf-form-content input[type=submit]:hover {
	cursor: pointer !important;
	background-color: transparent !important;
}


/* =============================================================================
   ADMIN BAR FIX
   Prevents admin bar from overlapping content on mobile.
============================================================================= */

@media only screen and (max-width: 782px) {
	html {
		margin-top: 0 !important;
	}

	.admin-bar .site-container {
		padding-top: 46px !important;
	}
}


/* =============================================================================
   KIT FORMS
   Class-based styling system for embedded Kit (formerly ConvertKit) forms.
   Apply wrapper classes in BB to trigger variants. Colors inherit from
   --kit-* custom properties defined in :root above.

   VARIANTS:
     .kit-form-inline     — single-line input + button side by side
     .kit-form-stacked    — input and button stacked vertically

   USAGE:
     1. Set --kit-* variables in :root to match project brand colors.
     2. Wrap the Kit embed in a BB HTML module and add .kit-form-inline
        or .kit-form-stacked as a class on that module's row or column.
     3. For a color variant that differs from the project default (e.g. a
        white form on a dark background), override --kit-primary etc. with
        a project-specific selector in the PROJECT-SPECIFIC STYLES section.
     4. Per-form data-uid overrides go in PROJECT-SPECIFIC STYLES below.

   NOTE: Not using Kit? Delete this section.
============================================================================= */

/* ----------------------------------------
   SHARED — applies to all Kit form variants
---------------------------------------- */

.kit-form-inline .formkit-form,
.kit-form-stacked .formkit-form {
    max-width: 100% !important;
}

.kit-form-inline .formkit-input,
.kit-form-stacked .formkit-input {
    font-family: var(--kit-font);
    font-size: 15px;
    color: var(--kit-input-text) !important;
    background-color: var(--kit-bg) !important;
    height: 38px;
    padding: 16px !important;
}

.kit-form-inline ::placeholder,
.kit-form-stacked ::placeholder {
    font-family: var(--kit-font) !important;
    color: var(--kit-input-text) !important;
    opacity: 1 !important;
}

.kit-form-inline .formkit-button,
.kit-form-inline .formkit-submit,
.kit-form-stacked .formkit-button,
.kit-form-stacked .formkit-submit {
    font-family: var(--kit-font) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 100px !important;
    border: 1px solid var(--kit-primary) !important;
    background-color: var(--kit-primary) !important;
    outline: 1px solid var(--kit-primary) !important;
    outline-offset: 7px;
    padding: 8px 24px !important;
    text-transform: lowercase;
    cursor: pointer;
}

.kit-form-inline .formkit-submit > span,
.kit-form-stacked .formkit-submit > span {
    font-family: var(--kit-font);
    font-size: 18px;
    color: var(--kit-primary-text);
    padding: 0 24px;
}

.kit-form-inline .formkit-button:hover,
.kit-form-inline .formkit-submit:hover,
.kit-form-stacked .formkit-button:hover,
.kit-form-stacked .formkit-submit:hover {
    background-color: transparent !important;
}

.kit-form-inline .formkit-submit:hover > span,
.kit-form-stacked .formkit-submit:hover > span {
    color: var(--kit-primary) !important;
    background-color: transparent !important;
}

.kit-form-inline .formkit-alert-success,
.kit-form-stacked .formkit-alert-success {
    background: var(--kit-success-bg);
    border-color: var(--kit-success-border);
    color: var(--kit-success-border);
}

.kit-form-inline .formkit-alert,
.kit-form-stacked .formkit-alert {
    font-family: var(--kit-font);
}

footer .formkit-fields {
	display: flex !important;
	flex-direction: column !important;
	gap: 0;
	flex-wrap: nowrap !important;
}

.formkit-field {
	width: 62% !important;
}

.formkit-submit {
	margin: 0 !important;
	width: 38% !important;
}


/* ----------------------------------------
   INLINE — input + button side by side
---------------------------------------- */

.kit-form-inline .formkit-fields {
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.kit-form-inline .formkit-field,
.kit-form-inline .formkit-submit {
    margin: 0;
}

@media (max-width: 445px) {
    .kit-form-inline .formkit-fields {
        grid-template-columns: 1fr;
    }
}


/* ----------------------------------------
   STACKED — input above button
---------------------------------------- */

.kit-form-stacked .formkit-fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}


/* =============================================================================
   PROJECT-SPECIFIC STYLES
   Add per-project CSS below this line (or in a separate enqueued stylesheet).
   Kit data-uid overrides (per-form success messages, color variants) go here.
============================================================================= */

/* ----------------------------------------
   HEADER
---------------------------------------- */
.header-menu ul::before,
.header-menu.menu-left ul::after {
    display: none !important
}

.header-menu ul {
    gap: 40px;
    justify-content: space-between !important;
}

@media only screen and (max-width: 1300px) {
    .header-menu ul {
        gap: 25px;
    }
}

@media only screen and (max-width: 1100px) {
    .header-menu ul {
        gap: 15px;
    }
}

header .uabb-button {
	background-color: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	display: block !important;
}

header .light .uabb-button {
	color: var(--cream) !important;
}

header .light .uabb-button:hover {
	color: var(--yellow) !important;
}

header .dark .uabb-button {
	color: var(--text) !important;
}

header .dark .uabb-button:hover {
	color: var(--gold) !important;
}

.uabb-search-form .uabb-search-close {
	font-family: dad-icons !important;
	font-size: 24px !important;
	top: 40px !important;
	right: 40px !important;
}

.uabb-search-form .uabb-search-close::before {
	content: "\e918" !important
}

.accent nav a {
	font-family: atacama;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
	font-size: 32px;
}

.search-active {
	height: 17px;
}

.search-active .uabb-search-form-wrap {
	display: block !important;
}

.search-active .uabb-search-form-input-wrap {
	width: 0 !important;
}

.uabb-search-button-fullscreen.search-active .uabb-button-wrap {
	display: block !important;
}


/* ----- MOBILE MENU ----- */
.pp-search-form input {
	color: var(--cream) !important;
}
.pp-search-form input::placeholder {
	font-size: 15px !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	opacity: 1 !important;
}

.pp-offcanvas-content .accent nav a {
	font-size: 24px;
}

/* ----------------------------------------
   FOOTER
---------------------------------------- */
.footer-menus a {
	display: inline-flex;
	align-items: center;
	position: relative;
}

.footer-menus a::before {
	font-family: dad-icons;
	content: "\e902";
	color: var(--accent);
	display: inline-block;
	width: 0;
	opacity: 0;
	transform: translateX(-10px);
	overflow: hidden;
	margin-right: 0;
	transition: width 0.3s ease, opacity 0.3s ease, transform 0.3s ease, margin-right 0.3s ease;
}

.footer-menus a:hover::before {
	width: 18px;
	opacity: 1;
	transform: translateX(0);
	margin-right: 16px;
}

footer p a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: 2px !important;
}

@media only screen and (max-width: 760px) {
	footer p a {
		text-underline-offset: 1.5px !important;
	}
}

/* ----------------------------------------
   SCROLLBARS
---------------------------------------- */


/* ----------------------------------------
   MARQUEE
---------------------------------------- */
.scrolling-content,
.scrolling-content-reversed {
  overflow: hidden;
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content;
  animation: infinite-scrolling linear infinite;
}

.scrolling-content-reversed {
  animation: infinite-scrolling-reversed linear infinite;
}

@media (max-width: 1100px) {
  .scrolling-content-mobile,
  .scrolling-content-mobile-reversed {
    overflow: hidden;
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content;
    animation: infinite-scrolling linear infinite;
  }
	
  .scrolling-content-mobile-reversed {
    animation: infinite-scrolling-reversed linear infinite;
  }
}

.scrolling-content:hover,
.scrolling-content-reversed:hover,
.scrolling-content-mobile:hover,
.scrolling-content-mobile-reversed:hover {
  animation-play-state: paused;
}

@keyframes infinite-scrolling {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes infinite-scrolling-reversed {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ----------------------------------------
   HOME PAGE
---------------------------------------- */
/* ----- HERO ----- */
.home-hero  {
    position: relative;
}

.home-hero::after {
    background-image: url('../../uploads/home-hero-overlay.png');
    background-repeat: no-repeat;
    background-size: auto 234px;
    background-position: left bottom 255px;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

@media only screen and (max-width: 760px) {
    .home-hero::after {
        background-size: auto 186px;
		background-position: left bottom 300px;
    }
}
/* ----- SPLIT TEXT ----- */
.split-text h1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    font-size: 71px;
    letter-spacing: 0.71px;
    background-image: url('../../uploads/map-line.png');
    background-repeat: no-repeat;
    background-size: 279px;
    background-position: left 212px top 20px;
    height: 390px;
    margin: 0;
}

@media only screen and (max-width: 1300px) {
    .split-text h1 {
        font-size: 58px;
        background-size: 230px;
        background-position: left 180px top 20px;
        height: 340px;
    }
}

@media only screen and (max-width: 1100px) {
    .split-text h1 {
        font-size: 71px;
        letter-spacing: 0.71px;
        background-size: 279px;
        background-position: left 212px top 20px;
        height: 390px;
    }
}

@media only screen and (max-width: 700px) {
    .split-text h1 {
        font-size: 40px;
        letter-spacing: 0;
        background-size: 168px;
        background-position: left 110px top 13px;
        height: 240px;
        width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (max-width: 390px) {
    .split-text h1 {
        background: none;
        display: block;
        height: auto;
        width: auto;
    }
}

/* ----- VIDEOS ----- */
#videos .fl-module:last-of-type {
    margin-right: 40px;
}


/* ----- POMPEII OUT OF TIME ----- */
#pompeii {
    position: relative;
}

#pompeii .nat-geo-logo {
    position: absolute;
    bottom: 24px;
    right: 24px;
}

/* ----- AS SEEN ON HOVER BOXES ----- */
.feature-hover-box .layout-3-wrapper {
    padding: 0 !important;
    display: flex;
    flex-direction: column !important;
	flex-wrap: nowrap !important;
    gap: 8px;
    height: 100px;
    justify-content: center;
    align-items: center;
	position: relative;
	min-width: 150px;
}

@media only screen and (max-width: 760px) {
	.feature-hover-box .pp-infobox,
    .feature-hover-box .layout-3-wrapper {
        height: 45px;
		min-width: unset;
    }
}

.feature-hover-box .pp-heading-wrapper {
    background-color: var(--yellow);
	position: absolute;
	padding: 10px 16px !important;
	opacity: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
}

.feature-hover-box .pp-infobox .pp-icon-wrapper {
	margin: 0 !important;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.feature-hover-box .pp-infobox:hover .pp-heading-wrapper {
	opacity: 1;
}

.feature-hover-box .pp-infobox-image {
    margin: 0 !important;
}

.feature-hover-box .pp-infobox::before,
.feature-hover-box .pp-infobox::after,
.feature-hover-box .pp-infobox-title-prefix,
.feature-hover-box .pp-infobox-title-wrapper,
.feature-hover-box .pp-infobox-description {
    margin: 0 !important;
}

.feature-hover-box .pp-infobox::before,
.feature-hover-box .pp-infobox::after,
.feature-hover-box .pp-infobox-description {
	display: none;
}

@media only screen and (max-width: 760px) {
	/*.feature-hover-box .pp-infobox:hover {
    	background-color: unset;
    	align-items: unset;
	}
	
	.feature-hover-box .pp-infobox:hover .pp-infobox-title-prefix,
	.feature-hover-box .pp-infobox:hover .pp-infobox-title-wrapper {
    	display: none;
	}
	
	.feature-hover-box .pp-infobox:hover .pp-icon-wrapper {
    	display: block;
	}*/
	
	.feature-hover-box .pp-infobox:hover .pp-heading-wrapper {
		opacity: 0;
	}
	
	.feature-hover-box  .pp-heading-wrapper {
		display: none;
	}
	
	.feature-hover-box img {
		height: 40px !important;
		width: auto !important;
	}
}

/* ----------------------------------------
   ABOUT PAGE
---------------------------------------- */
/* ----- ABOUT HERO -----*/
.about-hero  {
    position: relative;
}

.about-hero::after {
    background-image: url('../../uploads/about-hero-overlay.png');
    background-repeat: no-repeat;
    background-size: auto 234px;
    background-position: right bottom;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

@media only screen and (max-width: 760px) {
    .about-hero::after {
        background-size: auto 93px;
    }
}

/* ----- STACKING ROWS ----- */
.stack-row {
	position: sticky;
	top: 0;
	min-height: 750px;
}

.stack-row:nth-child(1) {
	z-index: 5 !important; 
}

.stack-row:nth-child(2) { 
	z-index: 10 !important; 
}

.stack-row:nth-child(3) { 
	z-index: 20 !important; 
}

@media only screen and (max-width: 760px) {
	.stack-row {
		min-height: unset;
		position: relative;
	}
}

/* ----- FEATURES ----- */
#features {
	/*overflow: hidden !important;*/
}

#features > .fl-module:first-of-type {
    margin-left: 40px;
}

#features > .fl-module:last-of-type {
    margin-right: 40px;
}

@media only screen and (max-width: 760px) {
    #features > .fl-module:first-of-type {
        margin-left: 24px;
    }

    #features > .fl-module:last-of-type {
        margin-right: 24px;
    }
}

/* ----------------------------------------
   FEATURED WORK PAGE
---------------------------------------- */
/* ----- ANCHOR LINKS ----- */
.work-anchors  {
    display: flex;
    justify-content: center;
    gap: 40px;
	flex-wrap: wrap;
}

.work-anchors a:hover {
    color: var(--gold);
}

.work-anchors::before,
.work-anchors::after {
	display: none !important;
}

@media only screen and (max-width: 760px) {
	.work-anchors {
		gap: 24px;
	}
}

/* ----- YOUTUBE ----- */
#videos > .fl-module:first-of-type {
    margin-left: 24px;
}

#videos > .fl-module:last-of-type {
    margin-right: 24px;
}

/* ----- PODCASTS ----- */
.podcast-length .fl-icon-wrap {
    background: var(--yellow);
    border-radius: 50px;
    padding: 4px 10px;
    font-size: 15px;
}

.podcast-length .fl-icon-text {
    height: auto !important;
    padding-left: 4px !important;
    line-height: 1 !important;
}

.podcast-episode .fl-rich-text {
    flex-grow: 1;
}

#episodes > .fl-module:first-of-type {
    margin-left: 24px;
}

#episodes > .fl-module:last-of-type {
    margin-right: 24px;
}

/* ----- PRESS ITEMS ----- */
.press-list .fl-photo {
	height: 100%;
	width: 100%;
}

.press-list .fl-photo * {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.press-box-content img {
    height: 20px !important;
    width: auto !important;
}

.press-box-content .pp-description-wrap {
    display: none !important;
}

/* ----- ANCIENT ROME LIVE ----- */
#lives .fl-photo-content {
    overflow: hidden;
}

#lives .fl-module img {
    aspect-ratio: 402/233;
    object-fit: cover;
    transition: all .3s ease;
	width: 100% !Imabove;
}

#lives .fl-module:hover img {
    transform: scale(1.05);
}

#lives > .fl-module:first-of-type {
    margin-left: 40px;
}

#lives > .fl-module:last-of-type {
    margin-right: 40px;
}

@media only screen and (max-width: 760px) {
    #lives > .fl-module:first-of-type {
        margin-left: 24px;
    }

    #lives > .fl-module:last-of-type {
        margin-right: 24px;
    }
}



/* ----------------------------------------
   SEARCH RESULTS
---------------------------------------- */
ul.fl-loop-grid {
	margin: 0 !important;
}

ul.page-numbers {
	display: flex;
	gap: 16px;
	justify-content: center;
}

ul.page-numbers li {
	margin: 0 !important;
}

ul.page-numbers li > span,
ul.page-numbers li > a {
	margin-bottom: 0 !important;
	background: transparent;
	border: 0 !important;
	min-width: 40px;
	height: 40px;
	font-size: 24px;
	line-height: 30px;
	color: var(--text);
	text-decoration: none;
	padding: 5px;
}

ul.page-numbers li > span.current,
ul.page-numbers a:hover {
	background: var(--accent) !important;
	color: var(--text);
	text-decoration: none;
}


/* ----------------------------------------
   EXPLORE WITH DARIUS
---------------------------------------- */
/* ----- HERO ----- */
.explore-hero,
.tour-hero {
	position: relative;
}

.explore-hero::after,
.tour-hero::after {
	position: absolute;
	content: '';
	width: 430px;
	height: 234px;
	background-image: url('../../uploads/grid.png');
	background-repeat: no-repeat;
	background-size: cover;
	right: 0;
	top: 133px;
}

@media only screen and (max-width: 1100px) {
	.explore-hero::after,
	.tour-hero::after {
		display: none;
	}
}

/* ----- COUNTERS ----- */
.counters .uabb-number {
    border-bottom: 1px solid var(--brown);
    width: auto;
    padding-bottom: 24px;
    position: relative;
}

.counters .uabb-number::after {
    position: absolute;
    content: '';
    /*border-bottom: 1px solid var(--brown);*/
    /*background-color: var(--brown);*/
    /*height: 1px;*/
}

.counters .counter-countries .uabb-number::after {
    /*width: 82px;
    bottom: -20px;*/
    /*left: calc(100% - 5px);
    transform: rotate(27deg);*/
	background-image: url('../../uploads/counter-countries.png');
	background-repeat: no-repeat;
	background-size: contain;
	width: 74px;
    height: 36px;
	bottom: -36px;
}

.counters .counter-years .uabb-number::after {
    background-image: url('../../uploads/counter-years.png');
	background-repeat: no-repeat;
	background-size: contain;
	width: 127px;
    height: 70px;
	bottom: -70px;
}

.counters .counter-years .uabb-number,
.counters .counter-countries .uabb-number {
	width: 288px;
}

.counters .counter-students .uabb-number::after {
    background-image: url('../../uploads/counter-students.png');
	background-repeat: no-repeat;
	background-size: contain;
	width: 114px;
    height: 77px;
	bottom: -1px;
}

.counters .counter-students .uabb-number {
	width: 338px;
}

@media only screen and (max-width: 760px) {
	.counters .counter-countries .uabb-number,
	.counters .counter-years .uabb-number,
	.counters .counter-students .uabb-number {
		width: 240px;
	}
	
	.counters .counter-countries .uabb-number::after {
		width: 46px;
		height: 24px;
		bottom: -24px;
	}
	
	.counters .counter-years .uabb-number::after {
		width: 84px;
		height: 33px;
		bottom: -33px;
	}
	
	.counters .counter-students .uabb-number::after {
		width: 71px;
		height: 48px;
		bottom: -1px;
	}
}

/* ----- TOUR GRID ----- */
.tour-stats .pp-infolist ul.pp-list-items {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    row-gap: 16px !important;
}

.tour-stats .pp-infolist ul.pp-list-items li {
    flex-shrink: 0;
}

.tour-status > div > span {
    display: block;
    padding: 10px;
    text-align: right;
}

.tour-status span > span {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    display: inline-block;
}

.tour-status span.now-booking {
    background-color: #69CE78;
}

.tour-status span.private-tour {
    background-color: #D67EDA;
}

.tour-status span.waitlist {
    background-color: #92A4FE;
}

.tour-status span.coming-soon {
    background-color: var(--yellow);
}

.tour-status span.completed {
    background-color: #D67EDA;
    color: var(--cream);
}

.upcoming-tours .featured-images:has(.featured-image-2) .featured-image-1:hover img {
    opacity: 0;
}

.featured-image-1 img,
.featured-image-2 img {
    aspect-ratio: 652/350;
    object-fit: cover;
}

@media only screen and (max-width: 760px) {
    .tour-stats .pp-infolist ul.pp-list-items {
        gap: 24px !important;
    }
}

.completed-tours .featured-image-1 img {
    filter: grayscale(1);
}

.completed-tours .featured-image-1:hover img {
    filter: grayscale(0);
}

@media only screen and (max-width: 1100px) {
    #experiences > .fl-module:first-of-type {
        margin-left: 24px;
    }
    
    #experiences > .fl-module:last-of-type {
        margin-right: 24px;
    }
}
/* ----- TESTIMONIALS ----- */
.testimonials-carousel .owl-item {
	opacity: 0.3;
}

.testimonials-carousel .owl-item.pp-testimonial--center {
	opacity: 1;
}

@media only screen and (max-width: 1100px) {
	.testimonials-carousel .owl-item {
		opacity: 1;
	}
}

/* ----------------------------------------
   TOUR LAYOUT
---------------------------------------- */
.sticky-buttons {
	top: 0;
	position: sticky;
	z-index: 99;
}

.admin-bar .sticky-buttons {
	top: 32px;
}

.sticky-buttons .fl-button {
	background-color: var(--gold) !important;
	border-color: var(--gold) !important;
	color: var(--cream) !important;
}

.sticky-buttons .fl-button:hover {
	background-color: var(--yellow) !important;
	border-color: var(--yellow) !important;
	color: var(--brown) !important;
}

/*@media only screen and (max-width: 1440px) {
	.sticky-buttons .fl-module-box {
		display: flex !important;
		gap: 1px;
		
	}
	
	.sticky-buttons .fl-module-button {
		flex-grow: 1;
	}
}

@media only screen and (max-width: 1100px) {
	.sticky-buttons .fl-module-box {
		display: grid !important;
		grid-template-columns: repeat(3, 1fr);
	}
}*/

@media only screen and (max-width: 760px) {
	.sticky-buttons .fl-button {
		padding: 8px !important;
	}
	
	.sticky-buttons .fl-module-button,
	.sticky-buttons .fl-button {
		height: 100%;
	}
	
	.sticky-buttons .fl-button {
		display: flex !important;
		justify-content: center;
		align-items: center;
	}
}

.site-list {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.site-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 80px;
    align-items: center;
}

.site-list .site-row:nth-of-type(even) .site-image {
    order: 2;
}

.site-list .site-row:nth-of-type(even) .site-details {
    order: 1;
}

.site-image img {
    aspect-ratio: 676/424;
    object-fit: cover;
    border: 2px solid var(--brown);
    width: 100%;
}

.site-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.site-details .site-description ul {
	margin-bottom: 0; 
}

.site-title,
.tour-day-title {
    margin: 0;
}


@media only screen and (max-width: 1300px) {
	.site-row {
		grid-column-gap: 40px;
	}
}

@media only screen and (max-width: 1100px) {
	.site-list,
	.site-row {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}
	
	.site-image,
	.site-details {
		width: 100%;
	}
	
	.site-details {
		gap: 16px;
	}
	
	.site-list .site-row:nth-of-type(even) .site-image,
	.site-list .site-row:nth-of-type(even) .site-details {
    	order: 1;
	}
}

.day-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--brown);
    margin-left: 80px;
}

@media only screen and (max-width: 1100px) {
    .day-list {
        margin-left: 40px;
    }
}

@media only screen and (max-width: 760px) {
    .day-list {
        margin-left: 0;
    }
}

.tour-day {
    padding: 40px 64px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tour-context-box .pp-heading-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 24px;
    margin-bottom: 24px !important;
    width: 100%;
}

.tour-context-box .pp-infobox-title {
    margin: 0 !important;
}

.tour-context-box .pp-icon-wrapper {
   display: flex !important;
   flex-direction: column;
   justify-content: flex-start;
   align-items: flex-start;
   padding-top: 7px;
}

.tour-context-box .pp-infobox-icon {
    display: block !important;
}

@media only screen and (max-width: 760px) {
    .tour-context-box .pp-heading-wrapper {
        margin-bottom: 16px !important;
    }
    
    .tour-day {
        padding: 24px 0 24px 24px;
        gap: 8px;
    }
}


.rotate-4deg img {
    transform: rotate(4deg);
}

.places-box {
    position: relative;
    background-image: url('../../uploads/tour-site-bg-scaled.png');
	background-size: auto 85%;
	background-position: left 43% center;
	background-repeat: no-repeat;
}

.gallery-image-1 img {
    aspect-ratio: 614/476;
}

.gallery-image-2 img {
    aspect-ratio: 614/300;
}

.gallery-image-3 img,
.gallery-image-4 img,
.gallery-image-5 img {
    aspect-ratio: 385/250.667;
}

.gallery-image-6 img {
    aspect-ratio: 385/180;
}

.gallery-image-7 img {
    aspect-ratio: 385/595;
}

@media only screen and (max-width: 760px) {
    .full-width-mobile .fl-button {
        width: 100%;
    }
	
	.tour-gallery {
		aspect-ratio: unset;
	}
}

.tour-detail-icons .fl-icon-wrap .fl-icon-text {
    height: auto !important;
}

.tour-included-lists .fl-list-item-content-icon {
   line-height: 1;
}

.tour-additional-details {
	
}


/* =============================================================================
   FACETWP
============================================================================= */
.facetwp-checkbox .facetwp-counter,
[data-type="checkboxes"] .facetwp-counter,
[data-type="radio"] .facetwp-counter {
	display: none;
}

.facetwp-facet {
	margin: 0 !important;
}

.facetwp-reset,
.facetwp-search::placeholder,
.fs-label-wrap,
.fs-dropdown .fs-option,
button.facetwp-load-more {
	color: var(--brown) !important;
	font-family: manrope;
	font-size: var(--Nav, 15px);
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
	text-transform: uppercase;
}

/* ----------------------------------------
   FSELECT DROPDOWN
---------------------------------------- */
.fs-dropdown .fs-search {
	display: none !important;
}

.fs-label-wrap {
	background-color: var(--cream) !important;
	border: 1px solid var(--brown) !important;
	border-radius: 30px !important;
	padding: 10px 50px 10px 24px !important;
	z-index: 10 !important;
}

.fs-label-wrap:hover {
	background-color: var(--yellow) !important;
	border-color: var(--yellow) !important;
	cursor: pointer !important;
}

.fs-open .fs-label-wrap:hover {
	background-color: var(--cream) !important;
}

.fs-label-wrap .fs-arrow {
	border: 0 !important;
	right: 24px !important;
	background-image: url('../../uploads/dropdown-arrow.png');
	background-size: 15px;
	background-repeat: no-repeat;
	background-position: center;
	width: 15px;
	height: 100%;
}

.fs-wrap {
	width: auto !important;
}

.fs-label-wrap .fs-label {
	padding: 0 !important;
}

.fs-open .fs-label-wrap {
	border-bottom: 0 !important;
	border-radius: 20px 20px 0 0 !important;
}

.fs-dropdown {
	width: 100% !important;
	min-width: 220px !important;
	background-color: var(--cream) !important;
	border: 1px solid var(--brown) !important;
	border-radius: 0 30px 30px 30px !important;
	padding: 16px 24px;
	margin-top: -1px !important;
	z-index: 9 !important;
}

.fs-dropdown .fs-option {
	padding: 8px 0 !important;
}

.fs-dropdown .fs-option:hover {
	color: var(--gold) !important;
}

.fs-wrap.single .fs-option.selected {
	background-color: var(--cream) !important;
	color: var(--gold) !important;
}

/* ----------------------------------------
   RESET
---------------------------------------- */
.facetwp-reset {
	background-color: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid var(--brown) !important;
	color: var(--Darker-Red) !important;
	padding: 0 0 8px !important;
}

.facetwp-reset:hover {
	border-color: var(--gold) !important;
	background-color: transparent !important;
	color: var(--gold) !important;
	cursor: pointer !important;
}

/* ----------------------------------------
   SEARCH
---------------------------------------- */
.facetwp-search {
	padding: 10px 24px 10px 52px !important;
	background-color: transparent !important;
	background-image: url('../../uploads/search.png') !important;
	background-position: left 24px center !important;
	background-size: 18px !important;
	background-repeat: no-repeat !important;
	border: 1px solid var(--brown) !important;
	border-radius: 0 !important;
	color: var(--brown) !important;
	width: 33vw !important;
	max-width: 500px;
	font-size: 17px !important;
}

@media only screen and (max-width: 760px) {
	.facetwp-search,
	.facetwp-search::placeholder {
		font-size: 16px !important;
	}
	
	.facetwp-search {
		max-width: 100%;
		width: calc(100vw - 48px) !important;
	}
}

.facetwp-type-search .facetwp-icon {
	display: none !important;
}

.facetwp-search::placeholder {
	opacity: 1 !important;
}

.facetwp-flyout-open .fl-button {
	background-color: var(--cream) !important;
	border: 1px solid var(--brown) !important;
	border-radius: 50px !important;
}

.facetwp-flyout-open .fl-button:hover {
	background-color: var(--yellow) !important;
	border-color: var(--yellow) !important;
}

/* ----------------------------------------
   PAGINATION
---------------------------------------- */
.facetwp-pager {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
}

@media only screen and (max-width: 760px) {
	.facetwp-pager {
		gap: 24px;
	}
}

.facetwp-pager a {
	padding: 0 !important;
	margin: 0 !important;
	font-weight: 400 !important;
	color: var(--brown);
}

.facetwp-page {
	border-radius: 0;
	width: 40px;
	height: 40px;
	text-align: center;
	transition: background 0.3s ease-in-out;
	line-height: 40px;
}

.facetwp-pager .active,
.facetwp-page:hover {
	background-color: var(--yellow);
	text-decoration: none !important;
}

.facetwp-page.prev,
.facetwp-page.next {
	font-size: 10px;
}

.facetwp-page.prev.active,
.facetwp-page.next.active {
	background-color: transparent !important;
	color: var(--brown) !important;
}

.facetwp-facet.facetwp-type-pager {
	text-align: center;
}

button.facetwp-load-more {
	background-color: var(--cream) !important;
	border: 1px solid var(--brown) !important;
	padding: 10px 24px !important;
}

button.facetwp-load-more:hover {
	cursor: pointer !important;
	background-color: var(--yellow) !important;
	border-color: var(--yellow) !important;
}

/* ----------------------------------------
   FLYOUT
---------------------------------------- */
.facetwp-flyout {
	background-color: var(--brown) !important;
	background-image: url('../../uploads/mobile-menu-bg.png') !important;
	background-repeat: no-repeat !important;
	background-position: center bottom !important;
	background-size: contain !important;
	width: 90% !important;
}

.facetwp-flyout .facetwp-flyout-content {
	padding: 0 24px !important;
}

.facetwp-flyout .flyout-row {
	padding-bottom: 12px;
}

.facetwp-flyout .flyout-row h3 {
	display: none;
}

.facetwp-flyout .facetwp-radio {
	color: var(--Cream, #FFFAE5);
	font-family: Atacama;
	font-size: var(--Accent, 24px);
	font-style: normal;
	font-weight: 400;
	line-height: 140%; /* 33.6px */
	text-transform: none;
	background-image: none !important;
	margin: 0 0 12px !important;
	padding: 0 !important;
	display: flex;
	gap: 8px;
	align-items: center;
}

.facetwp-flyout .facetwp-radio::before {
	width: 16px;
	height: 16px;
	content: '';
	border-radius: 50px;
	border: 1px solid var(--cream);
	display: inline-block;
}

.facetwp-flyout .facetwp-radio.checked::before {
	background-color: var(--cream);
}

.facetwp-flyout .facetwp-reset {
	color: var(--cream) !important;
	border-color: var(--cream) !important;
}

.facetwp-flyout .facetwp-reset:hover {
	color: var(--yellow) !important;
	border-color: var(--yellow) !important;
}

.facetwp-flyout-close {
	color: var(--cream) !important;
}

/* =============================================================================
   BLOG INDEX
============================================================================= */
.blog-hero {
	position: relative;
}
.blog-hero::after {
	position: absolute;
	width: 340px;
	height: 95px;
	bottom: 0;
	left: 0;
	background-image: url('../../uploads/grid.png');
	background-size: 622px auto;
	background-position: right top;
}

@media only screen and (max-width: 760px) {
	.blog-hero::after {
		width: 210px;
		height: 80px;
		background-size: 304px auto;
	}
}
/* =============================================================================
   BLOG POSTS
============================================================================= */
.blog-post-hero .hero-right .grid {
	
}

.blog-post-hero .post-featured-image img {
    aspect-ratio: 512/396;
    transform: rotate(3deg);
}

.single-post .post-content h2,
.single-post .post-content h3 {
	margin-top: 0;
	margin-bottom: 24px;
}

.single-post .post-content h2 {
	font-size: 40px;
	line-height: 1;
	letter-spacing: 0.4px;
}

.single-post .post-content h3 {
	font-family: atacama;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.4;
	text-transform: none;
}

.single-post .post-content hr {
	border-top: 1px solid var(--brown) !important;
	margin: 40px 0 !important;
}

.single-post .post-content .wp-block-gallery.wp-block-gallery-1,
.single-post .post-content .wp-block-gallery.wp-block-gallery-2,
.single-post .post-content .wp-block-gallery.wp-block-gallery-3,
.single-post .post-content .wp-block-gallery.wp-block-gallery-4 {
	--wp--style--unstable-gallery-gap: 12px !important;
	--wp--style--gallery-gap-default: 12px !important;
	--gallery-block--gutter-size: 12px !important;
	--wp--style--block-gap: 12px !important;
}

.single-post .post-content figure {
	margin-bottom: 12px !important;
}

.single-post .post-content .wp-block-gallery figure {
	margin-bottom: 0 !important;
}

.single-post .post-content figure + p,
.single-post .post-content P + figure {
	margin-top: 40px;
}

.single-post .post-content p,
.single-post .post-content ol,
.single-post .post-content ul {
	margin-bottom: 32px;
}

.single-post .post-content p > a,
.single-post .post-content li > a {
	color: var(--gold);
	text-decoration: underline;
	text-underline-offset: 2px;
}
@media only screen and (max-width: 760px) {
	.single-post .post-content h2,
	.single-post .post-content h3 {
		margin-bottom: 16px;
	}
	
	.single-post .post-content h2 {
		font-size: 28px;
		letter-spacing: 0.28px;
	}
	
	.single-post .post-content h3 {
		font-size: 24px;
	}
	
	.single-post .post-content figure + p,
	.single-post .post-content P + figure,
	.single-post .post-content hr {
		margin-top: 24px;
	}
	
	.single-post .post-content p,
	.single-post .post-content hr,
	.single-post .post-content ol,
	.single-post .post-content ul {
		margin-bottom: 24px;
	}
}
@media only screen and (max-width: 1100px) {
    #related .fl-loop-grid  {
        grid-template-columns: repeat( 3, 460px) !important;
		justify-content: start !important;
    }
	
	#related .fl-loop-grid {
		margin-left: 40px !important;
		margin-right: 40px !important;
	}
}

@media only screen and (max-width: 760px) {
    #related .fl-loop-grid  {
        grid-template-columns: repeat( 3, 316px) !important;
		grid-column-gap: 12px !important;
    }
	
	#related .fl-loop-grid {
		margin-left: 24px !important;
		margin-right: 24px !important;
	}
}


/* =============================================================================
   POLICY PAGES
============================================================================= */
.policy .policy_embed_div a {
	color: var(--gold);
}

.policy .policy_embed_div .accordion-heading {
	font-size: 17px !important;
}

.policy .policy_embed_div .accordions {
	border: 1px solid var(--brown) !important;
	border-radius: 0 !important;
}

.policy .policy_embed_div .accordion {
	border-bottom: 1px solid var(--brown) !important;
}

.policy .policy_embed_div .accordion-summary {
	padding: 16px !important;
}

.policy .policy_embed_div .accordion-summary::marker {
	font-size: 15px;
}

.policy .policy_embed_div .accordion-summary:hover {
	background: transparent !important;
	color: var(--gold) !important;
}

.policy .policy_embed_div .accordion-content {
	padding: 0 24px !important;
}

@media only screen and (max-width: 760px) {
	.policy .policy_embed_div .accordion-heading {
		font-size: 16px !important;
	}
	
	.policy .policy_embed_div .accordion-summary {
		padding: 12px !important
	}
	
	.policy .policy_embed_div .accordion-content {
		padding: 0 16px !important;
	}
}


/* =============================================================================
   CONTACT / WORK WITH DARIUS
============================================================================= */
.contact-hero .fl-row-content-wrap {
	/* GRID / DARIUS / RUINS */
	background-size: 622px auto, auto 440px, contain !important;
	background-position: right -360px bottom -60px, right 200px bottom, right bottom !important;
}

@media only screen and (max-width: 1500px) {
	.contact-hero .fl-row-content-wrap {
		/* GRID / DARIUS / RUINS */
		background-position: right -360px bottom -60px, right 200px bottom, left 600px bottom !important;
	}
}

@media only screen and (max-width: 1100px) {
	.contact-hero .fl-row-content-wrap {
		/* GRID / DARIUS / RUINS */
		background-position: right -360px bottom -60px, right 200px bottom, left 400px bottom !important;
	}
}

@media only screen and (max-width: 1100px) {
	.contact-hero .fl-row-content-wrap {
		/* GRID / DARIUS / RUINS */
		background-position: right -360px bottom -60px, right 100px bottom, left 400px bottom !important;
	}
}

@media only screen and (max-width: 760px) {
	.contact-hero .fl-row-content-wrap {
		/* GRID / DARIUS / RUINS */
		background-size: 250px auto, 29vw auto, 90vw auto !important;
		background-position: right -125px bottom -30px, right 100px bottom, right bottom !important;
	}
}

@media only screen and (max-width: 390px) {
	.contact-hero .fl-row-content-wrap {
		/* GRID / DARIUS / RUINS */
		background-size: 250px auto, 112px auto, auto 225px !important;
		background-position: right -125px bottom -30px, right 100px bottom, right bottom !important;
	}
}

/* Form Toggle */
.form-panel {
  display: none;
}

.fl-builder-edit .form-panel {
    display: block;
}

.form-panel.is-active {
  display: block;
}


.form-toggle .fl-button {
    border-radius: 100px !important;
}

.form-toggle .fl-button-icon {
    display: none;
}

.form-toggle.is-selected .fl-button,
.form-toggle .fl-button:hover {
    background-color: var(--yellow) !important;
    border-color: var(--yellow) !important;
    color: var(--brown) !important;
}

.form-toggle.is-selected .fl-button-icon {
  display: inline-block !important;
}

@media only screen and (max-width: 1100px) {
	.form-toggle .fl-button-icon {
		transform: rotate(90deg);
	}
}

@media only screen and (max-width: 760px) {
	.form-toggle .fl-button {
		width: 100%;
	}
}

/* =============================================================================
   MAILCHIMP SUBSCRIBE FORM
============================================================================= */

#mc_embed_signup label,
#mc_embed_signup .indicates-required {
	display: none !important;
}

#mc_embed_signup form {
	margin: 0 !important;
}

#mc_embed_signup_scroll {
	display: flex;
	gap: 0;
}

#mc_embed_signup .mc-field-group {
	padding: 0 !important;
	min-height: unset !important;
	width: calc(100% - 177px) !important;
}

#mc_embed_signup .mc-field-group input {
	border-radius: 4px 0 0 4px;
border: 1px solid var(--Cream, #FFFAE5) !important;
	border-right: 0 !important;
	background: transparent !important;
	height: 38px !important;
	width: 100% !important;
	color: var(--cream) !important;
	font-size: 15px !important;
	padding: 10px 16px !important;
}

#mc_embed_signup .mc-field-group input::placeholder {
	color: var(--cream) !important;
	text-transform: uppercase;
}

#mc_embed_signup .clear {
	clear: unset !important;
	width: auto !important;
}

#mc_embed_signup input[type="submit"] {
	margin: 0 !important;
	padding: 10px 24px !important;
	height: auto !important;
	border-radius: 0 4px 4px 0  !important;
	line-height: 1 !important;
	background-color: var(--cream) !important;
	color: var(--text) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	width: 177px !important;
	height: 38px !important;
	border: 0 !important;
	box-shadow: 0 !important;
}

#mc_embed_signup input[type="submit"]:hover {
	background-color: transparent !important;
	border: 1px solid var(--cream) !important;
	color: var(--light) !important;
}

@media only screen and (max-width: 760px) {
	#mc_embed_signup_scroll {
		flex-direction: column;
	}
	#mc_embed_signup .mc-field-group,
	#mc_embed_signup input[type="submit"] {
		width: 100% !important;
	}
	
	#mc_embed_signup .mc-field-group input {
		border-radius: 4px 4px 0 0 !important;
		border-right: 1px solid var(--cream) !important;
		border-bottom: 0 !important;
	}
	
	#mc_embed_signup input[type="submit"] {
		border-radius: 0 0 4px 4px !important;
	}
}