/* THE NAVY BLUE HERO BOX */
.featured-issue-box {
    background: linear-gradient(135deg, #112A46 0%, #1a4a7c 100%) !important;
    border-radius: 20px;
    padding: 3rem !important;
    color: white !important;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* THE GRID CONTAINER */
#swabhimani-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 25px !important;
    padding: 20px 0;
}

/* THE MAGAZINE CARD */
.mag-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mag-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.mag-img-container {
    display: block;
    width: 100%;
    height: 280px; /* Standardized height for FlipHTML5 look */
    overflow: hidden;
    background: #f8f9fa;
}

.mag-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* BOLD BLACK TITLES */
.mag-title {
    padding: 12px 10px 5px 10px;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #000000 !important;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mag-info {
    padding: 0 12px 12px 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mag-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    margin-top: 5px;
}

.mag-author {
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
}

.download-icon-btn {
    color: #112A46;
    font-size: 16px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.download-icon-btn:hover {
    transform: scale(1.2);
    color: #ffc107 !important;
}