/* Quote Section Styles - Matching Original SVG Design */

.quote-section {
    position: relative;
    width: 100%;
    min-height: 280px;
    padding: 40px 4rem;
    /* Standardized 40px top/bottom for 80px total between sections */
    margin: 0;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    z-index: 10;
    box-sizing: border-box;
}


.quote-container {
    display: flex;
    flex-wrap: nowrap;
    /* Keep elements on same row */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    padding-right: 20px;
    min-height: 180px;
    /* Fixed minimum height to prevent jumping */
}

/* Quote marks SVG - left side, hanging off top, LOCKED position */
.quote-marks-container {
    position: relative;
    align-self: flex-start;
    margin-top: -70px;
    flex-shrink: 0;
    flex-grow: 0;
    width: 80px;
    /* Fixed width */
}

.quote-marks-svg {
    width: 80px;
    height: auto;
}

/* Legacy text quote marks - hide */
.quote-marks {
    display: none;
}

/* Quote content - centered, flexible text area */
.quote-content {
    flex: 1;
    text-align: center;
    min-width: 0;
    /* Allow text to shrink */
    max-width: 750px;
    /* Increased from 600px to allow one-liners */
}

.quote-text {
    font-family: 'Sui Generis', Georgia, serif;
    font-size: 1.6rem;
    font-style: italic;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Image container - right side, LOCKED position */
.quote-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-grow: 0;
    width: 170px;
    /* Fixed width for image + name */
    position: relative;
    /* Added for absolute positioning of social links */
}

/* SVG Image frame with angled corners */
.quote-image-frame-svg {
    width: 150px;
    height: 165px;
}

.quote-image-frame-svg svg {
    width: 100%;
    height: 100%;
}

/* Legacy frame - keep for fallback */
.quote-image-frame {
    position: relative;
    width: 150px;
    height: 165px;
    border: 2px solid;
    border-image: linear-gradient(180deg, #FD724C 0%, #EF405C 100%) 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.quote-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-name {
    font-family: 'Xirod', sans-serif;
    font-size: 0.9rem;
    color: #FD724C;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
    max-width: 170px;
    /* Match container width */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.quote-name::before {
    content: "- ";
}

/* Social Media Links - Centered under the name */
.quote-section .quote-social-links {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 8px !important;
    z-index: 100 !important;
}

.quote-section .social-icon-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    color: #FD724C !important;
    transition: all 0.3s ease !important;
    border-radius: 4px !important;
}

.quote-section .social-icon-link svg {
    width: 32px !important;
    height: 32px !important;
}

.social-icon-link:hover {
    color: #ffffff;
    filter: drop-shadow(0 0 12px rgba(253, 114, 76, 0.9));
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .quote-section {
        height: auto;
        min-height: 450px;
        padding: 40px 1rem;
        /* Maintain standardized 40px on mobile */
        margin: 0;
    }

    .quote-container {
        flex-direction: column;
        gap: 30px;
    }

    .quote-marks-container {
        margin-top: -50px;
        align-self: flex-start;
    }

    .quote-marks-svg {
        width: 60px;
    }

    .quote-text {
        font-size: 1.2rem;
    }

    .quote-image-frame {
        width: 120px;
        height: 130px;
    }

    /* Social links - horizontal on mobile */
    .quote-social-links {
        position: static;
        /* Reset absolute positioning for mobile flow */
        flex-direction: row;
        margin-left: 0;
        margin-top: 15px;
        gap: 15px;
    }
}

/* Website Divider Section - Responsive Single SVG */
.website-divider-section {
    width: 100%;
    background: transparent;
    margin: 0;
    padding: 40px 5%;
    /* Standardized 40px top/bottom for 80px total between sections */
    display: flex;
    justify-content: center;
    overflow: visible;
    min-height: 40px;
}

.website-divider-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    justify-content: center;
}

/* Ensure SVG fills the container and is VISIBLE */
.website-divider-svg {
    width: 100%;
    height: auto;
    display: block !important;
    opacity: 1 !important;
    overflow: visible;
    max-height: 60px;
}

/* Override for Process Card Text in SVG - Force Resize per user request */
#VEXML-Process .text-style-5 {
    font-size: 34px !important;
}

/* Clean up unused legacy classes */
.divider-cap,
.divider-center,
.divider-center svg {
    display: none !important;
}

/* Website Divider - Hover Interactive Chase Pattern */
.divider-path-base {
    stroke-dasharray: 2000 0;
    /* Effectively solid */
    transition: stroke-opacity 0.5s ease, stroke-width 0.5s ease, filter 0.5s ease;
}

.website-divider-section {
    cursor: default;
    /* Ensure positioned relative if needed for any absolute children, though SVG is internal */
    position: relative;
}

.website-divider-section:hover .divider-path-base {
    /* Hover effect disabled in favor of scroll animation */
    stroke-opacity: 0.7;
    stroke-width: 2;
    stroke-dasharray: 2000 0;
    animation: none;
    filter: none;
}

/* Active Animation State - Applied via JS Cloning */
.divider-path-active {
    opacity: 0;
    stroke-opacity: 1;
    /* Ensure stroke is visible when element is opaque */
    stroke-width: 4;
    stroke-dasharray: 100 400 60 500 150 300;
    animation: divider-chase 15s linear infinite;
    filter: drop-shadow(0 0 12px rgba(253, 114, 76, 0.5));
    pointer-events: none;
    transition: opacity 0.5s ease;
    fill: none;
    vector-effect: non-scaling-stroke;
    /* Ensure it scales like the base */
}

.website-divider-section:hover .divider-path-active {
    opacity: 1;
}

@keyframes divider-chase {
    from {
        stroke-dashoffset: 3000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 768px) {
    .website-divider-section {
        padding: 40px 2%;
        /* Maintain standardized 40px on mobile */
    }
}