/* --- inline block 0 of article__estetika-i-medicina-kompressionny-trikotazh-kak-chast-sovremennogo-obraza.html --- */
/* Article Detail Styles */
.article-detail { padding: 40px 0; }
.article__container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Breadcrumbs */
.article-breadcrumbs { margin-bottom: 20px; font-size: 14px; color: #666; }
.article-breadcrumbs .breadcrumb-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.article-breadcrumbs .breadcrumb-item { display: flex; align-items: center; }
.article-breadcrumbs .breadcrumb-item + .breadcrumb-item::before { content: "»"; padding: 0 8px; color: #999; }
.article-breadcrumbs .breadcrumb-item a { color: #666; text-decoration: none; transition: color 0.2s; }
.article-breadcrumbs .breadcrumb-item a:hover { color: #000; }
.article-breadcrumbs .breadcrumb-current { color: #333; font-weight: 500; }

/* Header */
.article-header h1 { margin-bottom: 15px; font-size: 32px; font-weight: 700; color: #222; line-height: 1.3; }
.article-lead { font-size: 18px; line-height: 1.6; color: #555; margin-bottom: 20px; font-style: italic; border-left: 3px solid #0066cc; padding-left: 15px; }
.article-meta { color: #888; font-size: 14px; margin-bottom: 30px; display: flex; align-items: center; gap: 8px; }
.article-meta-separator { color: #ccc; }
.article-meta-updated { color: #aaa; font-size: 13px; }

/* Body */
.article-body { font-size: 16px; line-height: 1.8; color: #444; }
.article-main-image { float: left; margin: 0 30px 20px 0; width: 450px; height: 320px; object-fit: cover; border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.article-content h2, .article-content h3, .article-content h4 { margin-top: 1.5em; margin-bottom: 0.5em; color: #222; }
.article-content p { margin-bottom: 1em; }
.article-content ul {
    margin-bottom: 1em;
    padding-left: 25px;
}
.article-content ol {
    margin-bottom: 1em;
    padding-left: 25px;
}
.article-content ul li {
    list-style-type: disc;
    margin-bottom: 0.4em;
}
.article-content ol li {
    list-style-type: decimal;
    margin-bottom: 0.4em;
}
.article-content img { max-width: 100%; height: auto; display: block; margin: 25px 0; border-radius: 8px; }

/* Related Articles */
.related-articles { margin-top: 50px; padding-top: 30px; border-top: 1px solid #eaeaea; }
.related-articles h2 { font-size: 22px; margin-bottom: 20px; color: #222; }
.related-articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.related-article-card { display: block; text-decoration: none; color: inherit; border-radius: 10px; overflow: hidden; background: #f9f9f9; transition: transform 0.2s, box-shadow 0.2s; }
.related-article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.related-article-card img { width: 100%; height: 180px; object-fit: cover; }
.related-article-card h3 { font-size: 15px; font-weight: 600; padding: 12px 15px 5px; color: #222; line-height: 1.4; }
.related-article-card time { display: block; padding: 0 15px 12px; font-size: 13px; color: #999; }

/* Footer */
.article-footer { margin-top: 50px; padding-top: 20px; border-top: 1px solid #eaeaea; }
.article-footer-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: #f4f5f7; color: #333; text-decoration: none; border-radius: 6px; font-weight: 500; font-size: 15px; transition: background 0.2s; }
.article-footer-link:hover { background: #e2e6ea; }

@media (max-width: 768px) {
    .article-main-image { float: none !important; margin: 0 0 20px 0 !important; width: 100% !important; height: auto !important; max-height: 400px; }
    .article-detail { padding: 20px 0; }
    .article-header h1 { font-size: 26px; }
    .article-lead { font-size: 16px; }
    .related-articles-grid { grid-template-columns: 1fr; }
}

/* ==================== Cited Doctors Block ==================== */
.article-doctors {
    margin-top: 50px;
    padding: 40px 0 10px;
    border-top: 1px solid #eaeaea;
    position: relative;
}
.article-doctors__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}
.article-doctors__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.article-doctors__title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.3px;
}
.article-doctors__line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, transparent);
    border-radius: 1px;
}
.article-doctors__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* Doctor Card */
.doctor-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    padding: 28px 20px 24px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}
.doctor-card:hover::before {
    opacity: 1;
}

/* Photo */
.doctor-card__photo-wrap {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
    border: 3px solid #f0f4ff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.doctor-card:hover .doctor-card__photo-wrap {
    border-color: #c7d2fe;
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.2);
}
.doctor-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.doctor-card__photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e7ff, #f0f4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

/* Name & Spec */
.doctor-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
    line-height: 1.3;
}
.doctor-card__spec {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px;
    font-style: italic;
    line-height: 1.4;
}

/* Social Links */
.doctor-card__socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.doctor-social {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: #f1f5f9;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.doctor-social:hover {
    transform: translateY(-2px) scale(1.1);
    color: #fff;
}
.doctor-social--tg:hover  { background: #2AABEE; box-shadow: 0 4px 12px rgba(42, 171, 238, 0.4); }
.doctor-social--wa:hover  { background: #25D366; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
.doctor-social--vk:hover  { background: #4C75A3; box-shadow: 0 4px 12px rgba(76, 117, 163, 0.4); }
.doctor-social--ig:hover  { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4); }
.doctor-social--yt:hover  { background: #FF0000; box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4); }
.doctor-social--web:hover { background: #6366f1; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); }

@media (max-width: 768px) {
    .article-doctors { margin-top: 30px; padding-top: 25px; }
    .article-doctors__grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
    .article-doctors__title { font-size: 19px; }
    .doctor-card { padding: 22px 16px 20px; }
    .doctor-card__photo-wrap { width: 80px; height: 80px; }
    .doctor-card__name { font-size: 14px; }
    .doctor-social { width: 32px; height: 32px; border-radius: 8px; }
    .doctor-social svg { width: 15px; height: 15px; }
}
