/*
Theme Name: Rise & Shine Retreats
Description: Custom coastal Maine luxury theme for Rise & Shine Retreats.
Version: 2.9
Requires at least: 6.4
Text Domain: rise-shine
*/

body { font-weight: 300; }
a { text-underline-offset: 6px; }

.rs-eyebrow { font-size: 13px !important; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--wp--preset--color--mist); }
.rs-eyebrow-light { color: #FFFFFF; }
.rs-link { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.rs-link a { color: inherit; }

.wp-block-button__link { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; border-radius: 2px; padding: 17px 32px; }
.is-style-outline .wp-block-button__link { border: 1px solid currentColor; }

.rs-nav { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; }
.rs-nav .rs-cta a { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--ink) !important; padding: 13px 22px; border-radius: 2px; font-weight: 500; }

.rs-dots { letter-spacing: 0.2em; text-transform: uppercase; font-size: 13px; }
.rs-dots span.dot { color: var(--wp--preset--color--gold); padding: 0 12px; }

.rs-card img, .rs-tall img { width: 100%; object-fit: cover; display: block; }
.rs-card img { height: 300px; }
.rs-tall img { height: 560px; }
.rs-detail img { height: 620px; width: 100%; object-fit: cover; }
.rs-story img { height: 420px; width: 100%; object-fit: cover; }
.rs-story .rs-offset { margin-top: 64px !important; }

.rs-path { min-height: 560px; }
.rs-path .wp-block-cover__inner-container { padding: 40px 32px; }

.rs-quote { font-size: 38px; line-height: 1.3; font-style: italic; font-weight: 500; border: 0; padding: 0; margin: 0; }
.rs-quote p { font-family: var(--wp--preset--font-family--serif); }
.rs-quote-mark { font-size: 120px !important; line-height: 0.6 !important; height: 56px; color: var(--wp--preset--color--gold); }

.rs-panel-dark { background: var(--wp--preset--color--deep); color: var(--wp--preset--color--sand); }
.rs-panel-dark a { color: #FFFFFF; }

.rs-footer a { color: #FFFFFF; text-decoration: none; }
.rs-footer .rs-eyebrow { color: var(--wp--preset--color--gold); }

/* Contact form plugin styling (WPForms) */
.rs-form { background: #FFFFFF; padding: 48px; }
.rs-form input, .rs-form select, .rs-form textarea { border: 0 !important; border-bottom: 1px solid #A9B5B7 !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
.rs-form label { font-size: 13px !important; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500 !important; color: var(--wp--preset--color--deep) !important; }
.rs-form button[type=submit] { background: var(--wp--preset--color--gold) !important; color: var(--wp--preset--color--ink) !important; border: 0 !important; border-radius: 2px !important; padding: 18px 40px !important; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500 !important; }

@media (max-width: 781px) {
  .rs-hero h1 { font-size: 46px !important; }
  .rs-tall img, .rs-detail img { height: 380px; }
  .rs-story .rs-offset { margin-top: 0 !important; }
  .rs-quote { font-size: 28px; }
  .rs-form { padding: 28px; }
}

/* v1.1 polish */
.wp-site-blocks > footer, .wp-site-blocks > main { margin-block-start: 0 !important; }
.wp-block-columns.rs-flush { padding-left: 0 !important; padding-right: 0 !important; }
.rs-form .wpforms-container { margin: 0 !important; }
.rs-form .wpforms-field { padding: 12px 0 !important; }
.rs-form .wpforms-field-label { margin-bottom: 6px !important; }
.rs-form input, .rs-form select, .rs-form textarea { max-width: 100% !important; font-family: var(--wp--preset--font-family--sans) !important; font-size: 16px !important; color: var(--wp--preset--color--ink) !important; padding: 10px 0 !important; }
.rs-form .wpforms-field-sublabel { font-size: 12px !important; color: #5F6F73 !important; }

.rs-path-card img { width: 100%; height: 440px; object-fit: cover; display: block; }
@media (max-width: 781px) { .rs-path-card img { height: 300px; } }
.rs-path-card img { object-position: 50% 45%; }

/* v2.0 multi-page */
.rs-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; margin: 0; }
.rs-nav a { color: var(--wp--preset--color--deep); text-decoration: none; padding: 10px 0; }
.rs-nav a:hover { text-decoration: underline; }
.rs-nav .rs-cta a { padding: 13px 22px; text-decoration: none; }
.rs-checklist { list-style: none; padding: 0; margin: 28px 0 0; }
.rs-checklist li { padding: 14px 0 14px 32px; border-top: 1px solid rgba(255,255,255,0.14); position: relative; }
.rs-checklist li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 8px; border-left: 2px solid var(--wp--preset--color--gold); border-bottom: 2px solid var(--wp--preset--color--gold); transform: rotate(-45deg); }
.rs-checklist strong { color: #FFFFFF; font-weight: 500; }
.rs-arealist { list-style: none; padding: 0; margin: 24px 0; font-family: var(--wp--preset--font-family--serif); font-size: 26px; color: var(--wp--preset--color--deep); }
.rs-arealist li { padding: 10px 0; border-bottom: 1px solid #D9D1C2; }
.rs-monogram { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--wp--preset--color--gold); display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--serif); font-size: 26px !important; color: var(--wp--preset--color--deep); margin-bottom: 24px !important; }
.wp-block-button.is-style-outline .has-deep-color { border-color: var(--wp--preset--color--deep); }
@media (max-width: 781px) { .rs-nav { gap: 4px 20px; font-size: 13px; } .rs-arealist { font-size: 22px; } }

.rs-headshot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.rs-headshot, .rs-headshot-blank { margin-bottom: 28px !important; }
.rs-headshot-blank { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; background: var(--wp--preset--color--deep); color: var(--wp--preset--color--gold); font-family: var(--wp--preset--font-family--serif); font-size: 72px !important; letter-spacing: 0.06em; margin-top: 0; }

/* Homepage hero: soft top, deeper bottom so the headline reads over the light lake photo */
.rs-hero-home .wp-block-cover__background { background: linear-gradient(180deg, rgba(20,32,35,0.10) 0%, rgba(20,32,35,0.20) 35%, rgba(20,32,35,0.55) 65%, rgba(20,32,35,0.80) 100%) !important; opacity: 1 !important; }
.rs-hero-home h1, .rs-hero-home p { text-shadow: 0 1px 24px rgba(20,32,35,0.35); }

/* v2.6 proof strip + header phone */
.rs-proof .rs-stat { text-align: center; padding: 8px 12px; border-left: 1px solid #E8E2D6; }
.rs-proof .rs-stat:first-child { border-left: 0; }
.rs-stat-num { font-family: var(--wp--preset--font-family--serif); font-size: 40px !important; line-height: 1.1; color: var(--wp--preset--color--deep); margin: 0 0 6px !important; }
.rs-stat-label { font-size: 12px !important; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--wp--preset--color--mist); margin: 0 !important; }
.rs-nav .rs-phone { color: var(--wp--preset--color--mist); letter-spacing: 0.08em; }
@media (max-width: 781px) { .rs-proof .rs-stat { border-left: 0; } .rs-stat-num { font-size: 32px !important; } }

/* v2.8 award stat */
.rs-proof .rs-stat:first-child .rs-stat-num { color: var(--wp--preset--color--ink); }
.rs-proof .rs-stat:first-child .rs-stat-num::after { content: ""; display: block; width: 36px; height: 2px; background: var(--wp--preset--color--gold); margin: 10px auto 0; }

/* Availability search bar */
.rs-search-wrap{position:relative;z-index:5;margin-top:-52px;padding:0 24px;background:linear-gradient(to bottom,transparent 52px,#fff 52px)}
.rs-search{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1fr .9fr auto;align-items:center;background:#fff;border-radius:18px;padding:10px;box-shadow:0 18px 44px rgba(20,32,35,.14),0 2px 6px rgba(20,32,35,.05)}
.rs-search-field{position:relative;display:flex;flex-direction:column;gap:4px;padding:10px 22px;border-radius:12px;min-width:0;transition:background .2s}
.rs-search-field+.rs-search-field:before{content:"";position:absolute;left:0;top:22%;bottom:22%;width:1px;background:#E8E2D6}
.rs-search-field:hover,.rs-search-field:focus-within{background:#F4F0E8}
.rs-search-field:hover:before,.rs-search-field:focus-within:before,.rs-search-field:hover+.rs-search-field:before,.rs-search-field:focus-within+.rs-search-field:before{opacity:0}
.rs-search-field label{font-family:'Jost',sans-serif;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#537780}
.rs-search-field select,.rs-search-field input{border:0;background:transparent;padding:0;font-family:'Jost',sans-serif;font-size:16px;font-weight:400;letter-spacing:.02em;color:#1E2A2D;width:100%;outline:none;-webkit-appearance:none;appearance:none;cursor:pointer;min-height:28px}
.rs-search-field select{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23537780' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right center;padding-right:18px}
.rs-search-btn{align-self:stretch;border:0;border-radius:12px;background:#2E474D;color:#fff;font-family:'Jost',sans-serif;font-size:13px;letter-spacing:.16em;text-transform:uppercase;padding:0 36px;margin-left:8px;cursor:pointer;transition:background .2s,color .2s}
.rs-search-btn:hover,.rs-search-btn:focus{background:#F2B33D;color:#1E2A2D}
@media (max-width:781px){.rs-search-wrap{margin-top:-32px;padding:0 16px;background:linear-gradient(to bottom,transparent 32px,#fff 32px)}.rs-search{grid-template-columns:1fr 1fr;border-radius:16px;gap:2px}.rs-search-field{padding:12px 14px}.rs-search-field:before{display:none}.rs-search-loc{grid-column:1/-1}.rs-search-btn{grid-column:1/-1;margin:6px 0 0;padding:16px}}
