/* Calendar Page Styles */
.jumbotron {
    position: relative;
    padding: 100px 0;
    margin-bottom: 0;
    background-position: center;
    background-size: cover;
}

.jumbotron .page-title {
    color: #fff;
    font-size: 8rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
    position: relative;
    top: -20px;
    line-height: 1;
}

/* Content Spacing */
.container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.calendar-page-spacer {
    height: 40px;
    width: 100%;
}

.calendar-intro-section {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.calendar-intro-section h1 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    color: #2C3338;
}

.calendar-intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Editor content styles */
.calendar-intro-content h2 {
    font-size: 2.5rem;
    color: #2C3338;
    margin-bottom: 24px;
    line-height: 1.2;
}

.calendar-intro-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #4A5568;
    margin-bottom: 32px;
}

.calendar-intro-content .wp-block-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 32px;
}

.calendar-intro-content .wp-block-button {
    margin: 0;
}

.calendar-intro-content .wp-block-button__link {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #E65C2E;
    color: white;
    border: 2px solid #E65C2E;
}

.calendar-intro-content .wp-block-button__link:hover {
    background-color: #D04D22;
    border-color: #D04D22;
    transform: translateY(-2px);
}

.calendar-intro-content .is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: #E65C2E;
    border: 2px solid #E65C2E;
}

.calendar-intro-content .is-style-outline .wp-block-button__link:hover {
    background-color: rgba(230, 92, 46, 0.1);
    transform: translateY(-2px);
}

#calendar-container {
    margin-top: 40px;
}

/* Enhanced Mobile Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .jumbotron {
        padding: 60px 0;
        position: relative;
    }

    .jumbotron::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
        z-index: 1;
    }

    .jumbotron .page-title {
        font-size: 4.5rem;
        top: 0;
        position: relative;
        z-index: 2;
        text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
        padding: 0 20px;
        margin: 0 auto;
        max-width: 100%;
        word-break: break-word;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.1;
        white-space: normal;
    }

    .calendar-intro-section h1 {
        font-size: 2.5rem;
    }
    
    .calendar-intro-content {
        margin: 0 15px 60px;
        padding: 30px 20px;
    }
    
    .calendar-intro-content h2 {
        font-size: 2rem;
    }
    
    .calendar-intro-content .wp-block-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .calendar-intro-content .wp-block-button {
        width: 100%;
    }
    
    .calendar-intro-content .wp-block-button__link {
        width: 100%;
        text-align: center;
    }

    #calendar-container {
        margin-top: 30px;
    }
}

/* Additional breakpoint for very small devices */
@media (max-width: 480px) {
    .jumbotron {
        padding: 40px 0;
    }

    .jumbotron .page-title {
        font-size: 3.5rem;
        padding: 0 15px;
        word-break: break-word;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.1;
        white-space: normal;
    }
}

/* Calendar specific styles */

/* Enhanced title wrapping for mobile */
@media (max-width: 768px) {
    .jumbotron .page-title {
        /* Force breaking of long words */
        word-break: break-all;
        overflow-wrap: anywhere;
        /* Ensure proper line height for readability */
        line-height: 1.1;
        /* Allow natural word breaks where possible */
        word-wrap: break-word;
        /* Prevent text from overflowing */
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .jumbotron .page-title {
        /* Even more aggressive breaking for very small screens */
        word-break: break-all;
        overflow-wrap: anywhere;
        font-size: 3rem;
        line-height: 1.1;
    }
} 