:root {
    --st-primary: #0f4c97;
    --st-primary-2: #1f66bb;
    --st-secondary: #f9c615;
    --st-soft: #f4f7fb;
    --st-border: #e5ebf3;
    --st-text: #1a2b49;
    --st-muted: #6f7f98;
    --home-deep: #0a3a79;
    --home-deep-2: #0e4f9d;
    --home-gold: #ffc61a;
    --home-soft: #f4f8ff;
}

body {
    font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
    font-size: 14px;
    color: var(--st-text);
    background: #f7f9fc;
}

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

.container {
    max-width: 1280px;
}

.public-body {
    background: #fff;
    color: #173154;
}

.public-topbar {
    background: linear-gradient(90deg, #083a78 0%, #0d4f9e 100%);
    color: #fff;
    font-size: 13px;
}

.public-topbar-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.public-topbar-left,
.public-topbar-right,
.public-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.public-topbar a {
    color: #fff;
    text-decoration: none;
}

.public-topbar i {
    margin-right: 6px;
}

.public-hotline {
    font-weight: 700;
}

.public-topbar-btn {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 4px;
    background: #ffffff;
    color: #0f4c97 !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.public-topbar-btn:hover {
    background: #f6c515;
    color: #173154 !important;
    transform: translateY(-1px);
}

.public-topbar-btn:focus {
    box-shadow: 0 0 0 0.16rem rgba(255, 255, 255, 0.22);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #fff;
    border-bottom: 1px solid var(--st-border);
}

.public-navbar {
    min-height: 96px;
}

.public-mobile-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

.public-mobile-search-toggle,
.navbar-toggler {
    width: 44px;
    height: 44px;
    border: 1px solid #dbe6f3;
    border-radius: 12px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f4b97;
    box-shadow: 0 8px 18px rgba(16, 45, 84, 0.08);
}

.public-mobile-search-toggle i {
    font-size: 18px;
}

.navbar-toggler:focus,
.public-mobile-search-toggle:focus {
    box-shadow: 0 0 0 0.18rem rgba(15, 76, 151, 0.14);
}

.public-logo {
    height: 56px;
    width: auto;
}

.public-logo-subtitle {
    color: #315071;
}

.public-nav {
    gap: 12px;
}

.public-nav-item-dropdown {
    position: relative;
}

.public-nav-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e5edf7;
    box-shadow: 0 18px 40px rgba(16, 45, 84, 0.12);
    display: grid;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 20;
}

.public-nav-item-dropdown:hover .public-nav-submenu,
.public-nav-item-dropdown:focus-within .public-nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.public-nav-submenu-link {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: #173154;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.public-nav-submenu-link:hover,
.public-nav-submenu-link.active {
    background: #eef5ff;
    color: #0f4c97;
}

.navbar-brand {
    font-weight: 800;
    color: var(--st-primary);
    letter-spacing: 0.2px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.public-brand-copy {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
}

.public-mobile-menu {
    width: min(360px, calc(100vw - 18px));
    border-left: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 214, 77, 0.2) 0%, rgba(255, 214, 77, 0) 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.public-mobile-menu-header {
    padding: 18px 18px 14px;
    border-bottom: 1px solid #e7eef7;
}

.public-mobile-menu-header .btn-close {
    margin: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background-color: #eef4fb;
    box-shadow: none;
    opacity: 1;
}

.public-mobile-menu-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 18px;
}

.public-mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.public-mobile-menu-brand img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 10px 24px rgba(16, 45, 84, 0.1);
    padding: 6px;
}

.public-mobile-menu-brand strong,
.public-mobile-menu-brand span {
    display: block;
}

.public-mobile-menu-brand strong {
    color: #123a70;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.public-mobile-menu-brand span {
    color: #6b7e98;
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.45;
}

.public-mobile-menu-nav {
    display: grid;
    gap: 10px;
}

.public-mobile-menu-parent {
    display: flex;
    align-items: stretch;
    min-height: 52px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e6eef8;
    box-shadow: 0 8px 20px rgba(16, 45, 84, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.public-mobile-menu-parent.active,
.public-mobile-menu-parent:hover {
    border-color: #cfe0f4;
    transform: translateX(2px);
    box-shadow: 0 12px 24px rgba(16, 45, 84, 0.08);
}

.public-mobile-menu-parent.active {
    background: linear-gradient(135deg, #fef8db 0%, #fff 55%);
}

.public-mobile-menu-parent .public-mobile-menu-link {
    flex: 1;
    min-height: 50px;
    border: 0;
    border-radius: 16px 0 0 16px;
    background: transparent;
    box-shadow: none;
}

.public-mobile-menu-parent .public-mobile-menu-link:hover {
    transform: none;
    box-shadow: none;
}

.public-mobile-submenu-toggle {
    width: 52px;
    border: 0;
    border-left: 1px solid #e6eef8;
    border-radius: 0 16px 16px 0;
    background: transparent;
    color: #0f4c97;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.public-mobile-submenu-toggle:focus {
    outline: 0;
    box-shadow: inset 0 0 0 2px rgba(15, 76, 151, 0.16);
}

.public-mobile-submenu {
    display: grid;
    gap: 8px;
    padding: 2px 0 4px 18px;
}

.public-mobile-submenu[hidden] {
    display: none;
}

.public-mobile-submenu-link {
    display: block;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e6eef8;
    color: #315071;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.public-mobile-submenu-link:hover,
.public-mobile-submenu-link.active {
    color: #0f4b97;
    background: #eef5ff;
    border-color: #d4e3f8;
}

.public-mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e6eef8;
    color: #1a395f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(16, 45, 84, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.public-mobile-menu-link span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.public-mobile-menu-link span i {
    width: 20px;
    font-size: 16px;
    color: #0f4c97;
}

.public-mobile-menu-link > i {
    font-size: 12px;
    color: #8aa0bc;
}

.public-mobile-menu-link.active,
.public-mobile-menu-link:hover {
    color: #0f4c97;
    border-color: #cfe0f4;
    transform: translateX(2px);
    box-shadow: 0 12px 24px rgba(16, 45, 84, 0.08);
}

.public-mobile-menu-link.active {
    background: linear-gradient(135deg, #fef8db 0%, #fff 55%);
}

.public-mobile-menu-support {
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, #0d3f7c 0%, #1154a3 100%);
    color: #fff;
    box-shadow: 0 18px 36px rgba(13, 63, 124, 0.2);
}

.public-mobile-menu-support p {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}

.public-mobile-menu-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.public-mobile-menu-contact-grid a {
    min-height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
}

.public-mobile-menu-cta {
    min-height: 50px;
    border-radius: 999px;
    background: #fff;
    color: #0f4c97;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: 0 12px 24px rgba(7, 33, 67, 0.16);
}

.brand-logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(150deg, #0f4c97 0%, #2f8de5 75%);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.nav-link {
    font-weight: 600;
    color: #263958;
    position: relative;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
}

.nav-link.active,
.nav-link:hover {
    color: var(--st-primary);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: -13px;
    height: 3px;
    border-radius: 99px;
    background: var(--home-gold);
}

.btn-brand {
    background: var(--home-gold);
    color: #1a1a1a;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 0.58rem 1.05rem;
}

.btn-brand:hover {
    background: #ecb900;
    color: #111;
}

.public-home-hero {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.public-hero-carousel {
    width: 100%;
}

.public-hero-frame {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #d7e9ff;
    width: 100%;
}

.public-hero-frame .carousel-item {
    min-height: 610px;
    position: relative;
}

.public-hero-container {
    position: relative;
    min-height: 610px;
    z-index: 2;
}

.public-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.18) 62%);
    z-index: 1;
}

.public-hero-content {
    position: relative;
    z-index: 2;
    padding: 82px 60px 190px;
    max-width: 520px;
}

.public-hero-cta {
    margin-top: 24px;
}

.public-hero-content h1 {
    font-size: 60px;
    line-height: 1.1;
    font-weight: 800;
    color: #10468d;
    margin-bottom: 18px;
}

.public-hero-content p {
    font-size: 26px;
    line-height: 1.4;
    color: #243f62;
    margin: 0;
}

.public-search-bar {
    position: relative;
    z-index: 3;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(9, 57, 116, 0.18);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) 190px;
    overflow: hidden;
}

.public-search-close {
    display: none;
}

.public-search-wrap {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 5;
}

.public-search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-right: 1px solid #e8eef7;
}

.public-search-item i {
    color: #1b5db4;
    font-size: 24px;
}

.public-search-item label {
    display: block;
    color: #355476;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.public-search-item .form-control {
    border: 0;
    padding: 0;
    box-shadow: none;
    color: #74859d;
    font-size: 14px;
}

.public-search-btn {
    border-radius: 0;
    font-size: 24px;
    letter-spacing: 0.5px;
}

.public-hero-control {
    width: 56px;
    height: 56px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 12px 28px rgba(9, 57, 116, 0.2);
}

.public-hero-control.carousel-control-prev {
    left: 24px;
}

.public-hero-control.carousel-control-next {
    right: 24px;
}

.public-hero-control .carousel-control-prev-icon,
.public-hero-control .carousel-control-next-icon {
    filter: brightness(0) saturate(100%) invert(18%) sepia(78%) saturate(1661%) hue-rotate(196deg) brightness(92%) contrast(94%);
}

.public-feature-strip {
    background: linear-gradient(90deg, #093a78 0%, #0d4f9d 100%);
    padding: 28px 0;
    color: #fff;
}

.public-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.public-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.38);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--home-gold);
    font-size: 24px;
}

.public-feature-item strong,
.public-feature-item span {
    display: block;
}

.public-feature-item strong {
    font-size: 16px;
}

.public-feature-item span {
    font-size: 13px;
    opacity: 0.9;
}

.public-section {
    padding: 64px 0;
}

.home-compact-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.public-soft-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.public-why-section {
    background: radial-gradient(circle at left bottom, rgba(35, 86, 163, 0.06), transparent 20%), #fff;
}

.public-news-section {
    padding-top: 42px;
}

.public-section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.public-section-heading h2 {
    color: #12478f;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
}

.public-section-heading p {
    color: #6f7f98;
    font-size: 18px;
    margin: 0;
}

.public-villa-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e7eef7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(18, 53, 99, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.public-villa-thumb-wrap {
    position: relative;
}

.public-villa-thumb-link {
    display: block;
    overflow: hidden;
}

.public-villa-thumb {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.public-villa-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--home-gold);
    color: #173154;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 8px;
}

.public-villa-fav {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.94);
    color: #2a62b0;
}

.public-villa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(18, 53, 99, 0.14);
}

.public-villa-card:hover .public-villa-thumb {
    transform: scale(1.05);
}

.public-villa-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px 18px 20px;
}

.public-villa-body h3 {
    font-size: 24px;
    font-weight: 700;
    color: #183860;
    margin-bottom: 14px;
}

.public-villa-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.public-villa-title-link:hover {
    color: #0d4f9d;
}

.public-villa-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #6e7f96;
    margin-bottom: 14px;
    font-size: 14px;
}

.public-villa-meta i {
    margin-right: 5px;
}

.public-villa-price {
    color: #6f7f98;
    font-size: 14px;
    margin-bottom: 14px;
}

.public-villa-price strong {
    color: #0d4f9d;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.public-outline-btn,
.public-primary-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 220px;
    padding: 13px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
}

.public-outline-btn {
    width: 100%;
    border: 2px solid #d8e5f5;
    color: #0f4c97;
    background: #fff;
}

.public-outline-btn:hover {
    border-color: #0f4c97;
    color: #0f4c97;
}

.public-villa-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.public-primary-btn {
    background: linear-gradient(90deg, #0d4f9d 0%, #12478f 100%);
    color: #fff;
}

.public-primary-btn:hover {
    color: #fff;
}

.public-booking-modal {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 54px rgba(18, 53, 99, 0.2);
}

.public-booking-modal .modal-header,
.public-booking-modal .modal-body {
    padding: 20px 22px;
}

.public-booking-modal-subtitle {
    color: #6f7f98;
    font-size: 14px;
}

.public-captcha-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #243b53;
}

.public-captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.public-captcha-image {
    width: 132px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(226, 177, 108, 0.7);
    background: #fff8ef;
    cursor: pointer;
    flex: 0 0 auto;
}

.public-captcha-refresh {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(184, 138, 82, 0.34);
    border-radius: 12px;
    background: #fff;
    color: #9a4e19;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.public-captcha-refresh:hover {
    border-color: rgba(154, 78, 25, 0.48);
    box-shadow: 0 10px 22px rgba(154, 78, 25, 0.12);
    transform: translateY(-1px);
}

.public-captcha-input {
    min-width: 0;
    width: 150px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    text-align: center;
    font-weight: 700;
}

.public-amenity-grid,
.public-why-grid {
    display: grid;
    gap: 18px;
}

.public-amenity-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.public-why-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.public-amenity-card,
.public-why-card {
    background: #fff;
    border: 1px solid #e6edf7;
    border-radius: 16px;
    text-align: center;
    padding: 28px 18px;
    box-shadow: 0 10px 24px rgba(15, 76, 151, 0.06);
}

.public-amenity-icon,
.public-why-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 76, 151, 0.08);
    color: #1152a0;
    font-size: 24px;
}

.public-amenity-card strong,
.public-amenity-card span,
.public-why-card strong,
.public-why-card span {
    display: block;
}

.public-amenity-card strong,
.public-why-card strong {
    color: #1d3c64;
    font-size: 18px;
    margin-bottom: 8px;
}

.public-amenity-card span,
.public-why-card span {
    color: #6f7f98;
    font-size: 14px;
}

.public-review-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e6edf7;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 22px rgba(18, 53, 99, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.public-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(18, 53, 99, 0.12);
}

.public-review-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.public-review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d4f9d 0%, #4aa3ff 100%);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.public-review-head strong,
.public-review-head span {
    display: block;
}

.public-review-head span {
    color: #6f7f98;
}

.public-review-card p {
    color: #4a607f;
    line-height: 1.8;
    min-height: 98px;
}

.public-review-stars {
    color: var(--home-gold);
    display: flex;
    gap: 6px;
}

.public-news-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e7eef7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(18, 53, 99, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.public-news-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.public-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(18, 53, 99, 0.12);
}

.public-news-card:hover img {
    transform: scale(1.05);
}

.public-news-body {
    padding: 18px;
}

.public-news-body h3 {
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1.35;
}

.public-news-body a {
    color: #173154;
    text-decoration: none;
}

.public-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #6f7f98;
    font-size: 14px;
}

.public-news-meta i {
    margin-right: 5px;
}

.public-floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1040;
}

.public-floating-actions a,
.public-floating-actions button {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(15, 76, 151, 0.22);
    border: 0;
}

.public-floating-actions .back-to-top {
    background: #173154;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.public-floating-actions .back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.public-floating-actions .call {
    background: #1d68d8;
    color: #fff;
}

.public-floating-actions .zalo {
    background: #fff;
    color: #1d68d8;
    font-size: 12px;
}

.public-floating-actions .booking {
    background: var(--home-gold);
    color: #173154;
}

.public-footer {
    background: linear-gradient(180deg, #093a78 0%, #082a55 100%);
    color: #fff;
    padding: 52px 0 20px;
    margin-top: 50px;
}

.public-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.public-footer-brand img {
    width: 60px;
}

.public-footer-brand strong,
.public-footer-brand span {
    display: block;
}

.public-footer-text {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.public-footer-socials {
    display: flex;
    gap: 10px;
}

.public-footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.public-footer h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 18px;
}

.public-footer-links,
.public-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.public-footer-links li,
.public-footer-contact li {
    margin-bottom: 10px;
}

.public-footer-links a,
.public-footer-contact li {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.public-footer-contact i {
    margin-right: 8px;
}

.public-fanpage-box {
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
}

.public-fanpage-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.public-fanpage-head img {
    width: 48px;
}

.public-fanpage-head strong,
.public-fanpage-head span {
    display: block;
}

.public-footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.flash-popup-stack {
    position: fixed;
    top: 88px;
    right: 18px;
    z-index: 2000;
    display: grid;
    gap: 12px;
    width: min(420px, calc(100vw - 24px));
}

.flash-popup {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: start;
    gap: 12px;
    padding: 16px 16px 16px 14px;
    border-radius: 18px;
    border: 1px solid #dbe7f4;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(16, 45, 84, 0.14);
    backdrop-filter: blur(10px);
    animation: flashPopupIn 0.24s ease;
}

.flash-popup.is-hiding {
    animation: flashPopupOut 0.2s ease forwards;
}

.flash-popup-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.flash-popup-success .flash-popup-icon {
    background: #e9f8ef;
    color: #1f9d57;
}

.flash-popup-error .flash-popup-icon {
    background: #fff1f1;
    color: #d64545;
}

.flash-popup-body strong,
.flash-popup-body span {
    display: block;
}

.flash-popup-body strong {
    margin-bottom: 4px;
    color: #173154;
    font-size: 15px;
    font-weight: 800;
}

.flash-popup-body span {
    color: #5d718c;
    font-size: 14px;
    line-height: 1.55;
}

.flash-popup-close {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: #789;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.flash-popup-close i {
    font-size: 14px;
}

@keyframes flashPopupIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes flashPopupOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
}

.hero-block {
    position: relative;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    min-height: 470px;
    background: #123f74;
    box-shadow: 0 12px 25px rgba(15, 45, 89, 0.18);
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.1) 62%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 68px 58px 132px;
}

.hero-title {
    max-width: 430px;
    font-size: 56px;
    line-height: 1.08;
    font-weight: 800;
    color: #0b4288;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 30px;
    max-width: 430px;
    color: #23395b;
    line-height: 1.25;
}

.search-float {
    position: absolute;
    left: 50%;
    bottom: -36px;
    transform: translateX(-50%);
    z-index: 3;
    width: calc(100% - 130px);
}

.search-inline {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--st-border);
    display: grid;
    grid-template-columns: repeat(5, 1fr) 190px;
    overflow: hidden;
}

.search-inline .form-segment {
    padding: 14px 18px;
    border-right: 1px solid var(--st-border);
}

.search-inline .form-segment label {
    display: block;
    font-size: 12px;
    color: var(--st-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.search-inline .form-control,
.search-inline .form-select {
    border: 0;
    box-shadow: none;
    padding: 0;
    font-size: 13px;
}

.search-inline .btn {
    border-radius: 0;
    font-size: 16px;
}

.icon-row {
    margin-top: 68px;
    background: linear-gradient(110deg, #0c3f80 0%, #1157a4 58%, #0e4e96 100%);
    color: #fff;
    padding: 22px 0;
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.icon-item strong {
    display: block;
    font-size: 14px;
}

.icon-item span {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.section-wrap {
    padding: 30px 0 8px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: #113f7f;
    margin-bottom: 8px;
    text-align: center;
}

.section-subtitle {
    color: var(--st-muted);
    text-align: center;
    margin-bottom: 24px;
}

.villa-card {
    border: 1px solid var(--st-border);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(20, 48, 87, 0.08);
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.villa-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(17, 63, 127, 0.14);
}

.villa-card .cover {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.villa-card-link {
    display: block;
    overflow: hidden;
}

.villa-title-link {
    color: inherit;
    text-decoration: none;
}

.villa-title-link:hover {
    color: #0f4b97;
}

.villa-meta {
    color: #60738f;
    font-size: 13px;
    display: flex;
    gap: 14px;
    margin-bottom: 8px;
}

.villa-price {
    font-size: 14px;
    color: #4f627f;
    margin-bottom: 10px;
}

.villa-price strong {
    color: #09408a;
    font-size: 31px;
    font-weight: 800;
}

.btn-view {
    background: var(--st-secondary);
    border: 0;
    border-radius: 7px;
    padding: 9px 14px;
    color: #1f2a37;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    width: 100%;
    text-decoration: none;
}

.btn-view:hover {
    color: #111;
    background: #ecb900;
}

.villa-card-actions {
    display: grid;
    gap: 8px;
}

.panel {
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(18, 43, 83, 0.05);
}

.panel-head {
    background: linear-gradient(120deg, #0f4b97 0%, #1d65b7 85%);
    color: #fff;
    padding: 14px 18px;
}

.panel-head h1,
.panel-head h2,
.panel-head h3,
.panel-head h4,
.panel-head p,
.panel-head a,
.panel-head small {
    color: #fff;
    margin: 0;
}

.search-panel {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--st-border);
}

.villa-album {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.villa-album-stage {
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, #eef4fb 0%, #dfe9f6 100%);
    box-shadow: 0 18px 38px rgba(16, 45, 84, 0.12);
}

.villa-album-main {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.villa-album-strip {
    display: flex;
    align-items: center;
    gap: 10px;
}

.villa-album-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: 1;
    cursor: grab;
    user-select: none;
}

.villa-album-thumbs::-webkit-scrollbar {
    display: none;
}

.villa-album-thumbs.is-dragging {
    cursor: grabbing;
}

.villa-album-thumb {
    flex: 0 0 88px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(26, 57, 96, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
}

.villa-album-thumb:hover,
.villa-album-thumb.is-active {
    border-color: #2f80ed;
    box-shadow: 0 12px 26px rgba(47, 128, 237, 0.18);
    transform: translateY(-2px);
}

.villa-album-thumb img {
    display: block;
    width: 100%;
    height: 72px;
    object-fit: cover;
    pointer-events: none;
}

.villa-album-nav {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #113f7f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(17, 63, 127, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.villa-album-nav:hover {
    background: #0d3366;
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(17, 63, 127, 0.24);
}

.villa-detail-page {
    padding-top: 4px;
}

.villa-detail-intro {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid #e2ebf5;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(16, 45, 84, 0.08);
    margin-bottom: 22px;
}

.villa-detail-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.villa-detail-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f5aa9;
}

.villa-detail-heading h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.18;
    color: #123a70;
    font-weight: 800;
}

.villa-detail-price-chip {
    min-width: 170px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f4b97 0%, #1e67b9 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(15, 75, 151, 0.24);
}

.villa-detail-price-chip span,
.villa-detail-price-chip small {
    display: block;
    color: rgba(255, 255, 255, 0.84);
}

.villa-detail-price-chip strong {
    display: block;
    margin: 2px 0;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
}

.villa-detail-location {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #4f6687;
    font-size: 15px;
}

.villa-detail-location i {
    color: #0f5aa9;
}

.villa-detail-excerpt {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.75;
    color: #425a79;
}

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

.villa-overview-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2ebf5;
}

.villa-overview-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eaf4ff 0%, #dbeeff 100%);
    color: #0f5aa9;
    font-size: 18px;
}

.villa-overview-item strong,
.villa-overview-item small {
    display: block;
}

.villa-overview-item strong {
    font-size: 20px;
    line-height: 1.1;
    color: #123a70;
}

.villa-overview-item small {
    color: #68809f;
    font-size: 13px;
}

.villa-detail-section {
    background: #fff;
    border: 1px solid #e2ebf5;
    border-radius: 24px;
    padding: 24px 26px;
    box-shadow: 0 18px 36px rgba(16, 45, 84, 0.06);
}

.villa-detail-section + .villa-detail-section {
    margin-top: 20px;
}

.villa-detail-section-head {
    margin-bottom: 16px;
}

.villa-detail-section-head h3 {
    margin: 0 0 6px;
    color: #123a70;
    font-size: 24px;
    font-weight: 800;
}

.villa-detail-section-head p {
    margin: 0;
    color: #69809d;
    font-size: 14px;
}

.villa-detail-richtext {
    color: #324a69;
    font-size: 15px;
    line-height: 1.85;
}

.villa-detail-richtext > *:last-child {
    margin-bottom: 0;
}

.villa-detail-richtext h1,
.villa-detail-richtext h2,
.villa-detail-richtext h3,
.villa-detail-richtext h4 {
    color: #123a70;
    margin-top: 0;
}

.villa-amenity-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.villa-amenity-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #eef6ff 0%, #e1efff 100%);
    border: 1px solid #d4e7fb;
    color: #0f4b97;
    font-size: 14px;
    font-weight: 700;
}

.villa-policy-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fafcff 0%, #f4f9ff 100%);
    border: 1px dashed #cfe0f4;
}

.villa-detail-empty {
    padding: 18px 20px;
    border-radius: 16px;
    background: #f7fbff;
    border: 1px dashed #d5e5f6;
    color: #68809f;
}

.villa-booking-panel {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid #e2ebf5;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 22px 42px rgba(16, 45, 84, 0.1);
}

.villa-booking-panel-head {
    margin-bottom: 18px;
}

.villa-booking-panel-head > p {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f5aa9;
}

.villa-booking-panel-price {
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
    border: 1px solid #dceafd;
}

.villa-booking-panel-price span,
.villa-booking-panel-price small {
    display: block;
    color: #69809d;
}

.villa-booking-panel-price strong {
    display: block;
    margin: 4px 0;
    color: #0f4b97;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
}

.villa-booking-panel-price.is-contact-only strong {
    font-size: 24px;
}

.villa-booking-submit {
    min-height: 48px;
    font-weight: 700;
}

.villa-booking-contact-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.villa-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #dce5f1;
    color: #29476b;
    text-decoration: none;
    background: #fff;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.villa-contact-link:hover {
    color: #0f4b97;
    border-color: #bfd8f5;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(16, 45, 84, 0.08);
}

.villa-contact-link i {
    color: #0f5aa9;
}

.form-control,
.form-select,
textarea.form-control {
    border: 1px solid #dce5f1;
    border-radius: 8px;
    padding: 0.53rem 0.68rem;
    font-size: 13px;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: #8fb6e6;
    box-shadow: 0 0 0 0.17rem rgba(15, 76, 151, 0.12);
}

.breadcrumb-wrap {
    border-radius: 9px;
    border: 1px solid var(--st-border);
    background: #fff;
}

.breadcrumb {
    font-size: 12px;
}

.breadcrumb a {
    text-decoration: none;
}

.public-page-banner {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    background: #123f74;
    margin-bottom: 28px;
}

.public-page-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 33, 67, 0.86) 0%, rgba(9, 55, 109, 0.62) 42%, rgba(9, 55, 109, 0.28) 100%);
}

.public-page-banner-content {
    position: relative;
    z-index: 2;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding-top: 44px;
    padding-bottom: 44px;
}

.public-page-banner-copy {
    max-width: 680px;
}

.public-page-banner-copy h1 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
    color: #fff;
}

.public-page-banner-copy p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
}

.public-page-banner-breadcrumbs {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.public-page-banner-breadcrumbs .breadcrumb-item,
.public-page-banner-breadcrumbs .breadcrumb-item.active,
.public-page-banner-breadcrumbs .breadcrumb-item + .breadcrumb-item::before,
.public-page-banner-breadcrumbs .breadcrumb a {
    color: #fff;
}

.footer {
    margin-top: 42px;
}

.footer-top {
    background: linear-gradient(100deg, #0b3e80 0%, #145ba7 90%);
    color: #fff;
    padding: 15px 0;
}

.footer-top-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.footer-main {
    background: #082a55;
    color: #fff;
    padding: 28px 0;
}

.footer-main a {
    color: #fff;
    text-decoration: none;
}

.post-card {
    border: 1px solid var(--st-border);
    border-radius: 10px;
    transition: 0.2s;
    background: #fff;
}

.post-card:hover {
    box-shadow: 0 11px 24px rgba(15, 76, 151, 0.13);
}

.public-news-panel {
    border-radius: 24px;
}

.public-news-head {
    border-bottom: 1px solid #edf2f8;
}

.public-news-head small {
    color: #7f8ca2;
    font-size: 14px;
}

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

.public-post-card {
    background: #fff;
    border: 1px solid #e7eef7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(18, 53, 99, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.public-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(18, 53, 99, 0.14);
}

.public-post-thumb-link {
    display: block;
    overflow: hidden;
    background: #eef4fb;
}

.public-post-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.public-post-card:hover .public-post-thumb {
    transform: scale(1.05);
}

.public-post-body {
    padding: 16px 16px 18px;
}

.public-post-date {
    margin: 0 0 10px;
    font-size: 13px;
    color: #7f8ca2;
}

.public-post-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 800;
}

.public-post-title a {
    color: #163a63;
    text-decoration: none;
}

.public-post-title a:hover {
    color: #0f4c97;
}

.public-post-back {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e7eef7;
}

.public-related-posts {
    margin-top: 30px;
}

.public-related-posts-shell {
    position: relative;
    padding: 28px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(212, 232, 255, 0.8) 0%, rgba(212, 232, 255, 0) 30%),
        linear-gradient(180deg, #f8fbff 0%, #eef5fd 100%);
    border: 1px solid #dfeaf7;
    box-shadow: 0 24px 48px rgba(16, 45, 84, 0.08);
    overflow: hidden;
}

.public-related-posts-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.public-related-posts-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f5aa9;
}

.public-related-posts-head h2 {
    margin: 0 0 8px;
    color: #123a70;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 800;
}

.public-related-posts-head p:last-child {
    margin: 0;
    max-width: 660px;
    color: #69809d;
    font-size: 15px;
    line-height: 1.75;
}

.public-related-posts-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d7e5f4;
    color: #0f4b97;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(16, 45, 84, 0.06);
}

.public-related-posts-link:hover {
    color: #0d3d7b;
    border-color: #bcd4ee;
}

.public-related-villa-grid .villa-card {
    border-radius: 20px;
    border-color: #dfe8f4;
    box-shadow: 0 14px 28px rgba(16, 45, 84, 0.08);
}

.public-related-villa-grid .villa-card .cover {
    height: 210px;
}

.public-related-villa-grid .card-body {
    padding: 18px;
}

.public-related-villa-grid .villa-title-link {
    font-size: 18px;
    line-height: 1.45;
}

.public-related-villa-grid .villa-meta {
    gap: 12px;
    margin-bottom: 12px;
}

.public-related-villa-grid .villa-price strong {
    font-size: 26px;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.amenity-box {
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: 11px;
    text-align: center;
    padding: 18px 8px;
}

.amenity-box .icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--st-primary);
    font-weight: 700;
}

.amenity-box strong {
    display: block;
    font-size: 14px;
    color: #203a59;
}

.amenity-box span {
    font-size: 12px;
    color: var(--st-muted);
}

.panel .table th {
    background: #f2f6fd;
    font-size: 13px;
}

.panel .table td,
.panel .table th {
    padding: 0.72rem 0.76rem;
}

.admin-shell {
    min-height: 100vh;
    background: #f4f9fd;
}

.admin-sidebar {
    width: 260px;
    background: #163d5f;
    color: #fff;
}

.admin-sidebar a {
    color: #dbeefd;
    text-decoration: none;
    display: block;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: #295f8d;
    color: #fff;
}

@media (max-width: 991px) {
    .flash-popup-stack {
        top: 78px;
        right: 12px;
        width: min(420px, calc(100vw - 16px));
    }

    .public-topbar {
        display: none;
    }

    .public-topbar-inner,
    .public-topbar-left,
    .public-topbar-right {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-topbar-inner {
        padding: 10px 0;
    }

    .public-navbar {
        min-height: 84px;
    }

    .public-brand-copy {
        display: none;
    }

    .public-mobile-actions {
        display: flex;
        margin-left: auto;
    }

    .public-hero-frame {
        min-height: 560px;
    }

    .public-hero-frame .carousel-item {
        min-height: 560px;
    }

    .public-hero-container {
        min-height: 560px;
    }

    .public-hero-content {
        padding: 42px 22px 220px;
    }

    .public-page-banner,
    .public-page-banner-content {
        min-height: 250px;
    }

    .public-page-banner-content {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .public-page-banner-copy h1 {
        font-size: 34px;
    }

    .public-page-banner-copy p {
        font-size: 15px;
    }

    .public-hero-content h1 {
        font-size: 38px;
    }

    .public-hero-content p {
        font-size: 20px;
    }

    .public-search-wrap {
        width: calc(100% - 24px);
        bottom: 12px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-50%) translateY(12px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .is-home-search-open .public-search-wrap {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .public-search-bar {
        width: 100%;
        bottom: 12px;
        grid-template-columns: 1fr;
        border-radius: 22px;
        overflow: visible;
        padding-top: 56px;
    }

    .public-search-close {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 999px;
        background: #edf4fb;
        color: #0f4b97;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 18px rgba(16, 45, 84, 0.08);
    }

    .public-search-item {
        border-right: 0;
        border-bottom: 1px solid #e8eef7;
    }

    .public-search-btn {
        min-height: 74px;
    }

    .public-post-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .public-hero-control {
        display: none;
    }

    .public-feature-strip {
        padding: 22px 0;
    }

    .public-section {
        padding: 46px 0;
    }

    .public-section-heading h2 {
        font-size: 30px;
    }

    .public-amenity-grid,
    .public-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-news-body h3,
    .public-villa-body h3 {
        font-size: 22px;
    }

    .public-villa-price strong {
        font-size: 30px;
    }

    .public-footer-bottom {
        flex-direction: column;
    }

    .public-floating-actions {
        right: 12px;
        bottom: 12px;
    }

    .hero-content {
        padding: 32px 20px 130px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-desc {
        font-size: 20px;
    }

    .search-float {
        width: calc(100% - 24px);
        bottom: -82px;
    }

    .search-inline {
        grid-template-columns: 1fr;
    }

    .search-inline .form-segment {
        border-right: 0;
        border-bottom: 1px solid var(--st-border);
    }

    .icon-row {
        margin-top: 118px;
    }

    .section-title {
        font-size: 30px;
    }

    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .villa-card .cover {
        height: 180px;
    }

    .villa-album-stage {
        border-radius: 22px;
    }

    .villa-album-thumbs {
        gap: 8px;
    }

    .villa-album-nav {
        display: none;
    }

    .villa-album-thumb img {
        height: 60px;
    }

    .admin-sidebar {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .public-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-post-title {
        font-size: 17px;
    }
}

/* Admin redesign */
.admin-body {
    margin: 0;
    background: #f4f7fb;
    height: 100vh;
    overflow: hidden;
}

.admin-app {
    height: 100vh;
    display: flex;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 214, 77, 0.12), transparent 20%),
        linear-gradient(180deg, #f7f9fd 0%, #eef3f9 100%);
}

.admin-sidebar-panel {
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #0a2952 0%, #0f4e9b 100%);
    color: #fff;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-shadow: 12px 0 30px rgba(8, 43, 87, 0.18);
}

.admin-sidebar-panel::-webkit-scrollbar {
    display: none;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.admin-brand img {
    width: 42px;
    height: 42px;
}

.admin-brand strong,
.admin-brand span {
    display: block;
}

.admin-brand strong {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.admin-brand span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.admin-nav {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    margin-right: -4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.admin-nav::-webkit-scrollbar {
    display: none;
}

.admin-nav-group {
    margin-top: 18px;
}

.admin-nav-title {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    margin: 18px 10px 10px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 6px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: linear-gradient(90deg, #1d68d8 0%, #2f80ed 100%);
    color: #fff;
    transform: translateX(2px);
}

.admin-nav-item i:first-child {
    font-size: 18px;
    width: 18px;
}

.admin-badge {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    border-radius: 99px;
    background: #ff4d61;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-chevron {
    margin-left: auto;
    font-size: 11px;
    opacity: 0.8;
}

.admin-logout {
    margin-top: 14px;
    flex-shrink: 0;
    color: #fff;
    text-decoration: none;
    padding: 14px 12px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-main {
    flex: 1;
    min-width: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-topbar {
    height: 78px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #e7edf6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 1200;
    overflow: visible;
    flex: 0 0 78px;
    min-width: 0;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.admin-topbar-title {
    min-width: 0;
}

.admin-topbar-title strong,
.admin-topbar-title span {
    display: block;
}

.admin-topbar-title strong {
    color: #152a4a;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.admin-topbar-title span {
    color: #7f8ca2;
    font-size: 12px;
    margin-top: 2px;
}

.admin-menu-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #dce6f3;
    border-radius: 12px;
    background: #fff;
    color: #1a3e73;
    display: none;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    position: relative;
    z-index: 1201;
    min-width: 0;
    flex: 0 0 auto;
}

.admin-topbar-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e5ebf3;
    color: #274268;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

button.admin-topbar-icon {
    appearance: none;
    -webkit-appearance: none;
}

.admin-topbar-icon.has-dot::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d61;
}

.admin-userbox {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 999px;
    padding: 6px 12px 6px 6px;
    min-width: 0;
    max-width: 100%;
}

.admin-user-trigger {
    appearance: none;
    -webkit-appearance: none;
    color: inherit;
    text-align: left;
    max-width: 100%;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3a63c 0%, #ffdd80 100%);
    color: #243b5d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.admin-usertext strong,
.admin-usertext span {
    display: block;
}

.admin-usertext strong {
    font-size: 14px;
}

.admin-usertext span {
    font-size: 12px;
    color: #7a889d;
}

.admin-dropdown-menu {
    min-width: 240px;
    border: 1px solid #e5ebf3;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(18, 53, 99, 0.12);
    padding: 8px;
    z-index: 1300;
}

.modal-backdrop {
    z-index: 2000;
}

.modal {
    z-index: 2010;
}

.admin-banner-settings-dialog {
    max-width: min(1100px, calc(100vw - 32px));
}

#bannerSettingsModal .modal-content {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
}

#bannerSettingsModal .modal-body {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
    padding: 1.25rem 1.25rem 1.5rem;
}

@media (max-height: 820px) {
    #bannerSettingsModal .modal-body {
        max-height: calc(100vh - 170px);
    }
}

@media (max-width: 767px) {
    .public-related-posts-shell {
        padding: 20px;
        border-radius: 22px;
    }

    .public-related-posts-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-related-posts-head h2 {
        font-size: 24px;
    }

    .villa-detail-intro,
    .villa-detail-section,
    .villa-booking-panel {
        padding: 18px;
        border-radius: 18px;
    }

    .villa-detail-heading {
        flex-direction: column;
    }

    .villa-detail-heading h2 {
        font-size: 28px;
    }

    .villa-detail-price-chip,
    .villa-booking-panel-price {
        width: 100%;
    }

    .villa-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-banner-settings-dialog {
        max-width: calc(100vw - 16px);
        margin: 0.5rem auto;
    }

    #bannerSettingsModal .modal-body {
        max-height: calc(100vh - 150px);
        padding: 1rem;
    }
}

@media (max-width: 575px) {
    .flash-popup {
        grid-template-columns: 38px minmax(0, 1fr) 20px;
        gap: 10px;
        padding: 14px;
        border-radius: 16px;
    }

    .flash-popup-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .public-related-posts-shell {
        padding: 18px 16px;
    }

    .public-captcha-input {
        width: 100%;
    }

    .public-related-posts-head p:last-child {
        font-size: 14px;
    }

    .public-related-posts-link {
        width: 100%;
    }

    .villa-detail-heading h2 {
        font-size: 24px;
    }

    .villa-detail-location,
    .villa-detail-excerpt,
    .villa-detail-richtext {
        font-size: 14px;
    }

    .villa-overview-grid {
        grid-template-columns: 1fr;
    }

    .villa-detail-section-head h3 {
        font-size: 21px;
    }
}

.admin-dropdown-head {
    padding: 10px 12px 12px;
}

.admin-dropdown-head strong,
.admin-dropdown-head span {
    display: block;
}

.admin-dropdown-head strong {
    color: #172c4c;
    font-size: 14px;
    font-weight: 800;
}

.admin-dropdown-head span {
    color: #7f8ca2;
    font-size: 12px;
}

.admin-dropdown-menu .dropdown-item {
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #1d3c64;
}

.admin-dropdown-menu .dropdown-item i {
    font-size: 15px;
}

.admin-dropdown-menu .dropdown-item span {
    flex: 1;
}

.admin-dropdown-menu .dropdown-divider {
    margin: 8px 4px;
}

.admin-notify-menu .dropdown-item strong {
    font-size: 12px;
    color: #2f80ed;
}

.admin-content-wrap {
    padding: 20px 28px 36px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.admin-page-head {
    margin-bottom: 18px;
}

.admin-page-head h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #152a4a;
}

.admin-breadcrumbs {
    color: #7f8ca2;
    font-size: 13px;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.admin-kpi-card,
.admin-card {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(28, 56, 95, 0.06);
    min-width: 0;
}

.admin-kpi-card {
    padding: 18px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.admin-kpi-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #273e61;
}

.admin-kpi-card strong {
    display: block;
    font-size: 20px;
    color: #142746;
}

.admin-kpi-card span {
    font-size: 12px;
    color: #44b678;
}

.admin-kpi-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.admin-kpi-icon.blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.admin-kpi-icon.green { background: linear-gradient(135deg, #34d399 0%, #22c55e 100%); }
.admin-kpi-icon.orange { background: linear-gradient(135deg, #ffb020 0%, #ff8a00 100%); }
.admin-kpi-icon.purple { background: linear-gradient(135deg, #9b6bff 0%, #7c3aed 100%); }
.admin-kpi-icon.cyan { background: linear-gradient(135deg, #36c5f0 0%, #0ea5e9 100%); }

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.1fr;
    gap: 18px;
}

.admin-dashboard-grid > *,
.admin-kpi-grid > *,
.admin-donut-layout > *,
.admin-content-wrap > * {
    min-width: 0;
}

.admin-col-2 {
    grid-column: span 2;
}

.admin-card-head {
    padding: 18px 18px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.admin-card-head h2 {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    color: #152a4a;
    min-width: 0;
}

.admin-card-head a,
.admin-card-head span {
    font-size: 13px;
    color: #2f80ed;
    text-decoration: none;
}

.admin-card-body {
    padding: 0 18px 18px;
}

.admin-chart-card canvas {
    max-height: 270px;
    max-width: 100%;
}

.admin-donut-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    gap: 20px;
}

.admin-status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-status-item .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.admin-status-item strong,
.admin-status-item small {
    display: block;
}

.admin-status-item small {
    color: #7f8ca2;
}

.admin-list-block {
    padding: 0 14px 12px;
}

.admin-mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid #edf2f8;
}

.admin-mini-item:last-child {
    border-bottom: 0;
}

.admin-mini-item img,
.admin-table-thumb {
    width: 60px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 3px 12px rgba(15, 76, 151, 0.14);
}

.admin-mini-content {
    flex: 1;
    min-width: 0;
}

.admin-mini-content strong,
.admin-mini-content span,
.admin-mini-content small {
    display: block;
}

.admin-mini-content strong {
    color: #182f50;
    margin-bottom: 3px;
}

.admin-mini-content span,
.admin-mini-content small {
    color: #7f8ca2;
    font-size: 12px;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.admin-pill.new {
    background: #e8f1ff;
    color: #2f80ed;
}

.admin-pill.consulting {
    background: #fff4dd;
    color: #ff9800;
}

.admin-pill.confirmed {
    background: #e5f9ee;
    color: #1fa463;
}

.admin-pill.cancelled {
    background: #ffe8ea;
    color: #ff5b6a;
}

.admin-table thead th {
    background: #f7f9fc;
    color: #6b7b93;
    font-size: 12px;
    font-weight: 700;
    padding: 14px 16px;
    border-bottom: 1px solid #edf2f8;
}

.admin-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    color: #223a5b;
    border-color: #edf2f8;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-toolbar h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.admin-toolbar p {
    margin: 3px 0 0;
    font-size: 13px;
    color: #7f8ca2;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-form-card {
    padding: 20px;
}

.admin-filter-card {
    padding: 20px;
}

.admin-villa-filter-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-villa-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(170px, 1fr));
    gap: 14px;
    align-items: end;
}

.admin-filter-field {
    min-width: 0;
}

.admin-filter-field .form-label {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #355079;
}

.admin-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-villa-list-card {
    padding: 0;
    overflow: hidden;
}

.admin-villa-pagination {
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid #edf2f8;
}

.admin-villa-mobile-list {
    padding: 16px;
}

.admin-dashboard-mobile-list {
    display: none;
}

.admin-villa-mobile-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e8eef6;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 8px 24px rgba(24, 54, 92, 0.06);
}

.admin-villa-mobile-card + .admin-villa-mobile-card {
    margin-top: 14px;
}

.admin-villa-mobile-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
}

.admin-villa-mobile-body h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 800;
    color: #152a4a;
}

.admin-villa-mobile-body p {
    margin: 0;
    color: #7f8ca2;
    font-size: 13px;
}

.admin-villa-mobile-meta {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.admin-villa-mobile-meta span {
    color: #5b6f8e;
    font-size: 13px;
}

.admin-villa-mobile-meta strong {
    color: #1c3556;
}

.admin-villa-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.admin-villa-mobile-actions .btn,
.admin-villa-mobile-actions form,
.admin-villa-mobile-actions form .btn {
    width: 100%;
}

.admin-mobile-list {
    padding: 16px;
}

.admin-mobile-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e8eef6;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 8px 24px rgba(24, 54, 92, 0.06);
}

.admin-mobile-card + .admin-mobile-card {
    margin-top: 14px;
}

.admin-mobile-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-mobile-card-head strong,
.admin-mobile-card-head span {
    display: block;
}

.admin-mobile-card-head strong {
    color: #152a4a;
    font-size: 15px;
    line-height: 1.45;
}

.admin-mobile-card-head span {
    color: #7f8ca2;
    font-size: 12px;
    margin-top: 4px;
}

.admin-mobile-card-meta {
    display: grid;
    gap: 8px;
}

.admin-mobile-card-meta span {
    color: #5b6f8e;
    font-size: 13px;
    line-height: 1.55;
}

.admin-mobile-card-meta strong {
    color: #1c3556;
}

.admin-mobile-card-note {
    padding: 12px;
    border-radius: 14px;
    background: #f7fafe;
    border: 1px solid #e6eef8;
    color: #5b6f8e;
    font-size: 13px;
    line-height: 1.6;
}

.admin-mobile-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.admin-mobile-card-actions .btn,
.admin-mobile-card-actions form,
.admin-mobile-card-actions form .btn {
    width: 100%;
}

.admin-mobile-form {
    display: grid;
    gap: 10px;
}

.admin-note-box {
    margin: 0 18px 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f7f9fd;
    color: #54657d;
    font-size: 13px;
}

.admin-role-item,
.admin-activity-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 4px;
    border-bottom: 1px solid #edf2f8;
}

.admin-role-item:last-child,
.admin-activity-item:last-child {
    border-bottom: 0;
}

.admin-role-item strong,
.admin-activity-item strong {
    color: #162c4b;
}

.admin-role-item p,
.admin-activity-item p {
    margin: 4px 0;
    color: #71819a;
    font-size: 13px;
}

.admin-activity-item {
    justify-content: flex-start;
}

.admin-activity-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
    flex: 0 0 12px;
}

.admin-activity-dot.booking { background: #2f80ed; }
.admin-activity-dot.content { background: #ff9800; }

.admin-login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(47, 128, 237, 0.2), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255, 210, 31, 0.22), transparent 25%),
        linear-gradient(180deg, #f4f7fb 0%, #eaf1f9 100%);
}

.admin-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-login-panel {
    width: min(100%, 460px);
}

.admin-login-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5ebf3;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(21, 51, 89, 0.12);
    padding: 28px;
}

.admin-login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.admin-login-brand img {
    width: 46px;
}

.admin-login-brand strong,
.admin-login-brand span {
    display: block;
}

.admin-login-card h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    color: #142746;
}

.admin-login-card p {
    margin: 0 0 20px;
    color: #6b7b93;
}

.admin-input-icon {
    position: relative;
}

.admin-input-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c8ca4;
}

.admin-input-icon .form-control {
    padding-left: 42px;
}

.admin-login-lock-note {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff4e8;
    border: 1px solid #ffd39f;
    color: #8a4a0f;
    font-weight: 500;
}

.admin-captcha-group {
    align-items: center;
}

.admin-captcha-refresh {
    flex-shrink: 0;
}

.admin-password-card {
    max-width: 760px;
}

.admin-password-form {
    display: grid;
    gap: 18px;
}

.admin-password-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-password-actions .btn {
    min-width: 140px;
}

.admin-banner-preview {
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    overflow: hidden;
    background: #f8fbff;
}

.admin-banner-preview img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}

.admin-mobile-drawer .admin-nav-item {
    color: #244066;
}

@media (max-width: 1399px) {
    .admin-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-col-2 {
        grid-column: span 2;
    }
}

@media (max-width: 991px) {
    .admin-body,
    .admin-app,
    .admin-main {
        height: 100vh;
    }

    .admin-sidebar-panel {
        display: none;
    }

    .admin-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .admin-kpi-grid,
    .admin-dashboard-grid,
    .admin-donut-layout {
        grid-template-columns: 1fr;
    }

    .admin-kpi-grid {
        gap: 12px;
        margin-bottom: 16px;
    }

    .admin-kpi-card {
        padding: 14px;
        gap: 12px;
        align-items: flex-start;
    }

    .admin-kpi-card h3 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .admin-kpi-card strong {
        font-size: 18px;
    }

    .admin-kpi-card span {
        font-size: 11px;
        line-height: 1.45;
    }

    .admin-kpi-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
        flex: 0 0 46px;
    }

    .admin-col-2 {
        grid-column: span 1;
    }

    .admin-content-wrap {
        padding: 18px 16px 28px;
    }

    .admin-topbar {
        padding: 0 16px;
    }

    .admin-topbar-actions {
        gap: 10px;
    }

    .admin-usertext {
        display: none;
    }

    .admin-topbar-title strong {
        font-size: 18px;
    }

    .admin-card {
        border-radius: 16px;
    }

    .admin-card-head {
        padding: 16px 16px 10px;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .admin-card-head h2 {
        font-size: 15px;
        line-height: 1.35;
    }

    .admin-card-head a,
    .admin-card-head span {
        font-size: 12px;
    }

    .admin-card-body {
        padding: 0 16px 16px;
    }

    .admin-chart-card canvas {
        max-height: 220px;
    }

    .admin-status-list {
        gap: 10px;
    }

    .admin-list-block {
        padding: 0 12px 12px;
    }

    .admin-mini-item {
        align-items: flex-start;
        gap: 10px;
        padding: 12px 4px;
    }

    .admin-mini-item img,
    .admin-table-thumb {
        width: 72px;
        height: 56px;
        border-radius: 12px;
        flex: 0 0 72px;
    }

    .admin-mini-content strong {
        font-size: 13px;
        line-height: 1.4;
    }

    .admin-mini-content span,
    .admin-mini-content small {
        font-size: 11px;
        line-height: 1.45;
    }

    .admin-mini-item .admin-pill {
        margin-left: auto;
        align-self: flex-start;
    }

    .admin-dashboard-table {
        display: none;
    }

    .admin-dashboard-mobile-list {
        display: block;
    }

    .admin-villa-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-password-card {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .admin-content-wrap {
        padding: 14px 12px 24px;
    }

    .admin-topbar {
        height: 70px;
        flex: 0 0 70px;
        padding: 0 12px;
    }

    .admin-topbar-title strong {
        font-size: 16px;
    }

    .admin-topbar-title span {
        display: none;
    }

    .admin-topbar-left {
        gap: 10px;
    }

    .admin-topbar-actions {
        gap: 8px;
    }

    .admin-userbox {
        padding-right: 8px;
    }

    .admin-card-head {
        padding: 14px 14px 10px;
    }

    .admin-card-body {
        padding: 0 14px 14px;
    }

    .admin-list-block {
        padding: 0 10px 10px;
    }

    .admin-mini-item {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 4px;
    }

    .admin-mini-item .admin-pill {
        grid-column: 2;
        justify-self: start;
        margin-left: 0;
        margin-top: 2px;
    }

    .admin-villa-mobile-list {
        padding: 12px;
    }

    .admin-villa-mobile-card {
        padding: 12px;
        border-radius: 16px;
    }

    .admin-villa-mobile-thumb {
        height: 150px;
    }

    .admin-villa-mobile-body h3 {
        font-size: 15px;
        line-height: 1.4;
    }

    .admin-villa-mobile-body p,
    .admin-villa-mobile-meta span {
        font-size: 12px;
        line-height: 1.5;
    }

    .public-page-banner,
    .public-page-banner-content {
        min-height: 220px;
    }

    .public-page-banner {
        margin-bottom: 22px;
    }

    .public-page-banner-content {
        gap: 14px;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .public-page-banner-copy h1 {
        font-size: 28px;
    }

    .public-page-banner-copy p {
        font-size: 14px;
        line-height: 1.6;
    }

    .public-page-banner-breadcrumbs {
        width: 100%;
        border-radius: 16px;
        padding: 10px 14px;
    }

    .public-amenity-grid,
    .public-why-grid {
        grid-template-columns: 1fr;
    }

    .public-topbar-right {
        width: 100%;
    }

    .public-topbar-btn {
        width: 100%;
        justify-content: center;
    }

    .public-news-panel {
        border-radius: 18px;
    }

    .public-post-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .public-post-body {
        padding: 14px 14px 16px;
    }

    .public-post-title {
        font-size: 16px;
    }

    .admin-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-toolbar > .admin-actions {
        width: 100%;
    }

    .admin-toolbar > .admin-actions .btn {
        width: 100%;
    }

    .admin-filter-card {
        padding: 16px;
    }

    .admin-villa-filter-grid {
        grid-template-columns: 1fr;
    }

    .admin-filter-actions {
        align-items: stretch;
    }

    .admin-filter-actions .admin-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .admin-villa-pagination {
        padding: 16px;
    }

    .admin-villa-pagination .pagination {
        flex-wrap: wrap;
    }

    .admin-villa-mobile-thumb {
        height: 160px;
    }

    .admin-villa-mobile-actions {
        grid-template-columns: 1fr;
    }

    .admin-password-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-password-actions .btn {
        width: 100%;
    }
}
