/**
 * Profile Stack Component
 * Styles for the profile stack section.
 */

/* Section Container */
.profile-section {
    max-width: var(--container-max-width, 76.5rem);
    margin: 0 auto;
    background: white;
}

/* Section Heading */
.profile-section .section-heading {
    font-size: clamp(1.75rem, .911rem + 1.751vw, 2.25rem);
    font-weight: 700;
    line-height: 1.125;
    color: #000;
    margin-bottom: 3.5rem;
}

.profile-section .section-heading strong {
    font-weight: inherit;
}

/* Profile Stack Container */
.profile-section .profile-stack {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

/* Individual Profile Block */
.profile-section .profile-block {
    justify-content: space-between;
    display: flex;
    gap: var(--spacing-lg, 40px);
    align-items: flex-start;
}

/* Alternate layout - image on right */
.profile-section .profile-block.reverse {
    flex-direction: row-reverse;
}

/* Profile Image Column */
.profile-section .profile-image {
    flex: 0 0 30%;
    position: relative;
}

.profile-section .image-wrapper-profile {
    position: relative;
    overflow: hidden;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
}

.profile-section .image-wrapper-profile img {
    width: 100%;
    height: auto;
    display: block;
    transform: none !important;
    transition: none !important;
}

.profile-section .image-wrapper-profile img:hover {
    transform: none !important;
}

/* Profile Content Column */
.profile-section .profile-content {
    flex: 0 0 66%;
    display: flex;
    flex-direction: column;
}

/* Profile Title */
.profile-section .profile-title {
    font-size: clamp(1.25rem, 0.95rem + 0.625vw, 1.5rem);
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-xs, 8px);
}

.profile-section .profile-title strong {
    font-weight: inherit;
}

/* Horizontal Rule Separator */
.profile-section .profile-separator {
    border: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0 0 var(--spacing-md, 24px) 0 !important;
}

/* Profile Bio Text */
.profile-section .profile-bio {
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0.1px;
    color: #000;
    margin-top: 0;
    margin-bottom: 0;
}

.profile-section .profile-bio p {
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0.1px;
    color: #000;
    margin-block-start: 1rem;
    margin-block-end: 1rem;
}

.profile-section .profile-bio p:first-child {
    margin-block-start: 0;
}

.profile-section .profile-bio em {
    font-style: italic;
}

/* Inline-prose links standardized via .csrc-rich-text (content-links.css) */

/* Responsive */
@media (max-width: 768px) {
    .profile-section .profile-block,
    .profile-section .profile-block.reverse {
        flex-direction: column;
    }

    .profile-section .profile-image,
    .profile-section .profile-content {
        flex: 1;
        width: 100%;
    }

    .profile-section .profile-stack {
        gap: 4rem;
    }
}

@media (max-width: 580px) {
    .profile-section .profile-stack {
        gap: 3rem;
    }
}
