.devotionals-container {
    max-width: 850px;
    margin: 50px auto;
    font-family: 'Arial', sans-serif;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.devotional h2 {
    font-size: 30px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.devotional .date {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 16px;
}

.devotional .content {
    font-size: 20px;
    line-height: 1.8;
    color: #444;
    text-align: left;
    margin-top: 20px;
}

.image-container {
    text-align: center;
    margin-bottom: 20px;
}

.featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    width: 100%;
    gap: 12px;
}

.pagination a {
    text-decoration: none;
    padding: 12px 18px;
    background: #218838;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.pagination a:hover {
    color: #218838;
    background: white;
    text-decoration: none;
    box-shadow: inset 0px 0px 3px 1px #218838;
}

.pagination-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-grow: 1;
}

/* Keep "First" and "Last" close to the page numbers */
.pagination-center .first,
.pagination-center .last {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    min-width: 80px;
}

.page-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.page-numbers a {
    padding: 8px 12px;
    background: white;
    color: #28a745;
    border: 1px solid #28a745;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.page-numbers a:hover,
.page-numbers a.active {
    background: #28a745;
    color: white;
}

.page-numbers .dots {
    color: #888;
    font-size: 14px;
    padding: 0 5px;
}

/* Ensure "Next" is always on the left */
.pagination .next, .pagination .prev {  
    padding: 12px 18px;
    font-size: 16px;
    font-weight: bold;
    min-width: 125px;
}

.pagination .next {
    order: -1;  
}

/* Ensure "Previous" is always on the right */
.pagination .prev {
    order: 2;    
}


.pagination .disabled {
    visibility: hidden;
    /* width: 100px; */
}

.return-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background: #dc3545;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
}

.return-button:hover {
    background: #c82333;
}

.no-posts {
    font-size: 22px;
    color: #888;
    text-align: center;
    margin-top: 50px;
}

.share-container {
    margin-top: 30px;
    text-align: center;
}

.share-container h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border: 2px solid green;
    border-radius: 50%;
    background: white;
    color: green;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.share-btn:hover {
    background: green;
    color: white;
}

.share-btn i {
    pointer-events: none; /* Prevents click on icon instead of button */
}
