/**
 * Theme Name:      EWilliams Theme
 * Theme URI:       https://www.elegantthemes.com/gallery/divi/
 * Description:     A Child theme for Ewilliams
 * Author:          SoNick Marketing
 * Author URI:      https://sonickmarketing.com
 * Template:         Divi
 * Version:         1.0.0
 * Text Domain:     ewilliams-theme
 * License:         GPL2
 * License URI:     https://www.gnu.org/licenses/gpl-2.0.html
 */
  
 
/* ---------------------- Theme customization starts here ---------------------- */
/*Menu Styling
-----------------------------------------------------------------------*/
/*SUBMENU STYLING
-----------------------------------------------------------------------*/
.pa-header-menu .et-menu-nav li ul.sub-menu {
    padding: 0px !important;
    border-top: none;
    width: 280px;
}

.pa-header-menu .et-menu-nav li ul.sub-menu a {
    font-size: 16px;
    padding: 14px 16px !important;
    opacity: 1;
}

.pa-header-menu .et-menu-nav li ul.sub-menu a:hover {
    background: #f4f4f4;
    transition: all .3s ease;
}

.pa-header-menu .nav li li {
    padding: 0px !important;
    width: 280px !important;
}

.pa-header-menu .nav li li:not(:last-child) {
    border-bottom: 2px solid #f4f4f4;
}

.pa-header-menu .nav li li a {
    width: 280px !important;
}

/*MOBILE MENU STYLES
-----------------------------------------------------------------------*/
@media (max-width: 767px) {
    .pa-header-menu .et_pb_menu__wrap {
        margin: 0 !important;
    }
}

.pa-header-menu .et_mobile_menu {
    overflow: scroll !important;
    max-height: 80vh;
    width: 100%;
    border-top: none;
}

.pa-header-menu .mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}

.pa-header-menu .et_mobile_menu li ul.hide {
    display: none !important;
}

.pa-header-menu .et_mobile_menu .menu-item-has-children {
    position: relative;
}

.pa-header-menu .et_mobile_menu .menu-item-has-children > a {
    background: transparent;
}

.pa-header-menu .et_mobile_menu .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
}

.pa-header-menu span.menu-closed:before {
    content: "\33";
    display: block;
    color: #318C61;
    font-size: 18px;
    font-family: ETmodules;
}

.pa-header-menu span.menu-closed.menu-open:before {
    content: "\4d";
    color: #318C61;
}

.pa-header-menu .et_mobile_menu li:not(:last-child) a {
    border-bottom: 2px solid #f3f6fd;
}

.pa-header-menu .et_mobile_menu li:last-ch

/*FAQ ACCORDION STYLING
---------------------------------------------------------------*/

/*replace the icon when closed*/

.pa-accordion .et_pb_toggle_title:before {
	font-size: 30px !important;
	content: "\4c" !important;
	color: #318C61;
	font-weight: 700;
	transition: 0.3s;
}


/*replace the icon when opened and roate it*/

.pa-accordion .et_pb_toggle_open .et_pb_toggle_title:before {
	display: block !important;
	content: "\4b"!important;
	font-weight: 700;
	transform: rotate(180deg);
}


/*change border and background of open toggle*/

.pa-accordion .et_pb_toggle_open {
	background-color: #ffffff !important;
	border-color: #318C61!important;
	transition: 0.4s;
}


/*make open close transition spooth*/

.pa-accordion .et_pb_toggle {
	transition: 0.4s;
}

/*BACK TO TOP BUTTON
-----------------------------------------------------------------------*/

/*Change background color of back-to-top button*/

.et_pb_scroll_top.et-pb-icon {
	background: #aaaaaa;
}


/*This section changes the shape to a square and moves the button in from the edge of the screen*/

.et_pb_scroll_top.et-pb-icon {
	padding: 8px;
	border-radius: 0px;
	right: 20px;
	box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease 0s;
	cursor: pointer;
	outline: none;
}

.et_pb_scroll_top.et-pb-icon:hover {
	box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.3);
	transform: translateY(-3px);
}

/* ===================================================
   PROJECT BLURB HOVER STYLING
   =================================================== */

.pa-hover-blurb .et_pb_blurb_content {
	cursor: pointer;
	position: relative;
}

.pa-hover-blurb .et_pb_image_wrap {
	position: relative;
	overflow: hidden;
}

.pa-hover-blurb .et_pb_main_blurb_image {
	position: relative;
	overflow: hidden;
}

/* Container - fills image area, hidden by default */
.pa-hover-blurb .et_pb_blurb_container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 5%;
	gap: 1em;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease-in-out;
}

/* Description */
.pa-hover-blurb .et_pb_blurb_description {
	opacity: 0;
	transform: translateY(15px);
	transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
	text-align: center;
	color: #ffffff;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 0;
	margin: 0;
	order: 1;
	border-bottom: 2px solid #C8AB7C;
	padding-bottom: 0.5em;
	width: 100%;
}

/* Title */
.pa-hover-blurb .et_pb_module_header {
	opacity: 0;
	transform: translateY(15px);
	transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
	text-align: center;
	color: #ffffff;
	font-size: 2rem;
	margin: 0;
	padding: 0;
	order: 2;
	width: 100%;
}

/* Dark overlay */
.pa-hover-blurb .et_pb_image_wrap:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
	z-index: 1;
}

/* Gold inset border */
.pa-hover-blurb .et_pb_main_blurb_image:before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	border: 2px solid #C8AB7C;
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
	z-index: 3;
	pointer-events: none;
}

/* ===== HOVER STATES ===== */

.pa-hover-blurb .et_pb_blurb_content:hover .et_pb_image_wrap:after,
.pa-hover-blurb .et_pb_blurb_content:hover .et_pb_main_blurb_image:before,
.pa-hover-blurb .et_pb_blurb_content:hover .et_pb_blurb_container,
.pa-hover-blurb .et_pb_blurb_content:hover .et_pb_module_header,
.pa-hover-blurb .et_pb_blurb_content:hover .et_pb_blurb_description {
	opacity: 1;
}

.pa-hover-blurb .et_pb_blurb_content:hover .et_pb_blurb_container {
	pointer-events: auto;
}

.pa-hover-blurb .et_pb_blurb_content:hover .et_pb_module_header,
.pa-hover-blurb .et_pb_blurb_content:hover .et_pb_blurb_description {
	transform: translateY(0);
}


.pa-project-carousel .et_pb_group_carousel_arrow {
	background: none;
	border: 2px solid #C8AB7C;
	border-radius: 8px;
	width: 44px;
	height: 44px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0 !important;
	margin: 0;
	box-sizing: border-box;
}
.pa-project-carousel .et_pb_group_carousel_arrow .et-pb-icon {
	color: #C8AB7C;
	font-size: 28px;
	font-family: ETmodules !important;
	line-height: 1 !important;
	transition: all 0.3s ease;
	display: block;
	padding: 0 !important;
	margin: 0 !important;
	height: auto;
	width: auto;
}
.pa-project-carousel .et_pb_group_carousel_arrow:hover {
	background: #C8AB7C;
}
.pa-project-carousel .et_pb_group_carousel_arrow:hover .et-pb-icon {
	color: #ffffff;
}

/* ===================================================
   REVEAL BACKGROUND SECTION
   =================================================== */

.pa-reveal-bg-section {
	position: relative;
	min-height: 200vh;
	background-image: none !important;
	overflow: hidden;
}

.pa-reveal-static-row {
	position: sticky;
	top: 100px;
	z-index: 10;
	background: rgba(255,255,255,0.95);
	padding: 40px;
	margin-bottom: 50vh;
}

.pa-reveal-bg-wrapper {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	z-index: 0;
}

.pa-reveal-bg-image {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transform: translateY(100%);
}
/* ===== TABLET (max-width: 980px) ===== */
@media (max-width: 980px) {

    /* Switch to bottom gradient instead of full dark overlay */
    .pa-hover-blurb .et_pb_image_wrap:after {
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.80) 0%,
            rgba(0,0,0,0.4) 55%,
            transparent 100%
        ) !important;
        opacity: 1 !important;
    }

    /* Always show gold border */
    .pa-hover-blurb .et_pb_main_blurb_image:before {
        opacity: 1 !important;
    }

    /* Reposition container to bottom of image */
    .pa-hover-blurb .et_pb_blurb_container {
        opacity: 1 !important;
        pointer-events: auto !important;
        top: auto !important;
        bottom: 0 !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding: 0 15px 12px 15px !important;
        gap: 4px !important;
    }

    /* Description (category label) sits above title */
    .pa-hover-blurb .et_pb_blurb_description {
        opacity: 1 !important;
        transform: none !important;
        text-align: left !important;
        font-size: 0.75rem !important;
        letter-spacing: 1.5px !important;
        order: 1 !important;
        width: auto !important;
        display: inline-block !important;
    }

    /* Title anchored at bottom */
    .pa-hover-blurb .et_pb_module_header {
        opacity: 1 !important;
        transform: none !important;
        text-align: left !important;
        font-size: 1.2rem !important;
        order: 2 !important;
    }

    /* Disable hover animations on touch */
    .pa-hover-blurb .et_pb_blurb_content:hover .et_pb_module_header,
    .pa-hover-blurb .et_pb_blurb_content:hover .et_pb_blurb_description {
        transform: none !important;
    }
}

/* ===== MOBILE (max-width: 767px) ===== */
@media (max-width: 767px) {

    .pa-hover-blurb .et_pb_blurb_container {
        padding: 0 12px 10px 12px !important;
    }

    .pa-hover-blurb .et_pb_module_header {
        font-size: 1.1rem !important;
    }

    .pa-hover-blurb .et_pb_blurb_description {
        font-size: 0.7rem !important;
        letter-spacing: 1px !important;
    }
}
@media (max-width: 767px) {
    .pa-project-carousel .et_pb_group_carousel_arrow {
        width: 34px;
        height: 34px;
    }

    .pa-project-carousel .et_pb_group_carousel_arrow .et-pb-icon {
        font-size: 20px;
    }
}
/* ===================================================
   DIVI FILTERABLE PORTFOLIO - CUSTOM GRID & HOVER
   
   Grid repeats every 10 items:
   Row 1: [—— 2/3 ——] [— 1/3 —]
   Row 2: [— 1/3 —] [— 1/3 —] [— 1/3 —]
   Row 3: [— 1/3 —] [—— 2/3 ——]
   Row 4: [— 1/3 —] [— 1/3 —] [— 1/3 —]
   
   Add class "pa-portfolio-grid" to the module.
   =================================================== */

:root {
    --pa-gold: #C8AB7C;
    --pa-overlay: rgba(0,0,0,0.55);
    --pa-gap: 8px;
    --pa-filter-color: #d4c7a9;
    --pa-filter-radius: 28px;
}


/* === FILTERS === */

.pa-portfolio-grid .et_pb_portfolio_filters {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    margin: 0 auto 30px !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
    background: none !important;
}

.pa-portfolio-grid .et_pb_portfolio_filters li {
    list-style: none !important;
    flex: 0 0 auto !important;
    margin: 0 10px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.pa-portfolio-grid .et_pb_portfolio_filters li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 200px;
    padding: 5px 24px !important;
    border: 2px solid var(--pa-filter-color) !important;
    border-radius: var(--pa-filter-radius) !important;
    background: transparent !important;
    color: #000000 !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.pa-portfolio-grid .et_pb_portfolio_filters li a:hover {
    border-color: var(--pa-gold) !important;
    color: var(--pa-gold) !important;
}

.pa-portfolio-grid .et_pb_portfolio_filters li a.active,
.pa-portfolio-grid .et_pb_portfolio_filters li.et_pb_portfolio_filter_active a {
    background: var(--pa-gold) !important;
    color: #fff !important;
    border-color: var(--pa-gold) !important;
}


/* === GRID === */

.pa-portfolio-grid .et_pb_portfolio_items {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--pa-gap);
}

.pa-portfolio-grid .et_pb_portfolio_item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.pa-portfolio-grid .et_pb_portfolio_item > a:first-child {
    display: block;
    width: 100%;
    height: 100%;
}

.pa-portfolio-grid .et_pb_portfolio_item .et_portfolio_image {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.pa-portfolio-grid .et_pb_portfolio_item .et_portfolio_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* === GRID PATTERN (10-item cycle) === */

.pa-portfolio-grid .et_pb_portfolio_item:nth-child(10n+1),
.pa-portfolio-grid .et_pb_portfolio_item:nth-child(10n+7) {
    grid-column: span 2;
}

.pa-portfolio-grid .et_pb_portfolio_item:nth-child(10n+1) .et_portfolio_image,
.pa-portfolio-grid .et_pb_portfolio_item:nth-child(10n+7) .et_portfolio_image {
    aspect-ratio: 2.02 / 1;
}


/* === OVERLAY & BORDER === */

.pa-portfolio-grid .et_pb_portfolio_item .et_overlay {
    position: absolute !important;
    inset: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--pa-overlay) !important;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.pa-portfolio-grid .et_pb_portfolio_item .et_overlay::before,
.pa-portfolio-grid .et_pb_portfolio_item .et_overlay::after {
    display: none !important;
}

.pa-portfolio-grid .et_pb_portfolio_item .et_portfolio_image::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 2px solid var(--pa-gold);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 3;
    pointer-events: none;
}


/* === CATEGORY & TITLE (hidden, shown on hover) === */

.pa-portfolio-grid .et_pb_portfolio_item p.post-meta,
.pa-portfolio-grid .et_pb_portfolio_item h2.et_pb_module_header {
    position: absolute !important;
    z-index: 4;
    left: 50%;
    top: 50%;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-in-out;
}

/* Category */
.pa-portfolio-grid .et_pb_portfolio_item p.post-meta {
    transform: translate(-50%, calc(-50% - 25px + 12px));
    padding: 0 0 0.6em 0 !important;
    border-bottom: 2px solid var(--pa-gold);
    white-space: nowrap;
}

.pa-portfolio-grid .et_pb_portfolio_item p.post-meta a {
    color: #fff !important;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-decoration: none;
    pointer-events: none;
}

/* Title */
.pa-portfolio-grid .et_pb_portfolio_item h2.et_pb_module_header {
    transform: translate(-50%, calc(-50% + 15px + 12px));
    width: max-content;
    max-width: 80%;
}

.pa-portfolio-grid .et_pb_portfolio_item h2.et_pb_module_header a {
    color: #fff !important;
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
    text-decoration: none;
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
}


/* === HOVER === */

.pa-portfolio-grid .et_pb_portfolio_item:hover .et_overlay,
.pa-portfolio-grid .et_pb_portfolio_item:hover .et_portfolio_image::before {
    opacity: 1;
}

.pa-portfolio-grid .et_pb_portfolio_item:hover p.post-meta {
    opacity: 1;
    transform: translate(-50%, calc(-50% - 25px));
}

.pa-portfolio-grid .et_pb_portfolio_item:hover h2.et_pb_module_header {
    opacity: 1;
    transform: translate(-50%, calc(-50% + 15px));
    transition-delay: 0.06s;
}

.pa-portfolio-grid .et_pb_portfolio_item:hover h2.et_pb_module_header,
.pa-portfolio-grid .et_pb_portfolio_item:hover h2.et_pb_module_header a {
    pointer-events: auto;
}


/* === TABLET (980px) === */

@media (max-width: 980px) {

    /* Filters: add top/bottom margin */
    .pa-portfolio-grid .et_pb_portfolio_filters li {
        margin: 8px 10px !important;
    }

    /* 2-column grid, reset wide items */
    .pa-portfolio-grid .et_pb_portfolio_items {
        grid-template-columns: repeat(2, 1fr);
    }

    .pa-portfolio-grid .et_pb_portfolio_item:nth-child(10n+1),
    .pa-portfolio-grid .et_pb_portfolio_item:nth-child(10n+7) {
        grid-column: span 1;
    }

    .pa-portfolio-grid .et_pb_portfolio_item:nth-child(10n+1) .et_portfolio_image,
    .pa-portfolio-grid .et_pb_portfolio_item:nth-child(10n+7) .et_portfolio_image {
        aspect-ratio: 1 / 1;
    }

    /* Replace dark overlay with bottom gradient */
    .pa-portfolio-grid .et_pb_portfolio_item .et_overlay {
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.75) 0%,
            rgba(0,0,0,0.4) 50%,
            transparent 100%
        ) !important;
        opacity: 1;
    }

    /* Hide gold inset border */
    .pa-portfolio-grid .et_pb_portfolio_item .et_portfolio_image::before {
        opacity: 0 !important;
    }

    /* Reposition category + title to bottom-left */
    .pa-portfolio-grid .et_pb_portfolio_item p.post-meta,
    .pa-portfolio-grid .et_pb_portfolio_item h2.et_pb_module_header {
        opacity: 1;
        pointer-events: auto;
        left: 0;
        top: auto;
        bottom: 0;
        transform: none;
        text-align: left;
    }

    .pa-portfolio-grid .et_pb_portfolio_item p.post-meta {
        bottom: 40px;
        padding: 0 15px 0.4em 15px !important;
        border-bottom: 2px solid var(--pa-gold);
        display: inline-block;
        transform: none;
        white-space: nowrap;
    }

    .pa-portfolio-grid .et_pb_portfolio_item p.post-meta a {
        font-size: 9px;
        letter-spacing: 2px;
        pointer-events: auto;
    }

    .pa-portfolio-grid .et_pb_portfolio_item h2.et_pb_module_header {
        bottom: 10px;
        left: 0;
        padding: 0 15px !important;
        width: 100%;
        max-width: 100%;
        transform: none;
    }

    .pa-portfolio-grid .et_pb_portfolio_item h2.et_pb_module_header a {
        font-size: 1rem;
        letter-spacing: 1.5px;
        pointer-events: auto;
        white-space: normal;
    }

    /* Disable hover animations on touch */
    .pa-portfolio-grid .et_pb_portfolio_item:hover .et_overlay {
        opacity: 1;
    }

    .pa-portfolio-grid .et_pb_portfolio_item:hover p.post-meta {
        transform: none;
    }

    .pa-portfolio-grid .et_pb_portfolio_item:hover h2.et_pb_module_header {
        transform: none;
        transition-delay: 0s;
    }
}


/* === MOBILE (767px) === */

@media (max-width: 767px) {

    /* Filters: centred single column */
    .pa-portfolio-grid .et_pb_portfolio_filters {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .pa-portfolio-grid .et_pb_portfolio_filters li {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 8px 0 !important;
    }

    /* Single column grid */
    .pa-portfolio-grid .et_pb_portfolio_items {
        grid-template-columns: 1fr;
    }

    .pa-portfolio-grid .et_pb_portfolio_item .et_portfolio_image,
    .pa-portfolio-grid .et_pb_portfolio_item:nth-child(10n+1) .et_portfolio_image,
    .pa-portfolio-grid .et_pb_portfolio_item:nth-child(10n+7) .et_portfolio_image {
        aspect-ratio: 4 / 3;
    }

    .pa-portfolio-grid .et_pb_portfolio_item h2.et_pb_module_header a {
        font-size: 1.1rem;
    }

    .pa-portfolio-grid .et_pb_portfolio_item p.post-meta {
        bottom: 45px;
    }

    .pa-portfolio-grid .et_pb_portfolio_item h2.et_pb_module_header {
        bottom: 12px;
    }
}

.pa-portfolio-grid .et_pb_portfolio_items_wrapper::before {
    content: "Explore our portfolio by selecting from the projects below.";
    display: block;
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}
/* ===================================================
   PROJECT GALLERY - PROPORTIONAL ROW LAYOUT
   
   Full-width rows + paired rows with proportional 
   widths (set inline by PHP). No text column styling
   — handle that in Divi Theme Builder.
   
   Add class "pa-project-layout" to the Section.
   =================================================== */

:root {
    --pa-gallery-gap: 8px;
    --pa-gallery-half-gap: 4px;
}

.pa-project-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--pa-gallery-gap);
}

/* All images */
.pa-project-gallery img {
    width: 100%;
    display: block;
}

/* Full-width rows */
.pa-row-full img {
    height: auto;
}

/* Paired rows */
.pa-row-pair {
    display: flex;
    gap: var(--pa-gallery-gap);
}

.pa-row-pair .pa-img {
    overflow: hidden;
}

.pa-row-pair img {
    height: 100%;
    object-fit: cover;
}

/* Mobile: stack pairs */
@media (max-width: 767px) {
    .pa-row-pair {
        flex-direction: column;
    }

    .pa-row-pair .pa-img {
        width: 100% !important;
        flex: none !important;
    }
}

/* Quote Block Styles */

.quote-block {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 !important;
}

.open-quote, .close-quote {
  font-family: 'FontAwesome', 'ETmodules' !important;
  font-weight: 900 !important;
  color: #D4C7A9 !important;
  font-size: 40px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  -webkit-font-smoothing: antialiased;
}

.open-quote {
  align-items: flex-start !important;
  margin-top: -15px !important;
}

.close-quote {
  align-items: flex-end !important;
  margin-top: 80px !important;
}

.quote-block p {
  font-size: 24px !important;
  font-weight: 700 !important;
  text-align: center !important;
  color: #2c4a2e !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Mobile Styles */
@media (max-width: 767px) {
  .open-quote, .close-quote {
    font-size: 26px !important;
  }

  .close-quote {
    margin-top: 52px !important;
  }

  .quote-block p {
    font-size: 16px !important;
    letter-spacing: 1px !important;
  }
}
/* Home page image reveal animation */
.reveal-section {
  min-height: 100vh !important;
  overflow: hidden !important;
}

.reveal-image {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  will-change: transform !important;
  display: block !important;
}

.reveal-image img,
.reveal-image.et_pb_image img {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  display: block !important;
  position: static !important;
}
/* Gold underlines for headings */

.wide-underline :is(h1, h2, h3, h4, h5, h6) {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.wide-underline :is(h1, h2, h3, h4, h5, h6)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -15px;
  width: calc(100% + 30px);
  height: 3px;
  background-color: #d4c7a9;
}
.full-underline :is(h1, h2, h3, h4, h5, h6) {
  position: relative;
  display: block;
  padding-bottom: 12px;
}

.full-underline :is(h1, h2, h3, h4, h5, h6)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #d4c7a9;
}
.hover-blurb {
  overflow: hidden;
}

.hover-blurb .et_pb_image_wrap {
  transition: transform 0.4s ease;
  transform: scale(1);
  pointer-events: none;
}

.hover-blurb:hover .et_pb_image_wrap {
  transform: scale(1.02);
}