/* Containerul Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding-bottom: 50px;
    width: 100%; /* Important: ocupă toată lățimea containerului */
    box-sizing: border-box;
}

/* Stilul Cardului */
.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: #00bfff;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
    background: rgba(255, 255, 255, 0.07);
}

/* Imaginea din Card */
.blog-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #00bfff;
    color: #000;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Textul din Card */
.blog-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-info small {
    color: #00bfff;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.blog-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.3;
}

.blog-info .excerpt {
    color: #ccc;
    line-height: 1.5;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

/* --- NOUL LINK NEON (În loc de butonul vechi) --- */
.neon-link {
    display: inline-block;
    margin-top: 10px;
    color: #008ebf; /* Albastru bază */
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 142, 191, 0.3);
    width: fit-content;
    text-shadow: 0 0 5px rgba(0, 191, 255, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.neon-link:hover {
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 1), 0 0 5px #fff;
    border-bottom-color: #00bfff;
    transform: translateX(5px); /* Se mișcă puțin la dreapta, sugerează direcția */
}

/* Statisticile și Butoanele de acțiune */
.blog-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #888;
}

.stat-item i {
    color: #00bfff;
    margin-right: 5px;
}

.stat-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.action-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.like-btn:hover {
    color: #ff4757;
    text-shadow: 0 0 10px rgba(255, 71, 87, 0.6);
}

.share-btn:hover {
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
}
  

.view-all-btn {
    padding: 12px 35px;
    background: transparent;
    border: 2px solid #00bfff;
    color: #00bfff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.view-all-btn:hover {
    background: #00bfff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

/* Containerul pentru titlu */
.title-wrapper {
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
}

.modern-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #fff;
    margin: 0;
    /* Un reflex subtil pe text */
    background: linear-gradient(to bottom, #00bfff 50%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.3));
}

/* Linia neon de sub titlu */
.title-underline {
    height: 3px;
    width: 60%; /* Nu e pe tot titlul, e doar pe centru, arată mai elegant */
    background: linear-gradient(90deg, transparent, #00bfff, transparent);
    margin: 10px auto 0;
    box-shadow: 0 0 15px #00bfff;
    border-radius: 2px;
}

/* Subtitlul stilizat */
.section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
    margin-top: 20px;
}
