/*
Theme Name: BVI 2022 WHITE
Theme URI: https://balivillainternational.com/
Author: Bali Villa International BALIVI
Author URI:
Description: Power by Bootstrap v.4.5
License URI: https://balivillainternational.com/
Text Domain: Bali Villa International
Domain Path: /languages/
Tags: two-columns, right-sidebar
This theme built with Twitter Bootstrap v.4. It is basic theme with basic style for build new theme with Bootstrap.
*/

/*
Required WordPress CSS
*/

/* Menimpa lebar container global Bootstrap */
.container {
  max-width: 900px !important; /* Mengatur lebar container menjadi 780px */
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.bypostauthor {
}
/* WordPress gallery */
.gallery-caption {
}
.gallery {
	margin-bottom: 1.6em;
}
.gallery-item {
	display: inline-block;
	padding: 1.79104477%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-icon img {
	margin: 0 auto;
}
.gallery-caption {
	color: #707070;
	color: rgba(51, 51, 51, 0.7);
	display: block;
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}
.gallery-columns-6 .gallery-caption, .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption {
	display: none;
}
.sticky {
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}


/* ==========================================================
   BALIVI VILLA RENTAL — BRIGHT TROPICAL CSS PALETTE
   CSS ONLY. No PHP, JS, HTML, template or feature changes.
   Palette: airy white, tropical teal, coral and warm sand.
   ========================================================== */
:root {
  --bvi-primary: #087f8c;
  --bvi-primary-dark: #066572;
  --bvi-primary-soft: #e8f6f5;
  --bvi-accent: #ff8066;
  --bvi-accent-dark: #ed684f;
  --bvi-sun: #f5c85b;
  --bvi-sand: #fff8ec;
  --bvi-ink: #243746;
  --bvi-body: #526473;
  --bvi-muted: #7b8994;
  --bvi-line: #e7edf0;
  --bvi-white: #ffffff;
  --bvi-shadow: 0 10px 28px rgba(27, 59, 72, .08);
}

/* Base and typography */
html, body {
  background: var(--bvi-white) !important;
  color: var(--bvi-body) !important;
}
body {
  background-image: none;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .balivi-section-title,
.villa-title, .balivi-villa-title,
.related-villa-title, .location-card h3 {
  color: var(--bvi-ink) !important;
}
p, li, .entry-content, .villapage,
.villa-description, .balivi-description,
.related-villa-excerpt {
  color: var(--bvi-body);
}
a, .entry-content a, .villapage a {
  color: var(--bvi-primary);
  transition: color .2s ease, background-color .2s ease;
}
a:hover, .entry-content a:hover, .villapage a:hover {
  color: var(--bvi-accent-dark);
  text-decoration-color: currentColor;
}

/* Airy white page surfaces */
.container, .container-fluid, .site-content,
.entry-content, .villapage, .villa-content,
.villapage-content, .balivi-full-description,
.calendar-wrapper, .rate-detail {
  color: var(--bvi-body);
}
.villapage, .villa-content, .entry-content {
  background-color: var(--bvi-white);
  border-color: var(--bvi-line) !important;
}
hr, .villa-divider {
  border-color: var(--bvi-line) !important;
}

/* Main navigation: white and fresh tropical accent */
.menu-bar, .balivi-nav, .navbar-light,
.navbar.navbar-light, .navbar.navbar-dark {
  background: var(--bvi-white) !important;
  border-color: var(--bvi-line) !important;
  box-shadow: 0 3px 16px rgba(27, 59, 72, .045);
}
.balivi-nav .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link,
.navbar .navbar-brand {
  color: var(--bvi-ink) !important;
  font-weight: 600;
}
.balivi-nav .nav-link:hover,
.navbar .nav-link:hover,
.navbar-light .navbar-nav .active > .nav-link,
.navbar .nav-item.active > .nav-link {
  color: var(--bvi-primary) !important;
}
.navbar-toggler {
  border-color: #cfe2e5 !important;
  background: var(--bvi-primary-soft) !important;
}
.dropdown-menu {
  background: var(--bvi-white) !important;
  border: 1px solid var(--bvi-line) !important;
  border-radius: 12px !important;
  box-shadow: var(--bvi-shadow);
}
.dropdown-item {
  color: var(--bvi-ink) !important;
}
.dropdown-item:hover, .dropdown-item:focus {
  color: var(--bvi-primary) !important;
  background: var(--bvi-primary-soft) !important;
}

/* Villa cards and location tiles */
.balivi-villa-card, .related-villa-card,
.location-card, .testimonial-card,
.related-posts, .card, .sidebar-kanan .card {
  background: var(--bvi-white) !important;
  border: 1px solid var(--bvi-line) !important;
  border-radius: 15px !important;
  box-shadow: var(--bvi-shadow) !important;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.balivi-villa-card:hover, .related-villa-card:hover,
.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(27, 59, 72, .13) !important;
}
.balivi-villa-content, .related-villa-content,
.card-body {
  background: var(--bvi-white) !important;
}
.balivi-villa-title, .related-villa-title {
  color: var(--bvi-ink) !important;
  font-weight: 700;
}
.balivi-meta, .balivi-description,
.related-villa-excerpt, .text-muted {
  color: var(--bvi-muted) !important;
}
.balivi-category, .balivi-tag, .related-villa-category {
  display: inline-block;
  background: var(--bvi-primary-soft) !important;
  color: var(--bvi-primary-dark) !important;
  border-radius: 30px;
  padding: 4px 10px;
}
.balivi-photo-label {
  background: var(--bvi-accent) !important;
  color: #fff !important;
}
.balivi-image-overlay {
  background: linear-gradient(180deg, transparent 45%, rgba(15, 37, 45, .48)) !important;
}
.balivi-card-footer {
  border-top: 1px solid var(--bvi-line);
}

/* Buttons and booking calls-to-action */
button, .button, .btn, input[type="submit"],
input[type="button"], .wp-element-button,
.btn-book, .balivi-location-button,
.menu-button, .findvilla-btn {
  background-color: var(--bvi-primary) !important;
  border-color: var(--bvi-primary) !important;
  color: #fff !important;
  border-radius: 9px !important;
  font-weight: 600;
  box-shadow: none;
  transition: background-color .2s ease, transform .2s ease;
}
button:hover, .button:hover, .btn:hover,
input[type="submit"]:hover, input[type="button"]:hover,
.btn-book:hover, .balivi-location-button:hover,
.menu-button:hover, .findvilla-btn:hover {
  background-color: var(--bvi-primary-dark) !important;
  border-color: var(--bvi-primary-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.btn-gold, .jumbotron-gold .btn,
.load-more-wrapper .btn {
  background: var(--bvi-accent) !important;
  border-color: var(--bvi-accent) !important;
  color: #fff !important;
}
.btn-gold:hover, .jumbotron-gold .btn:hover,
.load-more-wrapper .btn:hover {
  background: var(--bvi-accent-dark) !important;
  border-color: var(--bvi-accent-dark) !important;
}
.btn-outline-secondary {
  color: var(--bvi-primary) !important;
  border-color: #b8dadd !important;
  background: #fff !important;
}
.btn-outline-secondary:hover {
  color: #fff !important;
  background: var(--bvi-primary) !important;
}

/* Inputs and villa search forms */
input, select, textarea, .form-control,
.search-field, .input-group-text {
  color: var(--bvi-ink) !important;
  background: var(--bvi-white) !important;
  border: 1px solid #dce6e9 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
input:focus, select:focus, textarea:focus, .form-control:focus {
  border-color: var(--bvi-primary) !important;
  box-shadow: 0 0 0 3px rgba(8, 127, 140, .12) !important;
  outline: 0;
}
input::placeholder, textarea::placeholder {
  color: #9aa7af !important;
}
.search-submit {
  background: var(--bvi-accent) !important;
  border-color: var(--bvi-accent) !important;
}

/* Villa details, rates and availability */
.jumbotron, .jumbotron-gold {
  background: var(--bvi-sand) !important;
  color: var(--bvi-ink) !important;
  border: 1px solid #f5ebd8;
  border-radius: 16px;
}
.table-price, .table, table {
  background: var(--bvi-white) !important;
  color: var(--bvi-body) !important;
  border-color: var(--bvi-line) !important;
}
.table thead th, table thead th, .table-price th {
  background: var(--bvi-primary-soft) !important;
  color: var(--bvi-primary-dark) !important;
  border-color: var(--bvi-line) !important;
}
.table td, .table th, table td, table th {
  border-color: var(--bvi-line) !important;
}
.rate-detail {
  background: #fff !important;
  border-color: var(--bvi-line) !important;
}
.calendar-wrapper {
  background: #fff !important;
  border: 1px solid var(--bvi-line);
  border-radius: 12px;
}

/* Breadcrumbs, badges and labels */
.breadcrumb, .tag-title-wrapper {
  background: #f8fbfb !important;
  border-color: var(--bvi-line) !important;
}
.badge, .badge-info {
  background: var(--bvi-primary-soft) !important;
  color: var(--bvi-primary-dark) !important;
}
.badge-warning {
  background: #fff2cf !important;
  color: #805d16 !important;
}
.badge-success {
  background: #e7f6ed !important;
  color: #216b45 !important;
}

/* Testimonials and content sections */
.guest-testimonials, .testimonial-list {
  background: #f8fbfb !important;
}
.testimonial-card {
  padding: 20px;
}
.balivi-section-title, .related-section-title {
  color: var(--bvi-ink) !important;
}
.custom-quote {
  background: var(--bvi-sand) !important;
  border-left: 4px solid var(--bvi-sun) !important;
  color: var(--bvi-ink) !important;
}

/* Modals */
.modal-content {
  background: #fff !important;
  color: var(--bvi-body) !important;
  border: 1px solid var(--bvi-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 55px rgba(20, 44, 55, .18);
}
.modal-header {
  background: #f8fbfb !important;
  border-bottom: 1px solid var(--bvi-line) !important;
}
.modal-title {
  color: var(--bvi-ink) !important;
}

/* Footer */
.page-footer, footer.page-footer {
  background: #f3f8f8 !important;
  color: var(--bvi-body) !important;
  border-top: 1px solid var(--bvi-line) !important;
}
.page-footer a, footer.page-footer a,
.page-footer h1, .page-footer h2, .page-footer h3,
.page-footer h4, footer.page-footer h1,
footer.page-footer h2, footer.page-footer h3,
footer.page-footer h4 {
  color: var(--bvi-primary-dark) !important;
}
.page-footer .btn, footer.page-footer .btn,
.page-footer .wa-button, footer.page-footer .wa-button {
  color: #fff !important;
}

/* Keep photo-led areas vivid; do not apply opaque overlays to images */
img, .balivi-card-image, .related-villa-image {
  max-width: 100%;
}
@media (max-width: 767px) {
  .balivi-villa-card, .related-villa-card,
  .location-card, .testimonial-card {
    border-radius: 13px !important;
  }
  .balivi-villa-content, .related-villa-content {
    padding: 15px !important;
  }
}


/* ==========================================================
   BALIVI REFINED LIGHT LAYOUT — CSS OVERRIDES ONLY
   Corrects dark outer wrappers visible on villa detail pages.
   Keeps existing HTML, PHP, JavaScript and functionality intact.
   ========================================================== */
:root {
  --bvi-page-bg: #f5f8f7;
  --bvi-panel-bg: #ffffff;
  --bvi-ink: #243746;
  --bvi-body: #526473;
  --bvi-primary: #087f8c;
  --bvi-primary-dark: #066572;
  --bvi-primary-soft: #e8f6f5;
  --bvi-coral: #f47b62;
  --bvi-gold: #e5b943;
  --bvi-border: #e5eceb;
}

/* Replace charcoal page and content shells with a light canvas */
html, body {
  background: var(--bvi-page-bg) !important;
  color: var(--bvi-body) !important;
}
body, #page, #wrapper, #main, #content,
.site, .site-wrapper, .site-main, .site-content,
#primary, #secondary, main, article,
.container, .container-fluid,
.content-wrapper, .main-wrapper, .page-wrapper,
.villapage, .villa-page, .villa-detail,
.single, .single-post, .single-villa,
.entry-content, .post-content, .content-area,
.row, [class*="content-wrap"], [class*="main-wrap"] {
  background-color: var(--bvi-panel-bg) !important;
  color: var(--bvi-body) !important;
}

/* A subtle warm tint behind the centered site content */
body {
  background: var(--bvi-page-bg) !important;
}
#page, #wrapper, .site, .site-wrapper {
  box-shadow: 0 8px 32px rgba(31, 57, 64, .045);
}

/* Header and logo area */
header, #header, .site-header, .header,
.logo-area, .header-wrapper, .top-header,
.header-container {
  background: #ffffff !important;
  color: var(--bvi-ink) !important;
  border-color: var(--bvi-border) !important;
}
header a, #header a, .site-header a, .header a {
  color: var(--bvi-ink) !important;
}
header a:hover, #header a:hover, .site-header a:hover {
  color: var(--bvi-primary) !important;
}

/* Navigation: crisp white bar with clear active state */
nav, .navbar, .navbar-light, .navbar-dark,
.navbar-expand, .menu-bar, .main-navigation,
.primary-navigation, .navigation, .nav-container {
  background: #ffffff !important;
  color: var(--bvi-ink) !important;
  border-color: var(--bvi-border) !important;
}
.navbar .nav-link, .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link,
.main-navigation a, .primary-navigation a,
nav a {
  color: var(--bvi-ink) !important;
}
.navbar .nav-link:hover, .navbar .nav-link:focus,
.navbar .active > .nav-link,
.main-navigation a:hover, .primary-navigation a:hover,
nav a:hover {
  color: var(--bvi-primary) !important;
}
.navbar .active > .nav-link::after,
.current-menu-item > a::after {
  background: var(--bvi-gold) !important;
}

/* Villa detail title and section headings */
h1, h2, h3, h4, h5, h6,
.entry-title, .post-title, .villa-title,
.page-title, .entry-content h1, .entry-content h2,
.entry-content h3, .villapage h1, .villapage h2,
.villapage h3 {
  color: var(--bvi-ink) !important;
}
p, li, .entry-content, .villapage,
.entry-content p, .villapage p {
  color: var(--bvi-body);
}

/* Hero image: retain the image itself, soften its frame */
.featured-image, .post-thumbnail, .villa-featured-image,
.hero-image, .entry-image {
  background: #ffffff !important;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}
.featured-image img, .post-thumbnail img,
.villa-featured-image img, .hero-image img {
  display: block;
}

/* Admin/editor excerpt: preserve its pale-yellow notice styling */
.excerpt-admin, .admin-excerpt, .editor-excerpt,
[class*="excerpt-admin"], [class*="admin-excerpt"] {
  background: #fffbd1 !important;
  color: #344452 !important;
  border: 1px dashed #e6d98a !important;
  border-radius: 0 0 10px 10px;
}
.excerpt-admin *, .admin-excerpt *, .editor-excerpt *,
[class*="excerpt-admin"] *, [class*="admin-excerpt"] * {
  color: #344452;
}

/* Search controls and buttons */
input, select, textarea, .form-control {
  background: #ffffff !important;
  color: var(--bvi-ink) !important;
  border: 1px solid #dce7e7 !important;
}
button, .btn, .button, input[type="submit"],
input[type="button"], .wp-element-button {
  background: var(--bvi-primary) !important;
  border-color: var(--bvi-primary) !important;
  color: #ffffff !important;
}
button:hover, .btn:hover, .button:hover,
input[type="submit"]:hover, input[type="button"]:hover {
  background: var(--bvi-primary-dark) !important;
  border-color: var(--bvi-primary-dark) !important;
}
.btn-outline, .btn-outline-primary {
  background: #ffffff !important;
  color: var(--bvi-primary) !important;
  border-color: var(--bvi-primary) !important;
}

/* Footer and separators */
footer, .site-footer, #footer, .page-footer {
  background: #f0f6f5 !important;
  color: var(--bvi-body) !important;
  border-top: 1px solid var(--bvi-border) !important;
}
footer h1, footer h2, footer h3, footer h4,
footer a, .site-footer a, #footer a, .page-footer a {
  color: var(--bvi-primary-dark) !important;
}
hr, .divider, .separator {
  border-color: var(--bvi-border) !important;
}

/* Avoid turning photo-led sections into solid white blocks */
img, picture, video, iframe {
  background-color: transparent;
}
@media (max-width: 767px) {
  body {
    background: #ffffff !important;
  }
  #page, #wrapper, .site, .site-wrapper {
    box-shadow: none;
  }
}


/* ==========================================================
   BALIVI READABILITY + HEADER LIGHT FIX
   CSS ONLY — stronger overrides for headings, text and header.
   ========================================================== */
:root {
  --bvi-heading-readable: #172f40;
  --bvi-text-readable: #405363;
  --bvi-muted-readable: #657786;
  --bvi-header-light: #ffffff;
  --bvi-header-border: #e4ecee;
  --bvi-teal-readable: #087f8c;
}

/* Force readable text colors throughout villa pages */
html body,
html body p,
html body li,
html body span,
html body label,
html body td,
html body th,
html body .entry-content,
html body .entry-content p,
html body .entry-content li,
html body .villapage,
html body .villapage p,
html body .villa-description,
html body .description,
html body .excerpt,
html body .post-content,
html body .content,
html body .card-text,
html body .text-muted {
  color: var(--bvi-text-readable) !important;
}

/* Headings: explicitly override inherited white/light text */
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .entry-title,
html body .entry-content h1,
html body .entry-content h2,
html body .entry-content h3,
html body .entry-content h4,
html body .villapage h1,
html body .villapage h2,
html body .villapage h3,
html body .villapage h4,
html body .villa-title,
html body .post-title,
html body .page-title,
html body .section-title,
html body .card-title,
html body .related-villa-title,
html body .balivi-villa-title,
html body .elementor-heading-title {
  color: var(--bvi-heading-readable) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Links and secondary information */
html body a,
html body .entry-content a,
html body .villapage a {
  color: var(--bvi-teal-readable) !important;
}
html body a:hover,
html body .entry-content a:hover,
html body .villapage a:hover {
  color: #e86f57 !important;
}
html body small,
html body .small,
html body .meta,
html body .post-meta,
html body .villa-meta,
html body .text-secondary,
html body .text-muted {
  color: var(--bvi-muted-readable) !important;
}

/* Remove dark/black header strips and header containers */
html body header,
html body #header,
html body #masthead,
html body .site-header,
html body .header,
html body .header-wrapper,
html body .header-container,
html body .top-header,
html body .logo-area,
html body .navbar,
html body .navbar-expand,
html body .navbar-light,
html body .navbar-dark,
html body .main-navigation,
html body .primary-navigation,
html body .menu-bar,
html body .nav-container,
html body .header-inner,
html body .header-top,
html body .header-bottom,
html body .site-branding {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--bvi-heading-readable) !important;
  border-color: var(--bvi-header-border) !important;
  box-shadow: none !important;
}

/* Header pseudo elements sometimes create black bars */
html body header::before,
html body header::after,
html body #header::before,
html body #header::after,
html body #masthead::before,
html body #masthead::after,
html body .site-header::before,
html body .site-header::after,
html body .header-wrapper::before,
html body .header-wrapper::after,
html body .header-container::before,
html body .header-container::after,
html body .top-header::before,
html body .top-header::after,
html body .menu-bar::before,
html body .menu-bar::after {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* Header navigation text and active state */
html body header a,
html body #header a,
html body #masthead a,
html body .site-header a,
html body .navbar a,
html body .main-navigation a,
html body .primary-navigation a,
html body .menu-bar a,
html body .nav-link,
html body .navbar-nav .nav-link {
  color: var(--bvi-heading-readable) !important;
  opacity: 1 !important;
}
html body header a:hover,
html body .site-header a:hover,
html body .navbar a:hover,
html body .main-navigation a:hover,
html body .primary-navigation a:hover,
html body .nav-link:hover,
html body .navbar-nav .active > .nav-link {
  color: var(--bvi-teal-readable) !important;
}

/* Ensure logo/header region stays light without affecting logo image */
html body .site-branding,
html body .custom-logo-link,
html body .logo-area,
html body .logo-container {
  background: #ffffff !important;
}
html body .site-branding img,
html body .custom-logo,
html body .custom-logo-link img,
html body .logo-area img,
html body .logo-container img {
  background: transparent !important;
}

/* Main page wrappers: no charcoal canvas around villa content */
html body,
html body #page,
html body #wrapper,
html body #main,
html body #content,
html body .site,
html body .site-wrapper,
html body .site-main,
html body .site-content,
html body #primary,
html body main,
html body article,
html body .content-wrapper,
html body .main-wrapper,
html body .page-wrapper,
html body .villa-detail,
html body .single-villa {
  background-color: #ffffff !important;
  color: var(--bvi-text-readable) !important;
}

/* Do not dim headings or descriptions inside cards and hero details */
html body .card *,
html body .villa-card *,
html body .villa-detail *,
html body .entry-content *,
html body .villapage * {
  text-shadow: none;
}


/* ==========================================================
   BALIVI OFFICIAL LOGO PALETTE — CSS ONLY
   Sampled from the supplied logo:
   Navy #003380 | Gold #FEB00D | Ivory #EFEADE | White #FFFFFF
   ========================================================== */
:root {
  --balivi-navy: #003380;
  --balivi-navy-deep: #00265f;
  --balivi-gold: #feb00d;
  --balivi-gold-soft: #fff4d5;
  --balivi-ivory: #efeade;
  --balivi-white: #ffffff;
  --balivi-body: #425166;
  --balivi-muted: #687789;
  --balivi-border: #e8e5dc;
}

/* Overall light travel canvas */
html, body,
#page, #wrapper, #main, #content,
.site, .site-wrapper, .site-main, .site-content,
#primary, main, article, .container, .container-fluid,
.content-wrapper, .main-wrapper, .page-wrapper,
.villapage, .villa-detail, .entry-content {
  background-color: #ffffff !important;
  color: var(--balivi-body) !important;
}

/* Header and logo surround */
header, #header, #masthead, .site-header, .header,
.header-wrapper, .header-container, .top-header,
.logo-area, .header-inner, .site-branding,
.balivi-header-bg, .balivi-header-bg.container {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: var(--balivi-navy) !important;
  border-color: var(--balivi-border) !important;
}

/* Main navigation */
nav, .navbar, .navbar-light, .navbar-dark,
.menu-bar, .main-navigation, .primary-navigation,
.nav-container, .balivi-nav, .container-fluid.menu-bar {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: var(--balivi-border) !important;
  box-shadow: 0 4px 16px rgba(0, 51, 128, .055) !important;
}
.navbar a, .navbar .nav-link, .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link,
nav a, .menu-bar a, .balivi-nav a,
.main-navigation a, .primary-navigation a {
  color: var(--balivi-navy) !important;
  font-weight: 600;
}
.navbar a:hover, .navbar .nav-link:hover,
nav a:hover, .menu-bar a:hover, .balivi-nav a:hover,
.main-navigation a:hover, .primary-navigation a:hover,
.navbar .active > .nav-link {
  color: var(--balivi-navy-deep) !important;
}
.navbar .active > .nav-link::after,
.current-menu-item > a::after,
.balivi-nav .nav-link::after {
  background: var(--balivi-gold) !important;
}

/* Logo-compatible headings and copy */
h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .entry-content h1,
.entry-content h2, .entry-content h3,
.villapage h1, .villapage h2, .villapage h3,
.villa-title, .post-title, .section-title,
.card-title, .balivi-villa-title,
.balivi-section-title, .elementor-heading-title {
  color: var(--balivi-navy) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
body p, body li, body label, body td,
body .entry-content, body .villapage,
body .villa-description, body .description,
body .card-text, body .balivi-description {
  color: var(--balivi-body) !important;
}
small, .small, .text-muted, .text-secondary,
.post-meta, .villa-meta {
  color: var(--balivi-muted) !important;
}
a, .entry-content a, .villapage a {
  color: var(--balivi-navy) !important;
}
a:hover, .entry-content a:hover, .villapage a:hover {
  color: #a96c00 !important;
}

/* Primary actions: navy with golden hover/focus detail */
button, .btn, .button, input[type="submit"],
input[type="button"], .wp-element-button,
.menu-button, .balivi-button, .balivi-location-button,
#load-more, .load-more-button, .findvilla-btn {
  background: var(--balivi-navy) !important;
  border-color: var(--balivi-navy) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
button:hover, .btn:hover, .button:hover,
input[type="submit"]:hover, input[type="button"]:hover,
.menu-button:hover, .balivi-button:hover,
.balivi-location-button:hover, #load-more:hover,
.load-more-button:hover, .findvilla-btn:hover {
  background: var(--balivi-navy-deep) !important;
  border-color: var(--balivi-gold) !important;
  color: #ffffff !important;
}
.btn-outline, .btn-outline-primary,
.balivi-more-info, .btn-outline-secondary {
  background: #ffffff !important;
  color: var(--balivi-navy) !important;
  border: 1px solid var(--balivi-gold) !important;
}
.btn-outline:hover, .btn-outline-primary:hover,
.balivi-more-info:hover, .btn-outline-secondary:hover {
  background: var(--balivi-gold) !important;
  color: var(--balivi-navy) !important;
  border-color: var(--balivi-gold) !important;
}

/* Search fields and forms */
input, select, textarea, .form-control,
.search-field, .sf-input-text, .sf-input-select {
  background: #ffffff !important;
  color: var(--balivi-navy) !important;
  border: 1px solid #dededb !important;
}
input:focus, select:focus, textarea:focus,
.form-control:focus {
  border-color: var(--balivi-gold) !important;
  box-shadow: 0 0 0 3px rgba(254, 176, 13, .17) !important;
}
input::placeholder, textarea::placeholder {
  color: #929ba5 !important;
}

/* Cards, villa listings and content surfaces */
.card, .balivi-villa-card, .related-villa-card,
.location-card, .testimonial-card,
.balivi-location-cards .location-card,
.balivi-main-categories .main-card,
.balivi-property-categories .property-card {
  background: #ffffff !important;
  color: var(--balivi-body) !important;
  border: 1px solid var(--balivi-border) !important;
  box-shadow: 0 8px 24px rgba(0, 51, 128, .075) !important;
}
.card-title, .balivi-villa-title,
.related-villa-title, .location-card h3,
.balivi-location-cards h3,
.balivi-main-categories h3,
.balivi-property-categories h3 {
  color: var(--balivi-navy) !important;
}
.card-text, .balivi-description,
.related-villa-excerpt, .location-card p {
  color: var(--balivi-body) !important;
}

/* Tags and category chips */
.badge, .balivi-category, .balivi-tag,
.related-villa-category, .meta-pill {
  background: var(--balivi-ivory) !important;
  color: var(--balivi-navy) !important;
  border: 1px solid #e6ddc8 !important;
  border-radius: 30px !important;
}
.badge-warning, .price-badge, .balivi-price-label {
  background: var(--balivi-gold-soft) !important;
  color: var(--balivi-navy) !important;
}

/* Logo gold used as a restrained accent */
hr, .divider, .separator {
  border-color: var(--balivi-border) !important;
}
.navbar .active > .nav-link,
.current-menu-item > a {
  text-decoration-color: var(--balivi-gold) !important;
}
.custom-quote, .jumbotron, .jumbotron-gold,
.balivi-highlight-box {
  background: var(--balivi-ivory) !important;
  color: var(--balivi-navy) !important;
  border-color: #e6ddc8 !important;
}
.custom-quote {
  border-left: 4px solid var(--balivi-gold) !important;
}

/* Admin/editor-only excerpt stays readable and distinct */
.excerpt-admin, .admin-excerpt, .editor-excerpt,
[class*="excerpt-admin"], [class*="admin-excerpt"] {
  background: #fffbdc !important;
  color: var(--balivi-navy) !important;
  border-color: #ead58a !important;
}

/* Footer and modals */
footer, .site-footer, #footer, .page-footer {
  background: #f7f5ef !important;
  color: var(--balivi-body) !important;
  border-top: 1px solid var(--balivi-border) !important;
}
footer h1, footer h2, footer h3, footer h4,
footer a, .site-footer a, #footer a, .page-footer a {
  color: var(--balivi-navy) !important;
}
.modal-content {
  background: #ffffff !important;
  color: var(--balivi-body) !important;
  border: 1px solid var(--balivi-border) !important;
}
.modal-header, .modal-footer {
  background: #f7f5ef !important;
  border-color: var(--balivi-border) !important;
}
.modal-title {
  color: var(--balivi-navy) !important;
}

/* =========================================================
   BALIVI VILLA CARD — FEATURE IMAGE CLARITY
   Keep villa photos fully visible; remove dark/faded overlays.
   Applied to archive, homepage, search, AJAX and related cards.
   ========================================================= */
.balivi-villa-card .balivi-villa-image,
.balivi-villa-card .balivi-image-link,
.related-villa-card .related-villa-image,
.related-villa-card .related-villa-image a {
    opacity: 1 !important;
    filter: none !important;
}

.balivi-villa-card img.balivi-card-image,
.related-villa-card .related-villa-image img {
    opacity: 1 !important;
    filter: none !important;
    visibility: visible !important;
    mix-blend-mode: normal !important;
    -webkit-filter: none !important;
}

.balivi-villa-card .balivi-image-overlay {
    background: transparent !important;
    opacity: 0 !important;
    filter: none !important;
}

.balivi-villa-card:hover img.balivi-card-image,
.related-villa-card:hover .related-villa-image img {
    opacity: 1 !important;
    filter: none !important;
}

/* BALIVI: use the original full-resolution featured image in every villa list card. */
.balivi-villa-card .balivi-villa-image,
.balivi-villa-card .balivi-image-link {
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
}
.balivi-villa-card img.balivi-card-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    -webkit-filter: none !important;
    mix-blend-mode: normal !important;
}
.balivi-villa-card .balivi-image-overlay {
    display: none !important;
}


/* ==========================================================
   BALIVI GLOBAL PAGE CANVAS — MATCH INDEX ON EVERY TEMPLATE
   Keep body background consistent across all page templates.
   Content cards/sections retain their own individual surfaces.
   ========================================================== */
html,
body {
  background-color: #ffffff !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  color: var(--balivi-body, #425166);
}
body {
  min-height: 100%;
}



/* ==========================================================
   BALIVI BRAND POLISH — MORE INFO BUTTON + VILLA TITLES
   Logo palette: navy #003399, blue #076FAB, gold #FEAF0E
   ========================================================== */
html body a.balivi-more-info,
html body a.balivi-more-info:link,
html body a.balivi-more-info:visited,
html body a.related-more-info,
html body a.related-more-info:link,
html body a.related-more-info:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  padding: 9px 15px !important;
  border: 1px solid #FEAF0E !important;
  border-radius: 8px !important;
  background: #003399 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-thickness: 0 !important;
  text-underline-offset: 0 !important;
  box-shadow: 0 2px 5px rgba(0, 51, 153, .12) !important;
  transition: background-color .2s ease, border-color .2s ease,
              color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
html body a.balivi-more-info:hover,
html body a.balivi-more-info:focus,
html body a.balivi-more-info:active,
html body a.related-more-info:hover,
html body a.related-more-info:focus,
html body a.related-more-info:active {
  background: #076FAB !important;
  border-color: #FEAF0E !important;
  color: #ffffff !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  box-shadow: 0 3px 9px rgba(0, 51, 153, .2) !important;
}
html body a.balivi-more-info *,
html body a.related-more-info * {
  color: inherit !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}
html body a.balivi-more-info .balivi-arrow,
html body a.related-more-info span {
  color: inherit !important;
  text-decoration: none !important;
}

/* Villa/listing headings follow the BALIVI logo navy */
html body .balivi-villa-title,
html body .balivi-villa-title a,
html body .related-villa-title,
html body .related-villa-title a,
html body .villa-title,
html body h1.villa-title,
html body .entry-title,
html body .post-title {
  color: #003399 !important;
  text-decoration: none !important;
  text-shadow: none !important;
}
html body .balivi-villa-title a:hover,
html body .related-villa-title a:hover,
html body .villa-title a:hover,
html body .entry-title a:hover,
html body .post-title a:hover {
  color: #076FAB !important;
  text-decoration: none !important;
}




/* ==========================================================
   BALIVI SOFT PAGE CANVAS + SUBTLE SIDE FRAME
   Keeps content cards white while the website canvas is soft grey.
   ========================================================== */
html {
  background: #e9edf2 !important;
  background-color: #e9edf2 !important;
}
html body {
  width: 100% !important;
  max-width: 1440px !important;
  min-height: 100vh !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: #f1f3f6 !important;
  background-color: #f1f3f6 !important;
  border-left: 1px solid #dfe5ec !important;
  border-right: 1px solid #dfe5ec !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.72),
    0 8px 32px rgba(24, 43, 70, .075) !important;
  color: #425166;
}
@media (max-width: 767px) {
  html {
    background: #f1f3f6 !important;
  }
  html body {
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
  }
}




/* BALIVI FINAL CANVAS: one uniform background color, no split frame */
html,
html body {
  background: #F1F3F6 !important;
  background-color: #F1F3F6 !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}
html body {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 767px) {
  html,
  html body {
    background: #F1F3F6 !important;
    background-color: #F1F3F6 !important;
  }
}

