/* =========================
        BLOG HERO
========================= */

.blog-hero {
    margin-top: 120px;
    padding: 0 7%;
    margin-bottom: 50px;
}

.blog-hero-container {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    min-height: 350px;
}

.blog-hero-text {
    flex: 1;
    padding: 50px;
}

.blog-hero-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--hover-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-hero-text p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    max-width: 90%;
}

.blog-hero-image {
    flex: 1;
    height: 100%;
    min-height: 350px;
    background-image: url('asset/img/uaeimg.jpg');
    background-size: cover;
    background-position: center;
}

/* =========================
        FEATURED ARTICLE
========================= */

.featured-article {
    padding: 0 7%;
    margin-bottom: 60px;
}

.featured-card {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.featured-image {
    flex: 1;
    min-height: 300px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content .blog-card-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.featured-content .blog-card-desc {
    font-size: 16px;
    margin-bottom: 25px;
}

/* =========================
        BLOG MAIN & GRID
========================= */

.blog-main {
    padding: 0 7% 80px 7%;
}

.blog-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-category {
    display: inline-block;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    background: rgba(70, 169, 245, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
    align-self: flex-start;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #888;
    font-size: 13px;
    margin-bottom: 20px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
}

/* =========================
        BOTTOM WIDGETS
========================= */

.blog-bottom-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0 7% 80px 7%;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Categories List */
.category-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    padding: 12px 15px;
    background: var(--card-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Help Widget (CTA) */
.help-widget {
    background: linear-gradient(135deg, var(--hover-color), var(--primary-color));
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.help-widget .sidebar-title {
    color: var(--white);
}

.help-widget .sidebar-title::after {
    background: var(--gold-color);
}

.help-widget p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.help-btn {
    display: inline-block;
    background: var(--gold-color);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s ease;
}

.help-btn:hover {
    transform: translateY(-2px);
}

/* =========================
        RESPONSIVE
========================= */

@media(max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-hero-container {
        flex-direction: column;
    }
    
    .blog-hero-image {
        width: 100%;
        min-height: 250px;
    }

    .featured-card {
        flex-direction: column;
    }

    .blog-bottom-widgets {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-hero-text h1 {
        font-size: 32px;
    }
    
    .blog-hero {
        margin-top: 100px;
    }
    
    .category-list {
        grid-template-columns: 1fr;
    }
}
