/**
 * About Section Styles
 * 
 * @package Custom Theme
 */

/* Base About Section */
.about {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.about__bg {
    position: absolute;
    inset: 0;
    background-image: var(--about-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}

.about__inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 72px 24px;
}

.about__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Typography */
.about__title {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 16px;
    position: relative;
    display: inline-block;
}

.about__underline {
    display: block;
    height: 4px;
    width: 140px;
    background: #000;
    border-radius: 2px;
    margin-top: 8px;
}

.about__subtitle {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 20px;
}

.about__body {
    font-size: 18.5px;
    line-height: 1.6;
    color: #111;
}

.about__body strong {
    font-weight: 800;
}

/* WYSIWYG Content Styling */
.about__body.wysiwyg p {
    margin: 0 0 1.2em;
}

.about__body.wysiwyg p:last-child {
    margin-bottom: 0;
}

.about__body.wysiwyg a {
    color: #0073aa;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.about__body.wysiwyg a:hover {
    border-bottom-color: #0073aa;
}

.about__body.wysiwyg a:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Media/Image */
.about__media {
    justify-self: end;
}

.about__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

/* Reveal Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .about__media {
        justify-self: stretch;
    }
}

@media (max-width: 600px) {
    .about__inner {
        padding: 56px 18px;
    }
    
    .about__title {
        font-size: 40px;
    }
    
    .about__subtitle {
        font-size: 24px;
    }
    
    .about__body {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .about__inner {
        padding: 40px 16px;
    }
    
    .about__title {
        font-size: 32px;
        text-align: left;
    }
    
    .about__underline {
        margin: 8px 0 0;
    }
    
    .about__subtitle {
        font-size: 22px;
        text-align: left;
    }
    
    .about__body {
        font-size: 16px;
        text-align: left;
    }
    
    .about__grid {
        gap: 24px;
    }
    
    .about__image {
        border-radius: 20px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        transition: none;
        transform: none !important;
        opacity: 1 !important;
    }
}
