/*
 Theme Name:   Jannah Child - Hindi Shabdarth
 Theme URI:    https://example.com
 Description:  Jannah ka child theme, Hindi word-meaning site ke liye premium homepage ke sath
 Author:       Unique Definition
 Template:     jannah
 Version:      2.0.0
 Text Domain:  jannah-child
*/

.hsa-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Hero ===== */
.hsa-hero {
    background: #f7f7f5;
    padding: 56px 20px 44px;
    text-align: center;
    margin-bottom: 32px;
}

.hsa-hero h1 {
    margin: 0 0 8px;
    font-size: 34px;
}

.hsa-hero p {
    color: #666;
    font-size: 15px;
    margin: 0 0 24px;
}

.hsa-search-form {
    display: flex;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto;
}

.hsa-search-form input[type="search"] {
    flex: 1;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 14px;
}

.hsa-search-form button {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 0 22px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.hsa-trending {
    margin-top: 16px;
    font-size: 12px;
    color: #999;
}

.hsa-trending a {
    color: #2563eb;
    margin-left: 6px;
    text-decoration: none;
}

/* ===== Category grid ===== */
.hsa-categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

@media (max-width: 782px) {
    .hsa-categories {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hsa-cat-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px 8px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.hsa-cat-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.hsa-cat-card .hsa-cat-icon {
    font-size: 22px;
    display: block;
    margin-bottom: 6px;
}

/* ===== Word of the day ===== */
.hsa-wod {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.hsa-wod-badge {
    display: inline-block;
    background: #e6f0ff;
    color: #1d4ed8;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.hsa-wod h2 {
    margin: 0 0 4px;
    font-size: 24px;
}

.hsa-wod p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.hsa-wod a.hsa-wod-link {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}

/* ===== Recent words grid ===== */
.hsa-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
}

.hsa-recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 782px) {
    .hsa-recent-grid {
        grid-template-columns: 1fr;
    }
}

.hsa-recent-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.15s ease;
}

.hsa-recent-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.hsa-recent-card .hsa-thumb {
    height: 110px;
    background-size: cover;
    background-position: center;
    background-color: #eef2ff;
}

.hsa-recent-card .hsa-card-body {
    padding: 14px;
}

.hsa-recent-card h3 {
    font-size: 15px;
    margin: 0 0 6px;
    font-weight: 500;
    line-height: 1.4;
}

.hsa-recent-card .hsa-date {
    color: #999;
    font-size: 12px;
}

