/* Director page */
.resource-4345 section > .container {
    background: #F3F8FC;
    width: 100%;
    padding: 0;
    margin: 0;
}
.resource-4345 section > .container:before {
    display: none;
}
.resource-4345 section .col-xs-12 {
    padding: 0;
}
.expert {
    color: var(--text-primary);
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    --blue-primary: #1271CD;
    --blue-dark: #0D5BA8;
    --yellow-cta: #FFDE00;
    --dark-gray: #333333;
    --light-gray: #F8F8F8;
    --medium-gray: #D0D0D0;
    --white: #FFFFFF;
    --green-accent: #89C541;
    --light-blue-bg: #F3F8FC;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #E5E5E5;
}
.expert * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.expert h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.3;
}
.expert a {
    text-decoration: none;
    transition: color 0.2s;
}
.expert a:hover {
    text-decoration: underline;
}
.resource-4345 .crumbs .container,
.expert .container {
    max-width: 1170px;
    margin: 0 auto !important;
    padding: 0 15px !important;
    background: transparent !important;
}
.expert-section {
    padding: 48px 0 60px;
    background: var(--light-blue-bg);
    position: relative;
    overflow: hidden;
}
.expert-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.expert-photo-wrap {
    position: relative;
}
.expert-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.expert-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 6px;
    border-left: 4px solid var(--blue-primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    margin-top: 16px;
}
.expert-status-badge .label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 2px;
}
.expert-status-badge .value {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--blue-primary);
}
.expert-contact {
    margin-top: 20px;
    text-align: center;
}
.expert-contact-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.expert-contact-buttons {
    display: flex;
    gap: 10px;
}
.expert-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.expert-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.expert-contact-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}
.expert-contact-btn--phone {
    background: var(--blue-primary);
    color: var(--white);
}
.expert-contact-btn--phone:hover {
    background: var(--blue-dark);
}
.expert-contact-btn--tg {
    background: #2AABEE;
    color: var(--white);
}
.expert-contact-btn--tg:hover {
    background: #229ED9;

}
.expert-contact-btn--phone:hover,
.expert-contact-btn--tg:hover,
.expert-contact-btn--phone:active,
.expert-contact-btn--tg:active,
.expert-contact-btn--phone:focus,
.expert-contact-btn--tg:focus {
    color: var(--white);
    text-decoration: none !important;
}
.expert-contact-btn--phone {
    font-weight: 700;
    font-size: 14px;
    line-height: 34px;
    margin-right: 0;
    padding: 6px 16px;
    text-decoration: none;
}
.expert-info {
    position: relative;
    z-index: 1;
}
.expert-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f4fd;
    color: var(--blue-primary);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #c8e2f5;
    margin-bottom: 16px;
}
.expert-verified-badge svg {
    width: 14px;
    height: 14px;
    fill: var(--blue-primary);
}
.expert-info h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.15;
}
.expert-title {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.5;
}
.expert-title strong { color: var(--text-primary); }
.expert-title .brand-link { color: var(--blue-primary); font-weight: 500; }

.expert-summary-card {
    background: var(--white);
    padding: 28px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}
.expert-summary-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.expert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.expert-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-blue-bg);
    border: 1px solid #d8e8f5;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}
.expert-tag svg {
    width: 18px;
    height: 18px;
    fill: var(--blue-primary);
    flex-shrink: 0;
}

.expert-bio {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 600px;
}
/* === STATS SECTION === */
.stats-section {
    background: var(--light-blue-bg);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.stat-card {
    background: var(--white);
    border-radius: 6px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.stat-card.accent {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: var(--white);
}
.stat-icon {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--blue-primary);
}
.stat-card.accent .stat-icon { color: var(--yellow-cta); }
.stat-number {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--blue-primary);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-card.accent .stat-number { color: var(--white); }
.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}
.stat-card.accent .stat-label { color: rgba(255,255,255,0.8); }
.stat-sublabel {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}
.stat-card.accent .stat-sublabel { color: rgba(255,255,255,0.6); }
.stat-mono {
    font-family: 'Roboto Condensed', monospace;
    font-size: 15px;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* === PRACTICE NUMBERS === */
.practice-section {
    padding: 50px 0;
    background: var(--white);
}
.section-title {
    font-size: 24px !important;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 700px;
}
.practice-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.practice-item {
    padding: 24px;
    border-left: 4px solid var(--blue-primary);
}
.practice-item:nth-child(2),
.practice-item:nth-child(3) { border-left-color: var(--medium-gray); }
.practice-value {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--blue-primary);
    line-height: 1;
    margin-bottom: 8px;
}
.practice-desc {
    font-size: 15px;
    color: var(--text-secondary);
}

/* === INSTANCES === */
.instances-section {
    padding: 50px 0;
    background: var(--light-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.instances-section .section-title { text-align: center; margin-bottom: 32px; }
.instances-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.instance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 12px 16px;
    background: var(--white);
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    min-height: 100px;
    border: 1px solid var(--border-color);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.instance-item:hover {
    background: var(--light-blue-bg);
    border-color: var(--blue-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.instance-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--light-blue-bg);
    flex-shrink: 0;
}
.instance-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--blue-primary);
}

/* === CASES SECTION === */
.cases-section {
    padding: 50px 0;
    background: var(--white);
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s;
}
.case-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
.case-card-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.case-card-img svg {
    width: 64px;
    height: 64px;
    fill: rgba(255,255,255,0.85);
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}
.case-card-img--commerce {
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 50%, #3498db 100%);
}
.case-card-img--apartment {
    background: linear-gradient(135deg, #1e3a5f 0%, #2471a3 50%, #5dade2 100%);
}
.case-card-img--wall {
    background: linear-gradient(135deg, #0e4d6e 0%, #1a8cba 50%, #48c9b0 100%);
}
.case-card-body { padding: 28px 24px; flex-grow: 1; }
.case-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.case-tag { background: var(--light-blue-bg); color: var(--blue-primary); }
.case-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}
.case-block { margin-bottom: 20px; }
.case-block:last-child { margin-bottom: 0; }
.case-block-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
}
.case-block-label.result { color: var(--blue-primary); }
.case-block p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}
.case-block.result-block {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.case-block.result-block p {
    color: var(--text-primary);
    font-weight: 500;
}

/* === ARTICLES SECTION === */
.articles-section {
    padding: 50px 0;
    background: var(--light-gray);
    border-top: 1px solid var(--border-color);
}
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.article-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: 6px;
    padding: 20px 24px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s, box-shadow 0.2s;
    align-items: flex-start;
}
.article-card:hover {
    border-color: var(--blue-primary);
    box-shadow: 0 2px 12px rgba(18,113,205,0.1);
    text-decoration: none;
}
.article-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--light-blue-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.article-icon svg { width: 24px; height: 24px; fill: var(--blue-primary); }
.article-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
}
.article-card h3 {
    font-size: 15px !important;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 6px;
}
.article-card:hover h3 { color: var(--blue-primary); }
.article-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}

/* Pagination */
.paginate {
    justify-content: center;
    margin-top: 24px;
}
.paginate ul {
    display: flex;
    gap: 6px;
    justify-content: center;
}
.paginate li {
    display: inline-block;
    list-style: none;
}
.paginate a, .paginate span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.2s;
}
.paginate a:hover { background: var(--light-blue-bg); border-color: var(--blue-primary); text-decoration: none; }
.paginate .active { background: var(--blue-primary); color: var(--white); border-color: var(--blue-primary); }

/* === PUBLICATIONS SECTION === */
.publications-section {
    padding: 50px 0;
    background: var(--white);
}
.publications-section .articles-list {
    gap: 24px;
}
.publications-section .article-card {
    gap: 24px;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 24px;
    border: none;
}
.publications-section .article-card:hover {
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.article-card-img {
    flex-shrink: 0;
    width: 160px;
    height: 120px;
    border-radius: 6px;
    object-fit: cover;
}
.article-card-content {
    flex-grow: 1;
    min-width: 0;
}
.article-card-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}
.article-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-primary);
    line-height: 1.35;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}
.article-card-title:hover {
    text-decoration: underline;
}
.article-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === DOCUMENTS SECTION === */
.documents-section {
    padding: 50px 0;
    background: var(--light-gray);
    border-top: 1px solid var(--border-color);
}
.document-frame {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    position: relative;
}
.document-badge {
    position: absolute;
    top: -14px;
    left: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green-accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(137,197,65,0.3);
}
.document-badge svg { width: 14px; height: 14px; fill: currentColor; }
.document-frame img {
    width: 100%;
    border-radius: 4px;
    margin-top: 8px;
}
.document-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-secondary);
}
.document-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--green-accent);
    font-weight: 600;
}
.document-status svg { width: 14px; height: 14px; fill: currentColor; }

/* === CTA BLOCK === */
.cta-block {
    background: var(--blue-primary);
    padding: 50px 0;
    text-align: center;
    color: var(--white);
}
.cta-block h2 {
    font-size: 28px !important;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-block p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-block .btn-cta {
    display: inline-block;
    background: var(--yellow-cta);
    color: #000;
    font-size: 18px;
    padding: 14px 40px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.cta-block .btn-cta:hover {
    background: #f0d000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #000;
}

@media (max-width: 992px) {
    .expert-grid { grid-template-columns: 300px 1fr; gap: 32px; }
    .expert-photo { aspect-ratio: 1 / 1; }
    .expert-info h1 { font-size: 30px; }
    .cases-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .practice-numbers { grid-template-columns: 1fr; }
    .instances-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .expert-grid { grid-template-columns: 1fr; }
    .expert-photo-wrap { max-width: 320px; margin: 0 auto; }
    .expert-photo { aspect-ratio: 1 / 1; }
    .expert-info h1 { font-size: 28px; }
    .section-title { font-size: 22px !important; }
    .section-subtitle { font-size: 14px; }
    .instances-grid { grid-template-columns: repeat(2, 1fr); }
    .article-card { flex-direction: column; }
    .article-icon { width: 40px; height: 40px; }
    .publications-section .article-card { flex-direction: column; }
    .article-card-img { width: 100%; height: 180px; }
    .article-card-title { font-size: 17px; }
    .document-footer { flex-direction: column; gap: 8px; }
    .cta-block h2 { font-size: 22px !important; }
    .cta-block .btn-cta { font-size: 16px; padding: 12px 28px; }
    .resource-4345 section > .container {
        padding: 0 15px;
    }
}
@media (max-width: 480px) {
    .expert-photo-wrap { max-width: 260px; }
    .expert-info h1 { font-size: 24px; }
    .section-title { font-size: 21px !important; }
    .practice-value { font-size: 28px; }
    .instances-grid { grid-template-columns: 1fr 1fr; }
    .case-card-img { height: 140px; }
    .article-card-title { font-size: 16px; }
    .pagination a, .pagination span { width: 30px; height: 30px; font-size: 13px; }
    .document-frame { padding: 20px 16px; }
    .expert-section {
        padding: 20px 0;
    }
}

/* Director page */