/* ============================================
   TEACHERS PAGE SPECIFIC STYLES
   ============================================ */

/* Teachers Page Hero - Full width background image */
div.about-page-header.about-theravada-header {
    background-image: url('/images/Teacher/our-teacher-contact.jpeg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    width: 100%;
}

/* Teacher Card - Font Size for Name */
.teacher-card-clickable h3 {
    font-size: 1.5rem;
}

/* Teacher Card Clickable Behavior */
.teacher-card-clickable {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teacher-card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Teacher Contact Link - Prevent Event Bubbling */
.teacher-contact a,
.teacher-profile-link {
    position: relative;
    z-index: 10;
}

/* Ensure proper interaction hierarchy */
.teacher-actions {
    position: relative;
    z-index: 10;
}

.teacher-contact {
    position: relative;
    z-index: 10;
}

/* Show full teacher images without cropping on index cards */
.three-column-grid .column-image-wrapper {
    background: #fff;
}
.three-column-grid .column-image-wrapper img {
    object-fit: contain !important;
    object-position: center;
}

/* Teachers Page CTA Section - Replace background image, show full image without cropping */
.shra-cta::before {
    background-image: url('/images/Teacher/our-teacher-contact.jpeg') !important;
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.25 !important;
    background-color: #ffffff !important;
}

/* Let CTA section grow with content on teachers page, no fixed height limit */
.shra-cta {
    padding: 120px 0;
}

/* Make CTA section h2 smaller on teachers page */
.shra-cta .cta-text-section .section-header h2 {
    font-size: 1.5rem;
}
