/* Reset some default styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Georgia', serif;
    background-color: #e6ecf0;
    color: #333;
    display: flex;
    justify-content: center;
    padding: 2rem; /* Removed full screen centering */
}

/* Card-style container */
.container {
    width: 100%;
    max-width: 550px;
    background-color: #fff;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: auto; /* Ensures the height adjusts to content */
}

.header h1 {
    font-size: 1.4rem;
    color: #005a87;
    margin-bottom: 0.3rem;
	text-align:center;
}

.header .date {
    font-size: 0.85rem;
    color: #888;
	text-align:center;
}

.devotional-content {
    font-size: 0.95rem;
    color: #444;
    line-height: 0.9;
    padding: 0.75rem;
    background-color: #f9f9f9;
    border-left: 4px solid #005a87;
    border-radius: 8px;
    white-space: pre-wrap;
    height: auto;
}

.back-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #005a87;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    text-align: center;
    width: fit-content;
    align-self: center;
}

.back-button:hover {
    background-color: #0073aa;
}


.footer {
    text-align: center;
    font-size: 0.75rem;
    color: #aaa;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .header h1 {
        font-size: 1.2rem;
		align-items:center;
    }

    .devotional-content {
        font-size: 0.8rem;
		text-align:justify;
		 line-height: 0.9;
    }
}
