/* ========================================
   MOBILE BOOK NOW BUTTON CENTERING
   ======================================== */
@media (max-width: 768px) {

    /* Center the Book Now button */
    .appointment-text.btn.red,
    a.appointment-text.btn.red {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        width: fit-content !important;
        max-width: 90% !important;
    }
}

/* ========================================
   MOBILE SUBSCRIPTION FORM RESPONSIVE
   ======================================== */
@media (max-width: 768px) {

    /* Fix container padding for proper centering - 10px on both sides */
    .startpt-subscribe .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Stack subscription form and text vertically */
    .startpt-subscribe-wrapper {
        display: flex !important;
        flex-direction: column-reverse !important;
        align-items: stretch !important;
        gap: 1.5rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Center the text content */
    .startpt-subscribe-content {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Make form full width */
    .startpt-subscribe-form {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Ensure form row stacks properly */
    .startpt-subscribe-wrapper .form-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Make inputs and button full width with no extra margins */
    .startpt-name-input,
    .startpt-email-input,
    .startpt-subscribe-btn {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

/* ========================================
   MOBILE BLOG TITLE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {

    /* Reduce featured blog title size on mobile */
    .modern-featured-post h2,
    .modern-featured-post .post-title-link,
    .featured-post-content h2 {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
    }

    /* Reduce regular blog card title size on mobile */
    .modern-post-card h3,
    .modern-post-card .post-title-link,
    .post-card-content h3 {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }

    /* Blog details page - banner title */
    .inner-banner-wrapper h1,
    .inner-banner h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    /* Blog details page - post title */
    .post-header .post-title,
    .blog-post-detail .post-title,
    .post-header h1 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }

    /* General blog title fallbacks */
    .blog-card h3,
    .blog-card-title,
    .blog-title,
    .card-title {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }

    /* For larger blog titles */
    .blog-card h2,
    .blog-header h1,
    .blog-post-title {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
    }
}