/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.1
*/

/* Kontakt stránka */
.page-id-13 main,
.page-id-13 .site-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 55px 24px 80px;
}

/* CF7 kontakt */
.npk-contact-form {
    max-width: 620px;
    background: #ffffff;
    border: 1px solid rgba(19, 28, 53, 0.08);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 18px 45px rgba(19, 28, 53, 0.08);
}

.npk-contact-form label {
    display: block;
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 650;
    color: #1f2937;
}

.npk-contact-form input,
.npk-contact-form textarea {
    width: 100%;
    margin-top: 8px;
    padding: 15px 16px;
    border: 1px solid #d8dbe5;
    border-radius: 14px;
    background: #f8f9fc;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    transition: .2s ease;
}

.npk-contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.npk-contact-form input:focus,
.npk-contact-form textarea:focus {
    border-color: #e30613;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.10);
}

.npk-contact-form input[type="submit"] {
    width: auto;
    min-width: 170px;
    margin-top: 8px;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    background: #e30613;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(227, 6, 19, 0.22);
}

.npk-contact-form input[type="submit"]:hover {
    transform: translateY(-1px);
    background: #c90010;
}

/* CF7 hlášky */
.wpcf7 form .wpcf7-response-output {
    max-width: 620px;
    margin: 22px 0 0;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 15px;
}

.wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #e30613;
    font-size: 14px;
}

/* Mobil */
@media (max-width: 768px) {
    .page-id-13 main,
    .page-id-13 .site-main {
        padding: 34px 18px 60px;
    }

    .npk-contact-form {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .npk-contact-form input[type="submit"] {
        width: 100%;
    }
}

/* Fotografie kandidátů */
.npk-team-photo-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 3rem auto 0;
}

.npk-team-photo-wrap img.npk-team-photo {
    display: block;
    width: auto;
    max-width: min(1120px, 100%);
    height: auto;
    margin: 0 auto;
    border-radius: 24px;
    border: 4px solid #fff;
    box-shadow: 0 16px 40px rgba(20, 40, 80, .16);
}



@media (max-width: 768px) {
    .npk-team-photo-wrap {
        margin-top: 2rem;
    }

    .npk-team-photo-wrap img.npk-team-photo {
        width: 100%;
        border-radius: 18px;
        border-width: 3px;
    }
}


/** Kontakty */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
}

.contact-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 16px;
    background: #f5f8fc;
    color: #d93655;

    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 23px;
    height: 23px;
    display: block;
}

.contact-icon svg path {
    fill: currentColor;
}

.contact-text strong {
    display: block;
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 750;
    color: #111827;
}

.contact-text a,
.contact-text p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #d93655;
    text-decoration: none;
}

.contact-text p {
    color: #111827;
}

.npk-contact-section {
    max-width: 1180px;
    margin: 60px auto 90px;
    padding: 0 24px;

    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.npk-contact-info {
    min-width: 0;
}

.npk-contact-form {
    min-width: 0;
}

@media (max-width: 900px) {
    .npk-contact-section {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}