/* ==========================================================================
   BDS 24H - MODERN EDITORIAL NEWS & BLOG LISTING (blog-modern.css)
   Thiết kế chuẩn Mockup Tạp chí BĐS Hiện đại - 100% độc lập CSS
   ========================================================================== */

.bds-blog-page-wrap {
    background-color: #f3f6f4;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #182b20;
    padding-bottom: 48px;
}

.bds-blog-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   1. HERO BANNER & THANH TÌM KIẾM BÀI VIẾT
   ========================================================================== */
.bds-blog-hero {
    position: relative;
    background-image:
        linear-gradient(90deg, rgba(242, 250, 244, 0.97) 0%, rgba(232, 246, 236, 0.92) 44%, rgba(16, 75, 38, 0.25) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=85');
    background-size: cover;
    background-position: center;
    padding: 36px 0 82px;
    border-bottom: 1px solid rgba(22, 101, 52, 0.12);
    overflow: hidden;
}

.bds-blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.72) 0%, transparent 55%);
    pointer-events: none;
}

.bds-blog-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.bds-blog-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #3b5a46;
    margin-bottom: 10px;
}

.bds-blog-breadcrumb a {
    color: #1f6b39;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.bds-blog-breadcrumb a:hover {
    color: #0d4722;
}

.bds-blog-breadcrumb-sep {
    color: #7c9885;
    font-size: 11px;
}

.bds-blog-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f4c29;
    line-height: 1.2;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.bds-blog-hero-subtitle {
    font-size: 15px;
    line-height: 1.55;
    color: #234230;
    font-weight: 500;
    margin: 0 0 22px;
}

.bds-blog-search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 12px 32px rgba(15, 76, 41, 0.14);
    border: 1.5px solid rgba(27, 116, 56, 0.18);
    max-width: 520px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bds-blog-search-form:focus-within {
    border-color: #1b7438;
    box-shadow: 0 14px 36px rgba(27, 116, 56, 0.22);
}

.bds-blog-search-icon {
    color: #5c7a67;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.bds-blog-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14.5px;
    color: #182b20;
    font-weight: 500;
    min-width: 0;
}

.bds-blog-search-input::placeholder {
    color: #7b9384;
    font-weight: 400;
}

.bds-blog-search-clear {
    color: #8aa092;
    font-size: 14px;
    padding: 4px 10px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.bds-blog-search-clear:hover {
    color: #d93025;
}

.bds-blog-search-btn {
    width: 60px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #1f7a3c 0%, #0f5123 100%);
    color: #ffffff;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(20, 99, 46, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bds-blog-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(20, 99, 46, 0.4);
}

/* ==========================================================================
   2. DẢI 7 THẺ CHUYÊN MỤC NỔI (FLOATING CATEGORY DOCK)
   ========================================================================== */
.bds-blog-cat-dock-wrap {
    margin-top: -48px;
    position: relative;
    z-index: 10;
    margin-bottom: 26px;
}

.bds-blog-cat-dock {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
}

.bds-blog-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 10px 14px;
    text-decoration: none !important;
    border: 1.5px solid rgba(24, 94, 49, 0.1);
    box-shadow: 0 10px 26px rgba(15, 52, 29, 0.07);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 104px;
}

.bds-blog-cat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(27, 116, 56, 0.38);
    box-shadow: 0 14px 32px rgba(15, 76, 41, 0.14);
}

.bds-blog-cat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #186b35;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.bds-blog-cat-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
}

.bds-blog-cat-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a2e22;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bds-blog-cat-card.is-active {
    background: linear-gradient(145deg, #228040 0%, #0e4b22 100%);
    border-color: #0e4b22;
    box-shadow: 0 14px 30px rgba(15, 81, 35, 0.28);
}

.bds-blog-cat-card.is-active .bds-blog-cat-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.bds-blog-cat-card.is-active .bds-blog-cat-label {
    color: #ffffff;
}

/* ==========================================================================
   3. BỐ CỤC CHÍNH 2 CỘT (MAIN LEFT + SIDEBAR RIGHT)
   ========================================================================== */
.bds-blog-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.bds-blog-left-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ==========================================================================
   4. KHỐI TÂM ĐIỂM "TIN NỔI BẬT" (BENTO SPOTLIGHT + 3 SUB CARDS)
   ========================================================================== */
.bds-blog-spotlight-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 8px 28px rgba(16, 48, 28, 0.06);
    border: 1px solid rgba(22, 101, 52, 0.08);
    display: grid;
    grid-template-columns: 1.42fr 1fr;
    gap: 18px;
    align-items: stretch;
}

/* --- Slider Tâm điểm Bên trái --- */
.bds-blog-hero-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 392px;
    background: #102418;
}

.bds-blog-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none !important;
}

.bds-blog-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.bds-blog-hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.bds-blog-hero-slide:hover .bds-blog-hero-slide-img {
    transform: scale(1.04);
}

.bds-blog-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1d7a3b 0%, #0f4f24 100%);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.bds-blog-featured-badge i {
    color: #ffd43b;
    font-size: 13px;
}

.bds-blog-slider-nav {
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #163020;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: all 0.2s ease;
}

.bds-blog-slider-nav:hover {
    background: #1b7438;
    color: #ffffff;
}

.bds-blog-slider-nav.prev {
    left: 14px;
}

.bds-blog-slider-nav.next {
    right: 14px;
}

.bds-blog-hero-overlay {
    position: relative;
    z-index: 3;
    background: linear-gradient(180deg, rgba(8, 24, 15, 0) 0%, rgba(9, 29, 17, 0.78) 42%, rgba(7, 23, 14, 0.96) 100%);
    padding: 48px 20px 18px;
    color: #ffffff;
}

.bds-blog-hero-slide-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bds-blog-hero-slide-sapo {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bds-blog-hero-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bds-blog-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.82);
}

.bds-blog-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bds-blog-slider-dots {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bds-blog-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.bds-blog-slider-dot.is-active {
    width: 18px;
    background: #37b24d;
}

/* --- 3 Bài viết Tiêu điểm Bên phải --- */
.bds-blog-subfeatured-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.bds-blog-subfeatured-card {
    display: grid;
    grid-template-columns: 152px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    text-decoration: none !important;
    padding: 6px;
    border-radius: 14px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bds-blog-subfeatured-card:hover {
    background-color: #f4faf6;
    transform: translateX(2px);
}

.bds-blog-subfeatured-thumb {
    width: 152px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    background: #e9f0ec;
    flex-shrink: 0;
}

.bds-blog-subfeatured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.bds-blog-subfeatured-card:hover .bds-blog-subfeatured-thumb img {
    transform: scale(1.06);
}

.bds-blog-subfeatured-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 2px 0;
}

.bds-blog-subfeatured-title {
    font-size: 15px;
    font-weight: 700;
    color: #15291d;
    line-height: 1.4;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.bds-blog-subfeatured-card:hover .bds-blog-subfeatured-title {
    color: #186b35;
}

.bds-blog-meta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: #6c8274;
}

.bds-blog-meta-inline span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   5. KHÁM PHÁ THEO CHUYÊN MỤC (MAGAZINE MULTI-TIER LAYOUT)
   ========================================================================== */
.bds-blog-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.bds-blog-sec-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bds-blog-sec-bar {
    width: 5px;
    height: 22px;
    border-radius: 99px;
    background: linear-gradient(180deg, #20803f 0%, #0f4c24 100%);
}

.bds-blog-sec-title {
    font-size: 21px;
    font-weight: 800;
    color: #12281b;
    margin: 0;
    letter-spacing: -0.01em;
}

.bds-blog-explore-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Tier 1 & 3: Asymmetric 2-Column Magazine Card --- */
.bds-blog-cat-wide-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 6px 24px rgba(15, 45, 28, 0.05);
    border: 1px solid rgba(22, 101, 52, 0.08);
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 22px;
    align-items: center;
}

.bds-blog-cat-lead {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    background: #eaf1ec;
}

.bds-blog-cat-lead-thumb {
    width: 100%;
    height: 248px;
    position: relative;
    overflow: hidden;
}

.bds-blog-cat-lead-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.bds-blog-cat-lead:hover .bds-blog-cat-lead-thumb img {
    transform: scale(1.05);
}

.bds-blog-cat-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    background: linear-gradient(135deg, #1b7438 0%, #104e24 100%);
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    text-decoration: none !important;
}

.bds-blog-cat-lead-info {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 13px 16px;
    box-shadow: 0 8px 24px rgba(15, 42, 26, 0.12);
}

.bds-blog-cat-lead-title {
    font-size: 16px;
    font-weight: 800;
    color: #13281c;
    line-height: 1.38;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.bds-blog-cat-lead:hover .bds-blog-cat-lead-title {
    color: #186b35;
}

.bds-blog-cat-bullets {
    list-style: none;
    margin: 0;
    padding: 0 4px;
    display: flex;
    flex-direction: column;
}

.bds-blog-cat-bullet-item {
    border-bottom: 1px solid #edf2ee;
    padding: 15px 0;
}

.bds-blog-cat-bullet-item:first-child {
    padding-top: 4px;
}

.bds-blog-cat-bullet-item:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}

.bds-blog-cat-bullet-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none !important;
    color: #1a2f22;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.45;
    transition: color 0.2s ease, transform 0.2s ease;
}

.bds-blog-cat-bullet-link::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1e7a3b;
    margin-top: 7px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(30, 122, 59, 0.15);
}

.bds-blog-cat-bullet-link:hover {
    color: #186b35;
    transform: translateX(3px);
}

/* --- Tier 2: 3-Column Bento Category Grid --- */
.bds-blog-cat-bento3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bds-blog-bento-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(15, 45, 28, 0.05);
    border: 1px solid rgba(22, 101, 52, 0.08);
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.bds-blog-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 65, 34, 0.12);
}

.bds-blog-bento-thumb {
    position: relative;
    height: 172px;
    background: #e9f0ec;
    overflow: hidden;
}

.bds-blog-bento-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.bds-blog-bento-card:hover .bds-blog-bento-thumb img {
    transform: scale(1.06);
}

.bds-blog-bento-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.bds-blog-bento-title {
    font-size: 15px;
    font-weight: 700;
    color: #152a1d;
    line-height: 1.42;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.bds-blog-bento-card:hover .bds-blog-bento-title {
    color: #186b35;
}

/* ==========================================================================
   6. DANH SÁCH BÀI VIẾT LỌC / PHÂN TRANG (CATEGORY & SEARCH FEED)
   ========================================================================== */
.bds-blog-feed-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 6px 24px rgba(15, 45, 28, 0.05);
    border: 1px solid rgba(22, 101, 52, 0.08);
}

.bds-blog-feed-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid #ebf1ed;
}

.bds-blog-feed-count {
    font-size: 14px;
    color: #4b6354;
}

.bds-blog-feed-count strong {
    color: #135e2d;
    font-weight: 800;
}

.bds-blog-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #4b6354;
}

.bds-blog-sort-select {
    border: 1px solid #d5e2d9;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #182b20;
    background: #f9fbf9;
    outline: none;
    cursor: pointer;
}

.bds-blog-feed-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bds-blog-feed-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eaf0ec;
    background: #ffffff;
    text-decoration: none !important;
    transition: all 0.22s ease;
}

.bds-blog-feed-card:hover {
    transform: translateY(-3px);
    border-color: rgba(27, 116, 56, 0.3);
    box-shadow: 0 12px 26px rgba(15, 65, 34, 0.1);
}

.bds-blog-feed-thumb {
    position: relative;
    height: 186px;
    background: #eaf0ec;
    overflow: hidden;
}

.bds-blog-feed-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bds-blog-feed-card:hover .bds-blog-feed-thumb img {
    transform: scale(1.05);
}

.bds-blog-feed-body {
    padding: 15px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bds-blog-feed-title {
    font-size: 16px;
    font-weight: 700;
    color: #14291c;
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.bds-blog-feed-card:hover .bds-blog-feed-title {
    color: #186b35;
}

.bds-blog-feed-sapo {
    font-size: 13.5px;
    color: #576f60;
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bds-blog-feed-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #748b7c;
    padding-top: 10px;
    border-top: 1px dashed #ecf2ee;
}

.bds-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.bds-blog-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #dce6df;
    background: #ffffff;
    color: #213a2b;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.bds-blog-page-btn:hover {
    border-color: #1b7438;
    color: #1b7438;
    background: #f2f9f4;
}

.bds-blog-page-btn.is-active {
    background: linear-gradient(135deg, #1f7a3c 0%, #0f5123 100%);
    border-color: #0f5123;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(20, 99, 46, 0.25);
}

/* ==========================================================================
   7. SIDEBAR PHẢI (3 WIDGET HIỆN ĐẠI)
   ========================================================================== */
.bds-blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 86px;
}

/* --- Widget 1: Banner Cập nhật Dự án mới nhất --- */
.bds-blog-promo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 24px 20px;
    background:
        linear-gradient(125deg, #0d5226 0%, #197438 58%, rgba(25, 116, 56, 0.72) 100%),
        url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=700&q=80');
    background-size: cover;
    background-position: right center;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 76, 41, 0.2);
}

.bds-blog-promo-content {
    position: relative;
    z-index: 2;
    max-width: 78%;
}

.bds-blog-promo-title {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.28;
    margin: 0 0 8px;
}

.bds-blog-promo-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
    margin: 0 0 16px;
}

.bds-blog-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #115729 !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 999px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bds-blog-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* --- Widget 2: Bài viết xem nhiều --- */
.bds-blog-topviews-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 18px;
    box-shadow: 0 8px 26px rgba(15, 45, 28, 0.06);
    border: 1px solid rgba(22, 101, 52, 0.08);
}

.bds-blog-widget-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.bds-blog-widget-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e6f4ea;
    color: #186b35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.bds-blog-widget-title {
    font-size: 18px;
    font-weight: 800;
    color: #13291c;
    margin: 0;
}

.bds-blog-topviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bds-blog-topview-item {
    display: grid;
    grid-template-columns: 26px 76px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    text-decoration: none !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f4f1;
    transition: transform 0.2s ease;
}

.bds-blog-topview-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.bds-blog-topview-item:hover {
    transform: translateX(3px);
}

.bds-blog-rank-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e3f3e8;
    color: #15622f;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bds-blog-topview-item:nth-child(1) .bds-blog-rank-badge {
    background: linear-gradient(135deg, #1f7a3c, #0f5123);
    color: #ffffff;
}

.bds-blog-topview-thumb {
    width: 76px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #e9f0ec;
}

.bds-blog-topview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bds-blog-topview-info {
    min-width: 0;
}

.bds-blog-topview-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #162b1e;
    line-height: 1.35;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.bds-blog-topview-item:hover .bds-blog-topview-title {
    color: #186b35;
}

.bds-blog-topview-views {
    font-size: 12px;
    color: #6f8677;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* --- Widget 3: Nhận bản tin BĐS (Newsletter) --- */
.bds-blog-newsletter-card {
    position: relative;
    border-radius: 20px;
    padding: 22px 18px;
    background: linear-gradient(155deg, #ecf8ef 0%, #d4eedc 100%);
    border: 1px solid rgba(24, 107, 53, 0.16);
    box-shadow: 0 8px 24px rgba(15, 65, 34, 0.07);
    overflow: hidden;
}

.bds-blog-newsletter-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #ffffff;
    color: #186b35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(15, 76, 41, 0.1);
    margin-bottom: 12px;
}

.bds-blog-newsletter-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f4422;
    margin: 0 0 6px;
}

.bds-blog-newsletter-desc {
    font-size: 13.5px;
    color: #2c523a;
    line-height: 1.5;
    margin: 0 0 16px;
}

.bds-blog-newsletter-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 4px 4px 4px 14px;
    box-shadow: 0 4px 14px rgba(15, 65, 34, 0.08);
    border: 1px solid rgba(24, 107, 53, 0.18);
}

.bds-blog-newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13.5px;
    color: #182b20;
    min-width: 0;
}

.bds-blog-newsletter-btn {
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f7a3c 0%, #0f5123 100%);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 18px;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.bds-blog-newsletter-btn:hover {
    opacity: 0.92;
}

/* ==========================================================================
   8. KHU VỰC CUỐI TRANG: CHỦ ĐỀ NỔI BẬT & BANNER PHÂN TÍCH THỊ TRƯỜNG
   ========================================================================== */
.bds-blog-bottom-row {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
    align-items: center;
}

.bds-blog-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bds-blog-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #dce7df;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1c3525 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(15, 45, 28, 0.04);
    transition: all 0.2s ease;
}

.bds-blog-tag-pill span {
    color: #1b7438;
    font-weight: 800;
}

.bds-blog-tag-pill:hover {
    background: #1b7438;
    border-color: #1b7438;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 116, 56, 0.22);
}

.bds-blog-tag-pill:hover span {
    color: #ffffff;
}

.bds-blog-bottom-cta {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px 24px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(235, 248, 239, 0.96) 44%, rgba(226, 244, 232, 0.98) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80');
    background-size: cover;
    background-position: left center;
    border: 1px solid rgba(24, 107, 53, 0.16);
    box-shadow: 0 8px 26px rgba(15, 55, 30, 0.08);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none !important;
    min-height: 118px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.bds-blog-bottom-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 65, 34, 0.14);
}

.bds-blog-bottom-cta-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bds-blog-bottom-cta-text {
    text-align: right;
}

.bds-blog-bottom-cta-text strong {
    display: block;
    font-size: 16.5px;
    font-weight: 800;
    color: #0f4422;
    line-height: 1.38;
}

.bds-blog-bottom-cta-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f7a3c 0%, #0f5123 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(20, 99, 46, 0.28);
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1140px) {
    .bds-blog-cat-dock {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .bds-blog-main-grid {
        grid-template-columns: 1fr;
    }
    .bds-blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .bds-blog-bottom-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bds-blog-cat-dock {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bds-blog-spotlight-box,
    .bds-blog-cat-wide-card,
    .bds-blog-cat-bento3,
    .bds-blog-feed-list,
    .bds-blog-sidebar {
        grid-template-columns: 1fr;
    }
}
