/* ===== Blog Section Wrapper ===== */
:root {
    --ue-blue: #0A4FA3;
    --ue-green: #9AC97A;
    --ue-dark: #2B2F4A;
    --ue-gray: #6B7280;
    --ue-bg: #F8FAFC;
}

/* ===== Blog Card ===== */
.blog-item {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    position: relative;
}

.blog-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgb(59 102 167 / 21%), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    opacity: 1;
}

.blog-item:hover::before {
    opacity: 1;
}

.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* ===== Thumbnail ===== */
.blog-thumb {
    position: relative;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 285px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-item:hover .blog-thumb img {
    transform: scale(1.08);
}

/* ===== Content ===== */
.blog-content {
    padding: 26px 26px 32px;
/*     display: flex; */
/*     flex-direction: column; */
/*     height: auto;          /* IMPORTANT */ */
}

/* ===== Title ===== */
.blog-title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 12px;
}

.blog-title a {
    color: #111827;
    text-decoration: none;
    background-image: linear-gradient(#0d6efd, #0d6efd);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.35s ease;
}

.blog-title a:hover {
    background-size: 100% 2px;
}

/* ===== Meta ===== */
.blog-meta {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 14px;
}

/* ===== Excerpt ===== */
.blog-excerpt {
    font-size: 15px;
    color: #444444;
    line-height: 1.65;
	font-family: 'Roboto', sans-serif;
    margin-bottom: 22px;
    flex-grow: 1;
}

/* ===== Read More ===== */
/* ===== Read More Button ===== */
.read-more {
   font-size: 14px;
    padding: 12px 35px;
    background: linear-gradient(270deg, #7ab51d 0%, #006eab 100%);
    color: #fff;
    cursor: pointer;
    display: inline;
    font-weight: 600;
    border: 0px;
}

.read-more:hover {
    border: 0px;
    color: #fff;
    background: #8cc63f;
}


/* ===== Page Background ===== */

/* ===== Main Blog Card ===== */
.single-blog {
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    position: relative;
}

/* Decorative accent */
.single-blog::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #0d6efd, #0b5ed7);
    border-radius: 18px 0 0 18px;
}

/* ===== Title ===== */
.single-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 12px;
}

/* ===== Meta ===== */
.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 28px;
}

/* ===== Featured Image ===== */
.single-thumb {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}

.single-thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.single-thumb:hover img {
    transform: scale(1.05);
}

/* ===== Content Typography ===== */
.single-content {
    font-size: 17px;
    line-height: 1.85;
    color: #334155;
}

.single-content p {
    margin-bottom: 22px;
}

.single-content h2,
.single-content h3 {
    margin: 36px 0 18px;
    font-weight: 700;
    color: #0f172a;
}

.single-content ul {
    padding-left: 20px;
    margin-bottom: 22px;
}

.single-content li {
    margin-bottom: 10px;
}
/* Restore bullets ONLY in blog content (col-md-8) */
.col-md-8 .single-content ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 22px;
}

.col-md-8 .single-content ol {
    list-style: decimal;
    padding-left: 22px;
    margin-bottom: 22px;
}

.col-md-8 .single-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* ===== Sidebar ===== */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

/* Sidebar Card */
.sidebar-widget {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

/* Sidebar Title */
.widget-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
}

.widget-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #0b5ed7);
    position: absolute;
    left: 0;
    bottom: -8px;
    border-radius: 3px;
}

/* ===== Recent Posts ===== */
.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px dashed #e5e7eb;
}

.recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.recent-posts a {
    display: block;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: #0d6efd;
}

.recent-posts span {
    font-size: 13px;
    color: #64748b;
}
.blog-title a,
.single-title {
    color: var(--ue-dark);
}
.blog-title a:{#444; text-decoration:none;}
.blog-title a:hover {
    color: #00add6;
	text-decoration:none;
}
.single-blog::before {
    background: linear-gradient(
        180deg,
        var(--ue-green),
        var(--ue-blue)
    );
}


/* ===== Responsive ===== */
@media (max-width: 991px) {
    .blog-thumb img {
        height: 220px;
    }
}

@media (max-width: 575px) {
    .blog-content {
        padding: 22px 20px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
    .single-blog {
        padding: 28px;
    }

    .single-title {
        font-size: 26px;
    }

    .blog-sidebar {
        position: static;
        margin-top: 40px;
    }
}

