/**
 * E-Paper Homepage Stylesheet
 * 100% Responsive, Minimalist, Optimized for Fast Rendering
 */

/* Hero Section (Today's Edition) */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e0e0e0; /* Shorthand border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 30px auto;
    max-width: 1200px;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 25px;
}

.btn-read-now {
    display: inline-block;
    background: #0d47a1;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-read-now:hover {
    background: #002171;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #dddddd;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Archives Section */
.archive-section {
    max-width: 1200px;
    margin: 40px auto;
}

.section-title {
    font-size: 1.8rem;
    color: #333333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d47a1; /* Shorthand border */
    display: inline-block;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.archive-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.archive-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.archive-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    border-bottom: 1px solid #eeeeee;
}

.archive-info {
    padding: 15px;
    text-align: center;
}

.archive-info h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.archive-info span {
    font-size: 0.9rem;
    color: #777777;
}

/* Responsive Breakpoints */
@media screen and (max-width: 992px) {
    .hero-section {
        padding: 30px;
        gap: 20px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    .archive-card img {
        height: 300px;
    }
}