/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

:root {
    --vt-primary: #0f766e;
    --vt-primary-dark: #115e59;
    --vt-text: #1f3842;
    --vt-muted: #5f7480;
    --vt-border: #d7e3ea;
    --vt-soft: #f8fbfd;
    --vt-head: #eaf7f5;
}

body,
button,
input,
select,
textarea {
    color: var(--vt-text);
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: var(--vt-primary);
}

a:hover,
a:focus {
    color: var(--vt-primary-dark);
}

.entry-content table {
    border: 1px solid var(--vt-border);
    border-collapse: separate;
    border-radius: 12px;
    border-spacing: 0;
    overflow: hidden;
    width: 100%;
}

.entry-content table th,
.entry-content table td {
    border-bottom: 1px solid var(--vt-border);
    border-right: 1px solid var(--vt-border);
    line-height: 1.45;
    padding: 10px 12px;
}

.entry-content table th:last-child,
.entry-content table td:last-child {
    border-right: 0;
}

.entry-content table tr:last-child th,
.entry-content table tr:last-child td {
    border-bottom: 0;
}

.entry-content table thead th,
.entry-content table tbody th {
    background: var(--vt-head);
    color: #173f46;
    font-weight: 800;
}

.entry-content table tbody tr:nth-child(even) td {
    background: #fbfdfe;
}

.entry-content figure.wp-block-image,
.entry-content .wp-block-image {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.entry-content figure.wp-block-image img,
.entry-content .wp-block-image img {
    display: block;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.entry-content figure.wp-block-image figcaption,
.entry-content .wp-block-image figcaption {
    color: var(--vt-muted);
    font-size: 14px;
    line-height: 1.45;
    margin: 8px auto 0;
    max-width: 720px;
    text-align: center;
}

button,
.button,
input[type="button"],
input[type="submit"],
.wp-block-button__link {
    background: var(--vt-primary);
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    min-height: 42px;
    padding: 10px 16px;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
    background: var(--vt-primary-dark);
    color: #fff;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    border: 1px solid var(--vt-border);
    border-radius: 10px;
    min-height: 42px;
}

.site-info {
    background: #0f172a;
    color: #f8fafc;
    font-size: 14px;
}

.site-info a {
    color: #99f6e4;
    font-weight: 700;
    text-decoration: none;
}

.site-info a:hover,
.site-info a:focus {
    color: #ccfbf1;
    text-decoration: underline;
}

.vn-train-price-heading-row {
    align-items: flex-start;
}

.vn-train-price-heading-row h3 {
    flex: 1 1 auto;
    line-height: 1.25;
    text-align: left;
    letter-spacing: normal;
    word-spacing: normal;
}

.vn-train-price-heading-row .vn-train-other-date-form {
    flex: 0 0 auto;
}

.entry-content .vn-train-price-search .vn-train-price-table thead th:first-child,
.entry-content .vn-train-price-search .vn-train-price-table tbody th:first-child {
    background: linear-gradient(180deg, #eaf7f5, #dff0ee);
    border-color: #c8dedc;
    color: #173f46;
    font-weight: 800;
}

.entry-content .vn-train-price-search .vn-train-price-table tbody th:first-child span,
.entry-content .vn-train-price-search .vn-train-price-table tbody th:first-child small {
    color: #173f46;
}

.entry-content .vn-train-price-table thead th:first-child,
.entry-content .vn-train-price-table tbody th:first-child {
    background: linear-gradient(180deg, #eaf7f5, #dff0ee);
    border-color: #c8dedc;
    color: #173f46;
    font-weight: 800;
}

.entry-content .vn-train-price-table tbody th:first-child span,
.entry-content .vn-train-price-table tbody th:first-child small {
    color: #173f46;
}

.vn-train-price-head + p,
.vn-train-price-heading-row + p,
.vn-train-timetable-heading-row + p {
    display: none;
}

.vn-train-price-head + p.is-visible,
.vn-train-price-heading-row + p.is-visible,
.vn-train-timetable-heading-row + p.is-visible {
    display: block;
}

.trangchu .site-content {
    display: flex;
    flex-direction: column;
}

.trangchu .section-home1 {
    background: #eaf7f5;
    overflow: hidden;
    position: relative;
}

.trangchu .section-home1 .hinhnen img {
    display: block;
    min-height: 520px;
    object-fit: cover;
    width: 100%;
}

.trangchu .section-home1 .noidung-home1 {
    bottom: 0;
    display: flex;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.trangchu .section-home1 .contenthome1 {
    align-items: center;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(240px, 1fr) minmax(340px, 520px);
    margin: auto;
    max-width: 1160px;
    padding: 42px 24px;
    width: 100%;
}

.trangchu .section-home1 .text-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 76, 95, 0.14);
    color: #073f55;
    display: inline-flex;
    gap: 14px;
    margin: 0;
    max-width: 420px;
    padding: 15px 18px;
}

.trangchu .section-home1 .text-icon .vcex-icon-box-heading {
    color: #073f55 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.25;
}

.trangchu .section-home1 .vn-train-price-search {
    justify-self: end;
    max-width: 520px;
    width: 100%;
}

.trangchu .section-home1 .vn-train-price-search-form {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(8, 52, 70, 0.22);
    padding: 22px;
}

@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
    .trangchu .section-home1 .text-icon,
    .trangchu .section-home1 .vn-train-price-search-form {
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
}

.trangchu .section-home1 .vn-train-price-search-form h2 {
    color: #073f55;
    font-size: 25px;
    line-height: 1.2;
    margin: 0 0 16px;
}

.trangchu .section-home1 .vn-train-price-search-row {
    gap: 12px;
}

.trangchu .section-home1 .vn-train-price-search-row label {
    color: #174a5f;
    font-size: 14px;
    font-weight: 700;
}

.trangchu .section-home1 .vn-train-price-search-form input,
.trangchu .section-home1 .vn-train-price-search-form select {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(12, 99, 126, 0.2);
}

.trangchu .section-home1 .vn-train-price-search-submit button {
    background: #0f766e;
    min-height: 46px;
    width: 100%;
}

@media (min-width: 901px) {
    .trangchu .section-home1 .hinhnen {
        left: 50%;
        position: relative;
        transform: translateX(-50%);
        width: 100vw;
    }

    .trangchu .section-home1 .contenthome1 {
        box-sizing: border-box;
        grid-template-columns: minmax(240px, 1fr) minmax(340px, 620px);
        margin-left: auto;
        margin-right: auto;
        max-width: 1160px !important;
        width: calc(100% - 48px) !important;
    }

    .trangchu .section-home1 .vn-train-price-search {
        max-width: 620px;
    }
}

@media (max-width: 900px) {
    .trangchu .section-home1 .hinhnen img {
        min-height: 680px;
    }

    .trangchu .section-home1 .contenthome1 {
        grid-template-columns: 1fr;
        max-width: 620px;
        padding: 28px 18px;
    }

    .trangchu .section-home1 .text-icon,
    .trangchu .section-home1 .vn-train-price-search {
        justify-self: stretch;
        max-width: none;
    }
}

@media (max-width: 520px) {
    .trangchu .section-home1 .hinhnen img {
        min-height: 740px;
    }

    .trangchu .section-home1 .contenthome1 {
        padding: 22px 14px;
    }

    .trangchu .section-home1 .vn-train-price-search-form {
        border-radius: 18px;
        padding: 16px;
    }

    .trangchu .section-home1 .text-icon .vcex-icon-box-heading {
        font-size: 19px !important;
    }
}

.main-navigation .main-nav ul li.vetau-language-switcher {
    align-items: center;
    display: flex;
    gap: 4px;
    padding: 0 12px;
}

.main-navigation .main-nav ul li.vetau-language-switcher a.vetau-lang-link {
    padding-left: 6px;
    padding-right: 6px;
    white-space: nowrap;
}

.main-navigation .main-nav ul li.vetau-language-switcher a.is-current {
    font-weight: 700;
}

