/**
 * Luxury Homes of India - Editorial Blog Design System
 * Unified modern CSS for high-end luxury residential construction & design guides.
 */

:root {
    --primary: #1A1A1A;
    --accent: #c99c3b;
    --accent-hover: #b3882e;
    --bg-light: #FAF8F5;
    --bg-card: #FFFFFF;
    --text-main: #2b2b2b;
    --text-muted: #555555;
    --border-color: #E8E4DC;
    --callout-accent: #27ae60;
    --callout-bg: #f4faf6;
    --info-accent: #2980b9;
    --info-bg: #f4f8fb;
}

body {
    font-family: 'DM Sans', sans-serif !important;
    color: var(--text-main) !important;
    background-color: var(--bg-light) !important;
    line-height: 1.8 !important;
    font-size: 17px !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Red Hat Display', sans-serif !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* ================= HEADER / HERO SECTION ================= */
.blog-header-area {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, #f5f0e6 0%, #faf8f5 100%);
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 991px) {
    .blog-header-area {
        padding: 100px 0 40px;
    }
}

.badge-editorial {
    background: #ebdcc5;
    color: #5a401c;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.meta-byline {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    color: #666;
    font-size: 14.5px;
    flex-wrap: wrap;
}

.meta-byline span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-byline i {
    color: var(--accent);
}

/* ================= ARTICLE MAIN CONTAINER ================= */
.article-main-card,
.blog-details-area-inner-content {
    background: var(--bg-card) !important;
    border-radius: 12px !important;
    padding: 45px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid var(--border-color) !important;
    margin-bottom: 30px !important;
}

@media (max-width: 991px) {
    .article-main-card,
    .blog-details-area-inner-content {
        padding: 24px !important;
    }
}

.article-lead {
    font-size: 18.5px;
    line-height: 1.85;
    color: #1a1a1a;
    font-weight: 400;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

/* ================= ARTICLE TYPOGRAPHY & SECTIONS ================= */
.article-section {
    margin-top: 45px;
    margin-bottom: 30px;
}

.article-section h2,
.article-main-card h2,
.blog-details-area-inner-content h2 {
    font-size: 25px;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0eae1;
}

.article-section h2::after,
.article-main-card h2::after,
.blog-details-area-inner-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.article-section h3,
.article-main-card h3,
.blog-details-area-inner-content h3 {
    font-size: 20px;
    margin-top: 26px;
    margin-bottom: 14px;
    color: #222;
}

.article-section h4,
.article-main-card h4,
.blog-details-area-inner-content h4 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

.article-main-card p,
.blog-details-area-inner-content p {
    color: #2b2b2b !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
    margin-bottom: 22px !important;
}

.article-main-card ul,
.article-main-card ol,
.blog-details-area-inner-content ul,
.blog-details-area-inner-content ol {
    margin-top: 15px !important;
    margin-bottom: 28px !important;
    padding-left: 24px !important;
}

.article-main-card ul li,
.article-main-card ol li,
.blog-details-area-inner-content ul li,
.blog-details-area-inner-content ol li {
    margin-bottom: 13px !important;
    color: #333 !important;
    font-size: 16.5px !important;
    line-height: 1.75 !important;
}

/* ================= FIGURES & IMAGES ================= */
.article-figure,
.article-image-box {
    margin: 35px 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fdfdfd !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

.article-figure img,
.article-image-box img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.article-caption,
.article-image-caption {
    font-size: 14.5px !important;
    color: #666 !important;
    padding: 14px 20px !important;
    background: #faf8f5 !important;
    border-top: 1px solid var(--border-color) !important;
    font-style: italic !important;
    text-align: center !important;
}

/* ================= CALLOUTS & BOXES ================= */
.pricing-status-box {
    background: #fffdf5;
    border: 1px solid #fae8b8;
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 15px;
    color: #6d5218;
}

.action-callout {
    background: var(--callout-bg);
    border: 1px solid #d4edda;
    border-left: 4px solid var(--callout-accent);
    border-radius: 8px;
    padding: 18px 24px;
    margin: 22px 0;
    color: #1e4620;
}

.geo-quick-summary,
.lhi-note-box {
    background-color: #fbf9f4 !important;
    border: 1px solid #e8e3d5 !important;
    border-left: 5px solid #c99c3b !important;
    border-radius: 8px !important;
    padding: 24px 28px !important;
    margin: 30px 0 !important;
}

.geo-quick-summary h4,
.lhi-note-box h4 {
    margin-top: 0 !important;
    color: #1a1a1a !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
}

/* ================= TABLES ================= */
.table-responsive {
    margin: 28px 0;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid var(--border-color);
}

.lhi-custom-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 15.5px;
}

.lhi-custom-table th {
    background: #1a1a1a;
    color: #fff;
    padding: 15px 18px;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid var(--accent);
    font-family: 'Red Hat Display', sans-serif;
    white-space: nowrap;
}

.lhi-custom-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #eee;
    color: #333;
    vertical-align: top;
    line-height: 1.6;
}

.lhi-custom-table tr:nth-child(even) {
    background-color: #faf8f5;
}

.lhi-custom-table tr:hover {
    background-color: #f5f0e6;
}

/* ================= CHECKLISTS ================= */
.custom-checklist {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 20px 0 !important;
}

.custom-checklist li {
    position: relative !important;
    padding-left: 32px !important;
    margin-bottom: 14px !important;
    color: #333 !important;
}

.custom-checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", FontAwesome;
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-size: 15px;
}

/* ================= FAQ CARDS ================= */
.faq-card {
    background: #FAF8F5;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 16px;
}

.faq-question {
    font-size: 17.5px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-question i {
    color: var(--accent);
    margin-top: 4px;
    font-size: 16px;
}

.faq-answer {
    color: #444;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.75;
    padding-left: 28px;
}

/* ================= EDITORIAL META & CTA ================= */
.editorial-meta-box {
    background: #fdfbf7;
    border: 1px solid #ebdcc5;
    border-radius: 8px;
    padding: 20px 25px;
    margin-top: 40px;
    font-size: 15px;
}

.article-cta {
    background: linear-gradient(135deg, #1A1A1A 0%, #2b2823 100%);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 45px 0;
    border-bottom: 3px solid var(--accent);
}

.article-cta h3 {
    color: #fff !important;
    font-size: 25px;
    margin-bottom: 15px;
}

.article-cta p {
    color: #d1cfc7 !important;
    max-width: 650px;
    margin: 0 auto 25px;
    font-size: 16px !important;
}

.btn-lhi-gold {
    background: var(--accent);
    color: #1a1a1a !important;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-lhi-gold:hover {
    background: var(--accent-hover);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ================= SIDEBAR STYLES ================= */
.sticky-sidebar-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}

.blog-sidebar-box {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 24px 22px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.sidebar-widget-title {
    color: #1a1a1a;
    font-size: 18.5px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    font-family: 'Red Hat Display', sans-serif;
    position: relative;
}

.cta-sidebar-card {
    background: linear-gradient(135deg, #1A1A1A 0%, #2b2823 100%);
    color: #ffffff;
    border-radius: 10px;
    border: 1px solid var(--accent);
    padding: 26px 20px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.cta-sidebar-card h4 {
    color: #ffffff;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 19.5px;
    margin-bottom: 12px;
}

.cta-sidebar-card p {
    font-size: 14.5px;
    color: #d1cfc7;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-toc-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.sidebar-toc-list li {
    margin-bottom: 9px;
    padding-bottom: 9px;
    border-bottom: 1px dashed #eee;
}

.sidebar-toc-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-toc-list li a {
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1.4;
}

.sidebar-toc-list li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

/* ── Recent Posts Auto-Scroll Widget ───────────────────────── */
.sidebar-recent-posts-wrapper {
    position: relative;
}

.sidebar-recent-posts-controls {
    display: flex;
    gap: 6px;
    position: absolute;
    top: -38px;
    right: 0;
}

.rp-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(176,141,87,0.45);
    background: rgba(176,141,87,0.08);
    color: var(--accent, #b08d57);
    cursor: pointer;
    font-size: 11px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
    line-height: 1;
}

.rp-arrow-btn:hover {
    background: var(--accent, #b08d57);
    border-color: var(--accent, #b08d57);
    color: #fff;
    transform: scale(1.1);
}

.rp-arrow-btn:disabled {
    opacity: 0.3;
    pointer-events: none;
}

.sidebar-recent-posts-scroll {
    max-height: 370px;
    overflow: hidden;
    position: relative;
}

.sidebar-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}

.sidebar-post-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0eae1;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.sidebar-post-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-post-item:hover {
    transform: translateX(3px);
}

.sidebar-post-img {
    width: 74px;
    height: 58px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.sidebar-post-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 3px;
    line-height: 1.35;
    font-family: 'DM Sans', sans-serif;
    transition: color 0.2s ease;
}

.sidebar-post-item:hover .sidebar-post-title {
    color: var(--accent);
}

.sidebar-post-meta {
    font-size: 11.5px;
    color: #888;
    display: block;
}

.tag-cluster-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cluster-btn {
    display: inline-block;
    background: #FAF8F5;
    color: #444;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}

.tag-cluster-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-1px);
}

.tag-cluster-btn.gold {
    background: #fbf3e0;
    color: #8c6815;
    border-color: #ebd6a7;
}

.tag-cluster-btn.gold:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ================= ACCORDION FAQ STYLES ================= */
.lhi-faq-accordion .accordion-item {
    background-color: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    overflow: hidden !important;
}

.lhi-faq-accordion .accordion-button {
    background-color: #fbf9f4 !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 17.5px !important;
    padding: 18px 22px !important;
    font-family: 'Red Hat Display', sans-serif !important;
    box-shadow: none !important;
}

.lhi-faq-accordion .accordion-button:not(.collapsed) {
    background-color: #f4efe8 !important;
    color: var(--accent) !important;
}

.lhi-faq-accordion .accordion-body {
    padding: 22px 24px !important;
    color: #333333 !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    background-color: #ffffff !important;
}

/* ================= UTILITY BOXES ================= */
.official-link-box {
    background: #fbf9f4;
    border: 1px dashed var(--accent);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.official-link-box h4 {
    font-size: 17px !important;
    color: #1a1a1a !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
}

.official-link-box a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

.stage-card {
    background: #fbf9f4;
    border: 1px solid #eae5d9;
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 25px;
}

.stage-card h3 {
    font-size: 19px !important;
    color: #1a1a1a !important;
    margin-bottom: 8px !important;
}

.stage-duration {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

