/*
Theme Name: solidplus
Author: www.solidplus3d.com
Author URI: https://www.solidplus3d.com
Version: 1.0
 */

 #mega-menu-wrap-header-menu #mega-menu-header-menu
 {
    text-align: left;
    padding: 1% 5% !important;
}

h4.mega-block-title{
	border-bottom: 1px solid #b4b4b4 !important;
	padding:5px;
}

.footer-copy a{
	color:#fff !important;
}

.footer-copy a:hover{
	color:#2575fc !important;
}

/* ============================================================
   BLOG — Archive cards & Single post  (SolidPlus3D theme)
   Fonts: Inter + Plus Jakarta Sans (loaded in header.php)
   ============================================================ */

/* ---- Global blog font override ---- */
.news-area, .news-area *, .blog-1, .blog-1 *,
.blog-wrapper, .blog-wrapper *, .sp-blog-card, .sp-blog-card * {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ---- section padding ---- */
.section-padding      { padding: 90px 0; }
@media (max-width:991px){ .section-padding { padding: 60px 0; } }
@media (max-width:767px){ .section-padding { padding: 50px 0; } }

/* ============================================================
   BLOG ARCHIVE — BREADCRUMB BANNER
   ============================================================ */
.sp-blog-banner {
    position: relative;
    background: linear-gradient(135deg, #020842 0%, #0B6EDA 50%, #3FB5FD 100%);
    padding: 80px 0 70px;
    overflow: hidden;
    margin-bottom: 0;
}
.sp-blog-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.sp-blog-banner .container { position: relative; z-index: 2; }
.sp-blog-banner h1 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -1px;
    line-height: 1.15;
}
.sp-blog-banner .sp-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.sp-blog-banner .sp-breadcrumb li {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.75);
}
.sp-blog-banner .sp-breadcrumb li a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s;
}
.sp-blog-banner .sp-breadcrumb li a:hover { color: #fff; }
.sp-blog-banner .sp-breadcrumb li i { font-size: 10px; color: rgba(255,255,255,.5); }

/* ============================================================
   BLOG ARCHIVE — CARD GRID
   ============================================================ */
.sp-blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(11,110,218,.08);
    border: 1px solid rgba(11,110,218,.07);
    transition: transform .32s cubic-bezier(.25,.46,.45,.94),
                box-shadow .32s cubic-bezier(.25,.46,.45,.94);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sp-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11,110,218,.18);
}

/* --- Thumbnail --- */
.sp-blog-thumb {
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
    background: #e9f1ff;
}
.sp-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.sp-blog-card:hover .sp-blog-thumb img { transform: scale(1.07); }

/* Gradient overlay on thumb */
.sp-blog-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,8,66,.45) 0%, transparent 55%);
    pointer-events: none;
    transition: opacity .3s;
}
.sp-blog-card:hover .sp-blog-thumb::after { opacity: .75; }

/* --- Date badge --- */
.sp-blog-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    color: #fff;
    border-radius: 12px;
    padding: 8px 14px;
    text-align: center;
    line-height: 1;
    min-width: 54px;
    z-index: 3;
    box-shadow: 0 6px 18px rgba(11,110,218,.4);
}
.sp-blog-date .day {
    display: block;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
}
.sp-blog-date .mon {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 3px;
    opacity: .9;
}

/* --- Category pill --- */
.sp-blog-cat {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 3;
}
.sp-blog-cat a {
    display: inline-block;
    background: rgba(255,255,255,.92);
    color: #0B6EDA !important;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .8px;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background .2s, color .2s;
    border: 1px solid rgba(63,181,253,.3);
}
.sp-blog-cat a:hover {
    background: #0B6EDA;
    color: #fff !important;
}

/* --- Card body --- */
.sp-blog-body {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* --- Meta row --- */
.sp-blog-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.sp-blog-meta li {
    font-size: 12.5px;
    color: #6b7280;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}
.sp-blog-meta li i { color: #3FB5FD; font-size: 12px; }

/* --- Title --- */
.sp-blog-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 12px;
    letter-spacing: -.3px;
}
.sp-blog-title a { color: #020842; text-decoration: none; transition: color .22s; }
.sp-blog-title a:hover { color: #0B6EDA; }

/* --- Excerpt --- */
.sp-blog-excerpt {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
    flex: 1;
}

/* --- Read More button --- */
.sp-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0B6EDA !important;
    padding: 10px 22px;
    border: 2px solid #0B6EDA;
    border-radius: 50px;
    text-decoration: none !important;
    transition: background .25s, color .25s, border-color .25s, transform .2s;
    align-self: flex-start;
    margin-top: auto;
    letter-spacing: .2px;
}
.sp-read-more:hover {
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    border-color: transparent;
    color: #fff !important;
    transform: translateX(3px);
}
.sp-read-more i { font-size: 12px; transition: transform .25s; }
.sp-read-more:hover i { transform: translateX(4px); }

/* --- No posts --- */
.sp-no-posts {
    text-align: center;
    padding: 80px 20px;
    color: #6b7280;
}
.sp-no-posts i { font-size: 56px; color: #3FB5FD; margin-bottom: 20px; display: block; }
.sp-no-posts h3 { font-size: 26px; margin-bottom: 10px; color: #020842; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.main-sidebar .single-sidebar-widget {
    background: #fff;
    border-radius: 18px;
    padding: 28px 26px;
    margin-bottom: 28px;
    border: 1px solid rgba(11,110,218,.08);
    box-shadow: 0 2px 14px rgba(11,110,218,.06);
}
.main-sidebar .single-sidebar-widget:last-child { margin-bottom: 0; }

.main-sidebar .wid-title {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e9f1ff;
    position: relative;
}
.main-sidebar .wid-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #3FB5FD, #0B6EDA);
    border-radius: 2px;
}
.main-sidebar .wid-title h3 {
    font-size: 17px;
    font-weight: 800;
    color: #020842;
    margin: 0;
    letter-spacing: -.2px;
}

/* Search */
.search_widget form {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e9f1ff;
    transition: border-color .2s;
}
.search_widget form:focus-within { border-color: #3FB5FD; }
.search_widget form input {
    flex: 1;
    padding: 11px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #020842;
}
.search_widget form button {
    width: 50px;
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: opacity .2s;
}
.search_widget form button:hover { opacity: .85; }

/* Categories */
.widget_categories ul { padding: 0; margin: 0; list-style: none; }
.widget_categories ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 16px;
    background: #f5f9ff;
    color: #020842 !important;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .22s;
}
.widget_categories ul li a:hover {
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    color: #fff !important;
    border-color: transparent;
}
.widget_categories ul li a::after { display: none; }
.widget_categories ul li a span {
    background: rgba(11,110,218,.1);
    color: #0B6EDA;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
    position: static;
    height: auto;
    line-height: normal;
    width: auto;
}
.widget_categories ul li a:hover span {
    background: rgba(255,255,255,.2);
    color: #fff;
}

/* Recent posts */
.popular-posts .single-post-item,
.popular_posts .single-post-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f5ff;
}
.popular-posts .single-post-item:last-child,
.popular_posts .single-post-item:last-child {
    padding-bottom: 0; margin-bottom: 0; border-bottom: none;
}
.popular-posts .single-post-item .thumb,
.popular_posts .single-post-item .thumb {
    width: 72px;
    height: 65px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    float: none;
    margin: 0;
}
.popular-posts .single-post-item .thumb img,
.popular_posts .single-post-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.popular-posts .single-post-item .post-content,
.popular_posts .single-post-item .post-content { overflow: visible; }
.popular-posts .single-post-item .post-content h5,
.popular_posts .single-post-item .post-content h5 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 6px;
    color: #020842;
}
.popular-posts .single-post-item .post-content h5 a { color: inherit; text-decoration: none; }
.popular-posts .single-post-item .post-content h5 a:hover { color: #0B6EDA; }
.popular-posts .single-post-item .post-content .post-date {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}
.popular-posts .single-post-item .post-content .post-date i { color: #3FB5FD; }

/* Tags */
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px !important;
    font-weight: 600;
    border: 1.5px solid #daeaff;
    color: #0B6EDA !important;
    background: #f5f9ff;
    text-decoration: none;
    transition: all .2s;
    margin: 0;
}
.tagcloud a:hover {
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    color: #fff !important;
    border-color: transparent;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.page-nav-wrap .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 14px 0 4px;
}
.page-nav-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    color: #020842;
    background: #f5f9ff;
    border: 1.5px solid #e2efff;
    text-decoration: none;
    transition: all .22s;
}
.page-nav-wrap .page-numbers:hover,
.page-nav-wrap .page-numbers.current {
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(11,110,218,.3);
}

/* ============================================================
   SINGLE POST
   ============================================================ */

/* Featured image */
.blog-wrapper .blog-details-image {
    height: 480px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 8px 30px rgba(11,110,218,.12);
}
.blog-wrapper .blog-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Meta bar */
.sp-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    align-items: center;
    background: linear-gradient(135deg, #f5f9ff 0%, #eaf2ff 100%);
    border-radius: 12px;
    padding: 16px 22px;
    margin-bottom: 28px;
    border: 1px solid #daeaff;
}
.sp-single-meta ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    align-items: center;
    width: 100%;
}
.sp-single-meta ul li {
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 7px;
}
.sp-single-meta ul li i { color: #3FB5FD; font-size: 14px; }
.sp-single-meta ul li a { color: #020842; text-decoration: none; }
.sp-single-meta ul li a:hover { color: #0B6EDA; }

/* Post body typography */
.blog-wrapper .post-content { line-height: 1.85; }
.blog-wrapper .post-content h1,
.blog-wrapper .post-content h2,
.blog-wrapper .post-content h3,
.blog-wrapper .post-content h4,
.blog-wrapper .post-content h5 {
    color: #020842;
    font-weight: 800;
    letter-spacing: -.3px;
    margin-top: 36px;
    margin-bottom: 14px;
    line-height: 1.3;
}
.blog-wrapper .post-content h2 { font-size: 26px; }
.blog-wrapper .post-content h3 { font-size: 21px; }
.blog-wrapper .post-content p  { color: #374151; font-size: 16px; line-height: 1.85; margin-bottom: 20px; }
.blog-wrapper .post-content a  { color: #0B6EDA; }
.blog-wrapper .post-content a:hover { text-decoration: underline; }
.blog-wrapper .post-content ul,
.blog-wrapper .post-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
    color: #374151;
}
.blog-wrapper .post-content li { margin-bottom: 8px; line-height: 1.75; font-size: 15.5px; }
.blog-wrapper .post-content img {
    border-radius: 14px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 20px rgba(11,110,218,.1);
}
.blog-wrapper .post-content blockquote {
    border-left: 4px solid #3FB5FD;
    margin: 32px 0;
    padding: 22px 28px;
    background: linear-gradient(135deg, #f5f9ff, #eaf2ff);
    border-radius: 0 14px 14px 0;
    font-size: 17px;
    font-style: italic;
    font-weight: 600;
    color: #020842;
    line-height: 1.7;
}

/* Tags row */
.sp-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 32px 0 28px;
    padding: 18px 22px;
    background: #f5f9ff;
    border-radius: 12px;
    border: 1px solid #daeaff;
}
.sp-post-tags > span {
    font-weight: 800;
    color: #020842;
    font-size: 13px;
    margin-right: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.sp-post-tags > span i { color: #3FB5FD; }
.sp-post-tags a {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: #fff;
    border: 1.5px solid #daeaff;
    color: #0B6EDA !important;
    transition: all .2s;
    text-decoration: none;
}
.sp-post-tags a:hover {
    background: #0B6EDA;
    color: #fff !important;
    border-color: #0B6EDA;
}

/* Author box */
.blog-author-info {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: linear-gradient(135deg, #f5f9ff, #eaf2ff);
    padding: 28px;
    border-radius: 18px;
    margin: 32px 0;
    border: 1px solid #daeaff;
}
.blog-author-info .image img {
    border-radius: 50%;
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(11,110,218,.2);
}
.blog-author-info .author-content h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #020842;
}
.blog-author-info .author-content p { font-size: 14px; color: #6b7280; line-height: 1.7; margin: 0; }
@media (max-width:575px) { .blog-author-info { flex-direction: column; } }

/* Prev / Next nav */
.sp-post-navigation {
    display: flex;
    gap: 16px;
    margin: 36px 0;
    padding: 24px 0;
    border-top: 1px solid #e9f1ff;
    border-bottom: 1px solid #e9f1ff;
}
.sp-nav-prev, .sp-nav-next { flex: 1; }
.sp-post-navigation a { display: block; text-decoration: none; padding: 16px 20px; background: #f5f9ff; border-radius: 12px; border: 1px solid #e2efff; transition: all .22s; }
.sp-post-navigation a:hover { background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%); border-color: transparent; }
.sp-post-navigation span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #3FB5FD;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.sp-post-navigation a:hover span { color: rgba(255,255,255,.8); }
.sp-post-navigation strong { display: block; font-size: 14px; font-weight: 700; color: #020842; line-height: 1.4; }
.sp-post-navigation a:hover strong { color: #fff; }
@media (max-width:575px) { .sp-post-navigation { flex-direction: column; } }

/* Page-links */
.sp-page-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; font-weight: 600; }
.sp-page-links a { padding: 6px 16px; border-radius: 8px; border: 1.5px solid #0B6EDA; color: #0B6EDA !important; text-decoration: none; }
.sp-page-links a:hover { background: #0B6EDA; color: #fff !important; }

/* ============================================================
   RELATED POSTS
   ============================================================ */
.blog-1 .single-blog-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11,110,218,.08);
    border: 1px solid rgba(11,110,218,.07);
    transition: transform .3s ease, box-shadow .3s ease;
    background: #fff;
}
.blog-1 .single-blog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11,110,218,.16);
}
.blog-1 .single-blog-item .image {
    height: 220px;
    overflow: hidden;
}
.blog-1 .single-blog-item .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.blog-1 .single-blog-item:hover .image img { transform: scale(1.06); }
.blog-1 .single-blog-item .content { padding: 22px 22px 24px; }
.blog-1 .single-blog-item .content h3 { font-size: 17px; font-weight: 800; }
.blog-1 .single-blog-item .content p  { font-size: 14px; color: #6b7280; }
.blog-1 .single-blog-item .content .link-btn {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(84deg, #3FB5FD 0%, #0B6EDA 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============================================================
   SECTION TITLE (related posts heading)
   ============================================================ */
.section-title .sub-title span {
    display: inline-block;
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    position: relative;
    padding: 0 14px;
}
.section-title .sub-title span::before,
.section-title .sub-title span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #3FB5FD, #0B6EDA);
    transform: translateY(-50%);
    border-radius: 2px;
}
.section-title .sub-title span::before { right: 100%; }
.section-title .sub-title span::after  { left: 100%; }

/* ---------- Blog Archive Card ---------- */
.sp-blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(11,110,218,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}
.sp-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(11,110,218,.16);
}

/* Thumbnail */
.sp-blog-thumb {
    position: relative;
    overflow: hidden;
    height: 230px;
}
.sp-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.sp-blog-card:hover .sp-blog-thumb img {
    transform: scale(1.06);
}

/* Date badge */
.sp-blog-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    color: #fff;
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    line-height: 1.1;
    min-width: 52px;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(11,110,218,.35);
}
.sp-blog-date .day {
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}
.sp-blog-date .mon {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Category pill */
.sp-blog-cat {
    position: absolute;
    bottom: 14px;
    right: 14px;
}
.sp-blog-cat a {
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: opacity .2s;
}
.sp-blog-cat a:hover { opacity: .88; }

/* Card body */
.sp-blog-body {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Meta */
.sp-blog-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.sp-blog-meta li {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}
.sp-blog-meta li i {
    color: #0B6EDA;
    font-size: 13px;
}

/* Title */
.sp-blog-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
}
.sp-blog-title a {
    color: #020842;
    transition: color .25s;
}
.sp-blog-title a:hover { color: #0B6EDA; }

/* Excerpt */
.sp-blog-excerpt {
    color: #49515B;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

/* Read More button */
.sp-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0B6EDA;
    padding: 9px 22px;
    border: 2px solid #0B6EDA;
    border-radius: 30px;
    transition: background .25s, color .25s;
    align-self: flex-start;
    margin-top: auto;
    text-decoration: none;
}
.sp-read-more:hover {
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    border-color: transparent;
    color: #fff !important;
}
.sp-read-more i { font-size: 13px; transition: transform .25s; }
.sp-read-more:hover i { transform: translateX(4px); }

/* No posts state */
.sp-no-posts {
    text-align: center;
    padding: 80px 20px;
    color: #6b7280;
}
.sp-no-posts i {
    font-size: 56px;
    color: #0B6EDA;
    margin-bottom: 20px;
    display: block;
}
.sp-no-posts h3 { font-size: 26px; margin-bottom: 10px; color: #020842; }


/* ---------- Single Post Styles ---------- */

/* Meta bar */
.sp-single-meta {
    margin: 28px 0 24px;
    padding: 18px 24px;
    background: #F3F8FF;
    border-radius: 10px;
    border-left: 4px solid #0B6EDA;
}
.sp-single-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.sp-single-meta ul li {
    font-size: 14px;
    font-weight: 500;
    color: #49515B;
    display: flex;
    align-items: center;
    gap: 7px;
}
.sp-single-meta ul li i { color: #0B6EDA; }
.sp-single-meta ul li a { color: #020842; }
.sp-single-meta ul li a:hover { color: #0B6EDA; }
.sp-single-meta ul li img { border-radius: 50%; vertical-align: middle; }

/* Post body typography */
.blog-wrapper .post-content h1,
.blog-wrapper .post-content h2,
.blog-wrapper .post-content h3,
.blog-wrapper .post-content h4 {
    color: #020842;
    margin-top: 32px;
    margin-bottom: 14px;
    font-weight: 700;
}
.blog-wrapper .post-content p { line-height: 1.85; margin-bottom: 18px; color: #49515B; }
.blog-wrapper .post-content a { color: #0B6EDA; }
.blog-wrapper .post-content a:hover { text-decoration: underline; }
.blog-wrapper .post-content ul,
.blog-wrapper .post-content ol {
    padding-left: 22px;
    margin-bottom: 18px;
    color: #49515B;
}
.blog-wrapper .post-content li { margin-bottom: 8px; line-height: 1.7; }
.blog-wrapper .post-content img { border-radius: 10px; max-width: 100%; height: auto; }
.blog-wrapper .post-content blockquote {
    border-left: 4px solid #0B6EDA;
    margin: 30px 0;
    padding: 22px 28px;
    background: #F3F8FF;
    border-radius: 0 10px 10px 0;
    font-size: 18px;
    font-style: italic;
    color: #020842;
}

/* Tags row */
.sp-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 32px 0 28px;
    padding: 16px 20px;
    background: #F3F8FF;
    border-radius: 10px;
}
.sp-post-tags span {
    font-weight: 700;
    color: #020842;
    font-size: 14px;
    margin-right: 4px;
}
.sp-post-tags span i { color: #0B6EDA; margin-right: 4px; }
.sp-post-tags a {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    border: 1px solid #d1e4ff;
    color: #0B6EDA !important;
    transition: background .2s, color .2s;
    text-decoration: none;
}
.sp-post-tags a:hover {
    background: #0B6EDA;
    color: #fff !important;
    border-color: #0B6EDA;
}

/* Author box */
.blog-author-info {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: #F3F8FF;
    padding: 28px;
    border-radius: 14px;
    margin: 32px 0;
    border: 1px solid #e2efff;
}
.blog-author-info .image { flex-shrink: 0; }
.blog-author-info .image img { border-radius: 50%; width: 90px; height: 90px; object-fit: cover; }
.blog-author-info h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #020842; }
.blog-author-info p { font-size: 14px; color: #49515B; line-height: 1.7; margin: 0; }
@media (max-width: 575px) {
    .blog-author-info { flex-direction: column; }
}

/* Prev / Next nav */
.sp-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 36px 0;
    padding: 22px 0;
    border-top: 1px solid #e5eeff;
    border-bottom: 1px solid #e5eeff;
}
.sp-nav-prev, .sp-nav-next { flex: 1; max-width: 48%; }
.sp-post-navigation a { display: block; text-decoration: none; }
.sp-post-navigation span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #0B6EDA;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.sp-post-navigation strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #020842;
    line-height: 1.4;
    transition: color .2s;
}
.sp-post-navigation a:hover strong { color: #0B6EDA; }
@media (max-width: 575px) {
    .sp-post-navigation { flex-direction: column; }
    .sp-nav-prev, .sp-nav-next { max-width: 100%; }
}

/* Page-links (multi-page posts) */
.sp-page-links {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin: 20px 0; font-weight: 600;
}
.sp-page-links a {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #0B6EDA;
    color: #0B6EDA !important;
}
.sp-page-links a:hover {
    background: #0B6EDA;
    color: #fff !important;
}

/* ---------- Related Posts section ---------- */
.blog-1 .single-blog-item {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11,110,218,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    background: #fff;
}
.blog-1 .single-blog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(11,110,218,.15);
}
.blog-1 .single-blog-item .image {
    height: 220px;
    overflow: hidden;
}
.blog-1 .single-blog-item .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.blog-1 .single-blog-item:hover .image img { transform: scale(1.06); }

/* ---------- Sidebar polish ---------- */
.main-sidebar .single-sidebar-widget {
    background-color: #F3F8FF;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 30px;
    border: 1px solid #e2efff;
}

/* Search form */
.search_widget form {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e2efff;
}
.search_widget form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    background: #fff;
    color: #020842;
}
.search_widget form button {
    width: 52px;
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: opacity .2s;
}
.search_widget form button:hover { opacity: .88; }

/* ---------- Pagination ---------- */
.page-nav-wrap .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 10px 0;
}
.page-nav-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    color: #020842;
    background: #F3F8FF;
    border: 1px solid #e2efff;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.page-nav-wrap .page-numbers:hover,
.page-nav-wrap .page-numbers.current {
    background: linear-gradient(135deg, #3FB5FD 0%, #0B6EDA 100%);
    color: #fff !important;
    border-color: transparent;
}

/* ---------- section-padding helper ---------- */
.section-padding { padding: 90px 0; }
@media (max-width: 991px) { .section-padding { padding: 60px 0; } }
@media (max-width: 767px) { .section-padding { padding: 50px 0; } }