/* =====================================================================
   Раздел «Акционерам и инвесторам» — самостоятельная вёрстка
   ===================================================================== */

/* Hero блок (тёмный, на всю ширину) */
.disc-hero {
    background: linear-gradient(135deg, #253056 0%, #1b2444 100%);
    color: #fff;
    padding: 56px 0 44px;
}
.disc-hero h1 {
    margin: 0 0 14px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}
.disc-hero p.lead {
    max-width: 900px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.disc-hero--sm {
    padding: 36px 0 28px;
}
.disc-hero--sm h1 {
    font-size: 1.6rem;
}

/* Хлебные крошки внутри hero */
.disc-hero .disc-crumbs {
    display: block;
    margin: 0 0 14px;
    padding: 0;
    background: transparent !important;
    height: auto;
    line-height: normal;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    box-shadow: none;
}
.disc-hero .disc-crumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: inline;
    padding: 0;
    margin: 0;
    line-height: normal;
    height: auto;
    font-size: 0.9rem;
}
.disc-hero .disc-crumbs a:hover {
    color: #fff;
    text-decoration: underline;
}
.disc-hero .disc-crumbs .sep {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.45);
}

/* Основная секция */
.disc-section {
    background: #f7f8fa;
    padding: 40px 0 64px;
    min-height: 360px;
}
.disc-section .container {
    background: transparent;
}

/* Карточки на лендинге */
.disc-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 8px;
}
.disc-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow .15s ease, transform .15s ease;
}
.disc-card:hover {
    box-shadow: 0 6px 18px rgba(37, 48, 86, 0.16);
    transform: translateY(-2px);
}
.disc-card__body {
    padding: 22px 22px 14px;
    flex: 1;
}
.disc-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #253056;
    margin-bottom: 14px;
}
.disc-card__icon .material-icons {
    color: #fff;
    font-size: 24px;
}
.disc-card__title {
    display: block;
    font-size: 1.08rem;
    font-weight: 500;
    color: #253056;
    margin-bottom: 10px;
    line-height: 1.35;
}
.disc-card__descr {
    margin: 0;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.55;
}
.disc-card__action {
    padding: 12px 22px;
    border-top: 1px solid #eef1f4;
    color: #253056;
    font-weight: 500;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.disc-card__action .material-icons {
    font-size: 18px;
}

@media (max-width: 992px) {
    .disc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .disc-cards { grid-template-columns: 1fr; gap: 14px; }
    .disc-hero { padding: 36px 0 30px; }
    .disc-hero h1 { font-size: 1.5rem; }
    .disc-hero p.lead { font-size: 0.98rem; }
}

/* ======== Страница категории ======== */
/* Контент тянется на всю ширину родительского .container,
   как на disclosure.jsp. */
.disc-content { max-width: none; }

.disc-lead {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 24px;
}

/* Поиск (склеенный input + button) */
.disc-search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.disc-search__group {
    display: flex;
    align-items: stretch;
    flex: 1;
    width: 100%;
    background: #fff;
    border: 1px solid #d0d6dc;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.disc-search__group:focus-within {
    border-color: #253056;
    box-shadow: 0 0 0 3px rgba(37, 48, 86, 0.12);
}
.disc-search__input {
    flex: 1;
    min-width: 0;
    height: 44px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.95rem;
    color: #1a1a1a;
    outline: none;
}
.disc-search__input:focus {
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
.disc-search__input::placeholder { color: #999; }
.disc-search__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 48px;
    background: transparent;
    color: #888;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
}
.disc-search__btn:hover {
    color: #253056;
    background: #f5f7fa;
}
.disc-search__btn .material-icons {
    font-size: 20px;
    line-height: 1;
}
.disc-search__btn span { display: none; }
.disc-search__reset {
    color: #555 !important;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px dashed #999;
}
.disc-search__reset:hover {
    color: #253056 !important;
    border-bottom-color: #253056;
}


/* Общая кнопка для других мест на странице (Перейти на Интерфакс и т.п.) */
.disc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 4px;
    background: #253056;
    color: #fff !important;
    font-size: 0.92rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease;
}
.disc-btn:hover { background: #1b2444; }
.disc-btn .material-icons { font-size: 18px; }

/* Таблица документов */
.disc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 6px;
    overflow: hidden;
}
.disc-table thead th {
    background: #253056;
    color: #fff;
    font-weight: 500;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.92rem;
}
.disc-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eef1f4;
    vertical-align: top;
    font-size: 0.95rem;
    color: #333;
}
.disc-table tbody tr:last-child td { border-bottom: 0; }
.disc-table tbody tr:hover { background: #fafbfc; }
.disc-table .doc-title { font-weight: 500; color: #1a1a1a; }
.disc-table .doc-descr { color: #777; font-size: 0.87rem; margin-top: 4px; }
.disc-table .actions { text-align: right; white-space: nowrap; }
.disc-table .disc-btn { padding: 0 14px; height: 36px; font-size: 0.85rem; }

@media (max-width: 768px) {
    .disc-table .hide-on-small { display: none; }
    .disc-table tbody td { padding: 12px; }
}

/* Информационный блок (для material_facts) */
.disc-info-box {
    background: #fff;
    border-left: 4px solid #253056;
    padding: 22px 26px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.disc-info-box h2 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: #253056;
}
.disc-info-box p { margin: 0 0 12px; color: #444; line-height: 1.55; }
.disc-info-box p:last-child { margin: 0; }
.disc-info-box .small { font-size: 0.85rem; color: #888; }

/* Карточки контактов */
.disc-contact {
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eef1f4;
    padding: 22px 26px;
    margin-bottom: 16px;
}
.disc-contact h2 {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f4;
    font-size: 1.1rem;
    color: #253056;
}
.disc-contact div { color: #444; line-height: 1.55; }

/* Пагинация */
.disc-pagination {
    margin: 24px 0 0;
    text-align: center;
}
.disc-pagination .pagination li { vertical-align: middle; }
.disc-pagination .pagination li.active { background-color: #253056; }
.disc-pagination .pagination li a { color: #253056; }
.disc-pagination .pagination li.active a { color: #fff; }

/* Пустой список */
.disc-empty {
    background: #fff;
    border: 1px dashed #d0d6dc;
    border-radius: 6px;
    padding: 32px;
    text-align: center;
    color: #888;
}

/* Юридические страницы (политика, согласие) */
.disc-legal {
    background: #fff;
    border-radius: 6px;
    padding: 32px 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    max-width: 920px;
}
.disc-legal .meta {
    color: #888;
    font-size: 0.88rem;
    margin: 0 0 20px;
}
.disc-legal h2 {
    color: #253056;
    font-size: 1.15rem;
    margin: 26px 0 10px;
    font-weight: 500;
}
.disc-legal h2:first-child { margin-top: 0; }
.disc-legal p, .disc-legal li {
    line-height: 1.65;
    color: #333;
    font-size: 0.96rem;
}
.disc-legal ul { padding-left: 22px; list-style: disc; }
.disc-legal ul li { display: list-item; margin: 4px 0; }
.disc-legal a { color: #253056; text-decoration: underline; }

@media (max-width: 600px) {
    .disc-legal { padding: 22px 18px; }
}
