@import url('https://fonts.googleapis.com/css2?family=Literata:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap');

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Rubik', sans-serif !important;
    color: #3D4853 !important;
    font-weight: 400 !important;
}

.heading-title .wp-block-heading{
    font-family: 'Literata', serif !important;
    font-weight: 400 !important;
    color: #E84E74;
}
/* .heading-title span {
    font-weight: 400 !important;
} */
.literata-title {
    font-family: 'Literata', serif !important;
    font-weight: 300 !important;
    color: #FFFFFF;
}
.rubik-title {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 300 !important;
    color: #FFFFFF;
}

/* span {
  font-family: 'Literata', serif !important;
  font-weight: 500;;
} */

/*body, p, span, li {
  font-family: 'Rubik', sans-serif !important;
}

button, .c-btn, .wp-block-button__link {
  font-family: 'Rubik', sans-serif !important;
} */

/* ===== GROUP HELP + CONTACT + SNS ===== */
.header-top-group {
    display: flex;
    align-items: center;
    gap: 12px; /* chỉnh theo Figma */
    /* font-family: "Rubik", sans-serif; */
    font-weight: 400;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0;
}

/* Links */
.header-top-group a {
    text-decoration: none;
    color: inherit;
    font-weight: 400;
}

/* Hover */
.header-top-group a:hover {
    opacity: 0.7;
}

/* Divider FIGMA */
.header-top-group .sep {
    display: inline-block;
    width: 4px;
    height: 0;
    border-top: 1px solid currentColor;
    transform: rotate(-90deg);
    opacity: 0.3;
}

/* SNS icon list inside the group */
.header-top-group .sns-inline {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* remove default SWELL spacing */
.header-top-group .sns-inline li {
    margin: 0 !important;
}

/* cart & favorite */
.w-header__inner.header-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.w-header.pc_ {
    display: flex;
    align-items: center;
}
/* cart & favorite */

/* Container để canh chỉnh với header */
.header-search-box {
    display: flex;
    align-items: center;
    margin-left: 144px;
    margin-right: 32px;
}

/* Form search theo style Figma */
.header-search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #E0E0E0; /* viền xám nhạt */
    border-radius: 8px;
    padding: 6px 16px;
    height: 48px; /* chiều cao giống Figma */
    width: 300px;
    gap: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06); /* bóng nhẹ */
}

/* Icon bên trái */
.header-search .search-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

/* Input text */
.header-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    /* color: #333; */
    background: transparent;
}

/* Placeholder giống Figma */
.header-search input::placeholder {
    color: #A8A8A8;
    font-weight: 400;
}

/* logo */
/* Container chính của header */
.l-header__inner {
    position: relative; /* để absolute của logo dựa vào */
    overflow: visible;
}

/* Wrapper để logo không chạy ra ngoài lề trái */
.logo-wrap {
    position: absolute;
    top: -24px; /* kéo lên bao nhiêu tùy bạn */    
    z-index: 20;
}

/* Logo gốc — tắt padding thừa */
.l-header__logo {
    padding-top: 0 !important;
}

/* instagram */
.sbi_item img {
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.no-padding {
    padding: 0 !important;
}
.relative {
    position: relative;
}
.zindex-10 {
    z-index: 10 !important;
}
.mt-10 {
    margin-top: 10px !important;
}
.interactive-map-wrap path.hover-region {
    fill: #F0B0B1 !important;
    cursor: pointer;
}
.map-card-image-wrapper {
    width: 304px;  /* 152 * 2 */
    height: 200px; /* 100 * 2 */
    border-radius: 12px;      /* bo tròn khung ngoài */
    overflow: hidden;         /* quan trọng để ảnh không lòi ra ngoài */
}

.map-card-image {
    display: grid;
    grid-template-columns: repeat(2, 152px);
    grid-template-rows: repeat(2, 100px);
    gap: 0;
    transition: transform 0.3s ease;
}

.map-card-image:hover {
    transform: scale(1.05);
}

.map-card-image img {
    width: 152px;
    height: 100px;
    object-fit: cover;
    object-position: center;
}
#map-description {
    font-size: 14px;
}
.map-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-nav-btn-left {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 8px;
    width: auto;
    height: auto;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.map-nav-btn-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 8px;
    width: auto;
    height: auto;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.map-prev {
    left: 0;
}

.map-next {
    right: 0;
}
.map-card-select-prefecture {
    gap: inherit ;
}

.circle-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #E84E74;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    vertical-align: middle;
}

.region-name-fix {
    margin-left: 2px;
    vertical-align: middle;
}

/* -----------------------INSTAGRAM FEED-------------------------- */

/* -----------------------INSTAGRAM FEED-------------------------- */

/* -----------------------------------
   PC (Desktop) - >= 960px
----------------------------------- */
@media screen and (min-width: 960px) {
    /* CSS for PC */
    /* disable scroll bar */
    /* Chrome / Safari / Edge */
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
    }

    /* Firefox */
    html, body {
        scrollbar-width: none;
    }

    .no-border-top {
        border-top: none;
    }

    .slider-style {
        padding-top: 107px;
        padding-bottom: 36px;
    }

    .flower-overlay1 {
        position: absolute;
        bottom: -6.5%;
        left: 1.12%;
        z-index: 10;
    }
    .flower-overlay2 {
        position: absolute;
        bottom: -3.9%;
        left: 8.5%;
        z-index: 10;
    }
    .flower-overlay3 {
        position: absolute;
        bottom: -3.4%;
        left: 13.2%;
        z-index: 10;
    }
    .flower-overlay4 {
        position: absolute;
        bottom: 65%;
        left: 92.3%;
        z-index: 10;
    }
    .content-wide {
        max-width: 1175px;
        margin: 0 auto;
        width: 100%;
    }
    .header-inner {
        height: 83px;
        display: flex;
        justify-content: center;
    }
    .l-header__gnav .c-gnav {
        gap: 0px !important;
    }
    .l-header__gnav .c-gnav > li > a {
        padding-left: 16px;
        padding-right: 16px;
    }
    .l-header__gnav .c-gnav > li > a .ttl {
        font-size: 16px !important;
    }
    /* Font size submenu */
    .l-header__gnav .sub-menu a .ttl {
        font-size: 16px !important;
    }
    
    .sns-instagram {
        font-family: 'Literata', serif !important;
        font-weight: 500 !important;gap: 16px;
        color: #E84E74;
    }
    .sns-instagram .wp-social-link-instagram svg, .sns-instagram .wp-social-link-youtube svg {
        width: 32px;
        height: 32px;
    }
    /* .instagram-wrap {
        animation: scrollLeft 20s linear infinite;
    }
    @keyframes scrollLeft {
        0% { transform: translateX(0); }
        100% { transform: translateX(-100%); }
    } */
    .top-running-bg-bottom-left {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 1;
    }
    .top-running-bg-bottom-right {
        position: absolute;
        bottom: 2%;
        right: 0;
        z-index: 1;
    }
    .top-running-bg-top-left {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }
    .top-running-bg-top-right {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
    }
    .swell-block-fullWide__inner {
        padding: 0;
    }
    .running-destination-bg {
        background-image: url("/wp-content/themes/swell_child/assets/img/running-destination-bg.svg");
        background-repeat: no-repeat;
        background-position: left center;
        background-size: auto 100%;
        height: 100% !important;
    }
    .running-destination-card {
        width: 336px;
        border-radius: 16px !important;
        padding: 16px !important;
        margin-top: 32px !important;
        gap: 29px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    }
    .running-destination-card-text {
        gap: 10px !important;
        color: #3D4853 !important;
    }
    .running-destination-card-zone-name {
        font-family: Literata, serif !important;
        color: #E84E74 !important;
        font-weight: 500 !important;
        font-size: 18px !important;
        text-transform: uppercase !important;
    }
    .running-destination-card .row-fix {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px;
    }
}

/* -----------------------------------
   Mobile (Smartphone) - <= 959px
----------------------------------- */
@media screen and (max-width: 959px) {
    /* CSS for Mobile */
    .sns-instagram {
        font-family: 'Literata', serif !important;
        font-weight: 500 !important;
        color: #E84E74;
    }
}