/**
 * About Second Section Block Styles
 * 
 * @package ACF Child Theme
 */

/* Section Wrapper - Full width white background */
.about-second-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Background Wrapper - Full width white background */
.about-second-section .ass-background-wrapper {
    background-color: var(--color-white, #ffffff);
    width: 100%;
    padding: 60px 0;
}

/* Content Container - Standard width */
.about-second-section .block-container {
    max-width: var(--theme-normal-container-max-width, 1290px);
    width: var(--theme-container-width, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid Layout */
.about-second-section .ass-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

/* Left Column - Image */
.about-second-section .ass-image-column {
    display: flex;
    align-items: center;
    background-color: var(--color-white, #ffffff);
}

.about-second-section .ass-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.about-second-section .ass-image-wrapper img {
    width: 100%;
    object-fit: cover;
}

/* Show desktop image on desktop, hide on mobile */
.about-second-section .ass-image-desktop {
    display: block;
}

.about-second-section .ass-image-mobile {
    display: none;
}

/* Right Column - Content with secondary background */
.about-second-section .ass-content-column {
    background-color: var(--color-secondary, #f9f6f1);
    display: flex;
    align-items: center;
    padding: 60px 80px;
}

.about-second-section .ass-content-wrapper {
    width: 100%;
    color: var(--color-text, #252525);
}

/* Title */
.about-second-section .ass-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-text, #252525);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Title Underline Accent */
.about-second-section .ass-title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--color-primary, #b2762a);
    margin-bottom: 30px;
}

/* Description */
.about-second-section .ass-description {
    margin-bottom: 30px;
}

.about-second-section .ass-description p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 1.5em;
    color: var(--color-text, #252525);
}

.about-second-section .ass-description p:last-child {
    margin-bottom: 0;
}

.about-second-section .ass-description strong {
    font-weight: 600;
}

.about-second-section .ass-description em {
    font-style: italic;
}

/* Signature */
.about-second-section .ass-signature {
    margin-bottom: 15px;
}

.about-second-section .ass-signature img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Founder */
.about-second-section .ass-founder-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text, #252525);
    margin: 0;
    font-weight: 500;
}

.about-second-section .ass-founder-title p {
    margin-bottom: 10px;
}

/* Founder and Logo Container */
.about-second-section .ass-founder {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.about-second-section .ass-founder p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text, #252525);
    margin: 0;
    font-weight: 500;
    flex: 1;
}

/* Logo */
.about-second-section .ass-logo {
    margin: 0;
    flex-shrink: 0;
}

.about-second-section .ass-logo img {
    max-width: 120px;
    height: auto;
    display: block;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .about-second-section .ass-content-column {
        padding: 50px 60px;
    }
    
    .about-second-section .ass-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .about-second-section .ass-description p {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .about-second-section .ass-background-wrapper {
        padding: 40px 0;
    }
    
    .about-second-section .ass-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Show mobile image on mobile, hide desktop */
    .about-second-section .ass-image-desktop {
        display: none;
    }
    
    .about-second-section .ass-image-mobile {
        display: block;
    }
    
    .about-second-section .ass-image-column {
        order: 1;
        min-height: 300px;
    }
    
    .about-second-section .ass-content-column {
        padding: 40px 30px;
        order: 2;
    }
    
    .about-second-section .ass-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .about-second-section .ass-description {
        margin-bottom: 25px;
    }
    
    .about-second-section .ass-description p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 1.2em;
    }
    
    .about-second-section .ass-signature img {
        max-width: 160px;
    }
    
    .about-second-section .ass-founder {
        gap: 15px;
    }
    
    .about-second-section .ass-logo img {
        max-width: 70px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .about-second-section .ass-background-wrapper {
        padding: 30px 0;
    }
    
    .about-second-section .ass-content-column {
        padding: 30px 20px;
    }
    
    .about-second-section .ass-image-column {
        min-height: 250px;
    }
    
    .about-second-section .ass-title {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .about-second-section .ass-description p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .about-second-section .ass-signature img {
        max-width: 140px;
    }
    
    .about-second-section .ass-founder {
        gap: 12px;
    }
    
    .about-second-section .ass-founder p {
        font-size: 13px;
    }
    
    .about-second-section .ass-logo img {
        max-width: 60px;
    }
}

/* Editor Styles */
.wp-block[data-type="acf/about-second-section"] {
    margin: 0;
}
