/*
You can add your own CSS here.

Click the help icon above to learn more.
*/

[Modal-Window id="3"]

/* Ensure the parent cover block allows absolute positioning */
.wp-block-cover {
    position: relative !important;
}

/* Floating box: Absolute for desktop, relative for smaller screens */
.floating-box {
    position: absolute !important;  /* Works for large screens */
    margin-top: -180px !important;
/* Adjust overlap */
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(255, 255, 255, 1) !important;
    padding: 30px !important;
    width: 60% !important;
    max-width: 600px !important;
    text-align: center !important;
    border-radius: 10px !important; /* Rounded edges */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2) !important; /* Subtle shadow */
    z-index: 10 !important; /* Ensures it appears above background */
}

/* Mobile (Up to 767px) */
@media (max-width: 767px) {
    .floating-box {
        position: relative !important; /* Allow normal positioning */
        width: 80% !important;
        padding: 20px !important;
        bottom: 0 !important; /* Remove negative bottom overlap */
        margin-top: -80px !important; /* Space it out */
    }
}

/* Tablet Fix (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1050px) {
    .floating-box {
        position: relative !important; /* Switch to relative positioning */
        width: 70% !important;
        bottom: 0 !important; /* Remove forced overlap */
        margin-top: -80px !important; /* Add spacing */
    }
}

/* Desktop: Ensure enough space to prevent footer overlap */
@media (min-width: 1025px) {
    .wp-block-cover {
        margin-bottom: 120px !important; /* Only apply large margin on desktops */
    }
}




/* Import the Caveat font */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600&display=swap');

/* 📌 1. Structure for the entire section */
.postcard-section {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Makes both columns equal in height */
    gap: 10px;
    padding: 50px 0;
}

/* 📌 2. Structure for the columns */
.postcard-column {
    flex: 3 !important; /* Keeps it at 75% width */
    display: flex;
    align-items: flex-start !important; /* Aligns the note at the top instead of centering it */
    height: auto !important; /* Prevents it from stretching unnecessarily */
}

	
/* 📌 4. Postcard Note (Cover Block) */
.postcard-note {
    background: #FDFDCB !important;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.15);
    padding: 40px !important;
    text-align: left;
    width: 100% !important; /* Forces the note to take full width of its column */
    border: 2px solid #e3c28d !important;
 max-width: 100% !important; /* Prevents unnecessary restriction */
    display: block !important; /* Prevents flexbox from centering it */
    flex-direction: column;
    justify-content: center;
}


/* 📌 5. Handwritten Font for the Message (Inside the Note) */
.postcard-note p {
    font-family: 'Caveat', cursive !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    color: #3d3d3d; /* Dark gray for better contrast */
}

/* 📌 6. Right Column: Ensure images match note height */
.postcard-images {
    flex: 1 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* ✅ Ensures even spacing */
    align-items: center;
    height: 100%; /* ✅ Adjusts dynamically */
    max-height: 100%; /* ✅ Prevents images from running too long */
}

/* 📌 7. Make all images dynamically scale */
.tilted-image {
    width: auto; /* ✅ Allows images to scale naturally */
    max-width: 100%; /* ✅ Ensures images don’t exceed container width */
    height: 100%; /* ✅ Forces images to scale within the column */
    max-height: 24vh; /* ✅ Ensures 4 images fit within the height */
    flex-grow: 1; /* ✅ Allows them to evenly distribute */
    object-fit: contain; /* ✅ Prevents cropping */
    border-radius: 8px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

/* 📌 8. Alternating Tilts for All Images */
.tilted-image:nth-child(1) {
    transform: rotate(-3deg);
}

.tilted-image:nth-child(2) {
    transform: rotate(5deg);
}

.tilted-image:nth-child(3) {
    transform: rotate(-4deg);
}

.tilted-image:nth-child(4) {
    transform: rotate(6deg);
}

/* 📌 9. Mobile Adjustments */
@media (max-width: 768px) {
    .postcard-section {
        flex-direction: column; /* Stack note and images */
        align-items: center;
    }

    .postcard-images {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap; /* Ensures images don’t get squeezed */
        width: 100%;
    }

    .tilted-image {
        width: 48%; /* Ensures they fit in a grid layout */
        height: auto; /* Allow images to adjust height naturally */
    }
}


/* Style for the opportunity section */
.opportunity-section {
    background: #f8f5f0; /* Light background for contrast */
    padding: 60px 20px;
    text-align: center;
}

/* Styling the main heading */
.opportunity-section h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333; /* Dark text for readability */
}

/* Styling the selling points */
.opportunity-section .wp-block-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.opportunity-section .wp-block-column {
    text-align: left;
}

.opportunity-sectionCTA {
		border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.15);
    padding: 20px !important;
    width: 100% !important; /* Forces the note to take full width of its column */
    border: 2px solid #e3c28d !important;
 max-width: 100% !important; /* Prevents unnecessary restriction */
    display: block !important; /* Prevents flexbox from centering it */
    flex-direction: column;
    justify-content: center;
	  
    
}

.SalesPointsBox {
border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.15);
    padding: 20px !important;
    width: 100% !important; /* Forces the note to take full width of its column */
    border: 2px solid #f8f5f0 !important;
 max-width: 100% !important; /* Prevents unnecessary restriction */