@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//pulsedermatologyandlaser.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.4.1") format("woff2");
	font-display:block;
}

:root {
	--wd-text-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Playfair Display", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: var(--wd-title-font);
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: var(--wd-text-font);
	--wd-widget-title-font: var(--wd-title-font);
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: var(--wd-text-font);
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(180,155,87);
	--wd-alternative-color: rgb(0,0,0);
	--btn-default-bgcolor: rgb(0,0,0);
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}



.wd-page-title {
background-color: #0a0a0a;
}

.main-page-wrapper, 
.wd-page-content {
    background-color: #F9F5F0 !important;
}

.wd-prefooter {
    padding-bottom: 0 !important;
   
}

/* Remove top gap on Home page only */
.home .main-page-wrapper,
.home .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure the hero container starts at the very top */
.home .wp-block-group {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Banner Remove the 40px WoodMart layout gap ONLY on Treatment pages */
body.home .wd-content-layout {
    padding-top: 0 !important;
}

/* Nullify the WoodMart block spacing variable only for the home hero */
.home .wp-block-group.wp-block-wd-container,
.home .wp-block-wd-container {
    --wd-block-spacing: 0px !important;
}

/* Force override for any stuck margins in the hero */
.home .wp-block-group > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

/* Post Grid skin concerns: Force the UAGB parent container into a responsive CSS Grid */
body .wp-block-uagb-post-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 30px !important; /* Adjust this to increase/decrease space between cards */
    width: 100% !important;
}

/* Post Grid skin concerns: Remove default margins that might interfere with the grid */
body .wp-block-uagb-post-grid .uagb-post__wrapper {
    margin: 0 !important;
    width: 100% !important;
}

/* Treatment & Concern Page Backgrounds */
body.single-treatment,
body.single-treatment .main-page-wrapper,
body.single-concern,
body.single-concern .main-page-wrapper {
    background-color: #fdf5e8 !important;
}

/* Hide the default WoodMart Blog Post Header (Title, Author, Featured Image) */
body.single-treatment header.entry-header,
body.single-treatment .entry-thumbnail,
body.single-concern header.entry-header,
body.single-concern .entry-thumbnail {
    display: none !important;
}

/* Banner: Remove the default WoodMart spacing at the very top */
body.single-treatment .main-page-wrapper,
body.single-treatment .site-content,
body.single-concern .main-page-wrapper,
body.single-concern .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Banner: Remove the 40px WoodMart layout gap */
body.single-treatment .wd-content-layout,
body.single-concern .wd-content-layout {
    padding-top: 0 !important;
}

/* Force the WoodMart Cover Banner to break out of the .container */
body.single-treatment .site-content .wp-block-wd-cover,
body.single-concern .site-content .wp-block-wd-cover {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    border-radius: 0 !important;
}

/* Images: Premium rounded corners and soft shadow for the Featured Image */
.pdl-rounded-image img {
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); /* Adds subtle luxury depth */
    overflow: hidden;
}

/* Benefits: Premium Gold Checkmark List (Overrides WoodMart Defaults) */
body .pdl-premium-benefits ul {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

body .pdl-premium-benefits ul li {
    position: relative !important;
    padding-left: 45px !important; /* Space for the custom circle */
    margin-bottom: 24px !important;
    line-height: 1.6 !important;
    list-style: none !important;
}

/* The White Circle Background */
body .pdl-premium-benefits ul li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    width: 36px !important;
    height: 36px !important;
    background-color: #ffffff !important;
    border: 1px solid #e8e1d7 !important; /* Soft premium border */
    border-radius: 50% !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04) !important; /* Gentle 3D lift */
}

/* Ensure text clears the new larger 36px circle */
body .pdl-premium-benefits ul li {
    position: relative !important;
    padding-left: 54px !important; /* Increased from 45px to give breathing room */
    margin-bottom: 24px !important;
    line-height: 1.6 !important;
    list-style: none !important;
}

/* Bulletproof Centering for the Orange Checkmark Icon */
body .pdl-premium-benefits ul li::after {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important; /* Match the circle's exact position */
    top: 2px !important; /* Match the circle's exact position */
    width: 36px !important; /* Exact width of your new circle */
    height: 36px !important; /* Exact height of your new circle */
    display: flex !important;
    align-items: center !important; /* Vertically centers the tick */
    justify-content: center !important; /* Horizontally centers the tick */
    color: #b49b57 !important; 
    font-size: 18px !important; /* Your new tick size */
    font-weight: bold !important;
    font-family: sans-serif !important; 
}
/* PDL Premium FAQ Accordion Layout */
.pdl-premium-faq-container {
    width: 100%;
    margin-top: 20px;
}

.pdl-faq-details {
    border-bottom: 1px solid #e8e1d7; /* Soft cream divider */
}

/* Remove bottom border from the very last item */
.pdl-faq-details:last-child {
    border-bottom: none;
}

/* The Question Row */
.pdl-faq-summary {
    list-style: none;
    padding: 24px 0;
    font-size: 18px;
    font-weight: 500;
    
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

/* Hide the default HTML triangle in all browsers */
.pdl-faq-summary::-webkit-details-marker {
    display: none;
}

/* The Custom Gold Arrow */
.pdl-faq-icon::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #b49b57; /* Brand Gold */
    border-bottom: 2px solid #b49b57; /* Brand Gold */
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 5px;
}

/* Flip the arrow up when the accordion is clicked open */
.pdl-faq-details[open] .pdl-faq-icon::after {
    transform: rotate(-135deg);
}

/* The Answer Text */
.pdl-faq-content {
    padding-bottom: 24px;
    color: #555;
    line-height: 1.6;
    animation: pdl-fade-in 0.4s ease;
}

/* Smooth fade-in for the text */
@keyframes pdl-fade-in {
    0% { opacity: 0; transform: translateY(-5px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 1. Base styling for the sidebar links */
body .pdl-sidebar-links a {
    display: flex !important;
    justify-content: space-between !important; /* Pushes text left, arrow right */
    align-items: center !important;
    padding: 12px 20px !important;
    margin-bottom: 8px !important;
    background-color: transparent !important;
    color: #002b49 !important; /* Your dark blue text color */
    font-weight: 600 !important;
    border-radius: 8px !important; /* Matches the curve of your reference */
    text-decoration: none !important;
    transition: all 0.3s ease !important; /* Smooth color fade */
}

/* 2. Inject the Gold right arrow */
body .pdl-sidebar-links a::after {
    content: "\2192" !important; /* Unicode for a clean right arrow */
    font-size: 20px !important;
    color: #b49b57 !important; /* CI Gold */
    transition: all 0.3s ease !important;
}

/* 3. Hover and Active States (Solid Gold background, White text & arrow) */
body .pdl-sidebar-links a:hover,
body .pdl-sidebar-links a.current-cat, 
body .pdl-sidebar-links a.current-menu-item,
body .pdl-sidebar-links a.active {
    background-color: #b49b57 !important;
    color: #ffffff !important;
}

/* 4. Turn the arrow white on hover/active */
body .pdl-sidebar-links a:hover::after,
body .pdl-sidebar-links a.current-cat::after,
body .pdl-sidebar-links a.current-menu-item::after,
body .pdl-sidebar-links a.active::after {
    color: #ffffff !important;
}

/* Treatments Archive page: 1. Reset the grid item container to relative positioning */
body .wp-block-uagb-post-grid .uagb-post__inner-wrap {
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 350px !important; /* Forces uniform luxury card heights */
    border-radius: 24px !important;
}

/* 2. Force the featured image to stretch and act as a true card background */
body .wp-block-uagb-post-grid .uagb-post__image {
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
}
body .wp-block-uagb-post-grid .uagb-post__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Keeps images pristine without warping */
}

/* 3. Add a premium dark overlay so white clinical text is readable */
body .wp-block-uagb-post-grid .uagb-post__inner-wrap::before {
    content: "" !important;
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.25) !important; /* Smooth clinical shading */
    z-index: 2 !important;
}

/* 4. Construct the centered content overlay wrapper */
body .wp-block-uagb-post-grid .uagb-post__text {
    position: relative !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 20px !important;
}

/* 5. Refined title capsule with high-end sizing and opacity */
body .wp-block-uagb-post-grid .uagb-post__title {
    background-color: rgba(255, 255, 255, 0.85) !important; /* Premium semi-transparent white */
    backdrop-filter: blur(8px) !important; /* Soft luxury frosted glass effect */
    color: #002b49 !important; /* Signature dark blue */
    
    /* Strict sizing constraints */
    padding: 14px 28px !important;
    width: auto !important;
    height: auto !important;
    min-width: 220px !important;
    max-width: 80% !important;
    
    /* Layout & Alignment */
    display: inline-block !important;
    margin: 0 auto !important;
    text-align: center !important;
    
    /* Premium details */
    border-radius: 16px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Ensure the parent text wrapper isn't forcing it to stretch vertically */
body .wp-block-uagb-post-grid .uagb-post__text {
    justify-content: center !important;
    align-items: center !important;
}

/* 6. Hide unnecessary metadata and original text buttons */
body .wp-block-uagb-post-grid .uagb-post__cta,
body .wp-block-uagb-post-grid .uagb-post-grid-byline {
    display: none !important;
}

/* 1. Base wrapper structure - Locks the boundaries completely */
body .wp-block-uagb-post-grid .uagb-post__inner-wrap {
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 380px !important; /* Uniform luxury card height */
    border-radius: 24px !important;
    background-color: #f7f5f0 !important; /* Premium background baseline color */
    transform: translateZ(0) !important; /* Hardware acceleration trick to force clean rounded borders on safari/chrome during zoom */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 2. Lock down the native UAGB link image container */
body .wp-block-uagb-post-grid .uagb-post__image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

/* 3. Force the physical image to stay pinned to 0,0 and zoom completely centered */
body .wp-block-uagb-post-grid .uagb-post__image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1) !important;
    transform-origin: center center !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 4. Smooth internal image zoom on hover without moving boundaries */
body .wp-block-uagb-post-grid .uagb-post__inner-wrap:hover .uagb-post__image img {
    transform: scale(1.08) !important; /* Subtle internal zoom like your reference */
}

/* 5. Luxury Card Lift & Drop Shadow matching your exact second mockup */
body .wp-block-uagb-post-grid .uagb-post__inner-wrap:hover {
    transform: translateY(-6px) !important; /* Elegant card float */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important; /* Rich, premium soft shadow underneath */
}

/* =========================================================
   MASTER FIX: SKIN CONCERN PAGE POST GRID & EXCERPT
   ========================================================= */

/* 1. Force the responsive columns strictly on the concern page */
body.single-concern .wp-block-uagb-post-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
}

/* 2. Base wrapper structure - Locks the boundaries completely */
body.single-concern .wp-block-uagb-post-grid .uagb-post__inner-wrap {
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 380px !important; 
    border-radius: 24px !important;
    background-color: #f7f5f0 !important; 
    transform: translateZ(0) !important; 
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 3. Lock down the native UAGB link image container */
body.single-concern .wp-block-uagb-post-grid .uagb-post__image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

/* 4. Force the physical image to stay pinned and zoom */
body.single-concern .wp-block-uagb-post-grid .uagb-post__image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1) !important;
    transform-origin: center center !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 5. Smooth internal image zoom & card float on hover */
body.single-concern .wp-block-uagb-post-grid .uagb-post__inner-wrap:hover .uagb-post__image img {
    transform: scale(1.08) !important; 
}
body.single-concern .wp-block-uagb-post-grid .uagb-post__inner-wrap:hover {
    transform: translateY(-6px) !important; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important; 
}

/* 6. The Perfect Clinical Dark Overlay */
body.single-concern .wp-block-uagb-post-grid .uagb-post__inner-wrap::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important; 
    left: 0 !important;
    width: 100% !important; 
    height: 100% !important;
    background: rgba(0, 15, 30, 0.45) !important; /* Dark clinical shading to make white text pop */
    z-index: 2 !important;
    pointer-events: none !important;
}
/* 7. Force the text wrapper to fill the card, center everything, and add spacing */
body.single-concern .wp-block-uagb-post-grid .uagb-post__text {
   text-align: center;
    color: white;
    inset: 0 !important; /* Pins it to all 4 corners */
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important; /* Stacks Title above Excerpt */
    align-items: center !important; /* Centers left/right */
    justify-content: center !important; /* Centers top/bottom */
    gap: 16px !important; /* MAGIC BULLET: Adds exact space between title and excerpt */
    box-sizing: border-box !important;
    padding: 20px !important;
    margin: 0 !important;
    pointer-events: none !important; 
}

/* 8. Fix the Title Pill */
body.single-concern .wp-block-uagb-post-grid .uagb-post__inner-wrap .uagb-post__text .uagb-post__title {
    position: relative !important; 
    top: auto !important; 
    bottom: auto !important;
    margin: 0 !important; /* Strips all WoodMart native h2 margins */
    
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    color: #002b49 !important;
    padding: 10px 24px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center !important;
    
    pointer-events: auto !important; 
    display: inline-block !important;
    width: auto !important;
    max-width: 90% !important;
    flex: 0 0 auto !important; /* Stops stretching */
}

/* 9. Style the Excerpt */
body.single-concern .wp-block-uagb-post-grid .uagb-post__inner-wrap .uagb-post__text .uagb-post__excerpt {
    position: relative !important; 
    margin: 0 !important; /* Strips any Spectra margins */
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    padding: 0 10px !important;
    
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important; 
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6) !important;
    flex: 0 0 auto !important; /* Stops stretching */
}

/* 10. Make the Entire Card Clickable (Targeting Spectra's Complete Box) */
body.single-concern .wp-block-uagb-post-grid .uagb-post__link-complete-box {
    display: block !important;
    position: absolute !important;
    inset: 0 !important; /* Stretches to all 4 corners of the card */
    width: 100% !important;
    height: 100% !important;
    z-index: 20 !important; /* Forces the hit-box above the dark overlay and text */
    text-indent: -9999px !important; /* Hides any accidental screen-reader text inside */
}

/* 11. Hide Read More CTA */
body.single-concern .wp-block-uagb-post-grid .uagb-post__cta {
    display: none !important;
}
/* 12. Kill invisible spacing elements Spectra might be generating */
body.single-concern .wp-block-uagb-post-grid .uagb-post-grid-byline,
body.single-concern .wp-block-uagb-post-grid .uagb-post__taxonomy,
body.single-concern .wp-block-uagb-post-grid .uagb-post__meta {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.frosted-grow-box {
  transition: transform 0.3s ease-in-out !important;
}

.frosted-grow-box:hover {
  transform: scale(1.05) !important;
}
/* Force Gutenberg Homepage to Full Width safely */
.home .main-page-wrapper > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Force Footer HTML Block to Full Bleed */
.footer-container .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Strip proprietary WoodMart blog wrappers from Treatment and Concern CPTs */
.single-treatment .wd-single-post-header,
.single-treatment .wd-single-footer,
.single-concern .wd-single-post-header,
.single-concern .wd-single-footer {
    display: none !important;
}

/* =========================================================
   PULSE PODCAST PREMIUM STYLING (Tailwind Translation)
   ========================================================= */

/* 1. Podcast Card Base */
.pulse-pod-card {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 30px !important;
    border: 1px solid #f3f4f6 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pulse-pod-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* 2. Premium Audio Player Styling */
.pulse-pod-card .wp-block-audio {
    margin: 15px 0 0 0 !important;
    background-color: #f9f5f0 !important; /* Soft clinical background */
    padding: 10px !important;
    border-radius: 8px !important;
    border: 1px solid #f3f4f6 !important;
}
.pulse-pod-card .wp-block-audio audio {
    width: 100% !important;
    height: 40px !important;
    outline: none !important;
}
.pulse-pod-card .wp-block-audio audio::-webkit-media-controls-panel {
    background-color: #f9f5f0 !important;
}

/* 3. Up Next Custom Scrollbar */
.pulse-pod-playlist {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}
.pulse-pod-playlist::-webkit-scrollbar { width: 6px; }
.pulse-pod-playlist::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 8px; }
.pulse-pod-playlist::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 8px; }
.pulse-pod-playlist::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* 4. Up Next Hover Items */
.pulse-pod-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    text-decoration: none !important;
    cursor: pointer;
}
.pulse-pod-list-item:hover {
    background-color: #f9f5f0;
}
.pulse-pod-list-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #EAE3DA;
    color: #8C6A53;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.pulse-pod-list-item:hover .pulse-pod-list-icon {
    background-color: #8C6A53;
    color: #ffffff;
}
/* Force perfect vertical alignment and remove default WP block margins */
.pulse-pod-list-item {
    align-items: center !important;
}

.pulse-pod-list-item h1,
.pulse-pod-list-item h2,
.pulse-pod-list-item h3,
.pulse-pod-list-item h4,
.pulse-pod-list-item h5,
.pulse-pod-list-item p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.3 !important;
}

/* Add a tiny bit of space specifically between the title and the time */
.pulse-pod-list-item h4 (or whatever heading level you used) {
    margin-bottom: 4px !important; 
}

/* =========================================================
   1. PULSE AJAX SIDEBAR (Masonry Filter Override)
   ========================================================= */

/* Force the portfolio wrapper into a 2-column layout. */
.pulse-ajax-sidebar.wd-portfolio-element {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
}

/* 1. Target the filter and pull it left */
.pulse-ajax-sidebar .portfolio-filter {
    width: 25% !important;
    flex: 0 0 25% !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    position: sticky !important;
    top: 100px !important;
    display: block !important;
}

/* 2. Lock the Grid to the right side (71%) */
.pulse-ajax-sidebar .wd-projects {
    width: 71% !important;
    flex: 0 0 71% !important;
    max-width: 71% !important;
    margin-left: 0 !important; 
    --wd-gap-lg: 32px !important; /* Forces wider gap between desktop cards */
    --wd-gap-md: 24px !important; /* Forces wider gap between tablet cards */
    --wd-gap-sm: 20px !important; /* Forces wider gap between mobile cards */
}

/* 3. Force the horizontal filter list into a vertical stack */
.pulse-ajax-sidebar .portfolio-filter ul.wd-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin: 0 !important;
    border: none !important;
}

.pulse-ajax-sidebar .portfolio-filter ul.wd-nav li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Sidebar Button Styling */
.pulse-ajax-sidebar .portfolio-filter ul.wd-nav li a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    background-color: transparent !important;
    color: #002b49 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    text-transform: none !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

/* Inject Golden Arrow */
.pulse-ajax-sidebar .portfolio-filter ul.wd-nav li a::after {
    content: '→' !important;
    color: #B89D6B !important;
    transition: transform 0.3s ease !important;
    font-family: sans-serif;
    font-size: 1.2em;
}

/* Hover & Active States */
.pulse-ajax-sidebar .portfolio-filter ul.wd-nav li a:hover {
    background-color: #F9F5F0 !important;
}
.pulse-ajax-sidebar .portfolio-filter ul.wd-nav li a:hover::after {
    transform: translateX(4px) !important;
}
.pulse-ajax-sidebar .portfolio-filter ul.wd-nav li.wd-active a {
    background-color: #B89D6B !important;
    color: #ffffff !important;
}
.pulse-ajax-sidebar .portfolio-filter ul.wd-nav li.wd-active a::after {
    color: #ffffff !important;
}

/* 5. Pagination / Load More Footer Alignment & Styling */
.pulse-ajax-sidebar .portfolio-footer,
.pulse-ajax-sidebar .wd-loop-footer {
    width: 71% !important;
    flex: 0 0 71% !important;
    max-width: 71% !important;
    margin-left: auto !important; /* Pushes the button to the right under the grid */
    margin-top: 40px !important;
    display: flex !important;
    justify-content: center !important;
}

/* Style the WoodMart Button (Pill shape, Brand colors) */
.pulse-ajax-sidebar .portfolio-footer .wd-load-more {
    background-color: #002b49 !important;
    border-radius: 50px !important;
    padding: 0 !important; 
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    transition: background-color 0.3s ease !important;
    color: transparent !important; /* Hides original text */
    position: relative !important;
    height: 52px !important;
    width: 240px !important;
}

.pulse-ajax-sidebar .portfolio-footer .wd-load-more:hover {
    background-color: #B89D6B !important;
}

/* Inject "Load More Articles" Text */
.pulse-ajax-sidebar .wd-portfolio-load-more::after {
    content: "LOAD MORE ARTICLES" !important;
    color: #ffffff !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
}

/* Inject "Loading..." Text for the loading state */
.pulse-ajax-sidebar .wd-load-more-loader .load-more-loading {
    display: none !important;
}

.pulse-ajax-sidebar .wd-load-more-loader::after {
    content: "LOADING ARTICLES..." !important;
    color: #ffffff !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
}


/* =========================================================
   2. PULSE PRESS CARDS (Portfolio Layout Option 3 Override)
   ========================================================= */

/* 1. Reset the Column Wrapper (Removed display: block !important to fix filtering) */
.pulse-ajax-sidebar .portfolio-entry {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.pulse-ajax-sidebar .portfolio-entry:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* 2. Make the Inner Header the Actual Card */
.pulse-ajax-sidebar .portfolio-entry .entry-header {
    display: flex !important;
    flex-direction: column-reverse !important;
    background-color: #ffffff !important;
    border: 1px solid #f3f4f6 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    width: 100% !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.pulse-ajax-sidebar .portfolio-entry .entry-header:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* 3. Transform the Portfolio Info into the Black Header (Edge to Edge) */
.pulse-ajax-sidebar .portfolio-info {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important; 
    visibility: visible !important;
    background-color: #000000 !important;
    padding: 14px 15px !important;
    text-align: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    pointer-events: auto !important;
    border: none !important; 
    border-radius: 0 !important; 
    margin: 0 !important;
}

/* 4. Frame the Image (White padding around the image only) */
.pulse-ajax-sidebar .portfolio-entry .entry-thumbnail {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 20px !important;
    background-color: #ffffff !important;
}

.pulse-ajax-sidebar .portfolio-entry .entry-thumbnail img {
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important; 
}

/* Hide WoodMart's default dark fade masks */
.pulse-ajax-sidebar .portfolio-entry .entry-thumbnail::before,
.pulse-ajax-sidebar .portfolio-entry .entry-thumbnail::after,
.pulse-ajax-sidebar .portfolio-entry .portfolio-thumbnail::before,
.pulse-ajax-sidebar .portfolio-entry .portfolio-thumbnail::after {
    display: none !important;
}

/* Prevent the image from dimming on hover */
.pulse-ajax-sidebar .portfolio-entry:hover .entry-thumbnail img,
.pulse-ajax-sidebar .portfolio-entry:hover .portfolio-thumbnail img {
    opacity: 1 !important;
}

/* Style the Category name inside the header */
.pulse-ajax-sidebar .proj-cats-list {
    margin: 0 !important;
    padding: 0 !important;
}

.pulse-ajax-sidebar .proj-cats-list li {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif !important;
    letter-spacing: 2px !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    display: block !important;
}

/* Hide the duplicate title and descriptions */
.pulse-ajax-sidebar .portfolio-info .wrap-title,
.pulse-ajax-sidebar .portfolio-info .portfolio-excerpt {
    display: none !important;
}

/* Clean up extra WoodMart buttons that float on the image */
.pulse-ajax-sidebar .wd-portfolio-btns {
    display: none !important;
}

/* =========================================================
   PULSE FACILITIES UNIFORM GRID
   ========================================================= */

/* 1. Force all images into uniform 4:3 rectangles */
.pulse-facilities-gallery .wd-gallery-item img,
.pulse-facilities-gallery .gallery-item img {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important; /* Creates perfect landscape rectangles */
    object-fit: cover !important; /* Crops the center without stretching! */
    display: block !important;
    border-radius: 8px !important;
    transition: transform 0.5s ease !important;
}

/* 2. Add luxury hover effect and clean borders */
.pulse-facilities-gallery .wd-gallery-item,
.pulse-facilities-gallery .gallery-item {
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    background-color: #ffffff !important;
    border: 1px solid #f3f4f6 !important;
    margin-bottom: 20px !important;
}

/* Smooth zoom on hover */
.pulse-facilities-gallery .wd-gallery-item:hover img,
.pulse-facilities-gallery .gallery-item:hover img {
    transform: scale(1.04) !important;
}
/* Custom class for wide images that shouldn't be cropped to 4:3 */
.pulse-facilities-gallery .pulse-wide-image img {
    aspect-ratio: 16 / 9 !important; /* Uses a wider view to keep the front desk visible */
}

/* Add some breathing room under the video */
.pulse-facilities-gallery {
    margin-top: 40px !important;
}

/* ==========================================================================
   PULSE PREMIUM WPFORMS LUXURY STYLING
   ========================================================================== */

/* 1. Base Form Container adjustments */
div.wpforms-container-full,
div.wpforms-container-full .wpforms-form {
    font-family: 'Poppins', sans-serif !important;
}

/* 2. Premium Label Typography */
div.wpforms-container-full .wpforms-form .wpforms-field-label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #002b49 !important; /* Your signature deep blue */
    margin-bottom: 8px !important;
}

/* Asterisk color matching your branding */
div.wpforms-container-full .wpforms-form .wpforms-required-label {
    color: #b49b57 !important; /* CI Gold */
}

/* 3. Luxury Field Inputs (Text, Email, Textarea) */
div.wpforms-container-full .wpforms-form input[type="text"],
div.wpforms-container-full .wpforms-form input[type="email"],
div.wpforms-container-full .wpforms-form textarea {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important; /* Matches your layout curves */
    padding: 14px 18px !important;
    font-size: 15px !important;
    color: #002b49 !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

/* Elegant Focus State */
div.wpforms-container-full .wpforms-form input[type="text"]:focus,
div.wpforms-container-full .wpforms-form input[type="email"]:focus,
div.wpforms-container-full .wpforms-form textarea:focus {
    border-color: #b49b57 !important; /* Turns gold on interaction */
    outline: none !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(180, 155, 87, 0.08) !important; /* Very soft gold glow */
}

/* 4. High-End Premium Submit Button Transformation */
div.wpforms-container-full .wpforms-form input[type="submit"], 
div.wpforms-container-full .wpforms-form button[type="submit"], 
div.wpforms-container-full .wpforms-form .wpforms-page-button {
    background-color: #002b49 !important; /* Deep luxury blue base */
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 50px !important; /* Perfect pill shape matching your other CTAs */
    padding: 16px 40px !important;
    height: auto !important;
    min-width: 220px !important; /* Elegant presence */
    cursor: pointer !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 43, 73, 0.15) !important;
}

/* Submit Button Hover State */
div.wpforms-container-full .wpforms-form input[type="submit"]:hover, 
div.wpforms-container-full .wpforms-form button[type="submit"]:hover {
    background-color: #b49b57 !important; /* Glides beautifully into signature gold */
    color: #ffffff !important;
    transform: translateY(-2px) !important; /* Premium tactile shift */
    box-shadow: 0 6px 20px rgba(180, 155, 87, 0.25) !important;
}

/* Action Active state */
div.wpforms-container-full .wpforms-form input[type="submit"]:active, 
div.wpforms-container-full .wpforms-form button[type="submit"]:active {
    transform: translateY(0) !important;
}

/* ==========================================================================
   PULSE PREMIUM WOODMART GALLERY 
   ========================================================================== */

/* 1. Turn the old float layout into a clean, modern 3-column grid */
#gallery-1.gallery,
.gallery {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 3 perfect equal columns */
    gap: 16px !important; /* Premium luxury spacing between cards */
    width: 100% !important;
    margin: 24px 0 !important;
}

/* 2. Strip away the old legacy block margins and floats */
.gallery .gallery-item {
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* 3. Ensure the icon layout uses standard block rules */
.gallery .gallery-icon {
    margin: 0 !important;
    display: block !important;
}

/* 4. Round the image corners and add premium transition attributes */
.gallery img {
    border-radius: 12px !important; /* Elegant curved edges matching your theme */
	border: none !important; 
    padding: 0 !important;  
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* 5. Add a tactile micro-interaction hover effect */
.gallery img:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0, 43, 73, 0.1) !important; /* Soft clinical deep blue glow */
}

/* 6. Clean up the old hardcoded line-break element */
.gallery br {
    display: none !important;
}




/* =================================================================at
   PULSE BLOG SINGLE POST TEMPLATE
   ================================================================ */

/* 1. FEATURED IMAGE: Add subtle luxury drop-shadow and smooth transition */
.single-post .wp-block-post-featured-image img,
.single-post .post-image img {
    border-radius: 8px !important;
    box-shadow: 0 15px 35px rgba(0, 43, 73, 0.08) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.single-post .wp-block-post-featured-image img:hover,
.single-post .post-image img:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 20px 40px rgba(0, 43, 73, 0.12) !important;
}
/* --- Definitive Horizontal Inline Metadata Bar --- */
.uagb-block-9f89992a.uagb-layout-flex {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important; /* Centers the whole row under the title */
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-bottom: 2rem !important;
}

/* Remove vertical stacking from inner containers and add right spacing */
.uagb-block-9f89992a.uagb-layout-flex > div {
    margin-bottom: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    padding-right: 15px !important;
}

/* Add a sleek right border divider between items, except the last one */
.uagb-block-9f89992a.uagb-layout-flex > div:not(:last-child) {
    border-right: 1px solid #d1d5db !important;
}

/* Force inner text elements to sit side-by-side cleanly */
.uagb-block-9f89992a .wd-post-author,
.uagb-block-9f89992a .wd-single-post-date,
.uagb-block-9f89992a .wp-block-post-time-to-read {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

/* 2. ARTICLE CONTENT TYPOGRAPHY (Lists, Paragraphs, Headings) */
.single-post .entry-content p,
.single-post .wd-post-content p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    color: #4b5563 !important;
    margin-bottom: 1.75rem !important;
}

.single-post .entry-content ul, 
.single-post .entry-content ol,
.single-post .wd-post-content ul,
.single-post .wd-post-content ol {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    color: #4b5563 !important;
    margin-bottom: 1.75rem !important;
    padding-left: 1.5rem !important;
}

.single-post .entry-content li,
.single-post .wd-post-content li {
    margin-bottom: 0.5rem !important;
}

.single-post .entry-content h2, 
.single-post .entry-content h3, 
.single-post .entry-content h4,
.single-post .wd-post-content h2, 
.single-post .wd-post-content h3, 
.single-post .wd-post-content h4 {
    font-family: 'Playfair Display', serif !important;
    color: #002b49 !important;
    font-weight: 600 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
}

/* 3. WOODMART SOCIAL BUTTONS BRANDING OVERRIDE */
/* --- Custom "Share this article" Luxury Card Wrapper --- */

.wd-social-icons.wd-a6caeb1d {
    position: relative !important;
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 20px 32px !important;
    box-shadow: 0 10px 30px rgba(0, 43, 73, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important; /* Pushes the isolated icon group to the right */
    gap: 8px !important; /* Tight, clean gap between each icon */
    max-width: 100% !important;
    margin-top: 3rem !important;
    margin-bottom: 2rem !important;
}

/* Absolute position the text on the left so it doesn't disrupt icon spacing */
.wd-social-icons.wd-a6caeb1d::before {
    content: "Share this article" !important;
    position: absolute !important;
    left: 32px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #002b49 !important;
}

/* Make individual social circles compact and uniform */
.wd-social-icons.wd-a6caeb1d .wd-social-icon {
    background-color: #f9f5f0 !important;
    color: #002b49 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

.wd-social-icons.wd-a6caeb1d .wd-social-icon:hover {
    background-color: #002b49 !important;
    color: #ffffff !important;
}

/* Hide platforms you aren't using if you only want Twitter/X, Facebook, LinkedIn */
/* (Uncomment lines below if you want to restrict to specific icons) */
/* 
.wd-social-icons.wd-a6caeb1d .social-pinterest, 
.wd-social-icons.wd-a6caeb1d .social-tg {
    display: none !important;
} 
*/

/* --- Related articles on single Post Grid --- */
/* --- Final Polished Spectra Post Grid Styles --- */

/* Main Container & Header Spacing */
.wp-block-uagb-post-grid.uagb-block-e9837ae3 {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 2rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(0, 43, 73, 0.08) !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
}

/* Force individual item cards to have a clean white background, rounded corners, and soft shadow */
.wp-block-uagb-post-grid.uagb-block-e9837ae3 .uagb-post__inner-wrap {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 43, 73, 0.04) !important;
    padding: 20px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    overflow: hidden !important;
}

/* Fix Featured Image cropping so it is never cut off (Full width, auto height, no crop) */
.wp-block-uagb-post-grid.uagb-block-e9837ae3 .uagb-post__image {
    position: relative !important;
    background: transparent !important;
    margin-bottom: 1.25rem !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.wp-block-uagb-post-grid.uagb-block-e9837ae3 .uagb-post__image img {
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

/* Clear any lingering grey backgrounds on text wrappers */
.wp-block-uagb-post-grid.uagb-block-e9837ae3 .uagb-post__text,
.wp-block-uagb-post-grid.uagb-block-e9837ae3 .uagb-post__title,
.wp-block-uagb-post-grid.uagb-block-e9837ae3 .uagb-post__excerpt {
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 0.75rem 0 !important;
    position: relative !important;
    transform: none !important;
}

/* Typography: Title Styling */
.wp-block-uagb-post-grid.uagb-block-e9837ae3 .uagb-post__title a {
    font-family: 'Playfair Display', serif !important;
    color: #002b49 !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

.wp-block-uagb-post-grid.uagb-block-e9837ae3 .uagb-post__title a:hover {
    color: #B89D6B !important;
}

/* Typography: Excerpt Styling (Grey text on white background) */
.wp-block-uagb-post-grid.uagb-block-e9837ae3 .uagb-post__excerpt p {
    font-family: 'Montserrat', sans-serif !important;
    color: #4b5563 !important; /* Grey text */
    background-color: #ffffff !important; /* White background */
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}
/* --- Style "CONTINUE READING" Paragraph Block --- */
.single-post .wp-block-wd-paragraph.wd-01812f5e,
.wp-block-wd-paragraph.wd-01812f5e {
    color: #B89D6B !important; /* Pulse Gold */
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.75rem !important; /* Smaller text size */
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-bottom: 0.25rem !important; /* Pulls it right up close to Related Articles */
}

/* Ensure the main grid container spacing is tight and clean */
.wp-block-uagb-post-grid.uagb-block-e9837ae3 {
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
}
/* --- Remove bottom margin specifically for this paragraph block --- */
.single-post .wp-block-wd-paragraph.wd-01812f5e {
    margin-bottom: 0 !important;
}

/* --- Remove top margin specifically for this title block --- */
.single-post .wp-block-wd-title.wd-21fa0ced {
    margin-top: 0 !important;
}

/* --- Neutralize Spectra Card Overlay Mask --- */
.wp-block-uagb-post-grid.uagb-block-e9837ae3 .uagb-post__inner-wrap::before {
    display: none !important;
    content: none !important;
    background: transparent !important;
}
/* --- Custom Pulse Blog Tags Styling --- */

/* Main tags wrapper layout */
.wd-single-post-tags-list.wd-cfcd181a {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 2rem 0 !important;
}

/* Dynamically inject the "TAGS:" text label on the left */
.wd-single-post-tags-list.wd-cfcd181a::before {
    content: "TAGS:" !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    color: #002b49 !important;
    margin-right: 4px !important;
}

/* Fix inner tags list container */
.wd-single-post-tags-list .wd-tags-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
}

/* Style individual tag pills */
.wd-single-post-tags-list .wd-tags-list a {
    background-color: #ffffff !important;
    color: #4b5563 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding: 8px 20px !important;
    border-radius: 50px !important; /* Full pill shape */
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 4px 12px rgba(0, 43, 73, 0.03) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* Hover state switching to brand gold/navy */
.wd-single-post-tags-list .wd-tags-list a:hover {
    background-color: #002b49 !important;
    color: #ffffff !important;
    border-color: #002b49 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 43, 73, 0.08) !important;
}


/* --- Container Background & Padding --- */
.wp-block-uagb-container.uagb-block-7daa910f, 
.wp-block-container {
    background-color: #002b49 !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 10px 30px rgba(0, 43, 73, 0.08) !important;
}

/* --- 50/50 Layout Split for Newsletter Banner --- */
.wp-block-uagb-container.uagb-block-7daa910f > .uagb-container-inner-blocks-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    width: 100% !important;
}

/* Force each column (text and form) to take up 50% width */
.wp-block-uagb-container.uagb-block-1c632e64,
.wp-block-uagb-container.uagb-block-cc3cc119 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    margin: 0 !important;
}
/* --- Force White Text for Banner Paragraph --- */
.single-post .wp-block-wd-paragraph.wd-4d7625ec,
.wp-block-wd-paragraph.wd-4d7625ec {
    color: #ffffff !important;
}

/* --- Default Layout Spacing --- */
:is(.wd-entry-content,.entry-content,.is-layout-flow,.is-layout-constrained,.is-layout-constrained>.wp-block-group__inner-container)>:where(*:last-child) {
    margin-bottom: 0;
}

:is(.wd-entry-content,.entry-content,.is-layout-flow,.is-layout-constrained,.is-layout-constrained>.wp-block-group__inner-container)>* {
    margin-block: 0 var(--wd-block-spacing);
}

/* --- Ensure Form Items Stay in a Single Horizontal Row --- */
#sib_form {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Make each field share the space equally */
#sib_form p.sib-email-area, 
#sib_form p.sib-FIRSTNAME-area, 
#sib_form p:has(input[type="submit"]) {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.8rem !important;
    color: #ffffff !important;
}

/* --- Input Fields & Gold Border Hover Effect --- */
#sib_form input[type="text"], 
#sib_form input[type="email"] {
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    margin-top: 6px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Gold Border Hover & Focus State */
#sib_form input[type="text"]:hover, 
#sib_form input[type="email"]:hover,
#sib_form input[type="text"]:focus, 
#sib_form input[type="email"]:focus {
    outline: none !important;
    border-color: #B89D6B !important;
    box-shadow: 0 0 8px rgba(184, 157, 107, 0.25) !important;
}

/* --- Subscribe Button Styling (Pulse Gold Pill) --- */
#sib_form .sib-default-btn {
    background-color: #B89D6B !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    min-height: 48px !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 22px !important;
}

#sib_form .sib-default-btn:hover {
    background-color: #a38858 !important;
}@media (max-width: 576px) {
	/* Fixing the button collision and layout stacking on mobile viewports */

@media (max-width: 768px) {
/* 1. Force the side-by-side buttons to stack vertically instead of colliding */
.wd-slider .wd-slide-actions,
.wd-slider .wrap-buttons,
.wd-slide .wd-slide-actions,
.wd-slide .slide-buttons {
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
gap: 12px !important;
width: 100% !important;
margin-top: 15px !important;
}

/* Standardise the button styling for stacked mobile layouts */
.wd-slider .wd-slide-actions a,
.wd-slider .wrap-buttons a,
.wd-slide-actions .btn,
.wd-slide .slide-buttons a {
    width: 80% !important;
    max-width: 280px !important;
    min-width: 240px !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* STREAMING_CHUNK: Enhancing mobile typography and text contrast */

/* 2. Scale down typography and protect readability over complex background skin tones */
.wd-slider .wd-slide-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4) !important; /* Soft light shadow under dark text to pop it off the skin background */
}

.wd-slider .wd-slide-title em,
.wd-slider .wd-slide-title strong {
    text-shadow: none !important; /* Keep italic brand words clean */
}

/* Custom protection for the small body description text */
.wd-slider .wd-slide-text,
.wd-slider .wd-slide-desc,
.wd-slider .wd-slide-content p,
.wd-slider .wd-slide-content div {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #111111 !important; /* High-contrast dark charcoal */
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.7) !important; /* Generates a soft, invisible halo background behind text to preserve flawless contrast */
}

/* STREAMING_CHUNK: Shifting background focus point to clear the left side */

/* 3. Shift the background image so the model's face is moved slightly to the right, leaving the left text clear */
.wd-slider .wd-slide-bg {
    background-position: right 25% center !important; /* Keeps the model visible on the right while giving the text a clean white-sheet backdrop */
}


}
@media (max-width: 1024px) {
    /* Target WoodMart's custom Gutenberg columns, sticky modifiers, and any unique scoped classes */
    .wp-block-wd-column,
    .wd-sticky-on-lg,
    [class*="wd_sticky_offset_"],
    [class*="wd-b3b1"], /* Targets your exact dynamic block identifier pattern */
    .wp-block-column,
    .wp-block-columns,
    .uagb-column,
    .wd-sticky-column {
        position: relative !important;
        top: 0 !important;
        transform: none !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

@media (max-width: 768px) {
    .pulse-ajax-sidebar.wd-portfolio-element {
        flex-direction: column !important;
    }
    .pulse-ajax-sidebar .portfolio-filter {
        width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 24px !important;
        position: relative !important;
        top: 0 !important;
    }
    .pulse-ajax-sidebar .wd-projects,
    .pulse-ajax-sidebar .portfolio-footer,
    .pulse-ajax-sidebar .wd-loop-footer {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }
}



/* ==========================================================================
   6. MOBILE OVERLAP & MASONRY COLLAPSE FIX (UNDER 767PX)
   ========================================================================== */
@media (max-width: 767px) {
    /* Force the main portfolio grid container to hold its height natively */
    .pulse-ajax-sidebar .wd-projects,
    .pulse-ajax-sidebar .portfolio-element {
        display: block !important;
        height: auto !important;
        position: relative !important;
    }

    /* Force the masonry cards to drop absolute positions and stack naturally */
    .pulse-ajax-sidebar .portfolio-entry,
    .pulse-ajax-sidebar .masonry-item {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        margin-bottom: 24px !important; /* Creates a clean gap between individual awards */
        transform: none !important;
    }

    /* Prevent the CTA content beneath from overlapping your cards */
    .pulse-ajax-sidebar .portfolio-footer,
    .pulse-ajax-sidebar .wd-loop-footer {
        width: 100% !important;
        max-width: 100% !important;
        clear: both !important;
        margin-top: 30px !important;
    }
}

/* ==========================================================================
   PULSE PODCAST MOBILE RESPONSIVE FIXES (UNDER 767PX)
   ========================================================================== */
@media (max-width: 767px) {
    
    /* 1. Fix Heading Letter/Line Collision (image_ec6d80.png) */
    .pulse-pod-heading,
    h1.wp-block-heading,
    .title-subtitle h1 {
        line-height: 1.2 !important;
        font-size: 28px !important;
        letter-spacing: normal !important;
        margin-bottom: 20px !important;
    }

    /* 2. Contain SoundCloud Frame and Outer Cards (image_ec6dba.png) */
    .pulse-pod-card {
        padding: 20px !important; /* Slightly more compact for small screens */
        height: auto !important;
        margin-bottom: 24px !important;
    }
    
    .pulse-pod-card iframe,
    .pulse-pod-card .wp-block-embed {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 3. Re-stabilize Playlist Layout & Clear Overlaps (image_ec7080.png & image_ec70a5.png) */
    /* Force Gutenberg Columns to stay clear of each other */
    .wp-block-columns,
    .wp-block-column {
        position: relative !important;
        height: auto !important;
        display: block !important;
        width: 100% !important;
        clear: both !important;
    }

    /* Isolate the custom playlist container to hold its structure naturally */
    .pulse-pod-playlist {
        max-height: none !important; /* Let it expand naturally or scroll nicely without clipping items */
        overflow-y: visible !important;
        padding-right: 0 !important;
        margin-bottom: 40px !important; /* Forces the CTA block below it to back away */
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* Fix individual item sizing inside the stacked view */
    .pulse-pod-list-item {
        width: 100% !important;
        box-sizing: border-box !important;
        background-color: #ffffff !important; /* Gives items their own clean background card on mobile */
        border: 1px solid #f3f4f6 !important;
        box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
    }

    /* 4. Fix Call to Action Block Push-down */
    /* Targets the WoodMart HTML block or generic section below the playlist grid */
    .wp-block-group,
    .wd-html-block,
    div[class*="start-your-skin-plan"] {
        margin-top: 40px !important;
        position: relative !important;
        clear: both !important;
    }
}
/* Mobile responsive fallback: fold it into 1 column on small phone screens */
 {
    .gallery {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}
}

