#elComment_7399833 .ipsResponsive_hidePhone,
#elComment_7399833 .ipsComment_author,
#elComment_7399833 .ipsComment_meta,
#elComment_7399833 .ipsType_reset,
.ipsPager,
.ipsHr,
.ipsPhotoPanel_small,
.cTopicPostArea,
.ipsList_inline {
    display: none !important;
}

#elComment_7399833 {
    border-radius: 8px;
}

.ipsComment,
.ipsComment.ipsBox:not(.ipsBox_transparent),
.ipsBox,
.ipsModerated {
    background: transparent !important;
    border: 1px solid transparent !important;
}

:root {
    --gold: #d9c29e;
    --gold-light: #f5e6d3;
    --bg-dark: #0f1117;
    --bg-card: #1a1c2a;
    --bg-element: #24273a;
    --text-light: #ececec;
    --text-muted: #999999;
    --text-soft: #b9b9b9;
    --gray-color: #808080;
    --gray-light: #a0a0a0;
    --gray-dark: #666666;
    --main-leader: #808080;
    --transition: all 0.3s ease;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.leaders-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.leaders-header {
    text-align: center;
    margin-bottom: 40px;
}

.leaders-header h1 {
    color: var(--gold);
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.leaders-description {
    max-width: 900px;
    margin: 20px auto;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(26, 28, 42, 0.95), rgba(36, 39, 58, 0.95));
    border-radius: 20px;
    border-left: 4px solid var(--gray-color);
    box-shadow: var(--shadow);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.leaders-description::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 120px;
    color: rgba(128, 128, 128, 0.1);
    font-family: serif;
    pointer-events: none;
}

.leaders-description p {
    margin: 0;
    position: relative;
    z-index: 1;
}

.leaders-description p:first-child {
    color: var(--gray-color);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leaders-description p:first-child i {
    margin-right: 8px;
    color: var(--gray-color);
}

.leaders-description p:last-child {
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
}

.leaders-hr {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
    border: none;
    margin: 30px auto;
    width: 80%;
    opacity: 0.5;
}

.ministry-block {
    background-color: var(--bg-card);
    border-radius: 15px;
    padding: 30px 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.ministry-title {
    color: var(--gold);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.ministry-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.leaders-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
}

.leader-card {
    flex: 0 1 300px;
    min-width: 280px;
    max-width: 320px;
    background-color: var(--bg-element);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none !important;
    color: var(--text-light) !important;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow);
}

.leader-card.opg {
    border-color: var(--gray-color);
    box-shadow: 0 0 10px rgba(128, 128, 128, 0.2);
}

.leader-card.main-leader {
    border-color: var(--main-leader);
    box-shadow: 0 0 15px rgba(128, 128, 128, 0.3);
}

.leader-card.opg:hover {
    box-shadow: 0 0 20px rgba(128, 128, 128, 0.4);
    transform: translateY(-5px);
}

.leader-card.main-leader:hover {
    box-shadow: 0 0 25px rgba(128, 128, 128, 0.5);
    transform: translateY(-5px);
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.leader-card.opg::before { background: linear-gradient(90deg, var(--gray-color), var(--gray-light)); }
.leader-card.main-leader::before { background: linear-gradient(90deg, var(--main-leader), var(--gray-light)); }

.card-main {
    padding: 25px 20px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card-main:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.leader-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.leader-card.opg .leader-name { color: var(--gray-color); }
.leader-card.main-leader .leader-name { color: var(--main-leader); }

.leader-tag {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.leader-position {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 15px 0 10px;
    background: rgba(0, 0, 0, 0.25);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid;
    text-align: center;
    font-weight: 500;
    word-break: break-word;
}

.leader-card.opg .leader-position { 
    border-color: var(--gray-color);
    background: rgba(128, 128, 128, 0.1);
}

.leader-card.main-leader .leader-position { 
    border-color: var(--main-leader);
    background: rgba(128, 128, 128, 0.1);
}

.card-main::after {
    content: '▼';
    display: block;
    text-align: center;
    color: var(--gold);
    font-size: 0.8rem;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

.leader-card.expanded .card-main::after {
    transform: rotate(180deg);
}

.card-spoiler {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background-color: #1a1c28;
    border-top: 1px solid transparent;
}

.leader-card.expanded .card-spoiler {
    max-height: 2000px;
    border-top-color: rgba(217, 194, 158, 0.2);
}

.spoiler-content {
    padding: 20px;
    text-align: left;
}

.spoiler-title {
    color: var(--gold);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(217, 194, 158, 0.3);
    padding-bottom: 10px;
}

.history-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.history-list::-webkit-scrollbar {
    width: 6px;
}

.history-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.history-list::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.history-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-item.opg-item {
    border-color: rgba(128, 128, 128, 0.3);
}

.history-name {
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 5px;
    font-size: 14px;
}

.history-dates {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.history-dates i {
    color: var(--gold);
    font-size: 12px;
}

.leader-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 5px;
    padding: 15px 20px 20px;
    border-top: 1px solid rgba(217, 194, 158, 0.1);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    transition: var(--transition);
    text-decoration: none !important;
    font-size: 16px;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

.profile-link:hover { background-color: var(--gold); color: #1a1c2a; }

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    font-style: italic;
}

.empty-history {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.author-signature {
    text-align: right;
    margin-top: 20px;
    padding: 10px 20px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid rgba(217, 194, 158, 0.2);
}

.author-signature a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
}

.author-signature a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .leaders-header h1 {
        font-size: 32px;
    }
    
    .leaders-description {
        padding: 20px;
    }
    
    .leaders-description p:first-child {
        font-size: 16px;
    }
    
    .leaders-description p:last-child {
        font-size: 14px;
    }
    
    .leader-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
    
    .card-main {
        padding: 20px 15px 10px;
    }
    
    .spoiler-content {
        padding: 15px;
    }
    
    .history-item {
        padding: 10px;
    }
}