/* Dandeli Prime Resorts 1.1.16
   Readability pass for light pages + premium shortcode enquiry form.
   Kept separate from original branding, tracking and mobile-home CSS.
*/
:root {
  --dpr-ink: #172e24;
  --dpr-body-ink: #31453a;
  --dpr-muted-ink: #52665b;
  --dpr-link-ink: #07593c;
  --dpr-form-border: #c5d2c8;
}

/* Consistent, comfortably legible typography sitewide. */
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
body p, body li, body td, body th, body label, body input, body select, body textarea {
  overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6 { text-wrap: pretty; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid #b28225 !important;
  outline-offset: 3px;
}
/* Navigation and card copy were unusually small in the older design. */
.desktop-nav a { font-size: 13.5px; font-weight: 650; }
.mobile-nav a { font-size: 15px; font-weight: 600; }
.dpr-card-body p, .post-card-body p, .resort-card p { font-size: 14px; line-height: 1.65; }
.dpr-card-body small, .post-card-body small { font-size: 12px; }
.dpr-card-body h3 a, .post-card h2 a, .resort-card h3 a { color: inherit; }
.dpr-card-body h3 a:hover, .post-card h2 a:hover, .resort-card h3 a:hover { color: #096746; }
.site-footer .footer-grid p, .site-footer .footer-grid a:not(.brand) { font-size: 13px; line-height: 1.7; }
.site-footer .footer-bottom { font-size: 12px; }

/* Breadcrumb trail: every interior page, including resorts and archives. */
.dpr-breadcrumb-band {
  background: #f8f7f1;
  border-bottom: 1px solid #e6e7dd;
}
.dpr-breadcrumbs {
  display: flex; align-items: center; flex-wrap: wrap;
  column-gap: 10px; row-gap: 6px;
  min-height: 51px; padding-block: 11px;
  font-size: 13px; line-height: 1.55; font-weight: 550;
  color: #465e50;
}
.dpr-breadcrumbs a {
  color: var(--dpr-link-ink); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.dpr-breadcrumbs a:hover { color: #063d2b; text-decoration-thickness: 2px; }
.dpr-breadcrumbs .dpr-crumb-separator { color: #84948b; }
.dpr-breadcrumbs [aria-current="page"] { color: var(--dpr-ink); font-weight: 650; }

/* Inner page palette, applied only to light areas, not to photographic home hero and footer. */
body:not(.home) #main { background: #f9f8f3; color: var(--dpr-ink); }
body:not(.home) .page-hero {
  background: linear-gradient(115deg, #eaf2e8 0%, #faf8f0 65%, #ffffff 100%);
  color: var(--dpr-ink);
  padding: clamp(36px, 5vw, 62px) 0 clamp(32px, 4vw, 49px);
  border-bottom: 1px solid #e0e8dc;
}
body:not(.home) .page-hero .eyebrow {
  color: #276548; font-size: 12px; font-weight: 750;
  letter-spacing: .17em; line-height: 1.55;
}
body:not(.home) .page-hero h1 {
  color: #173d2c; line-height: 1.16;
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 13px 0;
}
body:not(.home) .page-hero p,
body:not(.home) .page-hero .archive-description,
body:not(.home) .page-hero .archive-description p {
  color: #405e4b; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.7;
  max-width: 800px;
}
body:not(.home) .article-content {
  color: var(--dpr-body-ink) !important;
  font-size: 16px; line-height: 1.82;
}
body:not(.home) .article-content :is(p, li, dd, dt, figcaption, blockquote, small),
body:not(.home) .resort-main > :is(p, li) {
  color: var(--dpr-body-ink) !important;
  opacity: 1 !important;
}
body:not(.home) .article-content :is(h1, h2, h3, h4, h5, h6, strong, b),
body:not(.home) .resort-main > :is(h1, h2, h3, h4) {
  color: var(--dpr-ink) !important;
  opacity: 1 !important;
}
body:not(.home) .article-content h2 { font-size: clamp(23px, 2.4vw, 31px); line-height: 1.3; margin-top: 28px; }
body:not(.home) .article-content h3 { font-size: clamp(20px, 2vw, 25px); line-height: 1.35; }
body:not(.home) .article-content p { margin-block: 0 1.1em; }
body:not(.home) .article-content ul,
body:not(.home) .article-content ol { padding-inline-start: 24px; }
body:not(.home) .article-content a:not(.button),
body:not(.home) .content-layout a:not(.button),
body:not(.home) .resort-main a:not(.button),
body:not(.home) .post-card-body .text-link {
  color: var(--dpr-link-ink);
  text-decoration: underline;
  text-decoration-thickness: 1.25px;
  text-underline-offset: 3px;
  font-weight: 600;
}
body:not(.home) .article-content a:not(.button):hover,
body:not(.home) .content-layout a:not(.button):hover,
body:not(.home) .resort-main a:not(.button):hover {
  color: #063d2b;
  text-decoration-thickness: 2px;
}
body:not(.home) .article-content .wp-block-button__link,
body:not(.home) .article-content .wp-element-button { color: #fff !important; text-decoration: none !important; }
body:not(.home) .article-content .wp-block-button.is-style-outline .wp-block-button__link { color: var(--dpr-link-ink) !important; }
body:not(.home) .article-content .article-meta,
body:not(.home) .post-card-body small { color: #506559; font-size: 13px; }
body:not(.home) .post-card-body p, body:not(.home) .dpr-card-body p { color: #455b4c; }
body:not(.home) .content-layout > p, body:not(.home) .content-layout > .notice-card {
  color: var(--dpr-body-ink); font-size: 15px;
}
body:not(.home) .content-layout .notice-card { background: #fff; border-color: #d8e2d6; }
body:not(.home) .pagination a, body:not(.home) .pagination span {
  color: var(--dpr-link-ink); font-size: 14px;
}
/* Long pages and editor-created tables must remain readable on smaller viewports. */
body:not(.home) .article-content :is(table, figure, img) { max-width: 100%; }
body:not(.home) .article-content :is(table, pre) { overflow-x: auto; }

/* Resort details: generous column spacing, crisp editorial content. */
.dpr-resort-single {
  grid-template-columns: minmax(0, 1.6fr) minmax(295px, .82fr);
  align-items: start; gap: clamp(25px, 4vw, 55px);
  padding-block: clamp(30px, 4vw, 58px) 80px;
}
.dpr-resort-single .resort-main { min-width: 0; }
.dpr-resort-single .dpr-gallery { margin: 0 0 28px; gap: 12px; }
.dpr-resort-single .dpr-gallery img { border-radius: 14px; }
.dpr-resort-single .article-content {
  padding: 0 !important; max-width: none; margin-bottom: 26px;
}
.dpr-resort-single .resort-main > h2,
.dpr-resort-single .dpr-section-intro h2 {
  font-family: Inter, Arial, sans-serif;
  font-weight: 750; font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.28; letter-spacing: -.025em;
  margin: 28px 0 15px;
  color: #183a2b;
}
.dpr-resort-single .dpr-amenities { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 28px; }
.dpr-resort-single .dpr-amenities span {
  display: inline-flex; align-items: center; min-height: 34px;
  padding: 7px 13px; border: 1px solid #d9e4d7;
  border-radius: 999px; background: #fff;
  color: #234638; font-size: 13px; line-height: 1.3; font-weight: 600;
}
.dpr-resort-single .dpr-section-intro { margin-top: 42px; }
.dpr-resort-single .dpr-section-intro .dpr-kicker {
  color: #367554; font-size: 11px; letter-spacing: .14em; font-weight: 800;
}
.dpr-resort-single .dpr-section-intro h2 { margin: 7px 0 7px; }
.dpr-resort-single .dpr-section-intro p {
  max-width: 600px; margin: 0 0 19px; color: #52675a;
  font-size: 15px; line-height: 1.7;
}

/* Premium contact panel with readable small print. */
.dpr-resort-single .dpr-agent-box {
  top: 105px; padding: clamp(23px, 3vw, 33px);
  border-radius: 22px; background: #fff;
  border: 1px solid #dae4d8;
  box-shadow: 0 14px 40px rgba(24, 55, 42, .11);
  color: var(--dpr-ink);
}
.dpr-resort-single .dpr-agent-box .eyebrow {
  color: #166840; font-size: 11px; letter-spacing: .18em; font-weight: 800;
}
.dpr-resort-single .dpr-agent-box h2 { color: var(--dpr-ink); font-size: clamp(21px, 2vw, 26px); line-height: 1.25; margin: 13px 0 18px; }
.dpr-resort-single .dpr-agent-box h3 { color: var(--dpr-ink); font-size: 23px; margin: 16px 0; }
.dpr-resort-single .dpr-agent-box h3 small { color: #455b4d; font-size: 14px; }
.dpr-resort-single .dpr-agent-box p,
.dpr-resort-single .dpr-agent-box small { color: #425849; font-size: 14px; line-height: 1.65; }
.dpr-resort-single .dpr-agent-box .small-note { margin-bottom: 0; font-size: 13px; }
.dpr-resort-single .dpr-agent-box a.button {
  width: 100%; min-height: 48px; font-size: 14px;
  text-decoration: none; border-radius: 11px; font-weight: 700;
}
.dpr-resort-single .dpr-agent-box a.button-gold { background: #f1c34d; color: #183223; }
.dpr-resort-single .dpr-agent-box a.button-green { background: #0b563b !important; color: white !important; }

/* The core plugin renders a shortcode form with labels wrapping inputs.
   Do not change form action, field names, nonce, inputs or tracking JS. */
.dpr-enquiry-form {
  width: 100%; max-width: 760px; min-width: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start; column-gap: 18px; row-gap: 20px;
  padding: clamp(22px, 3.6vw, 38px) !important;
  margin: 0 0 25px;
  background: #fff !important;
  border: 1px solid #dae5da !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 40px rgba(28, 62, 43, .09) !important;
  color: var(--dpr-ink);
}
.dpr-enquiry-form > h3 {
  grid-column: 1 / -1; width: 100%;
  margin: 0 0 1px; padding: 0 0 18px;
  border-bottom: 1px solid #e4ebe2;
  font-family: Inter, Arial, sans-serif;
  color: #183a2b !important;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 750; letter-spacing: -.02em; line-height: 1.35;
}
.dpr-enquiry-form > label {
  display: flex !important; flex-direction: column;
  gap: 8px; min-width: 0; margin: 0;
  color: #263f30 !important;
  font-size: 13.5px !important; font-weight: 700 !important;
  letter-spacing: 0; line-height: 1.5;
}
.dpr-enquiry-form > label:has(textarea),
.dpr-enquiry-form > label:has([name="customer_email"]),
.dpr-enquiry-form > label:has([name="message"]) { grid-column: 1 / -1; }
.dpr-enquiry-form :is(input:not([type="hidden"]), select, textarea) {
  box-sizing: border-box; display: block;
  width: 100%; min-width: 0; min-height: 50px;
  margin: 0; padding: 12px 14px;
  border: 1px solid var(--dpr-form-border);
  border-radius: 10px;
  outline: none;
  background: #fbfdfa !important;
  color: #1c3425 !important;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px; font-weight: 500; line-height: 1.45;
  box-shadow: none;
  color-scheme: light;
}
.dpr-enquiry-form input[type="hidden"] { display: none !important; }
.dpr-enquiry-form textarea { min-height: 118px; resize: vertical; }
.dpr-enquiry-form :is(input,textarea)::placeholder { color: #657d6c; opacity: 1; }
.dpr-enquiry-form :is(input:not([type="hidden"]),select,textarea):focus {
  border-color: #1e7750 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(30, 119, 80, .13);
}
.dpr-enquiry-form > button[type="submit"] {
  grid-column: 1 / -1; justify-self: start;
  width: auto; min-height: 52px;
  padding: 13px 31px;
  border: 0; border-radius: 11px;
  background: #0e593d !important; color: #fff !important;
  font-size: 15px; font-weight: 750;
  line-height: 1.4; letter-spacing: .01em;
  cursor: pointer;
}
.dpr-enquiry-form > button[type="submit"]:hover { background: #06442f !important; }
.dpr-enquiry-form > small {
  grid-column: 1 / -1;
  display: block; margin-top: -9px;
  color: #52675a !important; opacity: 1 !important;
  font-size: 12.5px; line-height: 1.7;
}
.dpr-resort-single .notice-success, .dpr-resort-single .notice-error {
  font-size: 15px; line-height: 1.6; padding: 16px 18px;
  border-radius: 11px; margin: 15px 0;
}

@media (max-width: 950px) {
  .dpr-resort-single { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .dpr-resort-single .dpr-agent-box { position: static; width: 100%; }
}
@media (max-width: 680px) {
  .dpr-breadcrumbs { min-height: 44px; font-size: 12.5px; }
  body:not(.home) .page-hero { padding-block: 29px 32px; }
  .dpr-resort-single { padding-block: 24px 48px; gap: 30px; }
  .dpr-resort-single .dpr-gallery { margin-bottom: 21px; }
  .dpr-enquiry-form {
    grid-template-columns: minmax(0, 1fr); row-gap: 17px;
    padding: 21px 17px !important; border-radius: 16px !important;
  }
  .dpr-enquiry-form > h3,
  .dpr-enquiry-form > label:has(textarea),
  .dpr-enquiry-form > label:has([name="customer_email"]),
  .dpr-enquiry-form > button[type="submit"],
  .dpr-enquiry-form > small { grid-column: 1 / -1; }
  .dpr-enquiry-form > button[type="submit"] { justify-self: stretch; width: 100%; }
  .dpr-resort-single .dpr-agent-box { padding: 23px; }
  body:not(.home) .article-content { font-size: 15.5px; line-height: 1.77; }
}
