.ministerija-service__body {
    min-width: 0;
    padding: 30px;
}

.ministerija-service .ministerija-legal__sidebar nav a[aria-current] {
    border-color: #0a506f;
    background: #edf4f8;
    color: #0a506f;
    font-weight: 600;
}

.ministerija-service__body section {
    margin: 30px 0;
}

.ministerija-service__body > section:first-child,
.ministerija-service__body .delivery-lead-times-page > section:first-child {
    margin-top: 0;
}

.ministerija-service__body section:empty,
.ministerija-service__body .delivery-lead-times-page:empty {
    display: none;
}

.ministerija-service__body .ministerija-service__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 32px;
}

.ministerija-service__hero-media {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3eaf0;
    border-radius: 10px;
    background: #f4f7f9;
}

.ministerija-service__body .ministerija-service__hero-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.2;
    object-fit: cover;
}

.ministerija-service__hero-copy {
    min-width: 0;
    color: #617784;
    font-size: 13px;
    line-height: 1.85;
}

.ministerija-service__hero-copy p:last-child { margin-bottom: 0; }

.ministerija-service__body h2 {
    font-size: 21px;
    margin: 28px 0 16px;
}

.ministerija-service__body h2 span { color: inherit; }

.ministerija-service__body .cms-grid {
    display: grid;
    gap: 16px;
    margin-block: 22px;
    align-items: stretch;
}

.ministerija-service__body .cms-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ministerija-service__body .cms-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ministerija-service__body .cms-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e0e7ed;
    border-radius: 10px;
    background: #fff;
    color: #617784;
    font-size: 12px;
    line-height: 1.75;
}

.ministerija-service__body .cms-card-soft { background: #f7fafc; }
.ministerija-service__body .cms-card-highlight { background: #f1f6f9; border-color: #e2ebf0; }

.ministerija-service__body .cms-card h2,
.ministerija-service__body .cms-card h3 {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #253f4f;
}

.ministerija-service__body .cms-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 16px;
    border-radius: 6px;
    background: #edf2f6;
}

.ministerija-service__body .cms-card p { margin-bottom: 10px; }
.ministerija-service__body .cms-card > :last-child { margin-bottom: 0; }
.ministerija-service__body .cms-card ul { padding-left: 17px; margin-bottom: 0; }
.ministerija-service__body .cms-card li { margin-block: 5px; }

.ministerija-service__body .cms-link-with-icon {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: #0a506f;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.ministerija-service__body .cms-link-with-icon:hover { text-decoration: underline; text-underline-offset: 4px; }
.ministerija-service__body .cms-link-arrow { font-size: 17px; }

.ministerija-service__body .cms-info,
.ministerija-service__body .cms-note {
    margin-block: 18px;
    padding: 15px 18px;
    border: 1px solid #dce7ed;
    border-left: 3px solid #0a506f;
    border-radius: 0 8px 8px 0;
    background: #eff5f8;
    color: #456373;
    font-size: 12px;
    line-height: 1.75;
}

.ministerija-service__body .delivery-lead-times-page__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-block: 18px;
}

.ministerija-service__body .delivery-lead-times-page__badges > * {
    padding: 7px 11px;
    border: 1px solid #dce7ed;
    border-radius: 6px;
    background: #f1f6f9;
    color: #0a506f;
    font-size: 11px;
    font-weight: 600;
}

.ministerija-service__body .delivery-lead-times-page__eyebrow {
    margin-bottom: 8px;
    color: #6b8490;
    font-size: 10px;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.ministerija-service__body .delivery-lead-times-page__eyebrow + h2 {
    margin-top: 0;
    padding-top: 0;
    border: 0;
}

.ministerija-service__body .delivery-lead-times-page__table-wrap {
    max-width: 100%;
    overflow-x: auto;
    margin-block: 22px;
    border: 1px solid #dce5ec;
    border-radius: 10px;
    scrollbar-color: #b9cbd5 #f1f5f8;
    scrollbar-width: thin;
}

.ministerija-service__body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: #506878;
    font-size: 11px;
    line-height: 1.6;
}

.ministerija-service__body .delivery-lead-times-page__table-wrap:focus-visible {
    outline: 2px solid #0a506f;
    outline-offset: 3px;
}

.ministerija-service__body th,
.ministerija-service__body td {
    min-width: 70px;
    padding: 12px 10px;
    border-bottom: 1px solid #e5ecf1;
    text-align: center;
    vertical-align: middle;
}

.ministerija-service__body th {
    background: #edf4f8;
    color: #285068;
    font-weight: 600;
    white-space: nowrap;
}

.ministerija-service__body tbody tr:nth-child(even) td { background: #f8fafc; }
.ministerija-service__body tbody tr:last-child td { border-bottom: 0; }

.ministerija-service__body th:first-child,
.ministerija-service__body td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 185px;
    max-width: 240px;
    text-align: left;
    background: #fff;
    border-right: 1px solid #dce5ec;
}

.ministerija-service__body th:first-child { background: #edf4f8; z-index: 2; }
.ministerija-service__body .delivery-lead-times-page__table--transit td:first-child { min-width: 110px; }

.ministerija-service__body details {
    padding: 18px;
    margin-bottom: 12px;
    border: 1px solid #dfe7ed;
    border-radius: 8px;
    background: #f7fafc;
}

.ministerija-service__body summary { color: #25495c; font-weight: 600; cursor: pointer; }
.ministerija-service__body details p { margin: 12px 0 0; }

@media (max-width: 1150px) {
    .ministerija-service__body .cms-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ministerija-service__body .ministerija-service__hero { gap: 20px; }
}

@media (max-width: 950px) {
    .ministerija-service__body .ministerija-service__hero { grid-template-columns: minmax(0, 1fr); }
    .ministerija-service__body .ministerija-service__hero-media img { aspect-ratio: 1.8; max-height: 300px; }
}

@media (max-width: 600px) {
    .ministerija-service__body { padding: 20px 16px; }
    .ministerija-service__body .cms-grid-2 { grid-template-columns: minmax(0, 1fr); }
    .ministerija-service__body .cms-grid-3 { gap: 10px; }
    .ministerija-service__body .cms-card { padding: 12px; font-size: 11px; }
    .ministerija-service__body .cms-card h3 { font-size: 13px; }
    .ministerija-service__body .cms-card > img { margin-bottom: 12px; }
    .ministerija-service__body th:first-child,
    .ministerija-service__body td:first-child { min-width: 140px; max-width: 160px; }
    .ministerija-service .ministerija-legal__tabs a { font-size: 12px; }
}

@media (max-width: 380px) {
    .ministerija-service__body .cms-grid-3 { grid-template-columns: minmax(0, 1fr); }
}

.ministerija-technique-modal .ministerija-technique-modal__head {
    flex-shrink: 0;
    padding: 22px 64px 22px 28px;
    border-bottom: 1px solid #e0e7ed;
    background: #fff;
}

.ministerija-technique-modal__head h3 {
    margin-top: 7px;
    color: #203b4c;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.025em;
}

.ministerija-technique-modal .ministerija-modal__close {
    width: 34px;
    height: 34px;
    border: 1px solid #dfe7ed;
    border-radius: 8px;
    background: #f6f9fb;
    color: #345569;
}

.ministerija-technique-modal .ministerija-modal__close:focus-visible {
    outline: 2px solid #0a506f;
    outline-offset: 3px;
}

.ministerija-technique-modal .ministerija-technique-modal__body {
    padding: 0;
    background: #fff;
}

.ministerija-technique-modal .ministerija-technique-modal__content {
    display: block;
    padding: 28px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    color: #233845;
}

.ministerija-technique-modal__content .cms-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ministerija-technique-modal__content .ministerija-service__hero-media img {
    max-height: 300px;
    aspect-ratio: 1.3;
}

@media (max-width: 600px) {
    .ministerija-technique-modal .ministerija-technique-modal__head {
        padding: 18px 60px 18px 20px;
    }

    .ministerija-technique-modal__head h3 { font-size: 22px; }
    .ministerija-technique-modal .ministerija-technique-modal__content { padding: 20px; }
    .ministerija-technique-modal__content .cms-grid-3 { grid-template-columns: minmax(0, 1fr); }
}
