/* =========================================
SILICON VALLEY INDIA – BLOG INTELLIGENCE HUB
ULTRA PREMIUM SEMICONDUCTOR AI STYLE
========================================= */

.dr1061blog {
    position: relative;
    padding: 90px 20px;
    background:
        radial-gradient(circle at top left, #061428, #020617 60%),
        radial-gradient(circle at bottom right, rgba(0, 229, 255, 0.08), transparent 55%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* ================= NEURAL BACKGROUND GLOW ================= */

.dr1061blog::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.07), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.05), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(120, 120, 255, 0.04), transparent 60%);
    filter: blur(60px);
    animation: blogGlow 14s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes blogGlow {
    0% { transform: scale(1) translateY(0px); }
    100% { transform: scale(1.1) translateY(-25px); }
}

/* ================= HEADER ================= */

.dr1061blog__header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
}

/* TITLE */
.dr1061blog__title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #00e5ff, #7cf6ff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(0,229,255,0.15);
}

/* SUBTITLE */
.dr1061blog__subtitle {
    margin-top: 14px;
    font-size: 1rem;
    color: rgba(203, 213, 225, 0.9);
    line-height: 1.8;
    max-width: 780px;
    margin-inline: auto;
}

/* ================= GRID ================= */

.dr1061blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    perspective: 1200px;
    position: relative;
    z-index: 2;
}

/* ================= CARD ================= */

.dr1061blog__card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(25px) scale(0.98);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* SHOW ANIMATION STATE */
.dr1061blog__card.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ================= CARD HOVER ================= */

.dr1061blog__card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.65),
        0 0 25px rgba(0, 229, 255, 0.12);
}

/* neon sweep effect */
.dr1061blog__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0, 229, 255, 0.1), transparent);
    transform: translateX(-120%);
    transition: 0.8s;
}

.dr1061blog__card:hover::before {
    transform: translateX(120%);
}

/* ================= MEDIA (NO CROPPING SAFE MODE) ================= */

.dr1061blog__media {
    position: relative;
    width: 100%;
    min-height: 200px;
    background: radial-gradient(circle at center, #050b18, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    overflow: hidden;
}

/* IMAGE (NO CROPPING) */
.dr1061blog__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* IMPORTANT FIX */
    border-radius: 12px;
    transition: transform 0.6s ease;
    display: block;
}

/* hover zoom (safe) */
.dr1061blog__card:hover .dr1061blog__img {
    transform: scale(1.05);
}

/* soft glow behind media */
.dr1061blog__media::before {
    content: "";
    position: absolute;
    inset: 25%;
    background: radial-gradient(circle, rgba(0,229,255,0.08), transparent 60%);
    filter: blur(30px);
    z-index: 0;
}

/* ================= CONTENT ================= */

.dr1061blog__content {
    padding: 16px 16px 18px;
    position: relative;
    z-index: 2;
}

/* TITLE INSIDE CARD */
.dr1061blog__content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #00e5ff;
    margin-bottom: 6px;
}

/* CATEGORY / TAG */
.dr1061blog__content h4 {
    font-size: 0.85rem;
    color: #ffd700;
    margin-bottom: 10px;
    font-weight: 500;
}

/* DESCRIPTION */
.dr1061blog__content p {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.95);
    line-height: 1.6;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .dr1061blog {
        padding: 65px 15px;
    }

    .dr1061blog__title {
        font-size: 2.2rem;
    }

    .dr1061blog__grid {
        gap: 18px;
    }
}