/* =========================================================
   Blog Section Base
   ========================================================= */
#blogs-section {
    font-family: 'Fira Code', monospace;
    color: #3a3838;
    padding: 0 5%;
}

#blogs-section h1 {
    font-size: 2em;
    text-align: center;
    color: #2e2e2e;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   Grid Layout
   ========================================================= */
.blogs-gallery-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .blogs-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .blogs-gallery-grid {
        grid-template-columns: repeat(3, 30%);
    }
}

/* =========================================================
   Blog Card (3D Depth)
   ========================================================= */
.blogs-item {
    position: relative;
    width: 100%;
    min-height: 250px;
    padding: 15px;
    background: linear-gradient(180deg, rgb(0 230 255 / 13%) 0%, rgb(17 19 23 / 0%) 100%);
    border-radius: 12px;
    /* border: 1px solid rgba(0, 0, 0, 0.06); */
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease,
        box-shadow 0.25s ease;
}
.blogs-item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.12),
        0 20px 40px rgba(0, 0, 0, 0.10);
}

/* =========================================================
   Blog Image
   ========================================================= */
.blogs-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   Blog Text
   ========================================================= */
.blogs-item h2 {
    font-size: 1.5em;
    margin: 12px 0 8px;
    color: #1f2937;
}

.blogs-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #4b5563;
    padding: 0 10px 10px;
}

/* =========================================================
   Read More Button (Pressable 3D)
   ========================================================= */
.blogs-read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 26px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: #407562;
    text-decoration: none;
    background: linear-gradient(180deg, #0a3430 0%, #04060b 100%);
    border-radius: 999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease,
        box-shadow 0.2s ease;
}

.blogs-read-more:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.blogs-read-more:active {
    transform: translateY(1px);
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.25),
        inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   Text Content Links
   ========================================================= */
.blogs-text-content a {
    color: #407562;
    text-decoration: none;
}

.blogs-text-content a:hover {
    font-weight: 600;
    text-decoration: underline;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   Profile Picture
   ========================================================= */
.blogs-profile-picture {
    flex: 0 0 200px;
}

.blogs-profile-picture img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   Mobile Adjustments
   ========================================================= */
@media (max-width: 768px) {
    .blogs-profile-picture {
        order: -1;
        margin-bottom: 20px;
        border-radius: 50%;
    }

    .blogs-text-content {
        padding-right: 0;
    }
}

/* =========================================================
   Blog Area
   ========================================================= */
#blog_area {
    background: #04060b;
    padding: 20px 0;
}