/* css/inheritance.css */

.page-header-inheritance {
    padding: 6rem 8%;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/inheritance1.jpg') no-repeat center center/cover;
    color: var(--white);
}

.page-header-inheritance h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header-inheritance p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255,255,255,0.85);
}

.content-section {
    max-width: 1100px;
    margin: 5rem auto;
    text-align: center;
}
.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    color: var(--heading-color);
}
.content-section .section-intro {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    line-height: 1.8;
}

.profiles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.profile-card {
    background: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}
.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.profile-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}


.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    overflow: hidden;
    border: 4px solid var(--accent-color);
}
.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card h3 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}
.profile-card .title {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 1rem;
}
.profile-card p {
    font-size: 0.95rem;
} 