/* =============================================
   STARK PIXEL — BLOG STYLES (Simple & Fast)
   ============================================= */

/* ── Listing Page Cards ───────────────────── */

/* Equal-height card rows via flexbox */
.our-services .row.blog-row {
    display: flex;
    flex-wrap: wrap;
}
.our-services .row.blog-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
.our-services .row.blog-row .single-our-service.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 0;
}
.our-services .row.blog-row .blog-card .text-box {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 8px 20px 20px;
}
.our-services .row.blog-row .blog-card .blog-read-more {
    margin-top: auto;
    padding-top: 10px;
}

/* Image — override img-responsive height:auto */
.blog-card .img-box { overflow: hidden; }
.blog-card .img-box img {
    width: 100% !important;
    height: 210px !important;
    object-fit: cover !important;
    transition: transform 0.35s ease;
    display: block !important;
}
.blog-card:hover .img-box img { transform: scale(1.04); }

.blog-card-meta {
    font-size: 12px;
    color: #038ECD;
    margin: 10px 0 6px;
}
.blog-card-meta i { margin-right: 4px; }

.blog-card-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
    transition: color 0.2s;
}
.blog-card a:hover .blog-card-title,
.blog-card-title:hover { color: #038ECD !important; }

.blog-card .text-box p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
    flex: 1;
}

.blog-read-more {
    display: inline-block;
    color: #038ECD !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.blog-read-more i { margin-left: 4px; font-size: 11px; }

/* ── Detail Page Layout ───────────────────── */
.blog-detail-section {
    padding: 50px 0 60px;
    background: #f5f7fa;
}

/* Main article card */
.blog-post-detail {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 12px rgba(0,0,0,0.07);
    padding: 32px 36px;
    margin-bottom: 28px;
}

/* Featured image */
.blog-featured-img {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}
.blog-featured-img img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* Post meta row */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #999;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.blog-meta span i { color: #038ECD; margin-right: 5px; }

/* H1 */
.blog-post-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.38;
    margin-bottom: 18px;
}

/* Content typography */
.blog-post-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 16px;
}

/* H2 inside content */
.blog-post-content h2 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 32px 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #038ECD;
    display: inline-block;
}

/* H3 inside content */
.blog-post-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 5px;
}

/* ── Numbered List ────────────────────────── */
.blog-numbered-list { margin: 22px 0; }

.blog-numbered-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.blog-numbered-item:last-child { border-bottom: none; }

.item-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #038ECD;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 1px;
}

.blog-numbered-item h3 { font-size: 15px; margin-bottom: 4px; }
.blog-numbered-item p  { font-size: 14px; color: #666; margin: 0; line-height: 1.7; }

/* ── Simple Highlight List ────────────────── */
.blog-highlight-box {
    background: #f0f8ff;
    border-left: 4px solid #038ECD;
    border-radius: 4px;
    padding: 16px 20px;
    margin: 20px 0;
}
.blog-highlight-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #ddeef8;
}
.blog-highlight-item:last-child { border-bottom: none; }
.highlight-icon {
    width: 34px; height: 34px; min-width: 34px;
    background: #038ECD;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px;
}
.blog-highlight-item h4 { font-size: 14px; font-weight: 600; color: #1a1a2e; margin-bottom: 2px; }
.blog-highlight-item p  { font-size: 13px; color: #666; margin: 0; line-height: 1.6; }

/* ── Checklist ────────────────────────────── */
.blog-check-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 20px;
}
.blog-check-list li {
    padding: 7px 0;
    font-size: 15px;
    color: #444;
    border-bottom: 1px dashed #e8e8e8;
}
.blog-check-list li:last-child { border-bottom: none; }
.blog-check-list li i { color: #038ECD; margin-right: 9px; }

/* ── Warning / Avoid List ─────────────────── */
.blog-warning-list { margin: 18px 0; }
.blog-warning-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 14px;
    background: #fff8f8;
    border-left: 3px solid #e74c3c;
    border-radius: 4px;
    margin-bottom: 10px;
}
.blog-warning-item i { color: #e74c3c; font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.blog-warning-item strong { display: block; color: #1a1a2e; font-size: 14px; margin-bottom: 2px; }
.blog-warning-item p { font-size: 13px; color: #666; margin: 0; }

/* ── Conclusion Box ───────────────────────── */
.blog-conclusion-box {
    background: #f0f8ff;
    border-left: 4px solid #038ECD;
    border-radius: 4px;
    padding: 20px 22px;
    margin: 28px 0;
}
.blog-conclusion-box h2 {
    border-bottom: none !important;
    display: block !important;
    margin-top: 0 !important;
    font-size: 17px !important;
}

/* ── FAQ ──────────────────────────────────── */
.blog-faq-section { margin: 28px 0; }
.blog-faq-section > h2 { font-size: 19px; font-weight: 700; color: #1a1a2e; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #038ECD; display: inline-block; }

.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    background: #f9fafb;
    cursor: default;
}
.faq-question i { color: #038ECD; margin-right: 8px; }
.faq-answer {
    padding: 12px 16px;
    border-top: 1px solid #eee;
    background: #fff;
}
.faq-answer p { font-size: 14px; color: #555; line-height: 1.75; margin: 0; }

/* ── CTA Box ──────────────────────────────── */
.blog-cta-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #025b85 60%, #038ECD 100%);
    border-radius: 8px;
    padding: 28px 30px;
    text-align: center;
    margin-top: 32px;
}
.blog-cta-box h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.blog-cta-box p  { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 18px; }

.btn-blog-cta {
    display: inline-block;
    background: #fff;
    color: #038ECD !important;
    padding: 11px 26px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    margin: 4px 6px;
    transition: background 0.25s, color 0.25s;
}
.btn-blog-cta:hover { background: #038ECD; color: #fff !important; }

.btn-blog-call {
    display: inline-block;
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.7);
    padding: 9px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin: 4px 6px;
    transition: background 0.25s, color 0.25s;
}
.btn-blog-call:hover { background: #fff; color: #038ECD !important; }

/* ── Sidebar ──────────────────────────────── */
.blog-sidebar { padding-left: 8px; }

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
    padding: 20px;
    margin-bottom: 22px;
    border-top: 3px solid #038ECD;
}
.widget-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.sidebar-logo { max-width: 130px; margin-bottom: 10px; }
.sidebar-widget p { font-size: 13px; color: #666; line-height: 1.7; margin-bottom: 10px; }
.sidebar-read-more { color: #038ECD !important; font-size: 13px; font-weight: 600; }

/* Recent posts */
.recent-posts-list { list-style: none; padding: 0; margin: 0; }
.recent-posts-list li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f2f2f2;
}
.recent-posts-list li:last-child { border-bottom: none; padding-bottom: 0; }
.recent-posts-list li img { width: 62px; height: 46px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.recent-posts-list li a { display: flex; gap: 10px; align-items: center; color: #333 !important; width: 100%; }
.recent-posts-list li span { font-size: 13px; font-weight: 500; line-height: 1.4; color: #444; transition: color 0.2s; }
.recent-posts-list li a:hover span { color: #038ECD; }

/* Services list */
.sidebar-services-list { list-style: none; padding: 0; margin: 0; }
.sidebar-services-list li { border-bottom: 1px solid #f2f2f2; }
.sidebar-services-list li:last-child { border-bottom: none; }
.sidebar-services-list li a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: #444 !important;
    transition: padding-left 0.2s, color 0.2s;
}
.sidebar-services-list li a i { color: #038ECD; margin-right: 7px; }
.sidebar-services-list li a:hover { padding-left: 5px; color: #038ECD !important; }

/* Contact widget */
.sidebar-contact-widget { background: linear-gradient(135deg, #1a1a2e, #025b85); border-top-color: #038ECD; }
.sidebar-contact-widget .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.sidebar-contact-list { list-style: none; padding: 0; margin: 0; }
.sidebar-contact-list li {
    padding: 7px 0;
    font-size: 13px;
    color: rgba(255,255,255,.85);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-contact-list li:last-child { border-bottom: none; }
.sidebar-contact-list li i { color: #5dd2ff; width: 16px; margin-right: 8px; }
.sidebar-contact-list li a { color: rgba(255,255,255,.85) !important; }
.sidebar-contact-list li a:hover { color: #fff !important; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 991px) {
    .blog-sidebar { padding-left: 0; margin-top: 28px; }
    .blog-post-title { font-size: 22px; }
}
@media (max-width: 768px) {
    .blog-post-detail { padding: 20px; }
    .blog-post-title { font-size: 20px; }
    .blog-post-content h2 { font-size: 17px; }
    /* Blog listing — 2 cols on tablet */
    .our-services .row.blog-row > [class*="col-"] { margin-bottom: 20px; }
}
@media (max-width: 480px) {
    .blog-post-detail { padding: 15px; }
    .blog-post-title { font-size: 18px; }
    .blog-meta { gap: 10px; font-size: 12px; }
    .btn-blog-cta, .btn-blog-call { display: block; margin: 6px auto; max-width: 220px; }
    .blog-card .img-box img { height: 180px !important; }
    /* Blog listing — 1 col on mobile */
    .our-services .row.blog-row > [class*="col-"] { margin-bottom: 16px; }
}
