/* Info cartiere Bucuresti */
.cb-header {
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.cb-main {
    align-items: start;
}

.cb-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.cb-hero {
    padding: 32px 36px;
    border-radius: 20px;
}

.cb-kicker {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6366f1;
}

.cb-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: #111827;
}

.cb-lead {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #4b5563;
    max-width: 720px;
}

.cb-toolbar {
    padding: 24px;
    border-radius: 16px;
}

.cb-search-wrap label,
.cb-filter label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
}

.cb-search-wrap input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
}

.cb-filters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.cb-filters select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
}

.cb-filter-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.cb-classifications h2 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    color: #111827;
}

.cb-class-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cb-class-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.cb-class-btn:hover,
.cb-class-btn.is-active {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4338ca;
}

.cb-results-count {
    margin: 0 0 12px;
    font-size: 14px;
    color: #6b7280;
}

.cb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.cb-card {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.cb-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.cb-card h3 a {
    color: #111827;
    text-decoration: none;
}

.cb-card h3 a:hover {
    color: #4f46e5;
}

.cb-card p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

.cb-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.cb-meta span {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
}

.cb-card-link {
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
}

.cb-empty {
    text-align: center;
    color: #6b7280;
    padding: 24px;
}

.cb-breadcrumb {
    font-size: 14px;
    color: #6b7280;
}

.cb-breadcrumb a {
    color: #4f46e5;
    text-decoration: none;
}

.cb-hero-detail .cb-map-cta {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
}

.cb-section {
    padding: 28px 32px;
    border-radius: 16px;
}

.cb-section h2 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    color: #111827;
}

.cb-section p {
    margin: 0;
    font-size: 18px;
    line-height: 1.75;
    color: #4b5563;
}

.cb-section-placeholder .cb-placeholder {
    color: #9ca3af;
    font-style: italic;
}

.cb-faq details {
    border-bottom: 1px solid #f3f4f6;
    padding: 12px 0;
}

.cb-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: #1f2937;
}

.cb-meta-footer {
    padding: 20px 24px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

/* Format articol editorial (ex: Vitan, sectoare) */
.cb-article {
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
    border-radius: 20px;
    font-size: 18px;
    line-height: 1.75;
    color: #374151;
}

.cb-article-intro {
    margin: 0 0 28px;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
}

.cb-article-toc {
    margin: 0 0 36px;
    padding: 20px 24px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.cb-article-toc-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.cb-article-toc ul {
    margin: 0;
    padding-left: 20px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
}

.cb-article-toc li + li {
    margin-top: 6px;
}

.cb-article-blocks {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cb-article-block {
    margin-top: 0;
}

.cb-article-block h2 {
    margin: 0 0 18px;
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
    line-height: 1.35;
    color: #111827;
    letter-spacing: -0.01em;
}

.cb-article-block p {
    margin: 0 0 18px;
    font-size: inherit;
    line-height: inherit;
    color: #4b5563;
}

.cb-article-block p:last-child {
    margin-bottom: 0;
}

.cb-article-faq {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.cb-article-faq h2 {
    margin: 0 0 16px;
    font-size: 1.35rem;
    color: #111827;
}

.cb-article-faq .cb-faq summary {
    font-size: 17px;
}

.cb-article-faq .cb-faq p {
    margin: 10px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
}

/* Blog homepage — postari 2 coloane */
.cb-section-desc {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.65;
    color: #6b7280;
}

.cb-blog-posts-section {
    border-left: 4px solid #6366f1;
}

.cb-blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.cb-post-card {
    padding: 22px 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cb-post-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.1);
}

.cb-post-kicker {
    font-size: 11px !important;
    margin-bottom: 8px !important;
}

.cb-post-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.35;
}

.cb-post-card h3 a {
    color: #111827;
    text-decoration: none;
}

.cb-post-card h3 a:hover {
    color: #4f46e5;
}

.cb-post-summary {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.65;
    color: #4b5563;
}

.cb-post-card-sector {
    border-left: 3px solid #eab308;
}

/* Tabel chirii (articole blog) */
.cb-article-lead-extra {
    margin-top: -12px;
}

.cb-rent-table-wrap {
    margin: 0 0 36px;
}

.cb-rent-table-caption {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.cb-rent-table-scroll {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.cb-rent-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.45;
}

.cb-rent-table thead th {
    padding: 14px 16px;
    text-align: center;
    font-weight: 700;
    color: #1e3a8a;
    background: #dbeafe;
    border-bottom: 2px solid #bfdbfe;
}

.cb-rent-table thead th:first-child {
    text-align: left;
    background: #fce7f3;
    color: #9d174d;
}

.cb-rent-table tbody td {
    padding: 12px 16px;
    text-align: center;
    color: #1f2937;
    border-bottom: 1px solid #f1f5f9;
}

.cb-rent-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    background: #fdf2f8;
    color: #831843;
}

.cb-rent-table tbody tr:nth-child(even) td:not(:first-child) {
    background: #f8fafc;
}

.cb-rent-table-note {
    margin: 10px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.cb-article-figure {
    margin: 0 0 28px;
}

.cb-article-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

@media (min-width: 900px) {
    .cb-blog-posts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Desktop: latime aproape 100% (ca dash.php) */
@media (min-width: 1024px) {
    .cb-page .cb-header .navbar {
        max-width: none;
        width: 100%;
        padding-left: clamp(10px, 1.25vw, 28px);
        padding-right: clamp(10px, 1.25vw, 28px);
    }

    .cb-page .cb-main,
    .cb-page .main-two-columns {
        max-width: none !important;
        width: 100%;
        margin: 0;
        padding: 14px clamp(10px, 1.25vw, 28px);
        gap: clamp(12px, 1.2vw, 22px);
        box-sizing: border-box;
    }

    .cb-page .cb-content {
        min-width: 0;
    }

    .cb-page .sidebar-navigation {
        position: sticky;
        top: 12px;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        align-self: start;
    }

    .cb-page .cb-lead {
        max-width: none;
    }

    .cb-page .cb-filters {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .cb-page .cb-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .cb-page .cb-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cb-page .cb-filters {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    /* Articole editoriale — 2 coloane pe monitoare mari */
    .cb-article-blocks {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 44px 56px;
        align-items: start;
    }
}

@media (min-width: 1600px) {
    .cb-page .cb-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Tablet */
@media (max-width: 1023px) {
    .cb-header {
        margin-bottom: 16px;
    }

    .cb-hero,
    .cb-toolbar {
        padding: 20px;
    }

    .cb-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cb-filter-check label {
        margin-top: 0;
    }

    .cb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .cb-hero,
    .cb-section,
    .cb-article {
        padding: 22px 20px;
    }

    .cb-grid {
        grid-template-columns: 1fr;
    }

    .cb-filters {
        grid-template-columns: 1fr;
    }

    .cb-class-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
}
