/* --- SPEC Style Blog Section --- */
.blog-spec-style {
    background-color: #ffffff;
    padding: 80px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.spec-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
}

/* Category Pills */
.category-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.cat-pill {
    background-color: #eef7fd;
    color: #2e8bc0;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.cat-pill.active, .cat-pill:hover {
    background-color: #2e8bc0;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(46, 139, 192, 0.3);
}

/* --- Spec Style Full Card --- */
.spec-full-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.spec-full-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.spec-img-wrap {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.spec-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spec-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.spec-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
    font-weight: 500;
}

.spec-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    flex-grow: 1;
}
.spec-text {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}
.spec-footer {
    margin-top: auto;
}

.spec-readmore {
    font-size: 15px;
    font-weight: 700;
    color: #2e8bc0;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.spec-readmore:hover {
    color: #1a365d;
    border-bottom: 2px solid #1a365d;
}

/* Responsive */
@media (max-width: 768px) {
    .spec-title { font-size: 17px; }
}

/* Responsive */
@media (max-width: 768px) {
    .spec-main-title { font-size: 24px; }
    .cat-pill { font-size: 12px; padding: 6px 14px; }
}

.category-item {
    transition: all 0.4s ease;
}

.category-item.hide {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}

.category-item.show {
    display: block;
    opacity: 1;
    transform: scale(1);
}
.spec-title a:hover {
    color: #2e8bc0 !important; 
    transition: 0.3s;
}

.spec-img-wrap {
    display: block;
    cursor: pointer;
}

.blog-search-wrap .form-control:focus {
    box-shadow: none;
    background-color: #fcfcfc;
}

.blog-search-wrap .input-group {
    transition: 0.3s;
}

.blog-search-wrap .input-group:focus-within {
    border-color: #2e8bc0 !important;
    box-shadow: 0 0 15px rgba(46, 139, 192, 0.2) !important;
}