/* ================= AI TOOLS HERO SECTION ================= */

.ai-tools-hero {
    padding: 60px 8%;
    background: #f4f7fb;
}

.ai-tools-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ===== LEFT FEATURED CARD ===== */

.tools-featured-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.tools-featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tools-featured-card:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.featured-overlay h2 {
    font-size: 26px;
    line-height: 1.3;
    margin: 0;
}

/* ===== RIGHT SIDEBAR ===== */

.tools-sidebar {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
}

.sidebar-title {
    font-size: 18px;
    margin-bottom: 20px;
}

.sidebar-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sidebar-item img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
}

.sidebar-item h4 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.sidebar-item:hover {
    transform: translateX(5px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .ai-tools-container {
        grid-template-columns: 1fr;
    }

    .tools-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {

    .featured-overlay {
        padding: 25px 20px;
    }

    .featured-overlay h2 {
        font-size: 20px;
    }

    .sidebar-item img {
        width: 55px;
        height: 55px;
    }
}
/* ================= ALL AI TOOLS BLOGS ================= */

.all-ai-tools-section {
    padding: 70px 8%;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: auto;
}

/* ===== SECTION HEADER ===== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 26px;
}

/* ===== GRID ===== */

.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===== CARD ===== */

.ai-tool-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s ease;
    cursor: pointer;
}

.ai-tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.tool-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.tool-content {
    padding: 20px;
}

.tool-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.tool-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* ===== META ===== */

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #777;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-info img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.read-time {
    font-size: 13px;
}

/* ===== LOAD MORE ===== */

.load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.load-more-btn:hover {
    opacity: 0.85;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .ai-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .ai-tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-image img {
        height: 200px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
/* ================= LAYOUT ================= */

.all-ai-tools-section {
    padding: 80px 8%;
    background: #f8fafc;
}

.tools-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ================= LEFT SIDE ================= */

.section-title {
    font-size: 26px;
    margin-bottom: 30px;
}

.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */

.ai-tool-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s ease;
}

.ai-tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.tool-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tool-content {
    padding: 18px;
}

.tool-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.tool-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.tool-meta {
    font-size: 13px;
    color: #777;
}

/* ================= RIGHT SIDE SPONSOR ================= */

.sponsor-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 35px;
    border-radius: 18px;
    color: #fff;
    position: sticky;
    top: 100px;
}

.sponsor-badge {
    display: inline-block;
    background: #3b82f6;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 20px;
}

.logo-placeholder {
    border: 2px dashed rgba(255,255,255,0.4);
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 500;
    color: #cbd5e1;
}

.sponsor-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.sponsor-box p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.sponsor-btn {
    display: inline-block;
    background: #fff;
    color: #111;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.sponsor-btn:hover {
    background: #e2e8f0;
    transform: translateY(-3px);
}

/* ================= LOAD MORE ================= */

.load-more-wrap {
    margin-top: 40px;
}

.load-more-btn {
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    background: #111;
    color: #fff;
    cursor: pointer;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .tools-layout {
        grid-template-columns: 1fr;
    }

    .ai-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsor-box {
        position: relative;
        top: 0;
        margin-top: 50px;
    }
}

@media (max-width: 576px) {

    .ai-tools-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= BREADCRUMB ================= */

.breadcrumb-section {
    padding: 20px 8%;
    background: #f1f5f9;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: auto;
    font-size: 14px;
    color: #64748b;
}

.breadcrumb-container a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    transition: 0.3s ease;
}

.breadcrumb-container a:hover {
    color: #3b82f6;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #94a3b8;
}

.breadcrumb-container .active {
    color: #64748b;
}
