/* GETLEAD BLOG FIXES - Clean rewrite */

/* Category sidebar */
.blgLeft { position: sticky; top: 100px; }
.gallery_producttBu { display: flex; flex-direction: column; gap: 8px; }
.butCat { width: 100%; text-align: left !important; padding: 12px 20px !important; border-radius: 8px !important; border: 1.5px solid #e5e7eb !important; background: #fff !important; color: #374151 !important; font-size: 15px !important; font-weight: 500 !important; transition: all 0.2s ease !important; margin-bottom: 0 !important; }
.butCat:hover { border-color: #e11d48 !important; color: #e11d48 !important; background: #fff5f7 !important; }
.butCat.active1 { background: #e11d48 !important; border-color: #e11d48 !important; color: #fff !important; }

/* Card layout - fix Bootstrap row flex-wrap issue */
.blgCvr { border-radius: 12px; overflow: hidden; border: 1px solid #f0f0f0; box-shadow: 0 2px 12px rgba(0,0,0,0.06); background: #fff; width: 100%; margin-bottom: 0 !important; transition: box-shadow 0.25s ease, transform 0.25s ease; }
.blgCvr:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.12); transform: translateY(-3px); }
.blgCvr > a { display: block !important; text-decoration: none !important; color: inherit !important; }

/* THE FIX: override Bootstrap .row completely */
.blgCvr > a > .row { display: block !important; margin: 0 !important; flex-wrap: unset !important; flex-direction: unset !important; }
.blgCvr > a > .row > .col-lg-12 { display: block !important; width: 100% !important; max-width: 100% !important; float: none !important; padding: 0 !important; flex: unset !important; }

/* Image */
.blgImg img { width: 100% !important; height: 220px !important; min-height: 220px !important; max-height: 220px !important; object-fit: cover !important; display: block; }
.blgCvr:hover .blgImg img { transform: scale(1.04); transition: transform 0.3s ease; }

/* Card content */
.blogTitsec { display: block !important; padding: 20px 22px 24px !important; }
.autDeatinl { font-size: 13px !important; color: #9ca3af !important; margin-top: 0 !important; margin-bottom: 10px !important; }
.blgHead { font-size: 17px !important; font-weight: 700 !important; line-height: 1.45 !important; color: #111827 !important; margin-bottom: 10px !important; }
.blgDes { font-size: 14px !important; line-height: 1.6 !important; color: #6b7280 !important; margin-bottom: 16px !important; }
.readMore { display: inline-block !important; background: #e11d48 !important; color: #fff !important; padding: 9px 20px !important; border-radius: 6px !important; font-size: 14px !important; font-weight: 600 !important; cursor: pointer; }
.readMore:hover { background: #be123c !important; }

/* Single post */
.relatedSec { position: sticky; top: 100px; }
.rltdHead { font-size: 20px !important; font-weight: 700 !important; padding-bottom: 16px !important; border-bottom: 2px solid #f0f0f0; margin-bottom: 20px !important; }
a.blogCvr { display: flex !important; align-items: flex-start !important; gap: 14px !important; margin-bottom: 18px !important; padding-bottom: 18px !important; border-bottom: 1px solid #f3f4f6 !important; text-decoration: none !important; color: inherit !important; }
a.blogCvr:last-child { border-bottom: none !important; }
.blogThumbImage { width: 80px !important; height: 70px !important; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.blogThumbImage img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.blogDetCvr { width: auto !important; flex: 1; margin-left: 0 !important; }
.blogthHead { font-size: 14px !important; font-weight: 600 !important; line-height: 1.4 !important; color: #111827 !important; }
.autDeatin { font-size: 12px !important; color: #9ca3af !important; margin-bottom: 6px !important; }

@media (max-width: 991px) { .blgLeft { position: static; margin-bottom: 32px; } .relatedSec { position: static; } }

/* Reduce side whitespace */
section.blogs.innerblog { padding: 60px 0 80px !important; }
section.blogs.innerblog .container { max-width: 1280px !important; width: 100% !important; padding-left: 24px !important; padding-right: 24px !important; }

/* Reduce side whitespace */
section.blogs.innerblog { padding: 60px 0 80px !important; }
section.blogs.innerblog .container { max-width: 1280px !important; width: 100% !important; padding-left: 24px !important; padding-right: 24px !important; }

/* ── Single Post Page ── */

/* Featured image */
.imageCOur.blogsimg { margin-bottom: 32px; }
.imageCOur.blogsimg img { width: 100% !important; height: 420px !important; object-fit: cover !important; border-radius: 12px !important; display: block; }

/* Post meta bar */
.blgdetHdr { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; }
.autDeatin { font-size: 14px !important; color: #9ca3af !important; margin: 0 !important; }

/* Content area */
.courCntm { padding-right: 40px !important; }
.courCntm p { font-size: 16px !important; line-height: 1.85 !important; color: #374151 !important; margin-bottom: 20px !important; }
.courCntm h1, .courCntm h2 { font-size: 28px !important; line-height: 1.3 !important; font-weight: 700 !important; color: #111827 !important; margin: 36px 0 16px !important; }
.courCntm h3, .courCntm h4 { font-size: 22px !important; line-height: 1.4 !important; font-weight: 700 !important; color: #111827 !important; margin: 28px 0 12px !important; }
.courCntm h5, .courCntm h6 { font-size: 18px !important; font-weight: 600 !important; color: #111827 !important; margin: 24px 0 10px !important; }
.courCntm ul, .courCntm ol { font-size: 16px !important; line-height: 1.85 !important; color: #374151 !important; padding-left: 24px !important; margin-bottom: 20px !important; }
.courCntm li { margin-bottom: 8px !important; }
.courCntm strong, .courCntm b { color: #111827 !important; font-weight: 700 !important; }
.courCntm a { color: #e11d48 !important; text-decoration: underline !important; }
.courCntm blockquote { border-left: 4px solid #e11d48; padding: 16px 24px; margin: 28px 0; background: #fff5f7; border-radius: 0 8px 8px 0; font-style: italic; color: #374151; }
.courCntm img { max-width: 100%; border-radius: 8px; margin: 16px 0; }

/* Related posts sidebar */
.cvrDv { padding-left: 8px; }
.relatedSec { position: sticky; top: 120px; background: #f9fafb; border-radius: 12px; padding: 24px; }

/* Breadcrumbs */
.gl-breadcrumb { padding: 16px 0 8px; font-size: 13px; color: #9ca3af; margin-bottom: 8px; }
.gl-breadcrumb a { color: #6b7280; text-decoration: none; }
.gl-breadcrumb a:hover { color: #e11d48; }
.bc-sep { margin: 0 8px; color: #d1d5db; }
.gl-breadcrumb span { color: #111827; font-weight: 500; }

/* Breadcrumb refinement */
.gl-breadcrumb { padding: 20px 0 4px; font-size: 13px; letter-spacing: 0.2px; }
.gl-breadcrumb a { color: #9ca3af; text-decoration: none; transition: color 0.2s; }
.gl-breadcrumb a:hover { color: #e11d48 !important; }
.bc-sep { margin: 0 6px; color: #d1d5db; font-size: 12px; }
.gl-breadcrumb span { color: #374151; font-weight: 500; }

/* Single post - premium redesign */
/* Tighten hero to content gap */
.rogan-hero-section-v2 { padding-bottom: 0 !important; }
section.blogs.innerblog { padding-top: 0 !important; }

/* Breadcrumb - subtle, inside content flow */
.gl-breadcrumb { 
    padding: 16px 0 24px; 
    font-size: 12px; 
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Featured image - full width, cinematic */
.imageCOur.blogsimg { 
    margin-bottom: 36px; 
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
}
.imageCOur.blogsimg img { 
    width: 100% !important; 
    height: 460px !important; 
    object-fit: cover !important; 
    border-radius: 0 !important;
    display: block; 
}

/* Meta bar */
.blgdetHdr { 
    margin-bottom: 36px; 
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

/* Related posts - cleaner card */
.cvrDv { padding-left: 16px; }
.relatedSec { 
    position: sticky; 
    top: 100px; 
    background: #fff; 
    border-radius: 16px; 
    padding: 28px; 
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.rltdHead { 
    font-size: 16px !important; 
    font-weight: 700 !important; 
    padding-bottom: 20px !important; 
    border-bottom: 2px solid #f9fafb !important; 
    margin-bottom: 20px !important;
    letter-spacing: -0.2px;
}
a.blogCvr { 
    padding-bottom: 16px !important; 
    margin-bottom: 16px !important;
}
.blogthHead { 
    font-size: 13px !important; 
    line-height: 1.5 !important;
}
.autDeat { font-size: 11px !important; color: #9ca3af !important; margin-bottom: 4px !important; }

/* Breadcrumb - normal case, cleaner */
.gl-breadcrumb { text-transform: none !important; letter-spacing: 0.1px !important; font-size: 13px !important; }
/* Remove gap line between hero and content */
section.blogs.innerblog { border-top: none !important; margin-top: 0 !important; }

/* Add breathing space below hero on blog listing */
section.blogs.innerblog { padding-top: 60px !important; }

/* Breadcrumb on dark hero */
.rogan-hero-section-v2 .gl-breadcrumb a { color: rgba(255,255,255,0.5) !important; }
.rogan-hero-section-v2 .gl-breadcrumb a:hover { color: #fff !important; }
.rogan-hero-section-v2 .gl-breadcrumb span { color: rgba(255,255,255,0.85) !important; }
.rogan-hero-section-v2 .bc-sep { color: rgba(255,255,255,0.3) !important; }

/* Single post hero title - lighter, left aligned */
.rogan-hero-section-v2 .banner-main-title {
    font-size: 34px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    margin: 10px 0 0 !important;
    letter-spacing: -0.3px !important;
    max-width: 750px !important;
}

/* Breadcrumb on white background */
.blogs.innerblog .gl-breadcrumb a { color: #9ca3af !important; }
.blogs.innerblog .gl-breadcrumb a:hover { color: #e11d48 !important; }
.blogs.innerblog .gl-breadcrumb span { color: #374151 !important; }
.blogs.innerblog .bc-sep { color: #d1d5db !important; }
.gl-breadcrumb { padding: 0 0 24px !important; }

/* Fix hero title alignment - match container */
.rogan-hero-section-v2 .main-wrapper { padding-left: 0 !important; }
.rogan-hero-section-v2 .banner-main-title { 
    text-align: left !important; 
    margin-left: 0 !important;
    padding-top: 16px !important;
    padding-bottom: 24px !important;
}

/* Blog listing hero title - centered */
.rogan-hero-section-v2 .banner-main-title {
    text-align: center !important;
    margin: 0 auto !important;
}

/* Post CTA Banner */
.post-cta-banner { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); border-radius: 16px; padding: 40px 48px; margin: 48px 0 0; text-align: center; }
.post-cta-banner h3 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.post-cta-banner p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.6; margin-bottom: 28px; }
.post-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btn-primary { background: #e11d48; color: #fff; padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background 0.2s; }
.cta-btn-primary:hover { background: #be123c; color: #fff; }
.cta-btn-secondary { background: rgba(255,255,255,0.1); color: #fff; padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid rgba(255,255,255,0.2); transition: background 0.2s; }
.cta-btn-secondary:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* More from Blog */
.more-from-blog { margin-top: 56px; padding-top: 40px; border-top: 1px solid #f0f0f0; }
.more-blog-head { font-size: 20px; font-weight: 700; color: #111827; margin-bottom: 24px; letter-spacing: -0.3px; }
.more-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.more-blog-card { text-decoration: none; color: inherit; border-radius: 12px; overflow: hidden; border: 1px solid #f0f0f0; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s; display: block; }
.more-blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.10); }
.more-blog-img img { width: 100%; height: 140px; object-fit: cover; display: block; }
.more-blog-info { padding: 14px 16px 18px; }
.more-blog-date { font-size: 11px; color: #9ca3af; margin-bottom: 6px; font-weight: 500; }
.more-blog-title { font-size: 14px; font-weight: 600; color: #111827; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Fix CTA text visibility */
.post-cta-banner h3 { color: #ffffff !important; font-size: 22px !important; }
.post-cta-banner p { color: rgba(255,255,255,0.75) !important; }
.cta-btn-primary { color: #ffffff !important; }
.cta-btn-secondary { color: #ffffff !important; }

/* Force button text white */
a.cta-btn-primary, a.cta-btn-primary:visited, a.cta-btn-primary:hover { color: #ffffff !important; text-decoration: none !important; }
a.cta-btn-secondary, a.cta-btn-secondary:visited { color: #ffffff !important; text-decoration: none !important; }
a.cta-btn-secondary:hover { color: #ffffff !important; }

/* CTA banner - left aligned */
.post-cta-banner { text-align: left !important; padding: 44px 48px !important; }
.post-cta-banner p { text-align: left !important; }
.post-cta-btns { justify-content: flex-start !important; }

/* Clamp blog card title to 2 lines max */
.blogTitsec .blgHead, .blogTitsec h3, .blogTitsec h2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Clamp excerpt to 3 lines */
.blogTitsec p, .blogTitsec .blgExcerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
