/*
Theme Name: FUN88 VN Guide
Description: Independent Flatsome child theme for fun88vnguide.com.
Author: FUN88 VN Guide
Template: flatsome
Version: 2.0.4
Text Domain: flatsome-fun88vnguide
*/

@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url("assets/fonts/nunito-sans-vietnamese-400.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url("assets/fonts/nunito-sans-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url("assets/fonts/nunito-sans-vietnamese-600.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url("assets/fonts/nunito-sans-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url("assets/fonts/nunito-sans-vietnamese-700.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url("assets/fonts/nunito-sans-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --fvg-blue: #4aa6ee;
    --fvg-blue-deep: #3c95e7;
    --fvg-blue-link: #4aa8e9;
    --fvg-green: #51c968;
    --fvg-ink: #101010;
    --fvg-muted: #676767;
    --fvg-line: #e8e8e8;
    --fvg-footer-dark: #22262b;
}

html {
    scroll-behavior: smooth;
}

body.fvg-site {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--fvg-ink);
    background: #fff;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.fvg-drawer-open {
    overflow: hidden;
}

.fvg-site *,
.fvg-site *::before,
.fvg-site *::after {
    box-sizing: border-box;
}

.fvg-site button,
.fvg-site input {
    font: inherit;
}

.fvg-site button,
.fvg-site a {
    -webkit-tap-highlight-color: transparent;
}

.fvg-site a {
    color: inherit;
    text-decoration: none;
}

.fvg-site img {
    display: block;
    max-width: 100%;
}

.fvg-page-shell {
    min-height: 100vh;
}

.fvg-shell {
    width: min(1120px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.fvg-skip-link {
    position: fixed;
    z-index: 120;
    top: 8px;
    left: 8px;
    padding: 8px 12px;
    color: #fff !important;
    background: #111;
    transform: translateY(-150%);
}

.fvg-skip-link:focus {
    transform: translateY(0);
}

.fvg-custom-header {
    position: sticky;
    z-index: 80;
    top: 0;
    color: #fff;
    box-shadow: 0 2px 8px rgb(0 73 135 / 10%);
}

.admin-bar .fvg-custom-header {
    top: 32px;
}

.fvg-header-main {
    height: 70px;
    background: var(--fvg-blue);
}

.fvg-header-main__inner {
    display: flex;
    height: 70px;
    align-items: center;
    justify-content: space-between;
}

.fvg-brand {
    display: flex;
    width: 190px;
    height: 58px;
    align-items: center;
    overflow: hidden;
    border-radius: 1px;
    background: #fff;
}

.fvg-brand img {
    width: 100%;
    height: auto;
    margin: 0;
}

.fvg-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.fvg-header-button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    color: #fff !important;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.fvg-header-button--green {
    border: 1px solid rgb(0 0 0 / 5%);
    background: var(--fvg-green);
}

.fvg-header-button--outline {
    border: 2px solid #fff;
}

.fvg-desktop-nav {
    height: 45px;
    background: var(--fvg-blue-deep);
}

.fvg-desktop-nav ul {
    display: flex;
    height: 45px;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fvg-desktop-nav a {
    display: flex;
    height: 45px;
    align-items: center;
    padding: 0 16px;
    color: rgb(255 255 255 / 88%);
    font-weight: 600;
}

.fvg-desktop-nav a:hover,
.fvg-desktop-nav a:focus-visible {
    color: #fff;
    background: rgb(255 255 255 / 8%);
}

.fvg-menu-toggle {
    display: none;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    border: 1px solid rgb(255 255 255 / 80%);
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
}

.fvg-lucide {
    width: 24px;
    height: 24px;
}

.fvg-menu-icon {
    width: 21px;
    height: 21px;
}

.fvg-drawer-backdrop {
    position: fixed;
    z-index: 90;
    inset: 0;
    visibility: hidden;
    background: rgb(41 99 148 / 64%);
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.fvg-drawer-backdrop.is-open {
    visibility: visible;
    opacity: 1;
}

.fvg-mobile-drawer {
    position: fixed;
    z-index: 100;
    inset: 0 auto 0 0;
    width: 260px;
    padding-top: 50px;
    color: #fff;
    background: rgb(5 5 8 / 98%);
    box-shadow: 10px 0 30px rgb(0 0 0 / 24%);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
}

.fvg-mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.fvg-drawer-close {
    position: absolute;
    top: 12px;
    right: -125px;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: rgb(255 255 255 / 75%);
    border: 0;
    background: transparent;
    cursor: pointer;
}

.fvg-drawer-search {
    display: flex;
    margin: 0 20px 18px;
}

.fvg-drawer-search input {
    width: 100%;
    height: 34px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    outline: 0;
}

.fvg-drawer-search button {
    display: flex;
    width: 35px;
    min-width: 35px;
    height: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    color: #fff;
    border: 0;
    border-radius: 0;
    background: var(--fvg-green);
    box-shadow: none;
}

.fvg-search-icon {
    width: 18px;
    height: 18px;
}

.fvg-mobile-drawer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fvg-mobile-drawer li {
    margin: 0;
    border-top: 1px solid rgb(255 255 255 / 14%);
}

.fvg-mobile-drawer a {
    display: block;
    padding: 17px 20px;
    color: #e9e9e9;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.fvg-hero {
    position: relative;
    overflow: hidden;
}

.fvg-hero picture,
.fvg-hero picture img {
    width: 100%;
}

.fvg-hero picture {
    display: block;
}

.fvg-hero picture img {
    height: auto;
    margin: 0;
    aspect-ratio: 3.2 / 1;
    object-fit: cover;
}

.fvg-hero-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
}

.fvg-hero-copy span {
    margin-bottom: 5px;
    color: #1768bb;
    font-size: clamp(17px, 2.25vw, 30px);
    font-weight: 700;
}

.fvg-hero-copy h1 {
    max-width: 410px;
    margin: 0;
    color: #101010;
    font-size: clamp(24px, 3vw, 43px);
    font-weight: 700;
    line-height: 1.08;
}

.fvg-hero-copy p {
    margin: 14px 0 0;
    color: #454545;
    font-size: clamp(13px, 1.25vw, 17px);
}

.fvg-trust-strip {
    background: #fff;
}

.fvg-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    min-height: 205px;
    padding-top: 32px;
    padding-bottom: 36px;
}

.fvg-trust-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: start;
    gap: 18px;
}

.fvg-trust-icon {
    width: 66px;
    height: 66px;
    color: #5bb1dc;
    stroke-width: 1.65;
}

.fvg-trust-item h2 {
    margin: 0 0 4px;
    color: #131313;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.fvg-trust-item p {
    margin: 0;
    color: #181818;
    font-size: 14px;
    line-height: 1.65;
}

.fvg-reading-shell {
    max-width: 1120px;
}

.fvg-home-intro {
    padding: 8px 0 30px;
    text-align: center;
}

.fvg-home-intro h1 {
    margin: 0 0 12px;
    color: #53add9;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.25;
}

.fvg-intro-copy {
    max-width: 760px;
    margin: 0 auto;
    color: #171717;
}

.fvg-quick-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
}

.fvg-quick-links a {
    display: inline-flex;
    min-width: 92px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #fff !important;
    background: #45a8ee;
    font-weight: 700;
}

.fvg-article-flow {
    padding: 30px 0 44px;
}

.fvg-article-flow h2,
.fvg-article-content h2 {
    margin: 28px 0 10px;
    color: #111;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
}

.fvg-article-content h3 {
    margin: 24px 0 8px;
    color: #111;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.fvg-article-flow p,
.fvg-article-flow li,
.fvg-article-content p,
.fvg-article-content li {
    color: #171717;
    line-height: 1.7;
}

.fvg-article-flow p,
.fvg-article-content p {
    margin: 0 0 18px;
}

.fvg-article-flow ul,
.fvg-article-content ul,
.fvg-article-content ol {
    margin: 0 0 20px;
    padding-left: 23px;
}

.fvg-article-flow li,
.fvg-article-content li {
    margin-bottom: 8px;
}

.fvg-article-flow figure,
.fvg-article-content figure,
.fvg-article-content .wp-caption {
    width: min(720px, 100%) !important;
    margin: 30px auto;
}

.fvg-article-flow figure img,
.fvg-article-content figure img,
.fvg-article-content .wp-caption img,
.fvg-article-content > p > img {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.fvg-article-flow figcaption,
.fvg-article-content figcaption,
.fvg-article-content .wp-caption-text {
    margin: 0;
    padding: 8px 12px;
    background: #f2f2f2;
    text-align: center;
    font-style: italic;
}

.fvg-article-content a {
    color: var(--fvg-blue-link);
}

.fvg-article-content blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    border-left: 3px solid var(--fvg-blue);
    background: #f7fbff;
}

.fvg-article-content table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
}

.fvg-article-content th,
.fvg-article-content td {
    padding: 10px 12px;
    border: 1px solid #dedede;
}

.fvg-article-content input,
.fvg-article-content textarea,
.fvg-article-content select {
    width: 100%;
    max-width: 100%;
    border: 1px solid #d2d2d2;
    border-radius: 0;
    box-shadow: none;
}

.fvg-updates {
    padding: 48px 0 58px;
    background: #fafafa;
}

.fvg-updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.fvg-update-card {
    display: block;
    color: inherit !important;
    text-align: center;
}

.fvg-update-card img {
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 2 / 1.12;
    object-fit: cover;
}

.fvg-update-card h2 {
    margin: 13px 10px 6px;
    color: #151515;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.fvg-update-card p {
    margin: 0 14px;
    color: #565656;
    font-size: 15px;
}

.fvg-article-page {
    min-height: 760px;
    background: #fff;
}

.fvg-article-header {
    padding: 30px 0 26px;
    text-align: center;
}

.fvg-article-header h1 {
    max-width: 980px;
    margin: 0 auto;
    color: #111;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.fvg-article-header span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 18px auto 0;
    background: #e6e6e6;
}

.fvg-article-content {
    padding-bottom: 70px;
}

.fvg-article-content > p:first-child {
    margin-top: 10px;
}

.fvg-site-footer {
    color: #fff;
}

.fvg-footer-main {
    padding: 48px 0 52px;
    background: var(--fvg-blue);
}

.fvg-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1.1fr;
    gap: 46px;
}

.fvg-footer-grid h2 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.fvg-footer-grid p,
.fvg-footer-grid li,
.fvg-footer-grid a {
    color: rgb(255 255 255 / 88%);
    font-size: 15px;
    line-height: 1.65;
}

.fvg-footer-grid p {
    margin: 0 0 15px;
}

.fvg-footer-grid ul {
    margin: 0;
    padding-left: 18px;
}

.fvg-footer-grid li {
    margin-bottom: 7px;
}

.fvg-socials {
    display: flex;
    gap: 8px;
}

.fvg-socials a {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgb(255 255 255 / 55%);
    border-radius: 50%;
}

.fvg-socials svg {
    width: 16px;
    height: 16px;
}

.fvg-footer-badges {
    padding: 32px 0;
    color: #141414;
    background: #fff;
}

.fvg-badge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fvg-badge-grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.fvg-badge-grid svg {
    width: 40px;
    height: 40px;
    color: #3f9fe8;
    stroke-width: 1.5;
}

.fvg-badge-grid strong {
    font-size: 14px;
}

.fvg-footer-bottom {
    padding: 11px 0;
    background: var(--fvg-footer-dark);
    text-align: center;
}

.fvg-footer-bottom p {
    margin: 0;
    color: rgb(255 255 255 / 55%);
    font-size: 14px;
}

.fvg-to-top {
    position: fixed;
    z-index: 70;
    right: 22px;
    bottom: 18px;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #111 !important;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: rgb(255 255 255 / 90%);
}

.fvg-to-top svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 900px) {
    .fvg-shell {
        width: min(100% - 30px, 760px);
    }

    .admin-bar .fvg-custom-header {
        top: 46px;
    }

    .fvg-header-main,
    .fvg-header-main__inner {
        height: 66px;
    }

    .fvg-desktop-nav,
    .fvg-header-button--outline {
        display: none;
    }

    .fvg-brand {
        width: 143px;
        height: 50px;
    }

    .fvg-header-actions {
        margin-left: auto;
    }

    .fvg-header-button--green {
        width: 137px;
        min-height: 50px;
        padding: 0 12px;
        text-align: center;
    }

    .fvg-menu-toggle {
        display: flex;
        margin-left: 14px;
    }

    .fvg-hero-copy span {
        font-size: 12px;
    }

    .fvg-hero-copy h1 {
        max-width: 160px;
        font-size: 17px;
    }

    .fvg-hero-copy p {
        display: none;
    }

    .fvg-trust-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 6px 35px;
    }

    .fvg-trust-item {
        grid-template-columns: 72px 1fr;
        gap: 18px;
        min-height: 105px;
    }

    .fvg-trust-icon {
        width: 67px;
        height: 67px;
    }

    .fvg-trust-item h2 {
        font-size: 16px;
    }

    .fvg-trust-item p {
        font-size: 15px;
    }

    .fvg-home-intro {
        padding-top: 4px;
    }

    .fvg-home-intro h1 {
        font-size: 22px;
    }

    .fvg-quick-links {
        justify-content: space-between;
        gap: 10px;
    }

    .fvg-quick-links a {
        flex: 1;
        min-width: 0;
        padding-right: 6px;
        padding-left: 6px;
    }

    .fvg-article-flow {
        padding-top: 18px;
    }

    .fvg-article-flow h2,
    .fvg-article-content h2 {
        font-size: 20px;
    }

    .fvg-article-content h3 {
        font-size: 17px;
    }

    .fvg-updates {
        padding: 36px 0 42px;
    }

    .fvg-updates-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .fvg-update-card img {
        aspect-ratio: 16 / 9;
    }

    .fvg-article-page {
        min-height: 620px;
    }

    .fvg-article-header {
        padding: 28px 0 24px;
    }

    .fvg-article-header h1 {
        font-size: 23px;
    }

    .fvg-article-content {
        padding-bottom: 48px;
    }

    .fvg-footer-main {
        padding: 42px 0;
    }

    .fvg-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fvg-footer-grid section + section {
        padding-top: 8px;
        border-top: 1px solid rgb(255 255 255 / 18%);
    }

    .fvg-footer-badges {
        display: none;
    }

    .fvg-footer-bottom {
        padding: 15px 0;
    }

    .fvg-footer-bottom p {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .fvg-shell {
        width: calc(100% - 30px);
    }

    .fvg-brand {
        width: 137px;
    }

    .fvg-header-button--green {
        width: 132px;
        padding: 0 8px;
        font-size: 12px;
    }

    .fvg-menu-toggle {
        margin-left: 13px;
    }

    .fvg-hero-copy {
        inset-inline: 15px auto;
        width: 155px;
        margin: 0;
    }

    .fvg-trust-grid {
        width: calc(100% - 30px);
    }

    .fvg-article-flow p,
    .fvg-article-flow li,
    .fvg-article-content p,
    .fvg-article-content li {
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .fvg-brand {
        width: 112px;
    }

    .fvg-header-button--green {
        width: 112px;
        padding: 0 5px;
        font-size: 11px;
    }

    .fvg-menu-toggle {
        margin-left: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
