/* =========================
BASE TYPOGRAPHY
========================= */

body{
  font-family: Calibri, sans-serif;
  color:#000;
}

h1,h2,h3,h4,h5,h6{
  font-family: Cambria, serif;
  color:#000 !important;
}

h3,h4{
  font-size:26px;
}

/* =========================
LINKS
========================= */

a{
  color:#0000EE;
}

a:hover,
a:focus{
  color:#0000CC;
}

/* =========================
READABILITY
========================= */

p,
li{
  font-size:18px;
  line-height:1.75;
  margin-bottom:1.2em;
}

/* =========================
CONTENT WIDTH
========================= */

.entry-content,
.site-content,
.wp-block-post-content{
  max-width:900px;
  margin:auto;
}

/* =========================
SECTION SPACING
========================= */

h2{
  margin-top:1.8em;
  margin-bottom:.6em;
}

h3{
  margin-top:1.4em;
  margin-bottom:.4em;
}

/* =========================
IMAGES
========================= */

img{
  border:1px solid #084d50;
  max-width:100%;
  height:auto;
  display:block;
}

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

table{
  width:100%;
  border-collapse:collapse;
  margin:20px 0;
}

th,
td{
  padding:10px;
}

/* =========================
FIX GUTENBERG COLOR CLASSES
========================= */

.entry-content,
.wp-block-post-content{
  color:#000 !important;
}

.entry-content *,
.wp-block-post-content *{
  color:inherit !important;
}


/* ensure headings never turn blue */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6{
  color:#000 !important;
}

/* Keep links blue */
.entry-content a,
.wp-block-post-content a{
  color:#0000EE !important;
}

.entry-content a:hover,
.wp-block-post-content a:hover{
  color:#0000CC !important;
}

/* Remove conflicting block backgrounds */
.entry-content .has-background-color,
.wp-block-post-content .has-background-color{
  background:transparent !important;
}

/* =========================
HOMEPAGE TITLE FIX
========================= */

.hide-homepage-title .entry-header,
.hide-homepage-title .entry-title,
.hide-homepage-title .page-title,
.hide-homepage-title .wp-block-post-title{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}

/* =========================
OLD HOMEPAGE (page ID 19)
========================= */

/* body text white */
/* Old homepage links should be blue */

body.page-id-19 .entry-content a,
body.page-id-19 .wp-block-post-content a{
  color:#0000EE !important;
}

body.page-id-19 .entry-content a:hover,
body.page-id-19 .entry-content a:focus,
body.page-id-19 .wp-block-post-content a:hover,
body.page-id-19 .wp-block-post-content a:focus{
  color:#0000CC !important;
}


/* links white */
body.page-id-19 .entry-content a,
body.page-id-19 .wp-block-post-content a{
  color:#fff !important;
}

body.page-id-19 .entry-content a:hover,
body.page-id-19 .wp-block-post-content a:hover{
  color:#e0e0e0 !important;
}

/* H1 black */
body.page-id-19 h1,
body.page-id-19 .entry-title{
  color:#000 !important;
}

/* H2-H6 white */
body.page-id-19 h2,
body.page-id-19 h3,
body.page-id-19 h4,
body.page-id-19 h5,
body.page-id-19 h6,
body.page-id-19 .wp-block-heading{
  color:#fff !important;
}
/* Force ALL text inside content to white */
body.page-id-701 .entry-content,
body.page-id-701 .entry-content p,
body.page-id-701 .entry-content li,
body.page-id-701 .entry-content span,
body.page-id-701 .entry-content div,
body.page-id-701 .entry-content strong,
body.page-id-701 .entry-content em,
body.page-id-701 .entry-content blockquote {
    color: #ffffff !important;
}
/* Page 19: kill dark overlays and force light background */
body.page-id-19,
body.page-id-19 .wp-site-blocks,
body.page-id-19 main,
body.page-id-19 article,
body.page-id-19 .entry-content,
body.page-id-19 .wp-block-post-content,
body.page-id-19 .wp-block-group,
body.page-id-19 .wp-block-cover,
body.page-id-19 .wp-block-cover__inner-container {
    background: #f5f5f5 !important;
    background-color: #f5f5f5 !important;
    background-image: none !important;
}

/* Remove image/video/dim overlays */
body.page-id-19 .wp-block-cover__image-background,
body.page-id-19 .wp-block-cover__video-background,
body.page-id-19 .wp-block-cover__background,
body.page-id-19 .wp-block-cover::before,
body.page-id-19 .wp-block-cover::after,
body.page-id-19 .wp-block-group::before,
body.page-id-19 .wp-block-group::after,
body.page-id-19 main::before,
body.page-id-19 main::after,
body.page-id-19 article::before,
body.page-id-19 article::after {
    background: transparent !important;
    background-image: none !important;
    opacity: 0 !important;
    display: none !important;
    content: none !important;
}

/* Keep text readable */
body.page-id-19,
body.page-id-19 p,
body.page-id-19 li,
body.page-id-19 span,
body.page-id-19 div,
body.page-id-19 h1,
body.page-id-19 h2,
body.page-id-19 h3,
body.page-id-19 h4,
body.page-id-19 h5,
body.page-id-19 h6 {
    color: #000 !important;
}
/* Page 19: make headings black */
body.page-id-19 h1,
body.page-id-19 h2,
body.page-id-19 h3,
body.page-id-19 h4,
body.page-id-19 h5,
body.page-id-19 h6,
body.page-id-19 .wp-block-heading {
    color: #000000 !important;
}

/* Page 19: make links blue */
body.page-id-19 a {
    color: #1e73be !important; /* clean WP blue */
    text-decoration: underline;
}

/* Optional: hover state */
body.page-id-19 a:hover {
    color: #0d5ea8 !important;
}/* Page 19: FORCE all links to blue */
body.page-id-19 a,
body.page-id-19 a:link,
body.page-id-19 a:visited,
body.page-id-19 .entry-content a,
body.page-id-19 .wp-block-post-content a,
body.page-id-19 .wp-block-group a,
body.page-id-19 .wp-block-column a,
body.page-id-19 .wp-block-paragraph a,
body.page-id-19 .wp-block-heading a {
    color: #1e73be !important;
    text-decoration: underline !important;
}

/* Hover state */
body.page-id-19 a:hover,
body.page-id-19 .entry-content a:hover {
    color: #0d5ea8 !important;
}
.main-navigation ul.sub-menu a,
.main-navigation ul ul a,
.main-navigation .sub-menu a {
    color: #ffffff !important;
}
.main-navigation ul ul a {
    color: #ffffff !important;
}

.main-navigation ul ul a[href*="rentals"],
.main-navigation ul ul a[href*="hotels"] {
    color: #ffd700 !important;
    font-weight: 600;
}
.main-navigation ul ul a[href*="rentals"],
.main-navigation ul ul a[href*="hotels"],
.main-navigation ul ul a[href*="beach-houses"] {
    color: #ffd700 !important;
    font-weight: 600;
}

.main-navigation ul ul a[href*="rentals"]:hover,
.main-navigation ul ul a[href*="hotels"]:hover,
.main-navigation ul ul a[href*="beach-houses"]:hover {
    color: #ffd700 !important;
}