/*
Theme Name: dkz Child
Template: dkz
Description: dkz Theme
Author: dkz
Version: 1.0.0
License: Licensed theme
Text Domain: dkz
*/

h2 {
    font-size: 24px;
}


.file-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1f5f8f;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.file-link::before {
    content: "";
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    background-image: url("/images/pdf-doc.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.file-link:hover,.file-link:focus {
    color: #123f63;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.file-link:focus-visible {
    outline: 2px solid #8dbbe0;
    outline-offset: 3px;
    border-radius: 4px;
}

/*** contact table ***/
.contact-table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 14px;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.contact-table td {
    padding: 10px 12px;
    vertical-align: top;
    border-bottom: 1px solid #eee;
}

.contact-table td:first-child {
    font-weight: 500;
}

/* заголовкові рядки */
.contact-table tr:has(td:first-child strong) {
    background-color: #f0f4f9;
    font-weight: 600;
}

.contact-table tr strong {
    color: #1a3d7c;
    display: inline-block;
    margin-bottom: 3px;
}

.contact-table tr:hover {
    background-color: #f9f9f9;
}

@media (max-width: 600px) {
    .contact-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-table tr {
        display: block;
        margin-bottom: 10px;
        border-bottom: 2px solid #ddd;
    }
}

/*** end contact table ***/
/*** accordion-contact ***/
.accordion-section {
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    font-family: sans-serif;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.accordion-section summary {
    background: #1a3d7c;
    padding: 12px 41px 12px 16px;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    position: relative;
}

.accordion-section summary::marker {
    display: none;
}

.accordion-section summary::after {
    content: "▼";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.accordion-section[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion-content {
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-entry {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 10px;
}

.accordion-entry:last-child {
    border-bottom: none;
}

.entry-left {
    max-width: 75%;
}

.entry-title {
    /*font-weight: bold;*/
    /*margin-bottom: 2px;*/
    /*color: #1a3da0;*/
    /*font-size: 14px;*/
}

.ct-media-container img, .ct-media-container picture {
    object-fit: contain;
}

.entry-person {
    font-size: 14px;
    color: #666;
}

.entry-person b {
    font-weight: 700;
    color: black;
}

.entry-phone {
    white-space: nowrap;
    font-weight: bold;
    color: #1a3d7c;
}

/*** end accordion-contact ***/


/*** start normatyvna baza ***/
.db-npb {
    max-width: 1600px;
    margin: 24px auto;
    padding: 0 16px;
    font-family: inherit;
    color: #17212f;
}

.db-npb * {
    box-sizing: border-box;
}

.db-npb__title {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.25;
    color: #102f4b;
}

.db-npb__note {
    max-width: 920px;
    margin: 0 0 18px;
    color: #435367;
    line-height: 1.55;
}

.db-npb__accordion {
    margin: 12px 0;
    border: 1px solid #c6d4e1;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13, 45, 72, .08);
}

.db-npb__accordion summary {
    cursor: pointer;
    padding: 15px 18px;
    font-weight: 700;
    color: #ffffff;
    background: #093b71;
    list-style-position: inside;
}

.db-npb__accordion summary:hover {
    background: #041f3b;
}

.db-npb__count {
    color: #c4c9ce;
    font-weight: 400;
    font-size: 14px;
}

.db-npb__list {
    margin: 0;
    padding: 14px 22px 18px 22px;
    list-style: none;
}

.db-npb__item {
    margin: 10px 0;
    line-height: 1.5;
    color: #253244;
}

.db-npb__item a {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    color: #082c54;
    text-decoration: none;
    transition: color .15s ease;
    padding: 5px 10px;
    border-radius: 8px;
    display: flex;
    font-size: 17px;
}

.db-npb__item a::before {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 3.75h6.1L18.25 8.9V20.25H7V3.75Z' fill='%23eef4f8' stroke='%23155a87' stroke-width='1.6'/%3E%3Cpath d='M13 4v5h5' stroke='%23155a87' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M9.4 13h5.2M9.4 16h5.2' stroke='%23155a87' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
    opacity: .92;
}

.db-npb__item a:hover, .db-npb__item a:focus {
    background: #dcdcdc;
}

.db-npb__item a:hover::before, .db-npb__item a:focus::before {
    opacity: 1;
}

@media (max-width: 640px) {
    .db-npb {
        padding: 0 10px;
    }

    .db-npb__title {
        font-size: 22px;
    }

    .db-npb__accordion summary {
        padding: 13px 14px;
    }

    .db-npb__list {
        padding: 12px 16px 16px 16px;
    }
}

/*** end normatyvna baza ***/