/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.1
*/

/* =========================================================
   ROOT / GLOBAL
   ========================================================= */

:root {
    --bg: #0b0c0d;
    --bg-soft: #111315;
    --panel: #151719;
    --panel-2: #1b1d20;
    --border: #282b2f;
    --border-soft: #202226;
    --text: #ffffff;
    --text-soft: #b8b8ba;
    --muted: #8d8f93;
    --blue: #3f9eff;
    --blue-soft: #76aaff;
    --red: #f24752;
    --yellow: #ffd84d;
    --green: #40d67e;
}

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   GENERATEPRESS CLEANUP
   ========================================================= */

body.home .site.grid-container,
body.home .site-content,
body.home .content-area,
body.home #primary,
body.post-type-archive-gai_goi .site.grid-container,
body.post-type-archive-gai_goi .site-content,
body.post-type-archive-gai_goi .content-area,
body.post-type-archive-gai_goi #primary,
body.single-gai_goi .site.grid-container,
body.single-gai_goi .site-content,
body.single-gai_goi .content-area,
body.single-gai_goi #primary {
    width: 100%;
    max-width: none;
}

body.home .site-content,
body.post-type-archive-gai_goi .site-content,
body.single-gai_goi .site-content {
    display: block;
    padding: 0;
}

body.home .site-main,
body.post-type-archive-gai_goi .site-main,
body.single-gai_goi .site-main {
    margin: 0;
}

body.home .inside-article,
body.post-type-archive-gai_goi .inside-article,
body.single-gai_goi .inside-article {
    padding: 0;
    background: transparent;
}

body.post-type-archive-gai_goi .widget-area,
body.single-gai_goi .widget-area {
    display: none;
}

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

body.home .site-header,
body.post-type-archive-gai_goi .site-header,
body.single-gai_goi .site-header {
    background: #17191b;
    border-bottom: 1px solid var(--border);
}

body.home .inside-header,
body.post-type-archive-gai_goi .inside-header,
body.single-gai_goi .inside-header {
    display: flex;
    justify-content: center;
    min-height: 58px;
    max-width: 960px;
    padding: 8px 16px;
    margin: 0 auto;
}

body.home .site-branding,
body.post-type-archive-gai_goi .site-branding,
body.single-gai_goi .site-branding {
    margin: 0;
    text-align: center;
}

body.home .main-title,
body.post-type-archive-gai_goi .main-title,
body.single-gai_goi .main-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 800;
    line-height: 1.2;
}

body.home .main-title a,
body.home .main-title a:hover,
body.post-type-archive-gai_goi .main-title a,
body.post-type-archive-gai_goi .main-title a:hover,
body.single-gai_goi .main-title a,
body.single-gai_goi .main-title a:hover {
    color: #f23857;
}

body.home .site-description,
body.post-type-archive-gai_goi .site-description,
body.single-gai_goi .site-description,
body.home #site-navigation,
body.post-type-archive-gai_goi #site-navigation,
body.single-gai_goi #site-navigation {
    display: none;
}

/* =========================================================
   HOME PAGE
   ========================================================= */

body.home {
    padding-bottom: 64px;
    background: var(--bg);
    color: var(--text);
}

.home-profile-page {
    min-height: 100vh;
    padding: 18px 0 38px;
    background: var(--bg);
}

.home-profile-container {
    width: min(960px, calc(100% - 24px));
    margin: 0 auto;
}

.home-top {
    margin: 0 0 34px;
}

.home-top h1 {
    margin: 0 0 9px;
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

/* Search / province */

.home-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.home-select-wrap {
    min-width: 0;
    margin: 0;
}

.home-location-select {
    width: 100%;
    height: 42px;
    padding: 0 36px 0 13px;
    border: 1px solid #315f9d;
    border-radius: 7px;
    outline: none;
    background: #141618;
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
}

.home-location-select:focus {
    border-color: var(--blue);
}

.home-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 122px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #315f9d;
    border-radius: 7px;
    background: #141618;
    color: var(--blue-soft);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.home-action-btn:hover {
    border-color: var(--blue);
    background: #19202a;
    color: #ffffff;
}

/* Filter row */

.home-sort-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1px;
    margin-top: 12px;
}

.home-filter-dropdown {
    position: relative;
}

.home-filter-toggle {
    display: block;
    padding: 6px 8px;
    border: 0;
    border-bottom: 1px solid #4b4d51;
    border-radius: 0;
    background: transparent;
    color: #c0c0c2;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
}

.home-filter-toggle:hover,
.home-filter-dropdown:hover > .home-filter-toggle {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.home-filter-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    z-index: 10000;
    display: none;
    min-width: 150px;
    padding: 4px 0;
    border: 1px solid #36393d;
    background: #25272a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.home-filter-dropdown:hover .home-filter-menu,
.home-filter-dropdown:focus-within .home-filter-menu {
    display: block;
}

.home-filter-menu a {
    display: block;
    padding: 7px 10px;
    color: #ffffff;
    font-size: 11px;
    line-height: 1.25;
    white-space: nowrap;
}

.home-filter-menu a:hover {
    background: #36393d;
    color: var(--yellow);
}

.home-filter-reset {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 8px;
    color: #ff7979;
    font-size: 11px;
    white-space: nowrap;
}

.home-filter-reset:hover {
    color: #ffffff;
}

/* Section title */

.home-section-title {
    position: relative;
    margin: 0 0 14px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0.4px;
}

.home-section-title::before,
.home-section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 31%;
    height: 1px;
    background: #3d171a;
}

.home-section-title::before {
    left: 0;
}

.home-section-title::after {
    right: 0;
}

/* Cards */

.home-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.home-profile-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #25272a;
    border-radius: 3px;
    background: var(--panel);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.home-profile-card:hover {
    transform: translateY(-1px);
    border-color: #36393d;
}

.home-profile-image-wrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4.25;
    overflow: hidden;
    background: #202225;
}

.home-profile-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.home-profile-card:hover .home-profile-image {
    transform: scale(1.015);
}

.home-profile-no-image {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--muted);
    font-size: 12px;
}

.home-profile-hot {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    padding: 4px 7px;
    border-radius: 999px;
    background: #ff2d2d;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.home-profile-info {
    padding: 9px 9px 10px;
}

.home-profile-name {
    min-height: 2.65em;
    margin: 0 0 7px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.32;
}

.home-profile-name a {
    color: #ffffff;
}

.home-profile-name a:hover {
    color: #ff5c64;
}

.home-profile-row,
.home-profile-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    min-width: 0;
}

.home-profile-row {
    margin-bottom: 7px;
}

.home-profile-location {
    min-width: 0;
    overflow: hidden;
    color: var(--blue);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-profile-price {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.home-profile-stars {
    min-width: 0;
    overflow: hidden;
    color: #74767a;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-profile-stars > span {
    color: #f5c84c;
}

.home-profile-stars small {
    color: #9b9da1;
    letter-spacing: 0;
}

.home-profile-views {
    flex: 0 0 auto;
    color: #bfc1c5;
    font-size: 11px;
    white-space: nowrap;
}

/* Home pagination */

.home-profile-grid > .page-numbers {
    grid-column: 1 / -1;
}

.home-profile-grid ul.page-numbers {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.home-profile-grid ul.page-numbers li {
    margin: 0;
}

.home-profile-grid ul.page-numbers a,
.home-profile-grid ul.page-numbers span {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid #33363a;
    border-radius: 4px;
    background: #17191b;
    color: #ffffff;
    font-size: 12px;
}

.home-profile-grid ul.page-numbers .current {
    border-color: var(--red);
    background: var(--red);
}

.home-no-results {
    grid-column: 1 / -1;
    padding: 26px 16px;
    border: 1px solid var(--border);
    background: var(--panel);
    text-align: center;
}

.home-no-results p {
    margin: 0 0 10px;
    color: #d4d4d4;
}

.home-no-results a {
    color: var(--blue);
}

/* Bottom nav */

.home-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99990;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 62px;
    border-top: 1px solid #303236;
    background: rgba(23, 25, 27, 0.98);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(8px);
}

.home-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #d7d8da;
    font-size: 10px;
    line-height: 1;
}

.home-bottom-nav a:hover,
.home-bottom-nav a.is-active {
    color: var(--blue);
}

.home-bottom-icon {
    font-size: 20px;
    line-height: 1;
}

/* =========================================================
   ARCHIVE: HO SO
   ========================================================= */

body.post-type-archive-gai_goi {
    background: var(--bg);
    color: #ffffff;
}

.profile-page {
    min-height: 100vh;
    padding: 20px 0 72px;
    background: var(--bg);
}

.profile-container {
    width: min(960px, calc(100% - 24px));
    margin: 0 auto;
}

.profile-heading h1 {
    margin: 0 0 16px;
    color: var(--red);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.profile-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #25272a;
    border-radius: 3px;
    background: var(--panel);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.profile-card:hover {
    transform: translateY(-1px);
    border-color: #36393d;
}

.profile-image-wrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4.25;
    overflow: hidden;
    background: #202225;
}

.profile-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-no-image {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--muted);
    background: #202225;
}

.profile-hot {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    display: inline-block;
    padding: 4px 7px;
    border-radius: 999px;
    background: #ff2f2f;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.profile-card-body {
    padding: 9px 9px 10px;
}

.profile-title {
    min-height: 2.65em;
    margin: 0 0 7px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.32;
    font-weight: 700;
}

.profile-title a {
    color: #ffffff;
}

.profile-title a:hover {
    color: #ff5c64;
}

.profile-info-row,
.profile-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin-bottom: 7px;
}

.profile-location {
    min-width: 0;
    overflow: hidden;
    color: var(--blue);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-price {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.profile-stars {
    color: #f5c84c;
    font-size: 11px;
}

.profile-views {
    color: #bfc1c5;
    font-size: 11px;
    white-space: nowrap;
}

.profile-phone {
    display: inline-block;
    margin-top: 2px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 500;
}

.profile-phone:hover {
    color: #78bdff;
}

.profile-pagination {
    margin-top: 22px;
}

.profile-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.profile-pagination .page-numbers {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid #33363a;
    border-radius: 4px;
    background: #17191b;
    color: #ffffff;
    font-size: 12px;
}

.profile-pagination .page-numbers.current {
    border-color: var(--red);
    background: var(--red);
}

/* =========================================================
   SINGLE: HO SO
   ========================================================= */

body.single-gai_goi {
    background: var(--bg);
    color: #ffffff;
}

.single-profile-page {
    min-height: 100vh;
    padding: 18px 0 72px;
    background: var(--bg);
}

.single-profile-container {
    width: min(960px, calc(100% - 24px));
    margin: 0 auto;
}

.profile-breadcrumb {
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 12px;
}

.profile-breadcrumb a {
    color: var(--blue);
}

.single-profile-header h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.25;
}

.single-profile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 12px;
    margin-bottom: 16px;
    font-size: 12px;
}

.single-hot {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 999px;
    background: #ff3030;
    color: #ffffff;
    font-weight: 700;
}

.single-price {
    color: var(--yellow);
    font-weight: 700;
}

.single-location {
    color: var(--blue);
}

.single-views {
    color: #aaaaaa;
}

.single-profile-gallery {
    margin-bottom: 18px;
}

/* Custom gallery */

.custom-profile-gallery {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 760px;
    margin: 0 auto 22px;
}

.custom-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-height: 650px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.custom-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.custom-gallery-thumb {
    display: block;
    flex: 0 0 auto;
    width: 72px;
    height: 90px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 4px;
    background: #1c1c1c;
    cursor: pointer;
    opacity: 0.72;
}

.custom-gallery-thumb:hover,
.custom-gallery-thumb.active {
    border-color: var(--red);
    opacity: 1;
}

.custom-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 520px;
    overflow: hidden;
    border-radius: 7px;
    background: #111315;
}

.custom-gallery-main-image {
    display: block;
    width: 100%;
    height: 650px;
    object-fit: contain;
    background: #111315;
    cursor: zoom-in;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 40px;
    height: 40px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.58);
    color: #ffffff;
    font-size: 22px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(242, 71, 82, 0.92);
}

.gallery-counter {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 5;
    padding: 5px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

/* Lightbox */

body.lightbox-open {
    overflow: hidden;
}

.profile-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.95);
}

.profile-lightbox.open {
    display: flex;
}

.profile-lightbox-image {
    display: block;
    max-width: 95vw;
    max-height: 94vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.profile-lightbox-close,
.profile-lightbox-prev,
.profile-lightbox-next {
    position: fixed;
    z-index: 10;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(40, 40, 40, 0.86);
    color: #ffffff;
    cursor: pointer;
}

.profile-lightbox-close {
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 32px;
    line-height: 40px;
}

.profile-lightbox-prev,
.profile-lightbox-next {
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    font-size: 26px;
}

.profile-lightbox-prev {
    left: 20px;
}

.profile-lightbox-next {
    right: 20px;
}

.profile-lightbox-close:hover,
.profile-lightbox-prev:hover,
.profile-lightbox-next:hover {
    background: var(--red);
}

/* Single blocks */

.single-profile-video,
.single-profile-info,
.profile-highlight,
.profile-comments {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #2d3034;
    border-radius: 7px;
    background: var(--panel);
}

.single-profile-video h2,
.single-profile-info h2,
.profile-highlight h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.3;
}

.single-profile-video video {
    display: block;
    width: 100%;
    max-height: 680px;
    border-radius: 6px;
    background: #000000;
}

.profile-info-table {
    overflow: hidden;
    border: 1px solid #33363a;
    border-radius: 6px;
}

.info-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 11px;
    border-bottom: 1px solid #33363a;
    font-size: 13px;
}

.info-row:last-child {
    border-bottom: 0;
}

.info-row span {
    color: #a9aaad;
}

.info-row strong {
    color: #ffffff;
    font-weight: 600;
}

.info-row a {
    color: var(--green);
}

.profile-highlight {
    border-color: #6d5700;
    background: #292100;
}

.profile-highlight h2 {
    color: var(--yellow);
}

.profile-highlight p {
    margin: 0;
    color: #ffffff;
}

.profile-comments {
    color: #ffffff;
}

.profile-comments h2,
.profile-comments h3,
.profile-comments label {
    color: #ffffff;
}

.profile-comments input[type="text"],
.profile-comments input[type="email"],
.profile-comments input[type="url"],
.profile-comments textarea {
    width: 100%;
    padding: 9px;
    border: 1px solid #3a3d41;
    border-radius: 5px;
    background: #101214;
    color: #ffffff;
}

.profile-comments input[type="submit"],
.profile-comments .submit {
    padding: 9px 14px;
    border: 0;
    border-radius: 5px;
    background: #2386ff;
    color: #ffffff;
    cursor: pointer;
}

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

@media (max-width: 1024px) {
    .home-profile-grid,
    .profile-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    body.home {
        padding-bottom: 58px;
    }

    body.home .inside-header,
    body.post-type-archive-gai_goi .inside-header,
    body.single-gai_goi .inside-header {
        min-height: 50px;
        padding: 6px 12px;
    }

    body.home .main-title,
    body.post-type-archive-gai_goi .main-title,
    body.single-gai_goi .main-title {
        font-size: 28px;
    }

    .home-profile-page,
    .profile-page,
    .single-profile-page {
        padding-top: 12px;
    }

    .home-profile-container,
    .profile-container,
    .single-profile-container {
        width: calc(100% - 12px);
    }

    .home-top {
        margin-bottom: 26px;
    }

    .home-top h1 {
        font-size: 16px;
    }

    .home-search-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 5px;
    }

    .home-location-select,
    .home-action-btn {
        height: 37px;
    }

    .home-location-select {
        padding-left: 10px;
        font-size: 11px;
    }

    .home-action-btn {
        min-width: 96px;
        padding: 0 8px;
        font-size: 10px;
    }

    .home-sort-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .home-sort-row::-webkit-scrollbar {
        display: none;
    }

    .home-filter-dropdown {
        flex: 0 0 auto;
    }

    .home-filter-toggle {
        padding: 6px;
        font-size: 11px;
        white-space: nowrap;
    }

    .home-filter-menu {
        min-width: 135px;
    }

    .home-filter-reset {
        flex: 0 0 auto;
    }

    .home-section-title {
        margin-bottom: 11px;
        font-size: 12px;
    }

    .home-section-title::before,
    .home-section-title::after {
        width: 21%;
    }

    .home-profile-grid,
    .profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .home-profile-info,
    .profile-card-body {
        padding: 7px;
    }

    .home-profile-name,
    .profile-title {
        min-height: 2.6em;
        font-size: 13px;
    }

    .home-profile-location,
    .home-profile-price,
    .home-profile-views,
    .profile-location,
    .profile-price,
    .profile-views,
    .profile-phone {
        font-size: 11px;
    }

    .home-profile-stars,
    .profile-stars {
        font-size: 10px;
    }

    .home-bottom-nav {
        min-height: 57px;
    }

    .home-bottom-nav a {
        font-size: 9px;
    }

    .home-bottom-icon {
        font-size: 18px;
    }

    .profile-heading h1,
    .single-profile-header h1 {
        font-size: 20px;
    }

    .custom-profile-gallery {
        display: flex;
        flex-direction: column-reverse;
        gap: 7px;
        max-width: 100%;
    }

    .custom-gallery-main {
        min-height: 380px;
    }

    .custom-gallery-main-image {
        height: 500px;
    }

    .custom-gallery-thumbs {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 3px;
    }

    .custom-gallery-thumb {
        width: 60px;
        min-width: 60px;
        height: 76px;
    }

    .gallery-prev,
    .gallery-next {
        width: 36px;
        height: 36px;
        font-size: 19px;
        line-height: 36px;
    }

    .info-row {
        grid-template-columns: 105px minmax(0, 1fr);
        padding: 8px;
        font-size: 12px;
    }

    .single-profile-video,
    .single-profile-info,
    .profile-highlight,
    .profile-comments {
        padding: 11px;
    }

    .profile-lightbox {
        padding: 5px;
    }

    .profile-lightbox-prev,
    .profile-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 21px;
    }

    .profile-lightbox-prev {
        left: 7px;
    }

    .profile-lightbox-next {
        right: 7px;
    }

    .profile-lightbox-close {
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .custom-gallery-main {
        min-height: 340px;
    }

    .custom-gallery-main-image {
        height: 430px;
    }
}

/* =========================================================
   GAIGU FINAL UI CONSOLIDATION
   - centered logo on every public page
   - consistent max-widths
   - balanced home top controls
   - polished bottom navigation
   - centered /khu-vuc page
   ========================================================= */

:root{
    --gaigu-bg:#0b0c0d;
    --gaigu-header:#17191b;
    --gaigu-panel:#141618;
    --gaigu-border:#2d3035;
    --gaigu-blue:#4da3ff;
    --gaigu-pink:#ff2f61;
    --gaigu-yellow:#ffd43b;
}

/* ---------- GLOBAL LAYOUT ---------- */
body{
    background:var(--gaigu-bg);
    color:#fff;
}

.site,
.site-content,
#page{
    background:var(--gaigu-bg);
}

/* ---------- HEADER / LOGO : ALWAYS CENTERED ---------- */
.site-header{
    position:relative;
    z-index:100;
    width:100%;
    background:var(--gaigu-header);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.site-header .inside-header{
    position:relative;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:min(1120px,calc(100% - 24px));
    min-height:72px;
    margin:0 auto !important;
    padding:10px 12px !important;
}

.site-branding,
.site-branding-container,
.site-logo{
    position:static !important;
    float:none !important;
    width:auto !important;
    margin:0 auto !important;
    text-align:center !important;
}

.main-title{
    margin:0 !important;
    font-family:Georgia,"Times New Roman",serif;
    font-size:0;
    font-style:italic;
    font-weight:800;
    line-height:1;
    text-align:center;
}

.main-title a,
.main-title a:hover,
.site-branding a,
.site-logo a{
    display:inline-block;
    color:var(--gaigu-pink) !important;
    font-family:Georgia,"Times New Roman",serif;
    font-size:52px !important;
    font-style:italic;
    font-weight:800;
    line-height:1 !important;
    letter-spacing:-1.3px;
    text-decoration:none !important;
    text-shadow:0 2px 12px rgba(255,47,97,.13);
}

.site-logo img,
.custom-logo{
    display:block;
    width:auto;
    max-height:54px;
    margin:0 auto;
}

.site-description{
    display:none !important;
}

.main-navigation .main-nav{
    display:none;
}

/* ---------- HOME ---------- */
body.home{
    padding-bottom:72px;
}

body.home .site.grid-container,
body.home .site-content,
body.home .content-area,
body.home #primary,
body.home .site-main,
body.home .inside-article{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
}

.home-profile-page{
    min-height:100vh;
    padding:24px 0 42px;
}

.home-profile-container{
    width:min(1065px,calc(100% - 24px)) !important;
    margin:0 auto;
}

.home-top{
    margin:0 0 48px;
}

.home-top h1{
    margin:0 0 10px;
    color:#fff;
    font-size:22px;
    font-weight:800;
    line-height:1.28;
    letter-spacing:-.25px;
}

/* Province selector + 2 balanced action buttons */
.home-search-row{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 160px 160px !important;
    gap:10px !important;
    align-items:center;
}

.home-select-wrap{
    width:100%;
    min-width:0;
    margin:0;
}

.home-location-select{
    width:100%;
    height:48px !important;
    padding:0 42px 0 14px !important;
    border:1px solid #3475c5 !important;
    border-radius:10px !important;
    outline:none;
    background:#141618 !important;
    color:#fff !important;
    color-scheme:dark;
    font-size:13px !important;
    font-weight:600;
    cursor:pointer;
}

.home-location-select:focus{
    border-color:var(--gaigu-blue) !important;
    box-shadow:0 0 0 2px rgba(77,163,255,.10);
}

.home-location-select option{
    background:#151515 !important;
    color:#fff !important;
}

.home-action-btn{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:160px !important;
    min-width:160px !important;
    height:48px !important;
    padding:0 14px !important;
    border:1px solid #3475c5;
    border-radius:10px !important;
    background:#141618;
    color:#64a7ff;
    font-size:13px !important;
    font-weight:700;
    white-space:nowrap;
    text-decoration:none !important;
}

.home-review-btn{
    border-color:#caa122 !important;
    color:var(--gaigu-yellow) !important;
}

.home-review-btn:hover{
    border-color:#f4ca31 !important;
    background:#211c0b !important;
    color:#ffe36b !important;
}

.home-nearby-btn:hover{
    border-color:#4a8ddd !important;
    background:#18212c !important;
    color:#8bc0ff !important;
}

/* Filters */
.home-sort-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:0;
    margin-top:15px;
}

.home-filter-toggle{
    padding:5px 9px 6px;
    border:0;
    border-bottom:1px solid #565a60;
    border-radius:0;
    background:transparent;
    color:#d4d4d4;
    font-size:13px;
    font-weight:400;
    line-height:1.2;
}

.home-filter-toggle:hover,
.home-filter-dropdown:hover>.home-filter-toggle{
    color:#fff;
    border-bottom-color:#fff;
}

.home-filter-menu{
    min-width:150px;
    border:1px solid #36393d;
    background:#25272a;
    box-shadow:0 10px 24px rgba(0,0,0,.45);
}

.home-filter-menu a:hover{
    color:var(--gaigu-yellow);
    background:#36393d;
}

/* Home card grid */
.home-profile-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:12px !important;
}

.home-profile-card{
    width:100%;
}

.home-profile-image-wrap{
    aspect-ratio:3/4.25;
}

/* ---------- ARCHIVE + SINGLE ---------- */
body.post-type-archive-gai_goi .site-header .inside-header,
body.single-gai_goi .site-header .inside-header{
    justify-content:center !important;
}

.profile-container,
.single-profile-container{
    width:min(1065px,calc(100% - 24px)) !important;
    margin:0 auto;
}

/* ---------- PAGE KHU VUC ---------- */
body.page-template-page-khu-vuc .site,
body.page-template-page-khu-vuc .site-content,
body.page-template-page-khu-vuc .content-area,
body.page-template-page-khu-vuc #primary,
body.page-template-page-khu-vuc .site-main,
body.page-template-page-khu-vuc .inside-article{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
}

body.page-template-page-khu-vuc .widget-area{
    display:none !important;
}

body.page-template-page-khu-vuc .site-header .inside-header{
    min-height:60px !important;
    justify-content:center !important;
    padding:8px 12px !important;
}

body.page-template-page-khu-vuc .main-title a{
    font-size:42px !important;
}

.area-page{
    width:100%;
    min-height:100vh;
    padding:12px 0 92px !important;
    background:var(--gaigu-bg);
}

.area-container{
    width:min(920px,calc(100% - 24px)) !important;
    margin:0 auto !important;
}

.area-breadcrumb{
    margin-bottom:8px !important;
    font-size:11px !important;
}

.area-hero{
    margin-bottom:18px !important;
    border:1px solid #2d4f7f !important;
    border-radius:8px !important;
}

.area-hero-content{
    padding:20px 22px !important;
}

.area-hero h1{
    margin:0 0 4px !important;
    font-size:22px !important;
    line-height:1.25 !important;
}

.area-hero p{
    margin:0 0 14px !important;
    font-size:12px !important;
}

.area-jump-wrap{
    max-width:430px !important;
}

.area-jump-wrap label{
    margin-bottom:5px !important;
    font-size:11px !important;
}

.area-jump-select{
    height:40px !important;
    padding:0 34px 0 12px !important;
    border-radius:5px !important;
    font-size:11px !important;
}

.area-section{
    margin-top:18px !important;
}

.area-section-heading{
    margin-bottom:9px !important;
}

.area-section-heading h2{
    font-size:13px !important;
}

.area-section-count{
    font-size:10px !important;
}

.area-popular-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:8px !important;
}

.area-popular-card{
    min-height:68px !important;
    padding:10px 11px !important;
    border-radius:6px !important;
}

.area-popular-card strong{
    font-size:11px !important;
}

.area-popular-card small{
    font-size:9px !important;
}

.area-popular-rank{
    font-size:42px !important;
}

.area-chip-list{
    gap:7px !important;
}

.area-chip{
    min-height:30px !important;
    padding:6px 10px !important;
    font-size:10px !important;
}

.area-description{
    margin-top:24px !important;
    padding:16px 18px !important;
}

.area-description h2{
    font-size:13px !important;
}

.area-description p{
    font-size:10px !important;
    line-height:1.7 !important;
}

/* ---------- FOOTER ---------- */
.site-footer{
    background:#111317;
    border-top:1px solid #23262d;
}

.site-info{
    padding:16px 12px 88px;
    background:#111317;
    color:#9aa0aa;
    text-align:center;
    font-size:12px;
    line-height:1.6;
}

.footer-widgets,
.footer-widgets-container{
    display:none !important;
}

/* ---------- BOTTOM NAV ---------- */
body.gaigu-has-bottom-nav{
    padding-bottom:72px;
}

.gaigu-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:99999;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    min-height:70px;
    border-top:1px solid rgba(255,255,255,.08);
    background:linear-gradient(180deg,rgba(29,31,34,.98),rgba(20,22,25,.99));
    box-shadow:0 -10px 30px rgba(0,0,0,.35);
    backdrop-filter:blur(10px);
}

.gaigu-bottom-nav a{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    color:#d7d9dc;
    font-size:10px;
    font-weight:500;
    line-height:1;
    text-decoration:none;
}

.gaigu-bottom-nav a:hover{
    color:#fff;
    background:rgba(255,255,255,.025);
}

.gaigu-bottom-nav a.is-active{
    color:var(--gaigu-blue);
}

.gaigu-bottom-nav a.is-active::before{
    content:"";
    position:absolute;
    top:0;
    left:28%;
    right:28%;
    height:2px;
    border-radius:0 0 3px 3px;
    background:var(--gaigu-blue);
    box-shadow:0 0 8px rgba(77,163,255,.55);
}

.gaigu-bottom-nav-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    color:inherit;
}

.gaigu-bottom-nav-icon svg{
    width:23px;
    height:23px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1024px){
    .home-profile-container,
    .profile-container,
    .single-profile-container{
        width:min(960px,calc(100% - 20px)) !important;
    }

    .home-search-row{
        grid-template-columns:minmax(0,1fr) 145px 145px !important;
    }

    .home-action-btn{
        width:145px !important;
        min-width:145px !important;
    }
}

@media(max-width:767px){
    .site-header .inside-header{
        width:100%;
        min-height:58px;
        padding:8px 12px !important;
    }

    .main-title a,
    .site-branding a,
    .site-logo a{
        font-size:40px !important;
    }

    .site-logo img,
    .custom-logo{
        max-height:42px;
    }

    .home-profile-container,
    .profile-container,
    .single-profile-container{
        width:calc(100% - 12px) !important;
    }

    .home-top{
        margin-bottom:32px;
    }

    .home-top h1{
        font-size:17px;
    }

    .home-search-row{
        grid-template-columns:minmax(0,1fr) 108px !important;
        gap:6px !important;
    }

    .home-review-btn{
        display:none !important;
    }

    .home-nearby-btn{
        width:108px !important;
        min-width:108px !important;
    }

    .home-location-select,
    .home-action-btn{
        height:40px !important;
        font-size:11px !important;
    }

    .home-sort-row{
        flex-wrap:nowrap;
        overflow-x:auto;
        overflow-y:visible;
        scrollbar-width:none;
    }

    .home-sort-row::-webkit-scrollbar{
        display:none;
    }

    .home-filter-dropdown{
        flex:0 0 auto;
    }

    .home-filter-toggle{
        padding:5px 7px 6px;
        font-size:11px;
        white-space:nowrap;
    }

    .home-profile-grid,
    .profile-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:7px !important;
    }

    body.page-template-page-khu-vuc .main-title a{
        font-size:36px !important;
    }

    .area-container{
        width:calc(100% - 12px) !important;
    }

    .area-hero-content{
        padding:15px !important;
    }

    .area-hero h1{
        font-size:18px !important;
    }

    .area-popular-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }

    .area-jump-wrap{
        max-width:100% !important;
    }

    .gaigu-bottom-nav{
        min-height:64px;
    }

    .gaigu-bottom-nav a{
        gap:3px;
        font-size:9px;
    }

    .gaigu-bottom-nav-icon{
        width:23px;
        height:23px;
    }

    .gaigu-bottom-nav-icon svg{
        width:20px;
        height:20px;
    }
}
/* =========================================================
   HEADER FINAL - LOGO GỌN + ẨN NÚT 3 GẠCH
   ========================================================= */

/* Ẩn hoàn toàn nút hamburger/menu mobile */
.menu-toggle,
.main-navigation .menu-toggle,
#mobile-menu-control-wrapper,
.mobile-menu-control-wrapper,
button.menu-toggle {
    display: none !important;
}

/* Ẩn navigation thừa nếu không dùng menu trên */
#site-navigation,
.main-navigation {
    display: none !important;
}

/* Header luôn căn giữa tuyệt đối */
.site-header .inside-header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 64px !important;
    padding: 8px 12px !important;
    margin: 0 auto !important;
}

/* Branding ở chính giữa */
.site-branding,
.site-branding-container,
.site-logo {
    position: static !important;
    float: none !important;
    width: auto !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Logo chữ gaigu - thon và gọn hơn */
.main-title {
    margin: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
}

.main-title a,
.main-title a:hover {
    display: inline-block !important;
    color: #ff2f61 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 42px !important;
    font-style: italic !important;
    font-weight: 700 !important;

    line-height: 1 !important;
    letter-spacing: -2px !important;

    transform: scaleX(0.92);
    transform-origin: center;

    text-decoration: none !important;
    text-shadow: none !important;
}

/* Mobile */
@media (max-width: 767px) {

    .site-header .inside-header {
        min-height: 58px !important;
        padding: 6px 10px !important;
    }

    .main-title a,
    .main-title a:hover {
        font-size: 38px !important;
        letter-spacing: -1.8px !important;
        transform: scaleX(0.90);
    }
}
/* ===== STICKY HEADER ===== */
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99998 !important;
    width: 100% !important;
}

/* Khi đăng nhập WP có thanh admin phía trên */
body.admin-bar .site-header {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px !important;
    }
}
/* ===== MOBILE: KHU VUC CON 4 COT ===== */
@media (max-width: 767px) {
    .gaigu-area-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }

    .gaigu-area-grid a {
        min-height: 34px !important;
        padding: 5px 3px !important;
        font-size: 9px !important;
        line-height: 1.15 !important;
        text-align: center !important;
        white-space: normal !important;
    }
}