footer {
    flex-shrink: 0;
    background: white;
    color: #222;
    padding: 16px;
    text-align: center;
    border-top: 1px solid #eee;
}

.article-container {
    max-width: 900px;
    margin: 8rem auto 4rem;
    background: #fff;
    border-radius: 4px;
    font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.entry-header {
    text-align: center;
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.entry-meta {
    font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.entry-meta span.author {
    color: #007bff;
    font-weight: 600;
}

.featured-image-wrapper {
    margin-bottom: 3rem;
    text-align: center;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: justify;
}

.wp-block-heading {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.aligncenter {
    display: block;
    margin: 2rem auto;
    text-align: center;
}

.wp-element-caption {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.truncate {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.truncate.full {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
}

.explore-btn {
    /* background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    border: none; */
    background: transparent;
    color: #0d6efd;
    border: 1px solid #0d6efd;
    padding: 10px 40px;
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-left: 18rem;
}

.button-group {
    display: inline-flex;
    gap: 12px;
}

.explore-btn:hover {
    /* background: transparent;
    color: #0d6efd;
    border: 1px solid #0d6efd; */
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    border: none;
}

.btn-secondary {
    background: transparent;
    color: #0d6efd;
    border: 1px solid #0d6efd;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 6px 14px rgba(13, 110, 253, 0.35);
}

.login-modal {
    background: #fff;
    width: 380px;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin: 15% auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
}

.login-modal h3 {
    margin-bottom: 10px;
}

.login-modal p {
    color: #555;
    font-size: 14px;
}

.modal-actions {
    margin-top: 25px;
}

.insc-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
}

#viewInscriptionReadBtn {
    text-decoration: underline;
    color: #007bff;
    cursor: pointer;
    display: inline-block;
    font-size: 1.50rem;
    font-weight: 600;
}

#viewInscriptionReadBtn:hover {
    color: #0056b3;
}

.author-section {
    clear: both;
    display: flex;
    width: 100%;
    margin-top: 3rem;
    padding-top: 2rem;
}

.author-bio h4 {
    color: #333;
    text-transform: none;
}

@media (max-width: 576px) {
    .author-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-image {
        margin-bottom: 15px;
    }
}

.program-card {
    padding: 15px;
    background: #fff;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card h4 {
    font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
    margin-top: 10px;
    color: #2c3e50;
}

.program-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.author-section {
    clear: both;
    display: flex;
    width: 100%;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.container {
    min-height: 40vh;
    margin-top: 2rem !important;
    margin-bottom: 0rem !important;
}
@media (max-width: 768px) {
     .login-modal {
        width: 90%;
        max-width: 360px;
        padding: 30px;
        border-radius: 10px;
        margin: 65% auto;
    }
    .article-container {
       margin: 10rem 15px 2rem !important; 
        padding-top: 10px;
        position: relative;
        z-index: 1;
    }
    
    .entry-header {
        display: block !important;
        visibility: visible !important;
    }

    .entry-title {
        font-size: 1.8rem;
        line-height: 1.2;
        font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
        margin-top: 0;
    }

    .entry-content {
        font-size: 1.05rem;
        line-height: 1.6;
        text-align: left;
        padding: 0 5px;
    }


    .wp-block-heading {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }

    .featured-image-wrapper {
        margin-bottom: 1.5rem;
    }

    .featured-image {
        border-radius: 0;
        box-shadow: none;
    }

    footer {
        padding: 20px 10px;
        font-size: 0.9rem;
    }

    .explore-btn {
        width: 60%;
        max-width: 180px;
        display: inline-block;
        color: #0d6efd !important;
        border: 1px solid #0d6efd !important;
        margin-left: 0rem;
    }

    .explore-btn:hover {
        background: linear-gradient(135deg, #0d6efd, #0a58ca) !important;
        color: #fff;
        border: none;
    }

    .explore-btn:active {
        background: linear-gradient(135deg, #0d6efd, #0a58ca);
        color: #fff;
        border: none;
    }


    .entry-meta {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
    }
}