@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============================================
   GLOBAL DARK THEME
   ============================================ */

body {
  background-color: #0a0f1a !important;
  font-family: 'Montserrat', sans-serif !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Remove white gaps and default page spacing */
.site-main,
#primary,
#content,
#page,
.content-area,
.kadence-content-area,
.kadence-inner-wrap,
.wp-site-blocks,
.entry-content,
.kb-content-wrap,
.kadence-hero-area,
.kadence-page-hero,
.wp-block-kadence-rowlayout {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Full dark background on pages and posts */
.page .site-main,
.page #primary,
.page #content,
.page .content-area,
.page .entry-content,
.page .wp-block-post-content,
.page .entry.single-entry,
.page .content-bg,
.page .site-container,
.page .site-content,
.page article,
.single-post .entry.single-entry,
.single-post .entry-content-wrap {
  background: #0a0f1a !important;
  box-shadow: none !important;
}

/* Remove constrained layout padding */
.page .entry-content,
.page .wp-block-post-content,
.page .content-container,
.page .site-main,
.wp-site-blocks {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.page .entry-content.is-layout-constrained > *,
.page .wp-block-post-content.is-layout-constrained > * {
  max-width: 100% !important;
}

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

.site-header,
.kadence-header,
header.site-header,
#masthead,
header#masthead {
  background: rgba(0,0,0,0.92) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999999 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.kadence-header-wrap,
.header-wrap,
.site-header .kadence-header-row,
.kadence-top-header-area,
.kadence-main-header-area,
.kadence-below-header-area,
#masthead .kadence-main-header-inner-wrap,
#masthead .kadence-header-row-inner {
  background: transparent !important;
}

/* Logo */
.site-header .site-logo img,
.kadence-header .site-logo img,
.site-header img.custom-logo {
  height: 34px !important;
  width: auto !important;
}

/* Hide title and tagline */
.site-title,
.site-description,
.kadence-site-title,
.header-site-title {
  display: none !important;
}

/* Nav links */
.kadence-navigation .menu-item a,
.primary-navigation .menu-item a,
.site-header nav a,
.kadence-header nav a,
#masthead .kadence-navigation a,
#masthead nav a,
#masthead .menu-item a {
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  font-family: 'Montserrat', sans-serif !important;
}

.kadence-navigation .menu-item a:hover,
.primary-navigation .menu-item a:hover,
#masthead .menu-item a:hover {
  color: #c9a84c !important;
}

/* Highlight ONE Fort Myers nav item */
.kadence-navigation .menu-item a[href*="fort-myers-luxury-riverfront"],
.primary-navigation .menu-item a[href*="fort-myers-luxury-riverfront"] {
  color: #c9a84c !important;
}

/* Last nav item as contact button */
.kadence-navigation .menu-item:last-child a,
.primary-navigation .menu-item:last-child a,
#masthead .menu-item:last-child > a {
  background: #c9a84c !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 4px !important;
}

.kadence-navigation .menu-item:last-child a:hover,
.primary-navigation .menu-item:last-child a:hover,
#masthead .menu-item:last-child > a:hover {
  background: #e5c97a !important;
  color: #0a0f1a !important;
}

/* Remove duplicate header buttons */
.kadence-header .kadence-button-wrap,
.site-header .wp-block-button {
  display: none !important;
}

/* Anchor offset */
html {
  scroll-padding-top: 70px;
}

/* ============================================
   SINGLE POSTS CLEANUP
   ============================================ */

.single-post .entry-title,
.single-post .entry-meta,
.single-post .entry-footer,
.single-post .post-thumbnail,
.single-post .wp-block-post-featured-image,
.single-post .kadence-post-image,
.single-post .post-navigation,
.single-post #secondary,
.single-post .widget-area,
.single-post .comments-area,
.single-post .entry-categories,
.single-post .post-categories,
.single-post .cat-links {
  display: none !important;
}

.single-post #primary,
.single-post .content-area,
.single-post .entry-content,
.single-post .site-main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Remove sidebar column if theme inserts columns */
.single-post .wp-block-columns {
  display: block !important;
}

.single-post .wp-block-columns > .wp-block-column:first-child {
  display: none !important;
}

.single-post .wp-block-columns > .wp-block-column:last-child {
  flex-basis: 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Default post typography */
.single-post .entry-content p,
.single-post .entry-content li {
  color: #c8cdd6;
}

.single-post .entry-content h2 {
  color: #c9a84c !important;
  font-family: 'Playfair Display', serif;
}

.single-post .entry-content h3 {
  color: #e8e0d0 !important;
  font-family: 'Playfair Display', serif;
}

.single-post .entry-content strong {
  color: #ffffff;
}

.single-post .entry-content a:not(.dtfm-btn):not([style]) {
  color: #c9a84c;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.single-post .entry-content a:not(.dtfm-btn):not([style]):hover {
  color: #e5c97a;
  border-bottom-color: rgba(201,168,76,0.7);
}

.single-post .entry-content hr.wp-block-separator {
  border-color: rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.06);
}

/* ============================================
   DTFM ARTICLE WRAPPER
   ============================================ */

.dtfm-wrap {
  background: #0a0f1a;
  color: #c8cdd6;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ============================================
   DTFM HERO
   ============================================ */

.dtfm-hero {
  background: linear-gradient(160deg, #0a0f1a 0%, #0d1a2e 60%, #0a0f1a 100%);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 72px 20px 60px;
  text-align: center;
  position: relative;
}

.dtfm-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.dtfm-hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a84c;
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}

.dtfm-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 auto 20px;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.dtfm-hero-sub {
  font-size: 15px;
  color: #8e97a8;
  max-width: 620px;
  margin: 0 auto 24px;
  font-weight: 300;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.dtfm-hero-meta {
  font-size: 12px;
  color: #5a6478;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.dtfm-hero-divider {
  width: 48px;
  height: 2px;
  background: #c9a84c;
  margin: 28px auto 0;
  position: relative;
  z-index: 1;
}

/* ============================================
   DTFM INTRO / SECTIONS
   ============================================ */

.dtfm-intro {
  padding: 52px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dtfm-intro p {
  font-size: 17px;
  line-height: 1.85;
  color: #c8cdd6;
  margin: 0 0 20px;
}

.dtfm-section {
  padding: 52px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dtfm-section:last-of-type {
  border-bottom: none;
}

.dtfm-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 24px;
  line-height: 1.3;
}

.dtfm-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: #e8e0d0;
  margin: 36px 0 14px;
  line-height: 1.4;
}

.dtfm-section p {
  margin: 0 0 20px;
  color: #c8cdd6;
}

.dtfm-section a,
.dtfm-intro a {
  color: #c9a84c;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.dtfm-section a:hover,
.dtfm-intro a:hover {
  color: #e5c97a;
  border-bottom-color: rgba(201,168,76,0.7);
}

/* ============================================
   DTFM TABLE OF CONTENTS
   ============================================ */

.dtfm-toc {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.2);
  border-left: 3px solid #c9a84c;
  border-radius: 4px;
  padding: 32px 36px;
  margin: 44px 0;
}

.dtfm-toc-title,
.dtfm-toc-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a84c;
  margin: 0 0 18px;
}

.dtfm-toc ul,
.dtfm-toc ol {
  margin: 0;
  padding-left: 20px;
}

.dtfm-toc li {
  margin: 0 0 10px;
  font-size: 14px;
  color: #8e97a8;
}

.dtfm-toc a {
  color: #a8b4c8;
  text-decoration: none;
  border-bottom: none;
}

.dtfm-toc a:hover {
  color: #c9a84c;
}

/* ============================================
   DTFM TABLES
   ============================================ */

.dtfm-table-wrap {
  margin: 28px 0 36px 0;
  overflow-x: auto;
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.dtfm-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.dtfm-table th {
  background: rgba(201,168,76,0.12);
  color: #f3e7bf;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: left;
  padding: 18px 16px;
  border-bottom: 2px solid rgba(201,168,76,0.42);
}

.dtfm-table td {
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  line-height: 1.65;
  padding: 18px 16px;
  vertical-align: top;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.dtfm-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

.dtfm-table td:first-child,
.dtfm-table th:first-child {
  width: 18%;
  font-weight: 700;
  color: #ffffff;
}

.dtfm-table td:nth-child(2),
.dtfm-table th:nth-child(2) {
  width: 38%;
}

.dtfm-table td:nth-child(3),
.dtfm-table th:nth-child(3) {
  width: 44%;
}

.dtfm-table strong {
  color: #ffffff;
}

/* ============================================
   DTFM CARDS / CALLOUTS / LISTS
   ============================================ */

.dtfm-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid #c9a84c;
  border-radius: 4px;
  padding: 32px 36px;
  margin: 32px 0;
}

.dtfm-card-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a84c;
  margin: 0 0 8px;
}

.dtfm-callout {
  background: rgba(201,168,76,0.06);
  border-left: 3px solid #c9a84c;
  border-radius: 0 4px 4px 0;
  padding: 24px 28px;
  margin: 32px 0;
}

.dtfm-callout p {
  font-size: 16px;
  color: #dcd4c0;
  margin: 0;
  line-height: 1.7;
  font-style: italic;
}

.dtfm-watchlist,
.dtfm-reasons {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.dtfm-watchlist li,
.dtfm-reasons li {
  font-size: 14px;
  color: #a8b4c8;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

.dtfm-watchlist li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #c9a84c;
  font-size: 13px;
}

.dtfm-reasons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #c9a84c;
  border-radius: 50%;
}

/* ============================================
   DTFM BUTTONS / CTAS
   ============================================ */

.dtfm-btn,
a.dtfm-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0a0f1a !important;
  background: #c9a84c;
  padding: 14px 32px;
  border-radius: 2px;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.15s;
  margin: 6px;
  border: none;
}

.dtfm-btn:hover,
a.dtfm-btn:hover {
  background: #e5c97a;
  transform: translateY(-1px);
  color: #0a0f1a !important;
  border-bottom: none;
}

.dtfm-btn-outline,
a.dtfm-btn.dtfm-btn-outline {
  background: transparent;
  color: #c9a84c !important;
  border: 1px solid rgba(201,168,76,0.5);
}

.dtfm-btn-outline:hover,
a.dtfm-btn.dtfm-btn-outline:hover {
  background: rgba(201,168,76,0.1);
  color: #e5c97a !important;
}

.dtfm-cta-mid {
  background: linear-gradient(135deg, rgba(13,25,48,0.9) 0%, rgba(10,15,26,0.95) 100%);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  padding: 44px 40px;
  text-align: center;
  margin: 52px 0;
}

.dtfm-cta-mid h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.3;
}

.dtfm-cta-mid p {
  font-size: 15px;
  color: #8e97a8;
  margin: 0 auto 28px;
  max-width: 520px;
}

.dtfm-cta-final {
  background: linear-gradient(145deg, #0d1a2e 0%, #0a0f1a 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-top: 2px solid #c9a84c;
  border-radius: 4px;
  padding: 52px 40px;
  text-align: center;
  margin-top: 60px;
}

.dtfm-cta-final h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.3;
}

.dtfm-cta-final p {
  font-size: 15px;
  color: #8e97a8;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.dtfm-cta-final-links {
  margin-top: 20px;
  font-size: 13px;
  color: #5a6478;
}

.dtfm-cta-final-links a {
  color: #8e97a8;
  text-decoration: none;
  margin: 0 10px;
  border-bottom: none;
}

.dtfm-cta-final-links a:hover {
  color: #c9a84c;
}

/* ============================================
   DTFM FAQ
   ============================================ */

.dtfm-faq {
  margin: 48px 0 0;
}

.dtfm-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}

.dtfm-faq-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.dtfm-faq-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: #e8e0d0;
  margin: 0 0 12px;
  line-height: 1.4;
}

.dtfm-faq-item p {
  font-size: 15px;
  color: #a8b4c8;
  margin: 0;
  line-height: 1.75;
}

/* ============================================
   CLOSING NOTE
   ============================================ */

.dtfm-closing {
  font-size: 15px;
  font-style: italic;
  color: #6a7585;
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 768px) {
  .kadence-navigation,
  .primary-navigation {
    font-size: 11px !important;
  }

  .dtfm-hero {
    padding: 52px 20px 44px;
  }

  .dtfm-wrap {
    padding: 0 18px 50px;
  }

  .dtfm-card {
    padding: 24px 20px;
  }

  .dtfm-cta-mid {
    padding: 36px 20px;
  }

  .dtfm-cta-final {
    padding: 40px 20px;
  }

  .dtfm-toc {
    padding: 24px 20px;
  }

  .dtfm-btn,
  a.dtfm-btn {
    width: 100%;
    margin: 6px 0;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .dtfm-table th {
    font-size: 15px;
    padding: 14px 12px;
  }

  .dtfm-table td {
    font-size: 14px;
    line-height: 1.55;
    padding: 14px 12px;
  }
}
@media (max-width: 767px) {
  .dtfm-mobile-table > div {
    display: block !important;
  }

  .dtfm-mobile-table > div > div {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}/* REMOVE WHITE GAP / LINE BETWEEN DTFM HERO AND ARTICLE BODY */

.single-post .entry-content,
.single-post .entry-content > *,
.single-post .wp-block-html,
.single-post .wp-block-html > div {
  margin-top: 0 !important;
}

.single-post .entry-content .dtfm-hero {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 56px !important;
}

.single-post .entry-content .dtfm-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: #0a0f1a !important;
}

.single-post .entry-content .dtfm-hero + .dtfm-wrap {
  margin-top: 0 !important;
}

.single-post .entry-content p:first-child {
  margin-top: 0 !important;
}

.single-post .entry-content {
  background: #0a0f1a !important;
}