.hero {
    position: relative;
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-about {
    background-image: url('/lib/img/about/aboutHero.webp');
}

.hero-overlay {
    width: 100%;
    padding: 280px 10% 198px 10%;
    color: white;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
}

    .hero-overlay h1 {
        margin: 0 0 12px 0;
        font-size: 3.2rem;
        line-height: 1.1;
    }

    .hero-overlay p {
        margin: 0;
        font-size: 1.2rem;
        max-width: 700px;
        line-height: 1.5;
    }
.about-section {
    width: 100%;
    padding: 70px 20px;
}

.about-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-welcome-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 40px;
    align-items: start;
}

.about-welcome-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.about-welcome-text h2 {
    margin: 0 0 10px;
    font-size: 2rem;
}

.about-welcome-text h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.about-welcome-meta {
    margin: 0 0 22px;
    font-weight: 600;
    opacity: 0.8;
}

.about-welcome-lead {
    margin: 0 0 22px;
    line-height: 1.5;
}

.about-welcome-text p {
    margin: 0 0 18px;
    line-height: 1.75;
}

@media (max-width: 900px) {
    .about-welcome-grid {
        grid-template-columns: 1fr;
    }
}

.about-tradition .about-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-tradition-header {
    text-align: center;
    margin-bottom: 36px;
}

    .about-tradition-header h2 {
        margin: 0 0 10px;
        font-size: 2rem;
    }

    .about-tradition-header h3 {
        margin: 0;
        font-size: 1.2rem;
        opacity: 0.88;
        font-weight: 500;
    }

.about-tradition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 40px;
}

.about-tradition-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.about-tradition-text p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-tradition-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about-tradition-card {
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

    .about-tradition-card h4 {
        margin: 0 0 14px;
        font-size: 1.2rem;
    }

    .about-tradition-card p {
        margin: 0;
        line-height: 1.75;
    }

@media (max-width: 900px) {
    .about-tradition-grid,
    .about-tradition-cards {
        grid-template-columns: 1fr;
    }
}

.about-history .about-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-history-header {
    text-align: center;
    margin-bottom: 36px;
}

    .about-history-header h2 {
        margin: 0;
        font-size: 2rem;
    }

.about-history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 42px;
}

.about-history-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.about-history-date {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.about-history-intro h3 {
    margin: 0 0 16px;
    font-size: 1.5rem;
}

.about-history-intro p {
    margin: 0 0 18px;
    line-height: 1.8;
}

.about-history-founder {
    font-weight: 600;
    opacity: 0.92;
}

.about-history-timeline {
    display: grid;
    gap: 18px;
}

.about-history-item {
    border-left: 4px solid rgba(255,255,255,0.28);
    padding: 14px 0 14px 18px;
    background: rgba(255,255,255,0.06);
    border-radius: 0 10px 10px 0;
}

    .about-history-item p {
        margin: 0;
        line-height: 1.75;
    }

@media (max-width: 900px) {
    .about-history-grid {
        grid-template-columns: 1fr;
    }
}

.about-wedding .about-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-wedding-header {
    text-align: center;
    margin-bottom: 36px;
}

    .about-wedding-header h2 {
        margin: 0 0 10px;
        font-size: 2rem;
    }

    .about-wedding-header h3 {
        margin: 0;
        font-size: 1.2rem;
        opacity: 0.9;
        font-weight: 500;
    }

.about-wedding-grid,
.about-wedding-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 40px;
}

.about-wedding-media img,
.about-wedding-secondary-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.about-wedding-block {
    margin-bottom: 24px;
}

    .about-wedding-block h4 {
        margin: 0 0 12px;
        font-size: 1.2rem;
    }

    .about-wedding-block p {
        margin: 0 0 14px;
        line-height: 1.75;
    }

.about-wedding-arrangements {
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

    .about-wedding-arrangements h3 {
        margin: 0 0 16px;
    }

    .about-wedding-arrangements ul {
        margin: 0 0 18px 20px;
        padding: 0;
    }

    .about-wedding-arrangements li {
        margin-bottom: 10px;
        line-height: 1.6;
    }

    .about-wedding-arrangements p {
        margin: 0;
        line-height: 1.75;
    }

.about-wedding-other-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about-wedding-other-card {
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

    .about-wedding-other-card h4 {
        margin: 0 0 12px;
        font-size: 1.15rem;
    }

    .about-wedding-other-card p {
        margin: 0;
        line-height: 1.75;
    }

@media (max-width: 900px) {
    .about-wedding-grid,
    .about-wedding-secondary,
    .about-wedding-other-cards {
        grid-template-columns: 1fr;
    }
}

.about-baptism .about-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-baptism-header {
    text-align: center;
    margin-bottom: 36px;
}

    .about-baptism-header h2 {
        margin: 0;
        font-size: 2rem;
    }

.about-baptism-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 40px;
}

.about-baptism-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.about-baptism-text h3 {
    margin: 0 0 16px;
    font-size: 1.4rem;
}

.about-baptism-text p {
    margin: 0 0 16px;
    line-height: 1.8;
}

.about-baptism-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about-baptism-card {
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

    .about-baptism-card h4 {
        margin: 0 0 12px;
        font-size: 1.15rem;
    }

    .about-baptism-card p {
        margin: 0 0 14px;
        line-height: 1.75;
    }

        .about-baptism-card p:last-child {
            margin-bottom: 0;
        }

@media (max-width: 900px) {
    .about-baptism-grid,
    .about-baptism-cards {
        grid-template-columns: 1fr;
    }
}

.about-confirmation .about-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-confirmation-header {
    text-align: center;
    margin-bottom: 36px;
}

    .about-confirmation-header h2 {
        margin: 0;
        font-size: 2rem;
    }

.about-confirmation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 40px;
}

.about-confirmation-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.about-confirmation-intro p {
    margin: 0;
    line-height: 1.8;
}

.about-confirmation-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about-confirmation-card {
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

    .about-confirmation-card h3 {
        margin: 0 0 14px;
        font-size: 1.2rem;
    }

    .about-confirmation-card p {
        margin: 0 0 14px;
        line-height: 1.75;
    }

        .about-confirmation-card p:last-child {
            margin-bottom: 0;
        }

@media (max-width: 900px) {
    .about-confirmation-grid,
    .about-confirmation-cards {
        grid-template-columns: 1fr;
    }
}

.about-staff .about-section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.about-staff-header {
    text-align: center;
    margin-bottom: 36px;
}

    .about-staff-header h2 {
        margin: 0;
        font-size: 2rem;
    }

.about-staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-staff-card {
    background: rgba(255,255,255,0.10);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
}

.about-staff-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.about-staff-body {
    padding: 22px;
}

    .about-staff-body h3 {
        margin: 0 0 8px;
        font-size: 1.25rem;
    }

.about-staff-role {
    margin: 0 0 14px;
    font-weight: 600;
    opacity: 0.9;
}

.about-staff-contact {
    margin-bottom: 16px;
}

    .about-staff-contact p {
        margin: 0 0 8px;
    }

    .about-staff-contact a {
        color: inherit;
        text-decoration: underline;
    }

.about-staff-bio p {
    margin: 0 0 14px;
    line-height: 1.7;
}

    .about-staff-bio p:last-child {
        margin-bottom: 0;
    }

@media (max-width: 1100px) {
    .about-staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .about-staff-grid {
        grid-template-columns: 1fr;
    }
}

.about-welcome-media img,
.about-tradition-media img,
.about-baptism-media img,
.about-confirmation-media img {
    width: 600px;
    max-width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.circle {
    width: 200px; /* Set the width */
    height: 200px; /* Set the height */
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image fits within the circle */
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}

.paging {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-bottom: 20px;
}

    .paging button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        background: linear-gradient(145deg, #c8a96a, #a8843a);
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.25);
        transition: all 0.2s ease;
    }

        .paging button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 14px rgba(0,0,0,0.35);
            background: linear-gradient(145deg, #d6b97a, #b89545);
        }

        .paging button:active {
            transform: scale(0.95);
        }

.card-deck .btn,
.card-deck a.btn,
.card-deck .view-profile-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #8b6f47, #b79a6a);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.28);
    transition: all 0.25s ease;
}

    .card-deck .btn:hover,
    .card-deck a.btn:hover,
    .card-deck .view-profile-btn:hover {
        background: linear-gradient(135deg, #a4875b, #c7ab79);
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.34);
        color: #ffffff;
        text-decoration: none;
    }

    .card-deck .btn:active,
    .card-deck a.btn:active,
    .card-deck .view-profile-btn:active {
        transform: translateY(0);
        box-shadow: 0 3px 8px rgba(0,0,0,0.22);
    }

.carousel {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

    .carousel-track .card-deck {
        flex: 0 0 auto;
    }

.about-section {
    scroll-margin-top: 100px;
}

.about-admin-actions {
    margin-top: 24px;
}

.about-admin-button {
    margin-bottom: 20px;
}