/*
Theme Name: SpadeAvenueWhite
Theme URI: https://projectstaffing.co/wordpress/themes/spadeavenuewhite
Author: Project Staffing Company
Author URI: https://projectstaffing.co
Description: Main theme for SpadeAvenue.com.
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: spadeavenuewhite
Tags: design, sourcing
*/

a {
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25ch;
}
 
a:hover,
a:focus {
    text-decoration-style: dashed;
}
  
a:active {
    text-decoration: none;
}

.wp-block-button-banner {
    background-color: var(--wp--preset--color--transparent);
    color: var(--wp--preset--color--outrageous-orange);
}

.wp-block-button-banner__link {
    background-color: var(--wp--preset--color--transparent);
    color: var(--wp--preset--color--outrageous-orange);
    border-color: var(--wp--preset--color--outrageous-orange);
    border-width: 2px;
    border-style: solid;
    text-transform: lowercase;
    text-decoration: none;
    font-weight: bold;
}

.wp-block-button:hover,
.wp-block-button:focus {
    background-color: var(--wp--preset--color--transparent);
    color: var(--wp--preset--color--outrageous-orange);
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
    background-color: var(--wp--preset--color--outrageous-orange);
    color: var(--wp--preset--color--white);
    text-decoration: none;
}

.wp-block-button-banner__link:hover,
.wp-block-button-banner__link:focus {
    background-color: var(--wp--preset--color--outrageous-orange);
    color: var(--wp--preset--color--white);
    text-decoration: none;
}

.banner-button {
    background-color: var(--wp--preset--color--transparent);
    color: var(--wp--preset--color--white);
}

.banner-button:hover,
.banner-button:focus {
    background-color: var(--wp--preset--color--transparent);
    color: var(--wp--preset--color--white);
}

.banner-button__link {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    border-color: var(--wp--preset--color--black);
    border-width: 2px;
    border-style: solid;
    text-transform: lowercase;
    text-decoration: none;
    font-weight: bold;
}

.banner-button__link:hover,
.banner-button__link:focus {
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
    text-decoration: none;
}

/* Navigation Block */
.wp-block-navigation {
    background-color: var(--wp--preset--color--transparent);
    color: var(--wp--preset--color--black);
    text-transform: uppercase;
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--custom--typography--line-height--main-menu);
    font-weight: var(--wp--custom--typography--font-weight--medium);
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus,
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:focus {
    color: var(--wp--preset--color--outrageous-orange);
}

.wp-block-navigation .wp-block-navigation-item a:active,
.wp-block-navigation .wp-block-navigation-item__content:active {
    color: var(--wp--preset--color--outrageous-orange) !important;
}

.wp-block-navigation .current-menu-item .wp-block-navigation-link,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .current-menu-item a.wp-block-navigation-item__content,
.wp-block-navigation .current-menu-item > li > a,
.wp-block-navigation .current-menu-item > a {
    color: var(--wp--preset--color--outrageous-orange) !important;
}

.wp-block-navigation .wp-block-navigation-item__content {
    color: var(--wp--preset--color--outrageous-orange);
}
  
.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-open:focus,
.wp-block-navigation__responsive-container-close:hover,
.wp-block-navigation__responsive-container-close:focus {
    color: var(--wp--preset--color--outrageous-orange);
}
/**/

.benefit-block-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 24px;
    background: var(--wp--preset--color--white);
    flex: none;
    order: 0;
}

.benefit-block-horizontal__image {
    width: 140px;
    height: 212px;
    flex: none;
    order: 0;
}

.benefit-block-horizontal__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: start;
    text-wrap: wrap;
    padding: 0px;
    gap: 16px;
    flex: none;
    order: 1;
}

.benefit-block-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
    width: 232px;
    height: 476px;
    background: var(--wp--preset--color--white);
    flex: none;
    order: 0;
}

.benefit-block-vertical__image {
    width: 232px;
    height: 332px;
    flex: none;
    order: 0;
}

.benefit-block-vertical__text {
    display: flex;
    flex-direction: column;
    /* align-items: flex-start; */
    padding: 0px;
    gap: 16px;
    width: 232px;
    height: 156px;
    flex: none;
    order: 1;
}

/* marque start  */
.marque {
    width: 100%;
    overflow: hidden;
    padding: 0.9375rem 0;
    background: var(--wp--preset--color--black);
}
.marque__wrap {
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 3rem;
}
.marque__wrap__items {
    flex-shrink: 0;
    display: flex;
    gap: 3rem;
    counter-reset: item;
    justify-content: space-around;
    min-width: 100%;
}
.marque__wrap__items .item {
    flex: 0 0 auto;
    counter-increment: item;
    border-radius: 0.375rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: var(--wp--custom--typography--font-weight--medium);
    font-size: 0.875rem;
    line-height: var(--wp--custom--typography--line-height--even);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    text-align: center;
    color: var(--wp--preset--color--white);
    transition: all 0.1s ease-in-out;
    position: relative;
}
.marque__wrap__items .item::after {
    position: absolute;
    content: "\2726";
    transform: rotate(60deg);
    color: var(--wp--preset--color--outrageous-orange);
    /* background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.60786 0.213545C3.61749 0.00164161 3.96617 -0.0831173 4.0702 0.101817C4.5595 0.968696 5.39171 2.24204 6.33564 2.82189C7.27958 3.39981 8.79373 3.56548 9.78775 3.60786C9.99965 3.61749 10.0825 3.96617 9.89755 4.0702C9.03067 4.5595 7.75925 5.39171 7.1794 6.33564C6.59956 7.27958 6.43581 8.79373 6.39343 9.78775C6.3838 9.99965 6.0332 10.0825 5.9311 9.89755C5.44179 9.03067 4.60959 7.75925 3.66373 7.17941C2.71979 6.59956 1.20564 6.43581 0.213548 6.39343C0.0016441 6.3838 -0.0831185 6.0332 0.101816 5.9311C0.968695 5.44179 2.24205 4.60959 2.82189 3.66373C3.39981 2.71979 3.56548 1.20564 3.60786 0.213545Z' fill='%23F85528'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%; */
    width: 0.725rem;
    height: 0.725rem;
    right: -1.875rem;
    margin: auto 0;
    top: 0;
    bottom: 0;
}
.marque__wrap__items.marquee {
    animation: scroll 35s linear infinite;
}
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 1.25rem));
    }
}
/* marque end  */

.section-content {
    display: inline;
    align-items: center;
    flex: none;
    order: 0;
}

.section-content-reg {
    color: var(--wp--preset--color-black);
    text-transform: none;
    text-decoration: none;
    font-style: normal;
    font-size: var(--wp--preset--font-size--content-heading);
    font-weight: var(--wp--custom--typography--font-weight--normal);
    line-height: var(--wp--custom--typography--line-height--content-heading);
}

.section-content-bold {
    color: var(--wp--preset--color-black);
    text-transform: none;
    text-decoration: none;
    font-style: normal;
    font-size: var(--wp--preset--font-size--content-heading);
    font-weight: var(--wp--custom--typography--font-weight--semi-bold);
    line-height: var(--wp--custom--typography--line-height--content-heading);
}

.section-content-cap {
    color: var(--wp--preset--color-black);
    text-transform: uppercase;
    text-decoration: none;
    font-style: normal;
    font-size: var(--wp--preset--font-size--content-heading);
    font-weight: var(--wp--custom--typography--font-weight--normal);
    line-height: var(--wp--custom--typography--line-height--content-heading);
}
.section-content-highlight {
    color: var(--wp--preset--color--outrageous-orange);
    text-transform: uppercase;
    text-decoration: none;
    font-style: normal;
    font-size: var(--wp--preset--font-size--content-heading);
    font-weight: var(--wp--custom--typography--font-weight--normal);
    line-height: var(--wp--custom--typography--line-height--content-heading);
}

.banner-content-cap {
    color: var(--wp--preset--color--black);
    text-transform: uppercase;
    text-decoration: none;
    font-style: normal;
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: var(--wp--custom--typography--font-weight--medium);
    line-height: var(--wp--custom--typography--line-height--even);
}

.banner-content-invert {
    color: var(--wp--preset--color--black);
    text-transform: uppercase;
    text-decoration: none;
    font-style: normal;
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: var(--wp--custom--typography--font-weight--medium);
    line-height: var(--wp--custom--typography--line-height--even);
}

.banner-content-highlight {
    color: var(--wp--preset--color--outrageous-orange);
    text-transform: uppercase;
    text-decoration: none;
    font-style: normal;
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: var(--wp--custom--typography--font-weight--medium);
    line-height: var(--wp--custom--typography--line-height--even);
}

.cocktail-columns {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 16px;
    flex: none;
    order: 0;
}

.cocktail-card-image {
    align-items: center;
    vertical-align: top;
    width: 320px;
    height: 320px;
    object-fit: scale-down;
    background-color: var(--wp--preset--color--alice-blue);
}

.cocktail-recipe-image {
    align-items: center;
    vertical-align: top;
    width: 640px;
    height: 640px;
    object-fit: scale-down;
    background-color: var(--wp--preset--color--transparent);
}

/* Force the dark background and text onto the footer container */
footer.site-footer-wrapper,
.wp-block-group.site-footer-wrapper {
    background-color: var(--wp--preset--color--black) !important;
    color: var(--wp--preset--color--white) !important;
}

/* Force all text elements inside your custom pattern to comply */
.site-footer-wrapper p,
.site-footer-wrapper h1,
.site-footer-wrapper h2,
.site-footer-wrapper h3,
.site-footer-wrapper li,
.site-footer-wrapper span {
    color: var(--wp--preset--color--white) !important;
}

/* Force all navigation or text links inside to use your footer accent color */
.site-footer-wrapper a,
.site-footer-wrapper a span {
    color: var(--wp--preset--color--white) !important;
}

/* Optional: Add a nice hover state color for the footer links */
.site-footer-wrapper a:hover {
    color: var(--wp--preset--color--pale-sky) !important;
}

.site-icon-wrap img {
    width: 36px;
    height: 36px;
    object-fit: cover;
}

.site-logo-wrap img {
    width: 216px;
    height: 36px;
    object-fit: cover;
}

.wp-block-site-logo img {
    width: 216px;
    height: 36px;
    object-fit: cover;
}

/* Project gallery */
.project-gallery-masonry .wp-block-gallery {
    column-count: 3;
    column-gap: 1rem;
    display: block;
}
.project-gallery-masonry .wp-block-image {
    break-inside: avoid;
    margin: 0 0 1rem;
}
.project-gallery-masonry img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
@media (max-width: 900px) {
    .project-gallery-masonry .wp-block-gallery { column-count: 2; }
}
@media (max-width: 600px) {
    .project-gallery-masonry .wp-block-gallery { column-count: 1; }
}

.project-gallery-masonry .lightbox-trigger {
    display: block;
    position: relative;
    overflow: hidden; /* clips the zoomed image so it doesn't spill past the grid cell */
}
.project-gallery-masonry .lightbox-trigger img {
    transition: transform 0.4s ease;
    display: block;
}
.project-gallery-masonry .lightbox-trigger:hover img {
    transform: scale(1.08);
}

/* Subtle dark tint overlay on hover, common for project grids */
.project-gallery-masonry .lightbox-trigger::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none; /* don't block clicks to the actual link/image */
}
.project-gallery-masonry .lightbox-trigger:hover::after {
    background: rgba(0, 0, 0, 0.15);
}


/* Lightbox */
.custom-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.custom-lightbox-overlay.is-open {
    display: flex;
}
.custom-lightbox-overlay.is-visible {
    opacity: 1;
}

.custom-lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.15s ease;
}
.custom-lightbox-image.is-fading {
    opacity: 0;
}

.custom-lightbox-close,
.custom-lightbox-prev,
.custom-lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
}
.custom-lightbox-close { top: 1rem; right: 1rem; }
.custom-lightbox-prev  { left: 1rem; top: 50%; transform: translateY(-50%); }
.custom-lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

