/* ================= About page ================= */

/* ---- Hero ---- */
.smallpages {
    background-color: #F5F5DC;
    text-align: center;
    padding: clamp(2.5rem, 6vw, 4rem) 1rem;
    border-radius: 0;
    margin: 0;
}

.smallpages > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 5vw, 4rem);
    flex-wrap: wrap;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

.text-container {
    max-width: 560px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.text-container h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1.25rem;
    position: relative;
    line-height: 1.2;
}

.text-container h1::after {
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background-color: var(--tan);
    margin: 0.75rem auto 0;
}

.text-container .explanation {
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: left;
    color: #333;
    margin: 0;
    max-width: 100%;
}

.smallpages img {
    width: min(440px, 100%);
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    object-fit: contain;
}

/* ---- Major events ---- */
.major_events {
    padding: clamp(2.5rem, 6vw, 4rem) 1rem;
    background-color: #FFFFFF;
    text-align: center;
}

.major_events h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2.5rem;
    position: relative;
}

.major_events h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 6px;
    border-radius: 3px;
    background-color: var(--tan);
    margin: 1rem auto 0;
}

.major_events .events-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.major_events .event {
    text-align: center;
    flex: 1 1 220px;
    max-width: 250px;
    background-color: #FBFAFF;
    border: 1px solid #EFE9F6;
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.major_events .event:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.major_events .event img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto 1.25rem;
}

.major_events .event h2 {
    font-size: 1.35rem;
    margin: 0 0 0.6rem;
    color: var(--purple-deep);
}

.major_events .event p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    text-align: center;
}

/* ---- Membership CTA banner ---- */
.membership {
    background: linear-gradient(rgba(28, 18, 48, 0.5), rgba(28, 18, 48, 0.55)),
                url('about_img/about_membership.png') no-repeat center center / cover;
    color: white;
    text-align: center;
    padding: clamp(5rem, 14vw, 10rem) 1rem;
    position: relative;
}

.membership-content {
    max-width: 720px;
    margin: 0 auto;
}

.membership h1 {
    font-size: clamp(2.2rem, 6vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.membership h1::after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--tan);
    margin: 1rem auto 0;
}

.membership p {
    font-size: clamp(1.05rem, 3vw, 1.4rem);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.membership .btn {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    background-color: var(--purple-bright);
    color: white;
    border-radius: 999px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.membership .btn:hover {
    background-color: var(--purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}
