/* Teachings Page Specific Styles */

/* Featured Teaching Hero Section - FIXED */
.featured-teaching-hero,
section.featured-teaching-hero {
    background: linear-gradient(rgba(30, 58, 46, 0.7), rgba(45, 90, 66, 0.7)), url('pictures/pexels-sevenstormphotography-1604849.jpg') !important;
    background-image: linear-gradient(rgba(30, 58, 46, 0.7), rgba(45, 90, 66, 0.7)), url('pictures/pexels-sevenstormphotography-1604849.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    padding: 8rem 2rem 4rem 2rem !important;
    text-align: center !important;
    color: white !important;
    min-height: 80vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    margin-top: 80px !important;
}

/* Remove any conflicting pseudo-elements */
.featured-teaching-hero::before,
.featured-teaching-hero::after,
section.featured-teaching-hero::before,
section.featured-teaching-hero::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
}

/* Ensure no background images are inherited */
.featured-teaching-hero *,
section.featured-teaching-hero * {
    background-image: none !important;
}

.featured-teaching-header {
    margin-bottom: 3rem;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    margin-bottom: 1rem !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    font-weight: 700 !important;
    color: white !important;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem) !important;
    opacity: 0.95 !important;
    line-height: 1.6 !important;
    color: white !important;
}

.featured-teaching-card {
    max-width: 900px !important;
    margin: 0 auto !important;
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 25px !important;
    padding: 3rem !important;
    color: white !important;
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.featured-teaching-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 25px;
}

.featured-teaching-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4) !important;
}

.featured-teaching-card:hover::before {
    opacity: 0.15;
}

.featured-badge {
    position: absolute !important;
    top: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(45deg, #f39c12, #e67e22) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4) !important;
    z-index: 3 !important;
    animation: pulse 2s infinite !important;
}

.featured-badge span {
    color: white !important;
    font-weight: 700 !important;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.featured-content {
    position: relative !important;
    z-index: 2 !important;
}

.featured-title {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.featured-preview {
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
    margin-bottom: 2rem !important;
    opacity: 1 !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

.featured-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    padding: 1rem 2rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.featured-teaching-card:hover .featured-cta {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-3px) !important;
}

.cta-text {
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    color: white !important;
}

.cta-arrow {
    font-size: 1.5rem !important;
    transition: transform 0.3s ease !important;
    color: white !important;
}

.featured-teaching-card:hover .cta-arrow {
    transform: translateX(5px);
}

.featured-decoration {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
    z-index: 1;
}

.decoration-circle {
    width: 150px;
    height: 150px;
    border: 3px solid currentColor;
    border-radius: 50%;
    position: relative;
}

.decoration-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 80px);
}

.teachings-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Introduction Section */
.intro-section {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #1e3a2e;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #27ae60;
    margin: 1rem auto;
    border-radius: 2px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.intro-text p {
    margin-bottom: 1.5rem;
}

/* Back to Top Button */
.back-to-top-button {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-top-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
    background: linear-gradient(45deg, #229954, #27ae60);
}

.back-to-top-button:focus {
    outline: 2px solid #27ae60;
    outline-offset: 2px;
}

/* Writings Section */
.writings-section {
    background: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-header-with-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Reflection Bubbles */
.reflection-bubbles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 1rem;
}

.reflection-bubble {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.reflection-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 18px;
}

.reflection-bubble:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.3);
    border-color: #27ae60;
}

.reflection-bubble:hover::before {
    opacity: 0.1;
}

.reflection-bubble:active {
    transform: translateY(-4px) scale(0.98);
}

.bubble-title {
    font-size: 1.3rem;
    color: #1e3a2e;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.reflection-bubble:hover .bubble-title {
    color: #27ae60;
}

.bubble-preview {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.reflection-bubble:hover .bubble-preview {
    opacity: 1;
}

/* Modal Styles */
.reflection-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.reflection-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.modal-close:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.modal-body {
    padding: 3rem 2rem 2rem;
}

.modal-writing-title {
    font-size: 2rem;
    color: #1e3a2e;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 3px solid #27ae60;
    padding-bottom: 1rem;
}

.modal-writing-content {
    color: #444;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    white-space: pre-line;
}

.modal-writing-verse {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid #27ae60;
    text-align: center;
}

.modal-writing-verse a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.modal-writing-verse a:hover {
    color: #229954;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Writing Cards (backward compatibility) */
.writings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.writing-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #27ae60;
    transition: all 0.3s ease;
    height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.writing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.writing-title {
    font-size: 1.2rem;
    color: #1e3a2e;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
    flex-shrink: 0;
    max-height: 4.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.writing-excerpt {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
    font-size: 0.95rem;
    position: relative;
}

/* Custom scrollbar */
.writing-excerpt::-webkit-scrollbar {
    width: 4px;
}

.writing-excerpt::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.writing-excerpt::-webkit-scrollbar-thumb {
    background: #27ae60;
    border-radius: 2px;
}

.writing-excerpt::-webkit-scrollbar-thumb:hover {
    background: #229954;
}

.writing-verse {
    font-style: italic;
    color: #2d5a42;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    margin-top: 1rem;
    flex-shrink: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.writing-verse a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.writing-verse a:hover {
    color: #229954;
    text-decoration: underline;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #1e3a2e, #2d5a42);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 3rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 L60 35 L85 35 L67 52 L73 77 L50 65 L27 77 L33 52 L15 35 L40 35 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

.cta-button.primary {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
    background: linear-gradient(45deg, #229954, #27ae60);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1550px) {
    .featured-teaching-hero {
        min-height: 70vh !important;
        padding: 3rem 1rem !important;
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem) !important;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 2vw, 1.2rem) !important;
    }

    .featured-teaching-card {
        padding: 2rem !important;
        max-width: 800px !important;
    }

    .featured-title {
        font-size: 2rem !important;
    }

    .featured-preview {
        font-size: 1.1rem !important;
    }

    .intro-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: clamp(1.8rem, 3vw, 2.2rem);
    }

    .intro-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .teachings-content {
        padding: 0 1rem;
    }

    .writings-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }

    .reflection-bubbles-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .reflection-bubble {
        min-height: 180px;
        max-height: 180px;
        padding: 1.5rem;
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
        box-sizing: border-box;
    }

    .bubble-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        min-height: 2.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bubble-preview {
        font-size: 0.9rem;
        flex: 1;
        display: flex;
        align-items: center;
        text-align: center;
        overflow: hidden;
    }

    .modal-content {
        margin: 1rem;
        max-height: 85vh;
        width: calc(100% - 2rem);
    }

    .modal-body {
        padding: 2rem 1rem 1.5rem;
    }

    .modal-writing-title {
        font-size: 1.4rem;
    }

    .modal-writing-content {
        font-size: 1rem;
    }

    .cta-section {
        padding: 3rem 1rem;
        margin: 1rem 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    .section-header-with-button {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .back-to-top-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .featured-teaching-hero {
        min-height: 60vh !important;
        padding: 2rem 1rem !important;
    }

    .featured-teaching-header {
        margin-bottom: 2rem;
    }

    .featured-teaching-card {
        padding: 2rem 1.5rem !important;
        margin: 0 1rem !important;
    }

    .featured-title {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }

    .featured-preview {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .featured-badge {
        top: -8px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem !important;
    }

    .featured-decoration {
        display: none;
    }

    .intro-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .writings-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }

    .reflection-bubbles-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0.5rem;
        justify-items: center;
    }

    .reflection-bubble {
        min-height: 160px;
        max-height: 160px;
        padding: 1.5rem;
        width: 100%;
        max-width: 350px;
        box-sizing: border-box;
    }

    .bubble-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        min-height: 2.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .bubble-preview {
        font-size: 0.9rem;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.4;
        overflow: hidden;
    }

    .modal-content {
        margin: 1rem;
        max-height: 85vh;
    }

    .modal-body {
        padding: 2rem 1.5rem 1.5rem;
    }

    .modal-writing-title {
        font-size: 1.5rem;
    }

    .modal-writing-content {
        font-size: 1rem;
    }

    .writings-grid {
        grid-template-columns: 1fr;
    }
    
    .writing-card {
        height: auto;
        min-height: 300px;
        padding: 1.5rem;
    }
    
    .writing-title {
        font-size: 1.1rem;
    }
    
    .writing-excerpt {
        font-size: 0.9rem;
        max-height: 250px;
    }

    .section-header-with-button {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .back-to-top-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .cta-section {
        padding: 3rem 1rem;
        margin: 1rem 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .featured-teaching-hero {
        min-height: 50vh !important;
        padding: 2rem 0.5rem !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .teachings-content {
        padding: 0 0.5rem;
    }

    .featured-teaching-card {
        padding: 1.5rem 1rem !important;
        margin: 0 0.5rem !important;
    }

    .featured-title {
        font-size: 1.5rem !important;
    }

    .featured-preview {
        font-size: 0.95rem !important;
    }

    .featured-badge {
        top: -6px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 0.4rem 0.8rem !important;
        font-size: 0.7rem !important;
    }

    .writings-section {
        padding: 1.5rem 0.5rem;
    }

    .reflection-bubble {
        min-height: 140px;
        max-height: 140px;
        padding: 1rem;
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }

    .bubble-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        min-height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .bubble-preview {
        font-size: 0.85rem;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.3;
        overflow: hidden;
    }

    .modal-content {
        margin: 0.5rem;
        width: calc(100% - 1rem);
    }

    .modal-body {
        padding: 1.5rem 0.75rem 1rem;
    }

    .modal-writing-title {
        font-size: 1.2rem;
    }

    .intro-text {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta-section {
        padding: 2rem 0.5rem;
    }

    .cta-button {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* For very long titles, add ellipsis */
@media (min-width: 769px) {
    .writing-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        max-height: 2.8rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .featured-teaching-hero,
    .cta-section {
        background: white !important;
        color: black !important;
        -webkit-print-color-adjust: exact;
    }
    
    .section-title {
        color: black !important;
    }
    
    .writing-card {
        height: auto !important;
        box-shadow: none !important;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .cta-buttons,
    .back-to-top-button {
        display: none !important;
    }

    .featured-teaching-card {
        background: white !important;
        color: black !important;
        border: 2px solid #1e3a2e;
    }
}