/* =========================================================
   VIETNAM CONTACT PAGE
========================================================= */

.vn-contact-page {
    width: 100%;
    background: #fff;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    /* font-size: 12px; */
    line-height: 1.5;
    margin-top: 40px;
    margin-bottom: 50px;
}

.vn-contact-container {
    width: 100%;
    /* max-width: 850px; */
    /* margin: 0 auto; */
    /* padding: 30px 20px 60px; */
    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.vn-contact-header {
    text-align: center;
    margin-bottom: 25px;
}

.vn-contact-header h1 {
    margin: 0 0 7px;
    color: #b14f20;
    font-size: 26px;
    line-height: 1.3;
}

.vn-contact-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #777;
    /* font-size: 10px; */
    line-height: 1.5;
}


/* =========================================================
   MAIN
========================================================= */

.vn-contact-main {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 25px;
    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.vn-contact-sidebar {
    padding-top: 5px;
    position: sticky;
    top: 120px;
}

.vn-contact-sidebar h2 {
    margin: 0 0 20px;
    color: #333;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
}

.vn-contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.vn-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.vn-contact-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid #c15a24;
    border-radius: 50%;
    color: #c15a24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.vn-contact-info-item strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.vn-contact-info-item a {
    color: #666;
    font-size: 15px;
    text-decoration: none;
}

.vn-contact-info-item a:hover {
    color: #b14f20;
}

.vn-contact-info-item p {
    margin: 0;
    color: #666;
    /* font-size: 9px; */
    line-height: 1.5;
}

.vn-contact-opening {
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid #eee;
    color: #666;
    /* font-size: 9px; */
}

.vn-contact-opening strong {
    display: block;
    color: #333;
    margin-bottom: 3px;
}

.vn-contact-opening p {
    margin: 0;
}


/* =========================================================
   FORM WRAPPER
========================================================= */

.vn-contact-form-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.vn-contact-form {
    width: 100%;
    background: #f9f9f9;
    border: 1px solid #e4e4e4;
    padding: 12px;
    box-sizing: border-box;
}


/* =========================================================
   CF7
========================================================= */

.vn-cf7-form {
    width: 100%;
}

.vn-cf7-field {
    min-width: 0;
    margin: 0;
}

.vn-cf7-field label {
    display: block;
    margin: 0 0 5px;
    color: #333;
    /* font-size: 10px; */
    line-height: 1.4;
    font-weight: 500;
}

.vn-cf7-field label > span {
    color: #d23b1c;
}


/* =========================================================
   FORM ROW
========================================================= */

.vn-cf7-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}


/* =========================================================
   FORM CONTROL
========================================================= */

.vn-cf7-control,
.vn-cf7-form input[type="text"],
.vn-cf7-form input[type="email"],
.vn-cf7-form input[type="tel"],
.vn-cf7-form select,
.vn-cf7-form textarea {
    width: 100%;
    max-width: 100%;
    min-height: 31px;
    padding: 7px 9px;
    margin: 0;
    border: 1px solid #d7d7d7;
    border-radius: 0;
    background: #fff;
    color: #444;
    box-sizing: border-box;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    /* font-size: 10px; */
    line-height: 1.4;
    box-shadow: none;
}

.vn-cf7-form input:focus,
.vn-cf7-form select:focus,
.vn-cf7-form textarea:focus {
    border-color: #c16a3b;
    box-shadow: none;
}

.vn-cf7-form input::placeholder,
.vn-cf7-form textarea::placeholder {
    color: #aaa;
}


/* =========================================================
   MESSAGE
========================================================= */

.vn-cf7-message {
    margin-bottom: 12px;
}

.vn-cf7-message textarea {
    height: 85px;
    min-height: 85px;
    resize: vertical;
}


/* =========================================================
   PHONE
========================================================= */

.vn-cf7-phone {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 5px;
}

.vn-cf7-phone-code {
    width: 100% !important;
}

.vn-cf7-phone-number {
    width: 100% !important;
}


/* =========================================================
   NOTICE
========================================================= */

.vn-cf7-notice {
    margin: -3px 0 13px;
    color: #777;
    /* font-size: 8px; */
    line-height: 1.5;
}

.vn-cf7-notice-mark {
    color: #b14f20;
    font-weight: 700;
}


/* =========================================================
   RADIO
========================================================= */

.vn-cf7-form .wpcf7-list-item {
    margin: 0 18px 0 0;
}

.vn-cf7-form .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    cursor: pointer;
    /* font-size: 10px; */
    font-weight: 400;
}

.vn-cf7-form input[type="radio"] {
    width: 12px;
    height: 12px;
    min-height: auto;
    margin: 0;
    padding: 0;
}


/* =========================================================
   SUBMIT
========================================================= */

.vn-cf7-submit {
    text-align: center;
    margin-top: 4px;
}

.vn-cf7-submit-button {
    display: inline-block!important;
    width: auto !important;
    min-width: 115px;
    min-height: 30px !important;
    padding: 7px 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #b45220 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background .2s ease;
    margin-top: 15px!important;
}

.vn-cf7-submit-button:hover {
    background: #963f15 !important;
}


/* =========================================================
   CF7 VALIDATION
========================================================= */

.vn-cf7-form .wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.vn-cf7-form .wpcf7-not-valid-tip {
    margin-top: 3px;
    color: #dc3545;
    font-size: 8px;
}

.vn-cf7-form .wpcf7-response-output {
    margin: 10px 0 0 !important;
    padding: 7px 10px !important;
    border: 1px solid #ddd;
    font-size: 9px;
    line-height: 1.4;
}


/* =========================================================
   DIRECT CONTACT
========================================================= */

.vn-direct-contact {
    text-align: center;
    margin: 22px 0 30px;
}

.vn-direct-contact > p {
    margin: 0 0 12px;
    color: #777;
    /* font-size: 9px; */
}

.vn-direct-contact-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.vn-direct-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #555;
    text-decoration: none;
    /* font-size: 9px; */
}

.vn-direct-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #b14f20;
    font-size: 23px;
}

.vn-direct-contact-item:hover {
    color: #b14f20;
}


/* =========================================================
   MAP
========================================================= */

.vn-contact-map-section {
    margin-top: 20px;
}

.vn-contact-map-section h2,
.vn-country-contacts h2 {
    margin: 0 0 12px;
    color: #333;
    /* font-size: 13px; */
    line-height: 1.4;
    font-weight: 600;
}

.vn-contact-map {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.vn-contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.vn-contact-map-description {
    margin-top: 10px;
}

.vn-contact-map-description p {
    margin: 0 0 5px;
    color: #666;
    /* font-size: 9px; */
    line-height: 1.55;
}


/* =========================================================
   COUNTRY CONTACTS
========================================================= */

.vn-country-contacts {
    margin-top: 25px;
}

.vn-country-contact-list {
    width: 100%;
    margin-top: 25px;
}

.vn-country-contact {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.vn-country-contact:first-child {
    padding-top: 0;
}

.vn-country-contact-avatar {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 50%;
}

.vn-country-contact-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vn-country-contact-content {
    min-width: 0;
    color: #666;
    /* font-size: 8px; */
    line-height: 1.5;
}

.vn-country-contact-name {
    margin-bottom: 2px;
    color: #333;
    /* font-size: 9px; */
    font-weight: 600;
}

.vn-country-flag {
    margin-left: 3px;
}

.vn-country-contact-line {
    margin: 0;
}

.vn-country-contact-line strong {
    font-weight: 500;
    color: #444;
}

.vn-country-contact-line a {
    color: #555;
    text-decoration: none;
}

.vn-country-contact-line a:hover {
    color: #b14f20;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media screen and (max-width: 768px) {

    .vn-contact-container {
        padding: 25px 15px 45px;
    }

    .vn-contact-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vn-contact-sidebar {
        padding: 0;
        position: unset;
    }

    .vn-contact-info-item {
        gap: 20px;
    }

    .vn-contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .vn-cf7-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vn-contact-map {
        height: 220px;
    }

}


@media screen and (max-width: 480px) {

    .vn-contact-container {
        padding: 0;
    }

    .vn-contact-header h1 {
        font-size: 18px;
    }

    .vn-contact-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .vn-contact-form {
        padding: 10px;
    }

    .vn-direct-contact-list {
        gap: 20px;
    }

    .vn-country-contact {
        gap: 9px;
    }

}
