/* Scoped styles for Доступ к ключевой мощности (Access to Key Capacity) */
.dkm-wrap {
    font-size: 15px;
    line-height: 1.6;
    color: #2c3e50;
}

.dkm-wrap p {
    margin: 0 0 12px;
}

.dkm-lead {
    font-size: 16px;
    line-height: 1.65;
    color: #34495e;
    margin-bottom: 20px;
}

/* Section / group headings */
.dkm-section-head {
    background: #f2f6f9;
    border-left: 4px solid #00adee;
    padding: 12px 16px;
    margin: 22px 0 14px;
    font-weight: 600;
    font-size: 16px;
    color: #1c2d3d;
}

/* Callout / notification boxes */
.dkm-callout {
    background: #f4fafe;
    border: 1px solid #ccebf8;
    border-left: 4px solid #00adee;
    border-radius: 3px;
    padding: 16px 20px;
    margin: 0 0 22px;
}

.dkm-callout--neutral {
    background: #f8f9fa;
    border-color: #dee2e6;
    border-left-color: #6c757d;
}

.dkm-callout--warning {
    background: #fffcf2;
    border-color: #f3e2b3;
    border-left-color: #e0a800;
}

.dkm-callout h3,
.dkm-callout h4 {
    margin: 0 0 8px;
    color: #1c2d3d;
    font-weight: 600;
}

.dkm-callout p:last-child {
    margin-bottom: 0;
}

/* CTA Button */
.dkm-cta-wrap {
    margin: 18px 0;
}

.dkm-cta-btn {
    display: inline-block;
    background: #00adee;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.dkm-cta-btn:hover,
.dkm-cta-btn:focus {
    background: #008ec4;
    color: #fff !important;
}

/* Hub card grids */
.dkm-cards {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px 20px;
}

.dkm-card-col {
    width: 50%;
    padding: 0 8px 16px;
    box-sizing: border-box;
    display: flex;
}

.dkm-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #dce6ed;
    border-top: 3px solid #00adee;
    border-radius: 3px;
    text-decoration: none !important;
    color: #2c3e50 !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.dkm-card:hover {
    border-color: #00adee;
    box-shadow: 0 4px 14px rgba(0, 173, 238, 0.14);
    transform: translateY(-2px);
}

.dkm-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #0b4f75;
    margin-bottom: 6px;
    line-height: 1.35;
}

.dkm-card-desc {
    font-size: 13.5px;
    color: #5b6b79;
    line-height: 1.45;
}

/* Contacts grid */
.dkm-contact-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 14px -8px 18px;
}

.dkm-contact-col {
    width: 50%;
    padding: 0 8px 14px;
    box-sizing: border-box;
    display: flex;
}

.dkm-contact-card {
    width: 100%;
    padding: 14px 16px;
    background: #f9fbfc;
    border: 1px solid #e1e8ed;
    border-radius: 3px;
}

.dkm-contact-name {
    font-weight: 600;
    color: #1c2d3d;
    margin-bottom: 4px;
}

.dkm-contact-role {
    font-size: 13.5px;
    color: #5b6b79;
    margin-bottom: 8px;
}

.dkm-contact-line {
    font-size: 14px;
    margin-bottom: 2px;
}

/* Document attachment list */
.dkm-doc-list {
    margin: 16px 0 24px;
    padding: 0;
    list-style: none;
}

.dkm-doc-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid #e3eaef;
    border-radius: 3px;
    margin-bottom: 10px;
    background: #fff;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dkm-doc-item:hover {
    background: #f7fbfd;
    border-color: #b7dff2;
}

.dkm-doc-icon {
    flex: 0 0 34px;
    margin-right: 12px;
    padding-top: 2px;
}

.dkm-doc-icon img {
    width: 30px;
    height: 27px;
    display: block;
}

.dkm-doc-link-wrap {
    flex: 1 1 auto;
}

.dkm-doc-link {
    font-size: 15px;
    color: #0b4f75;
    text-decoration: underline;
    line-height: 1.45;
}

.dkm-doc-link:hover {
    color: #00adee;
}

.dkm-lang-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #0b4f75;
    background: #e6f4fb;
    border: 1px solid #bce2f5;
    border-radius: 2px;
    vertical-align: middle;
}

/* Structured lists (checklists, rules) */
.dkm-ol {
    margin: 10px 0 20px;
    padding-left: 22px;
}

.dkm-ol > li {
    margin-bottom: 10px;
}

.dkm-ul {
    margin: 8px 0 6px;
    padding-left: 20px;
}

.dkm-ul > li {
    margin-bottom: 5px;
    list-style-type: disc;
}

/* Legal quote */
.dkm-quote {
    padding: 12px 18px;
    margin: 12px 0 18px;
    background: #f8fafb;
    border-left: 3px solid #7f9bb0;
    font-style: italic;
    color: #2c3e50;
}

/* Responsive Data Tables */
.dkm-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 14px 0 22px;
    -webkit-overflow-scrolling: touch;
}

.content-block table.dkm-table {
    width: 100% !important;
    border-collapse: collapse;
    border: 1px solid #cfdbe3;
    margin-bottom: 0;
    font-size: 14px;
    background: #fff;
}

.content-block table.dkm-table th,
.content-block table.dkm-table td {
    border: 1px solid #cfdbe3;
    padding: 9px 10px;
    vertical-align: middle;
    line-height: 1.4;
}

.content-block table.dkm-table thead th {
    background: #e9f6fc;
    color: #163245;
    font-weight: 600;
    text-align: center;
}

.content-block table.dkm-table th.dkm-col-num,
.content-block table.dkm-table td.dkm-col-num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.content-block table.dkm-table td.dkm-col-idx {
    text-align: center;
    width: 44px;
    font-weight: 600;
}

.content-block table.dkm-table td.dkm-col-unit {
    text-align: center;
    white-space: nowrap;
}

.content-block table.dkm-table tr.dkm-row-sub td:first-child {
    padding-left: 28px;
    color: #3d5163;
}

.content-block table.dkm-table tr.dkm-row-subgroup td {
    background: #f7fafc;
    font-weight: 600;
}

.content-block table.dkm-table tr.dkm-row-group td {
    background: #eef6fb;
    font-weight: 700;
    color: #12364d;
}

.content-block table.dkm-table tr.dkm-row-total td,
.content-block table.dkm-table tfoot td {
    background: #dff1fa;
    font-weight: 700;
    color: #0b3a56;
}

.content-block table.dkm-table tr.dkm-row-quarter th {
    background: #d9effa;
    font-size: 14px;
}

.dkm-tariff-value {
    font-size: 20px;
    font-weight: 700;
    color: #0b4f75;
    margin-top: 6px;
}

/* Legal Act reader */
.dkm-nla-meta {
    background: #f4f7f9;
    border: 1px solid #dbe4ea;
    border-radius: 3px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13.5px;
    color: #3d4f5d;
}

.dkm-nla-meta div {
    margin-bottom: 4px;
}

.dkm-nla-meta div:last-child {
    margin-bottom: 0;
}

.dkm-nla-body {
    font-size: 14.5px;
    line-height: 1.65;
    color: #222;
}

.dkm-nla-body p {
    margin: 0 0 10px;
    text-align: justify;
}

.dkm-nla-body table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 13.5px;
}

.dkm-nla-body table th,
.dkm-nla-body table td {
    border: 1px solid #cbd5dc;
    padding: 7px 9px;
}

@media (max-width: 767px) {
    .dkm-card-col,
    .dkm-contact-col {
        width: 100%;
    }
}
