:root {
  --lagoon: #1aa3c8;
  --ocean: #0b5fa5;
  --ocean-dark: #084c85;
  --sand: #f3e9d2;
  --bg-light: #f6f7f8;
  --text: #222222;
  --white: #ffffff;
  --border: #e8e8e8;
}

body {
  font-family: Inter, Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text);
  background: #f7f4ef;
}

nav {
  background: rgba(78,143,214,0.95);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 1;
}
.logo {
  font-weight: 700;
  font-size: 18px;
}
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.dropdown-toggle:hover {
  opacity: 1;
}
 .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: #3F8FA8;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.18);
  padding: 10px 0;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 14px 22px;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.18);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* ===== FIX DROPDOWN CLICK LAYER ===== */

header {
  position: sticky;
  top: 0;
  z-index: 5000;
}

nav {
  position: relative;
  z-index: 5001;
}

.nav-dropdown {
  position: relative;
  z-index: 5002;
}

.dropdown-menu {
  z-index: 9999;
}

.dropdown-menu a {
  position: relative;
  z-index: 10000;
  pointer-events: auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 999;
}
main {
  padding: 0;
}

.hero {
  text-align: center;
  padding: 90px 20px 70px;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 22px;
  margin-bottom: 30px;
}

.search-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search-box input {
  width: 420px;
  max-width: 90%;
  padding: 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.search-box button {
  padding: 16px 24px;
  font-size: 16px;
  border: none;
  background: var(--lagoon);
  color: var(--white);
  border-radius: 8px;
  cursor: pointer;
}

.search-box button:hover {
  background: var(--ocean);
}

.inspiration {
  padding: 30px 40px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.inspiration h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

article {
  background: #f7f7f7;
  padding: 24px;
  border-radius: 12px;
  flex: 1;
  min-width: 250px;
}

article h3 {
  margin-top: 0;
  font-size: 28px;
}

article p {
  font-size: 17px;
  line-height: 1.5;
}

article a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: var(--ocean);
  font-weight: bold;
}



.hero {
background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  padding: 140px 20px;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.35);
}

.hero h1,
.hero p,
.search-box {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 60px;
}

.hero p {
  font-size: 22px;
  margin-bottom: 30px;
}
.stay-page {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 38px;
  padding: 40px 30px 60px;
  max-width: 1500px;
  margin: 0 auto;
  align-items: start;
}

.filters {
  background: #ffffff;
  padding: 28px;
  padding-bottom: 40px;
  border-radius: 24px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#clear-filters {
  background: none;
  border: none;
  color: #0b5fa5;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

#clear-filters:hover {
  text-decoration: underline;
}

.filter-header h2 {
  font-size: 30px;
  margin: 0 0 18px;
  line-height: 1.1;
}

.filter-section {
  margin-bottom: 24px;
}
.filter-section h3 {
  font-size: 18px;
  margin: 0 0 14px;
}

.filter-group {
  margin-bottom: 14px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 15px;
  color: #333;
}

.filter-group input[type="text"] {
  width: 100%;
  padding: 16px 18px;
  font-size: 15px;
  border: 1px solid #d8d8d8;
  border-radius: 16px;
  box-sizing: border-box;
  background: #fff;
}

.filter-group input[type="text"]:focus {
  outline: none;
  border-color: var(--lagoon);
}


.filter-group.collapsed label:first-child::after,
.filter-section.collapsed h3::after {
  content: '+';
}

/* 1. Reset: Remove the icon from ALL labels first to be safe */
.filter-group label::after,
.filter-section h3::after {
  content: none !important;
}

/* 2. Apply the icon ONLY to the Header Labels and H3 titles */
.filter-group > label:first-of-type, 
.filter-section h3 {
  cursor: pointer;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  font-weight: bold;
}

/* 3. The +/- Icon - Added back only to the titles */
.filter-group > label:first-of-type::after,
.filter-section h3::after {
  content: '−' !important; 
  font-family: monospace;
  font-size: 1.2rem;
  margin-left: 10px;
}

.filter-group.collapsed > label:first-of-type::after,
.filter-section.collapsed h3::after {
  content: '+' !important;
}

/* 4. Hide logic */
.filter-group.collapsed > *:not(label:first-of-type),
.filter-section.collapsed > *:not(h3) {
  display: none !important;
}

/* 5. Fix the Checkboxes (Baa, Raa, etc.) */
/* This makes sure the actual filters look like a normal list again */
.checkbox-group label, 
.filter-group label:not(:first-of-type) {
  display: flex !important;
  justify-content: flex-start !important;
  font-weight: normal !important;
  border-bottom: none !important;
  padding: 4px 0 !important;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 0;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ocean);
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-wrap label {
  font-size: 14px;
  font-weight: 700;
}

.sort-wrap select {
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #fff;
}
.selected-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.filter-tag button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.filter-tag button:hover {
  color: #000;
}

.result-cards {
  display: flex;
  flex-direction: column;
  gap: 22px;
}


.resort-card {
  display: grid;
  grid-template-columns: 290px 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resort-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.resort-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.resort-info {
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resort-info h3 {
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1.15;
}

.rating {
  color: #f5b400;
  font-size: 17px;
  margin-bottom: 10px;
}

.resort-info > p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
  color: #555;
}

.price {
  margin-top: 4px;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.resort-info a {
  display: inline-block;
  margin-top: 14px;
  color: var(--ocean);
  text-decoration: none;
  font-weight: 700;
}

.resort-info a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .stay-page {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

.filter-section {
  margin-bottom: 22px;
}

.filter-section h3 {
  font-size: 16px;
  margin: 0 0 14px;
  font-weight: 700;
}
}


/* RESORT PAGE */

.resort-page {
  padding-bottom: 60px;
}

.resort-hero-banner {
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.resort-hero-overlay{
  width: 100%;
  background: none !important;
  padding: 110px 40px 52px;
  position: relative;
  z-index: 2;
}

.resort-hero-text h1 {
  font-size: 64px;
  margin: 0 0 14px;
  line-height: 1.02;
  letter-spacing: -1px;
  color: #ffffff;
}
.resort-hero-text h1{
  text-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
.resort-hero-text,
.resort-hero-text *{
  background: none !important;
}

.resort-hero-subtitle{
  text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.resort-hero-subtitle {
  font-size: 20px;
  opacity: 0.92;
  color: #ffffff;
}

.facts-strip {
  max-width: 1200px;
  margin: 0 auto 46px;
  background: white;
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(6,1fr);
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
  overflow: hidden;
}

.fact-item {
  padding: 22px 20px;
  border-right: 1px solid #edf0f2;
}

.fact-item:last-child {
  border-right: none;
}

.fact-label {
  font-size: 11px;
  color: #7b8790;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.fact-value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #1f2933;
}

.resort-layout {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}

.pros-box,
.cons-box {
  background: #f7f9fb;
  border: 1px solid #e6ebf0;
  border-radius: 16px;
  padding: 18px 20px;
}

.pros-box h3,
.cons-box h3 {
  font-size: 18px;
  margin: 0 0 12px;
}

.pros-box ul,
.cons-box ul {
  margin: 0;
  padding-left: 18px;
}

.pros-box li,
.cons-box li {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 15px;
  color: #364152;
}

.resort-section details {
  background: #f7f9fb;
  border: 1px solid #e6ebf0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.resort-section summary {
  cursor: pointer;
  font-weight: 700;
}

.resort-section details a {
  display: inline-block;
  margin-top: 10px;
  color: var(--ocean);
  text-decoration: none;
  font-weight: 600;
}

.resort-section details a:hover {
  text-decoration: underline;
}

.resort-section details {
  background: #f7f9fb;
  border: 1px solid #e6ebf0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: background 0.2s ease;
}

.resort-section details:hover {
  background: #f2f6fa;
}

.resort-section summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

.resort-section details a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--ocean);
  text-decoration: none;
}

.resort-section details a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}

.content-card,
.sidebar-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 34px;
  border: 1px solid #edf1f4;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

.sidebar-card details {
  border: 1px solid #e7edf2;
  border-radius: 10px;
  background: #f8fafc;
  margin-bottom: 10px;
  overflow: hidden;
}

.sidebar-card summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 14px;
  list-style: none;
}

.sidebar-card summary::-webkit-details-marker {
  display: none;
}

.sidebar-card summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.2s ease;
}

.sidebar-card details[open] summary::before {
  transform: rotate(90deg);
}

.sidebar-card details a {
  display: inline-block;
  padding: 0 14px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ocean);
  text-decoration: none;
}

.sidebar-card details a:hover {
  text-decoration: underline;
}
.resort-section h2,
.sidebar-card h3 {
  font-size: 34px;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.sidebar-card h3 {
  font-size: 24px;
}
.resort-section p,
.sidebar-card p {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 14px;
  color: #364152;
}
.resort-bestfor-line {
  margin: 14px 0 8px;
  font-size: 17px;
  line-height: 1.5;
  color: #ffffff;
  opacity: 0.96;
}

.resort-bestfor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.bestfor-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.gallery-hidden {
  display: none;
}

.availability-card {
  margin-top: 24px;
}

.booking-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.booking-btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.primary-link {
  background: var(--ocean);
  color: #ffffff;
}

.primary-link:hover {
  background: var(--ocean-dark);
  text-decoration: none;
}

.secondary-link {
  background: #f5f7f9;
  color: var(--ocean);
  border: 1px solid #dce3e8;
}

.secondary-link:hover {
  text-decoration: none;
  background: #eef3f7;
}

.similar-resorts-wrap {
  max-width: 1200px;
  margin: 0 auto 0;
  padding: 0 20px;
  margin-top: 26px;
}

.similar-resorts-wrap h2 {
  font-size: 32px;
  margin: 0 0 18px;
}

.similar-resorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.similar-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e8edf2;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.similar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.similar-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.similar-card-content {
  padding: 16px 18px 18px;
}

.similar-card-content h4 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
}

.similar-card-content p {
  margin: 0;
  color: #5a6672;
  font-size: 15px;
}

@media (max-width: 900px) {
  .similar-resorts-grid {
    grid-template-columns: 1fr;
  }

  .booking-links {
    flex-direction: column;
  }

  .resort-bestfor-line {
    font-size: 16px;
  }

  .bestfor-tag {
    font-size: 13px;
  }
}
@media (max-width: 900px) {
  .facts-strip {
    grid-template-columns: repeat(2,1fr);
  }

  .resort-layout {
    grid-template-columns: 1fr;
  }
}
.resort-gallery-strip {
  max-width: 1200px;
  margin: 16px auto 26px;
  margin-top: -4px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 4;
}

.gallery-thumb {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  height: 150px;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .resort-gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-thumb {
    height: 140px;
  }
}

@media (max-width: 640px) {
  .resort-gallery-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 20px;
  }

  .gallery-thumb {
    height: 110px;
    border-radius: 12px;
  }
}

.resort-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.resort-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo-icon {
  width: 24px;
  height: 24px;
  display: block;
}
.logo-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

/* =========================================
   MALDIVES INFORMATION ARTICLE TEMPLATE
========================================= */

body{
background:#ffffff;
}

.info-article-page{
  background:#ffffff;
  padding:56px 24px 60px;
}

.info-article-shell{
  background:#ffffff;
}

.info-article-header{
  max-width:760px;
  margin-bottom:34px;
}

.info-article-header h1{
  font-family: Georgia, "Times New Roman", serif;
  font-size:58px;
  line-height:1.08;
  font-weight:700;
  color:#111111;
  margin:0 0 22px;
}

.info-article-summary{
  font-family: Georgia, "Times New Roman", serif;
  font-size:21px;
  line-height:1.9;
  color:#222222;
  margin:0 0 24px;
}

.info-article-layout{
  display:grid;
  grid-template-columns:minmax(0, 2fr) minmax(280px, 1fr);
  gap:56px;
  align-items:start;
}

.info-article-main{
  min-width:0;
}

.info-hero-image{
  width:100%;
  display:block;
  border-radius:4px;
  margin:0 0 34px;
}

.info-quick-facts{
  background:#ffffff;
  border:1px solid #e7e7e7;
  border-radius:8px;
  padding:26px 28px;
  margin-bottom:42px;
}

.info-quick-facts h3{
  font-family: Arial, sans-serif;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#333333;
  margin:0 0 18px;
}

.info-quick-facts ul{
  margin:0;
  padding-left:22px;
}

.info-quick-facts li{
  font-family: Arial, sans-serif;
  font-size:18px;
  line-height:1.8;
  color:#222222;
  margin-bottom:10px;
}

.info-article-section{
  margin-top:46px;
}

/* Update the Heading Font */
.info-article-section h2 {
  font-family: "Your New Font", sans-serif; /* Changed from Georgia */
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #111111;
  margin: 0 0 18px;
}

/* Update the Paragraph/Body Font */
.info-article-section p {
  font-family: "Your New Font", sans-serif; /* Changed from Georgia */
  font-size: 19px;
  line-height: 1.9;
  color: #222222;
  margin: 0 0 24px;
}

.info-article-section h2,
.info-faq h2{
  font-size:30px;
}

.info-article-section p{
  font-size:19px;
}

.info-inline-image{
  width:100%;
  display:block;
  border-radius:4px;
  margin:26px 0 8px;
}

.info-stay-cta{
  margin:28px 0 8px;
  padding:22px 24px;
  background:#f7fbff;
  border:1px solid #dcebf6;
  border-radius:8px;
}

.info-stay-cta-title{
  font-family: Arial, sans-serif;
  font-size:17px;
  font-weight:700;
  color:#111111;
  margin-bottom:8px;
}

.info-stay-cta p{
  font-family: Arial, sans-serif;
  font-size:16px;
  line-height:1.7;
  color:#555555;
  margin:0 0 12px;
}

.info-stay-cta a{
  display:inline-block;
  font-family: Arial, sans-serif;
  font-size:15px;
  font-weight:700;
  text-decoration:none;
  color:#0b5fa5;
}

.info-stay-cta a:hover{
  text-decoration:underline;
}

.info-faq{
  margin-top:62px;
}

.info-faq h2{
  font-family: Georgia, "Times New Roman", serif;
  font-size:42px;
  line-height:1.15;
  font-weight:700;
  color:#111111;
  margin:0 0 24px;
}

.info-faq-item{
  background:#ffffff;
  border:1px solid #e7e7e7;
  border-radius:8px;
  padding:22px 24px;
  margin-bottom:16px;
}

.info-faq-item h3{
  font-family: Georgia, "Times New Roman", serif;
  font-size:24px;
  line-height:1.35;
  font-weight:700;
  color:#111111;
  margin:0 0 10px;
}

.info-faq-item p{
  font-family: Arial, sans-serif;
  font-size:18px;
  line-height:1.75;
  color:#333333;
  margin:0;
}

.info-article-sidebar{
  min-width:0;
}

.info-sidebar-card{
  background:#ffffff;
  border:1px solid #e7e7e7;
  border-radius:8px;
  padding:22px;
  margin-bottom:20px;
}

.info-sidebar-label{
  font-family: Arial, sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#333333;
  margin-bottom:14px;
}

.info-tip-card{
  background:#eef7fb;
  border-left:4px solid #2fa5c4;
}

.info-tip-card p{
  margin:0;
  font-family: Arial, sans-serif;
  font-size:17px;
  line-height:1.8;
  color:#222222;
}

.info-related-list{
  display:flex;
  flex-direction:column;
}

.info-related-link{
  display:block;
  text-decoration:none;
  font-family: Arial, sans-serif;
  font-size:17px;
  font-weight:700;
  line-height:1.5;
  color:#111111;
  padding:14px 0;
  border-bottom:1px solid #ececec;
}

.info-related-link:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.info-related-link:hover{
  color:#0b5fa5;
}

.info-ad-box{
  border:1px dashed #d8d8d8;
  border-radius:8px;
  padding:28px 16px;
  text-align:center;
  font-family: Arial, sans-serif;
  font-size:15px;
  color:#888888;
}

@media (max-width: 980px){
  .info-article-layout{
    grid-template-columns:1fr;
    gap:34px;
  }

  .info-article-header h1{
    font-size:46px;
  }

  .info-article-summary{
    font-size:23px;
  }
}

@media (max-width: 640px){
  .info-article-page{
    padding:34px 16px 42px;
  }

  .info-article-header h1{
    font-size:36px;
  }

  .info-article-summary{
    font-size:20px;
    line-height:1.7;
  }



  .info-quick-facts li,
  .info-faq-item p,
  .info-tip-card p{
    font-size:17px;
  }
}

/* FINAL WHITE BACKGROUND OVERRIDE FOR INFO ARTICLE */
.info-article-page,
.info-article-shell,
.info-article-layout,
.info-article-main {
  background: #ffffff !important;
}

.section-card,
.content-card,
.article-box,
.page-section,
.destination-section,
.resort-card,
.atoll-card,
.filter-panel {
background:#ffffff;
border-radius:12px;
border:1px solid #ece7df;
}
nav {
  position: relative;
  z-index: 1000;
}

.dropdown-menu {
  z-index: 2000;
}
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  pointer-events: auto;
}
/* --- Search Results Page --- */
.resort-card-horizontal {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.resort-card-horizontal:hover {
    transform: translateY(-3px);
}

.resort-card-image {
    width: 300px;
    min-width: 300px;
    height: 200px;
}

.resort-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resort-card-content {
    padding: 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.atoll-tag {
    font-size: 12px;
    text-transform: uppercase;
    color: #007bff;
    letter-spacing: 1px;
    font-weight: 600;
}

.resort-card-content h3 {
    margin: 5px 0 10px 0;
    font-size: 22px;
    color: #333;
}

.resort-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.resort-tags .tag {
    display: inline-block;
    background: #f0f4f8;
    color: #555;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
}

.btn-view {
    margin-top: auto;
    align-self: flex-start;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid transparent;
}

.btn-view:hover {
    border-bottom-color: #007bff;
}
.blog-row {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #007bff; /* Gives it a distinct "Article" look */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.blog-row-thumb {
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

.blog-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.blog-row-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.blog-row-info h3 a {
    color: #333;
    text-decoration: none;
}

.category-tag {
    font-size: 10px;
    text-transform: uppercase;
    color: #888;
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
}

.snippet {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}
.no-results-box {
    max-width: 600px;
    margin: 50px auto; /* Centers the box on the page */
    border: 1px solid #eee;
}

.no-results-box h3 {
    color: #007bff; /* Your signature blue */
    margin-bottom: 15px;
}
.search-results-container {
    max-width: 1100px;
    margin: 40px auto; /* This centers the results on the page */
    padding: 0 20px;
}


/* This ensures the search container expands correctly */
.search-results-container {
    overflow: hidden; 
    min-height: 400px; /* Keeps the page from feeling 'squashed' if results are few */
}
.btn-view {
    display: inline-block;
    background-color: #007bff; /* Your Maldives Blue */
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.btn-view:hover {
    background-color: #0056b3;
}
/* ============================================================
   CLEAN MVP HEADER & HERO FIX
   ============================================================ */

/* 1. Kill the Double Line & Set Background */
.main-site-header {
    background: rgba(78, 143, 214, 0.95);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* This replaces your old 'nav' styles to prevent the double lines */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px; 
    max-width: 100%;
    margin: 0;
}

/* Ensure links stay white and centered */
.nav-links-container {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links-container a, 
.nav-links-container .dropdown-toggle {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-container { 
        padding: 10px 20px; 
        position: relative; /* Essential for the tight menu positioning */
    }

    .nav-toggle-label { display: block; cursor: pointer; }
    
    /* White Hamburger Icon */
    .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
        display: block; background: #ffffff; height: 2px; width: 22px; position: relative;
    }
    .nav-toggle-label span::before { content: ''; position: absolute; top: -7px; }
    .nav-toggle-label span::after { content: ''; position: absolute; top: 7px; }

    /* THE TIGHT MENU FIX */
    .nav-links-container {
        display: none;
        position: absolute;
        /* Positioned to the right instead of stretching 0 to 100% */
        top: 100%; 
        right: 20px; 
        left: auto; 
        
        /* Box Styling */
        width: auto;
        min-width: 160px;
        background: #5193c8; /* Matches your header blue precisely */
        flex-direction: column;
        padding: 15px 20px;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    /* Show the menu when checked */
    #nav-checkbox:checked ~ .nav-links-container { 
        display: flex !important; 
        gap: 12px; /* Space between Stay and Guides */
    }

    .nav-links-container a {
        color: #ffffff;
        text-decoration: none;
        font-weight: 600;
        font-size: 17px;
        padding: 5px 0;
        width: 100%;
        text-align: center;
    }

    /* Fix the 'Hero Overlap' on small screens */
    .hero {
        padding: clamp(40px, 10vh, 100px) 20px !important; 
    }
    
    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        margin-bottom: 15px;
    }

    /* Clean up: Since the Maldives dropdown is removed, 
       we ensure no ghost styles remain */
    .dropdown-menu { display: none; }
    .dropdown-toggle { display: none; }
}
/* Hide toggle checkbox on all screens */
.nav-checkbox { display: none; }
/* ============================================================
   SATURDAY MVP: FINAL POLISH & DESKTOP RECOVERY
   ============================================================ */

/* --- 1. GHOST LINE KILLER (Applies to ALL versions) --- */
header, .main-site-header, nav, .nav-container {
    border: none !important;
    box-shadow: none !important; 
}

/* --- 2. MOBILE ONLY FIXES (iPhone SE & Others) --- */
@media (max-width: 768px) {
    /* Kill the sliver by making Hero exactly the height of the viewable screen */
    .hero {
        padding: 0 20px !important;
        min-height: calc(100svh - 60px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        margin-bottom: 15px;
    }

    /* Center the first Maldives Guide card */
    .slider-wrapper {
        padding: 0 !important;
        margin: 10px 0 30px 0 !important;
    }

    .slider-container {
        display: flex !important;
        gap: 0 !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        padding: 0 10% !important;
    }

    .home-article-card {
        flex: 0 0 80vw !important;
        margin: 0 10vw !important;
        scroll-snap-align: center !important;
        min-width: auto !important;
    }
}    

@media (max-width: 768px) {
    .stay-page-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .filters {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 10px 15px !important;
        gap: 12px !important;
        border-right: none !important;
        border-bottom: 1px solid #ddd !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide titles/labels to keep it slim */
    .filters h3, .filters h4, .filters label, .filters br {
        display: none !important;
    }

    .filter-group {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .filter-group select, .filter-group input {
        border-radius: 20px !important;
        border: 1px solid #3996b0 !important; /* Your deep sea blue */
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
        background: white !important;
        white-space: nowrap !important;
    }
}
/* --- 1. MOBILE LAYOUT --- */
@media (max-width: 768px) {
    /* 1. Reset the layout so resorts appear below filters */
    .stay-page-container {
        display: block !important;
        width: 100% !important;
    }

    /* 2. Make filters a clean vertical list */
    .filters {
        width: 100% !important;
        height: auto !important;
        padding: 10px 20px !important;
        background: #fff !important;
        border-bottom: 1px solid #ddd !important;
        border-right: none !important;
        position: relative !important; 
        display: block !important; 
    }

    /* 3. Style each filter group as a row */
    .filter-group {
        margin-bottom: 5px !important;
        border-bottom: 1px solid #f0f0f0;
    }

    /* 4. Ensure results are visible */
    .search-results {
        width: 100% !important;
        padding: 20px 15px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
} /* <--- THIS BRACKET MUST BE AT THE VERY END OF THE MOBILE SECTION */

/* --- COLLAPSE LOGIC (Keep this outside the media query so it works everywhere) --- */
.filter-content {
    display: none; 
    padding: 10px 5px;
}

.filter-group.active .filter-content {
    display: block; 
}

.filter-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-weight: 600;
}
.filter-header {
    background: #f9f9f9;
    padding: 12px 15px !important;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #eee !important;
    transition: background 0.2s;
}

.filter-header:hover {
    background: #f0f7f9; /* Subtle blue tint on hover */
}

/* Make the + and - look sharper */
.toggle-icon {
    color: #3996b0;
    font-size: 1.2rem;
    font-weight: bold;
}
/* --- THE HIDE LOGIC --- */
/* This hides everything inside a group EXCEPT the label when 'collapsed' is present */
.filter-group.collapsed > *:not(label:first-of-type),
.filter-section.collapsed > *:not(h3) {
  display: none !important;
}

/* This styles the title to show it can be clicked */
.filter-group > label:first-of-type, 
.filter-section h3 {
  cursor: pointer;
  position: relative;
}.mobile-only-btn { display: none; } /* Hidden on Desktop */

@media (max-width: 768px) {
    .mobile-only-btn {
        display: block;
        width: 100%;
        padding: 15px;
        background: #3996b0;
        color: white;
        border: none;
        border-radius: 12px;
        font-weight: 700;
        margin-bottom: 20px;
    }
    .filters { display: none; } /* Hide filters by default on mobile */
    .filters.show-mobile { display: block !important; } /* Show when toggled */
}
/* 1. Ensure the toggle button is ALWAYS hidden on desktop */
.mobile-only-btn {
    display: none;
}


/* 3. FIX FOR MISSING MIDDLE OPTIONS (House Reef, etc.) */
/* This ensures groups expand to show ALL checkboxes inside */
.checkbox-group {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important; 
  max-height: none !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.checkbox-group label {
  display: flex !important;
  align-items: center;
  padding: 8px 0;
  white-space: normal !important; /* Prevents text from disappearing if it's long */
}

/* 4. Resort Card 'Peek' for better UX */
.resort-card img {
  height: 200px; 
  object-fit: cover;
}

/* Styling for the Selected Filter Tags */
.selected-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    background-color: #f0f7f9;
    border: 1px solid #1aa3c8;
    color: #1aa3c8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.filter-tag button {
    background: none;
    border: none;
    color: #1aa3c8;
    margin-left: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
}

.filter-tag button:hover {
    color: #d9534f; /* Turns red when hovering to delete */
}

@media (max-width: 768px) {
  #maldives-menu-toggle:checked ~ .dropdown-menu {
    display: block;
    /* Add any other mobile-specific styling here */
  }
}

/* --- 1. Desktop Defaults (1201px and up) --- */
.results {
    min-width: 0;
}

.results-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Cleaned up from 'end' */
    gap: 20px;
    margin-bottom: 24px;
    background: white;
    position: static; /* Ensured static */
}

.results-top h1 {
    font-size: 42px;
    margin: 0 0 8px;
    line-height: 1.1;
}

.results-top p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.results-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.results-count {
    font-size: 15px;
    font-weight: 700;
    color: #444;
}

/* --- 2. Tablet & Large Mobile (Under 1200px) --- */
@media (max-width: 1200px) {
    .stay-page {
        grid-template-columns: 1fr;
    }

    /* The Toggle Button - No more sticking to top */
    .mobile-only-btn {
        display: block !important;
        width: 100%;
        padding: 15px;
        background: #1aa3c8;
        color: white;
        border: none;
        position: static !important; 
        font-weight: bold;
        margin-bottom: 10px; 
    }

    /* Filter Sidebar Logic */
    .filters {
        display: none !important; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh !important; 
        background: white;
        z-index: 99999; 
        padding: 20px;
        overflow-y: auto !important; 
        padding-bottom: 100px !important; 
        -webkit-overflow-scrolling: touch;
    }

    .filters.show-mobile {
        display: block !important;
    }

    /* Force results top to stack and NOT stick */
    .results-top {
        position: static !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        border-bottom: 1px solid #eee;
        box-shadow: none;
        margin-bottom: 15px;
    }

    .results-controls {
        align-items: flex-start;
        width: 100%;
    }
}

/* --- 3. Small Mobile (Under 780px) --- */
@media (max-width: 780px) {
    .results-top h1 {
        font-size: 30px; /* Adjusted for better fit on small screens */
    }

    .results-top p {
        font-size: 16px;
    }

    .resort-card {
        grid-template-columns: 1fr;
    }

    .resort-card img {
        min-height: 220px;
        height: 220px;
    }
}

@media (max-width: 780px) {
    /* Prevent body scroll when filters are active */
    body.filters-open {
        overflow: hidden;
        height: 100vh;
    }

    .filters {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: white;
        z-index: 100000; /* Sit above everything */
        padding: 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Transition the results header to be simple and static */
    .results-top {
        position: static !important;
        display: flex;
        flex-direction: column;
        gap: 10px;
        box-shadow: none !important;
        border-bottom: 1px solid var(--border);
    }
}
/* ============================================================
   MODERN OCEAN BLUE FOOTER (onlinemaldives.com)
   ============================================================ */

.site-footer {
    background: #3996b0 !important; /* Your exact Ocean Blue */
    color: #ffffff !important;
    padding: 40px 20px 20px !important;
    margin-top: 50px !important;
    width: 100%;
    clear: both;
    font-family: sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    margin: 0 0 15px 0 !important;
    font-size: 0.9rem !important;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff !important;
    padding-left: 5px; /* Subtle hover effect */
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0 !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    text-align: center;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.7);
}

/* --- MOBILE & IPHONE OPTIMIZATION --- */
@media (max-width: 768px) {
    .site-footer {
        padding: 50px 15px 15px !important;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 25px !important;
    }

    .footer-column a {
        padding: 8px 0; /* Larger tap target for mobile fingers */
        font-size: 0.9rem;
    }

    .footer-column h4 {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 8px;
        display: inline-block;
        width: 100%;
    }
}

/* ============================================================
   FINAL MVP CLEANUP & STANDARD SIZE FIX (industry standard)
   Forces consistent fonts/sizes while keeping pasted bold
============================================================ */

/* 1. Set the industry-standard baseline for the main article content area */
.info-rich-text {
    /* Use Inter (your signature font) or fallbacks */
    font-family: Inter, Arial, sans-serif !important; 
    
    /* Standard modern readable size: ~18px-19px equivalent */
    font-size: 1.15rem !important; 
    
    /* Comfortable, spacious line spacing for reading */
    line-height: 1.85 !important; 
    
    /* Your signature dark gray */
    color: #222222 !important; 
}

/* 2. Target rogue headings (h1-h6) pasted from other sites */
.info-rich-text h1, 
.info-rich-text h2, 
.info-rich-text h3, 
.info-rich-text h4 {
    color: #111111 !important;
    font-weight: 700 !important;
    margin-top: 2rem !important; /* Space above */
    margin-bottom: 1.25rem !important; /* Space below */
    line-height: 1.3 !important;
}

/* --- Specific standard sizes for headings pasted into the rich text --- */
.info-rich-text h1 { font-size: 2.8rem !important; } /* Standard article H1 */
.info-rich-text h2 { font-size: 2.2rem !important; } /* Section H2 */
.info-rich-text h3 { font-size: 1.8rem !important; } /* Sub-section H3 */
.info-rich-text h4 { font-size: 1.4rem !important; } /* Minor sub-section H4 */

/* 3. Strip background and weird fonts from EVERYTHING inside the container */
.info-rich-text * {
    font-family: inherit !important;
    font-size: inherit !important; /* Forces pasted spans/divs to use the 1.15rem baseline */
    color: inherit !important; /* Fixes "shades of black" problem */
    background-color: transparent !important; /* Fixes pasted highlight highlights */
}

/* 4. Ensure standard modern spacing between paragraphs */
.info-rich-text p {
    margin-bottom: 1.5rem !important;
    display: block !important;
}

/* 5. The Bold Rule: Keep the bold, but force it to be your style of bold (Inter weight 700) */
.info-rich-text b, 
.info-rich-text strong,
.info-rich-text [style*="font-weight: bold"],
.info-rich-text [style*="font-weight: 700"] {
    font-weight: 700 !important;
    color: #000000 !important; /* Pure black for bold adds emphasis */
}

/* 6. Standardize lists (as seen in your 'Ohana dining example) */
.info-rich-text ul,
.info-rich-text ol {
    margin-bottom: 1.5rem !important;
    padding-left: 2rem !important;
}

.info-rich-text li {
    margin-bottom: 0.5rem !important;
    line-height: 1.7 !important;
}