/* Custom Premature Ejaculation Banner Component Style */
.wp-custom-pe-banner {
    position: relative;
    padding: 60px 20px 100px 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.wp-custom-pe-banner .pe-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Typography Elements */
.wp-custom-pe-banner .pe-banner-title {
    font-size: 2.2rem;
    color: #1a5c68; /* Core deep teal */
    margin: 0 0 24px 0;
    font-weight: 600;
    line-height: 1.2;
}

.wp-custom-pe-banner .pe-banner-description {
    font-size: 0.98rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Accent Call To Action */
.wp-custom-pe-banner .pe-banner-btn {
    display: inline-flex;
    align-items: center;
    background-color: #d95300; /* Core orange theme */
    color: #ffffff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.25s ease, transform 0.15s ease;
}

.wp-custom-pe-banner .pe-banner-btn:hover {
    background-color: #b84600;
}

.wp-custom-pe-banner .pe-btn-arrow {
    margin-left: 12px;
    font-size: 1.4rem;
    line-height: 1;
    position: relative;
    top: -1px;
}

/* Image Presentation Mask */
.wp-custom-pe-banner .pe-banner-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.07);
    aspect-ratio: 16 / 10;
}

.wp-custom-pe-banner .pe-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bottom Right Rounded Canvas Inversion Detail */
.wp-custom-pe-banner .pe-banner-corner-curve {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: #ffffff; /* Matches layout page backdrop color */
    border-top-left-radius: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Desktop Flex Layout Adjustments */
@media (min-width: 768px) {
    .wp-custom-pe-banner {
        padding: 80px 40px;
    }
    
    .wp-custom-pe-banner .pe-banner-container {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 65px;
    }

    .wp-custom-pe-banner .pe-banner-corner-curve {
        width: 100px;
        height: 100px;
    }
}
