/* ═══════════════════════════════════════════════════════════════════
   Sea Watch 710 — Gutenberg Styles
   Scoped to .sw710 classes so nothing in your theme is overridden.
═══════════════════════════════════════════════════════════════════════ */

:root {
    --sw-teal:    #0a3b4a;
    --sw-coral:   #d6613f;
    --sw-sand:    #fbf8f2;
    --sw-muted:   #f0ede6;
    --sw-text:    #1a2e35;
    --sw-text-md: #3d5560;
    --sw-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sw-body:    'Work Sans', system-ui, -apple-system, sans-serif;
}

/* Apply typography inside any block that has our classes */
.sw710-root,
.sw710-root p,
.sw710-root li,
.sw710-root dd,
.sw710-root .wp-block-button__link {
    font-family: var(--sw-body);
    color: var(--sw-text);
}

.sw710-root h1,
.sw710-root h2,
.sw710-root h3,
.sw710-root .wp-block-heading,
.sw710-display {
    font-family: var(--sw-display) !important;
    letter-spacing: -0.01em;
}

/* Eyebrow label */
.sw710-eyebrow {
    font-family: var(--sw-body) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--sw-coral) !important;
    margin: 0 0 0.625rem !important;
}

/* Section wrapper */
.sw710-section {
    padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 2rem) !important;
}

.sw710-container {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.sw710-bg-sand   { background-color: var(--sw-sand) !important; }
.sw710-bg-teal   { background-color: var(--sw-teal) !important; color: #fff !important; }
.sw710-bg-muted  { background-color: var(--sw-muted) !important; }

/* Stats row (hero) */
.sw710-stats {
    display: flex; flex-wrap: wrap; gap: 2rem;
    list-style: none; padding: 0; margin: 2rem 0 0;
}
.sw710-stats li {
    display: flex; flex-direction: column;
    color: #fff;
}
.sw710-stat-num {
    font-family: var(--sw-display);
    font-size: 2.25rem; font-weight: 700; line-height: 1;
}
.sw710-stat-label {
    font-size: 0.68rem; text-transform: uppercase;
    letter-spacing: 0.12em; margin-top: 0.3rem; opacity: 0.75;
}

/* Spec grid (condo intro) */
.sw710-specs {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin-top: 1.75rem; padding-top: 1.25rem;
    border-top: 1px solid #e5e0d8;
}
.sw710-specs dt {
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--sw-text-md); margin: 0;
    font-family: var(--sw-body);
}
.sw710-specs dd {
    font-size: 0.98rem; font-weight: 500;
    color: var(--sw-text); margin: 0.15rem 0 0;
    font-family: var(--sw-body);
}

/* Feature strip */
.sw710-feature-strip {
    padding: 2.5rem clamp(1.25rem, 5vw, 2rem) !important;
}
.sw710-feature-strip strong {
    display: block; font-size: 1rem;
    font-family: var(--sw-body); font-weight: 700; margin-bottom: 0.2rem;
}
.sw710-feature-strip span {
    font-size: 0.85rem; opacity: 0.78;
    font-family: var(--sw-body);
}
.sw710-feature-icon {
    width: 32px; height: 32px; display: block;
    margin: 0 auto 0.6rem; opacity: 0.9;
}

/* Gallery grid */
.sw710-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 0.75rem;
    margin-top: 2rem;
}
.sw710-gallery figure {
    margin: 0; border-radius: 6px; overflow: hidden; line-height: 0;
    position: relative;
}
.sw710-gallery figure img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.45s ease;
}
.sw710-gallery figure:hover img { transform: scale(1.04); }
.sw710-gallery figcaption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(10,59,74,0.9));
    color: #fff; padding: 2rem 1rem 0.75rem;
    font-size: 0.78rem; font-family: var(--sw-body);
    letter-spacing: 0.04em;
}
.sw710-gallery .sw710-tall { grid-row: span 2; }
.sw710-gallery .sw710-wide { grid-column: span 2; }
@media (max-width: 720px) {
    .sw710-gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .sw710-gallery .sw710-tall, .sw710-gallery .sw710-wide { grid-row: span 1; grid-column: span 1; }
}

/* Amenities */
.sw710-amenity-col h3 {
    font-size: 0.82rem !important; font-weight: 700 !important;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--sw-teal); font-family: var(--sw-body) !important;
    border-bottom: 2px solid var(--sw-coral);
    padding-bottom: 0.5rem; margin: 0 0 0.9rem !important;
}
.sw710-amenity-col ul {
    list-style: none; padding: 0; margin: 0;
}
.sw710-amenity-col li {
    padding: 0.5rem 0; border-bottom: 1px solid #e5e0d8;
    font-size: 0.95rem; color: var(--sw-text);
    font-family: var(--sw-body);
}
.sw710-amenity-col li::before {
    content: '✓ '; color: var(--sw-coral);
    font-weight: 700; margin-right: 0.3rem;
}

/* Location list */
.sw710-location-list {
    list-style: none; padding: 0; margin: 1.5rem 0 0;
}
.sw710-location-list li {
    padding: 1rem 0; border-bottom: 1px solid #e5e0d8;
}
.sw710-location-list strong {
    display: block; font-size: 0.95rem; font-weight: 600;
    color: var(--sw-teal); margin-bottom: 0.2rem;
    font-family: var(--sw-body);
}
.sw710-location-list span {
    font-size: 0.92rem; color: var(--sw-text-md);
    font-family: var(--sw-body);
}

/* Detail cards */
.sw710-detail-card {
    background: #fff; border-radius: 8px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 1px 8px rgba(10, 59, 74, 0.07);
    height: 100%;
}
.sw710-detail-card h3 {
    font-size: 0.82rem !important; font-weight: 700 !important;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--sw-teal); font-family: var(--sw-body) !important;
    margin: 0 0 0.75rem !important;
    border-bottom: 2px solid var(--sw-coral); padding-bottom: 0.45rem;
}
.sw710-detail-card ul {
    list-style: none; padding: 0; margin: 0;
}
.sw710-detail-card li {
    padding: 0.45rem 0; font-size: 0.9rem;
    border-bottom: 1px solid #f0ede6; font-family: var(--sw-body);
}
.sw710-detail-card li:last-child { border-bottom: 0; }

/* FAQ */
.sw710-faq { max-width: 820px; margin: 0 auto; }
.sw710-faq details {
    border-bottom: 1px solid #e0dbd4;
    padding: 0.25rem 0;
}
.sw710-faq summary {
    font-family: var(--sw-body);
    font-size: 1rem; font-weight: 600;
    padding: 1.1rem 0; cursor: pointer;
    list-style: none; color: var(--sw-teal);
    display: flex; justify-content: space-between; align-items: center;
}
.sw710-faq summary::-webkit-details-marker { display: none; }
.sw710-faq summary::after {
    content: '+'; font-size: 1.4rem; font-weight: 300;
    color: var(--sw-coral); line-height: 1;
    transition: transform 0.2s;
}
.sw710-faq details[open] summary::after { content: '–'; }
.sw710-faq details p {
    padding: 0 0 1.1rem; color: var(--sw-text-md);
    line-height: 1.65; margin: 0;
    font-family: var(--sw-body);
}

/* CTA band */
.sw710-cta-band {
    text-align: center;
    padding: clamp(3.5rem, 8vw, 6rem) 2rem !important;
}
.sw710-cta-band h2 {
    color: #fff !important;
    font-size: clamp(1.75rem, 4vw, 3rem) !important;
    margin-bottom: 1rem !important;
}
.sw710-cta-band p {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 1.05rem !important;
    margin-bottom: 1.75rem !important;
}

/* Buttons */
.sw710-btn-coral .wp-block-button__link {
    background: var(--sw-coral) !important;
    color: #fff !important;
    font-family: var(--sw-body) !important;
    font-weight: 600 !important;
    padding: 0.95rem 1.9rem !important;
    border-radius: 4px !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.01em;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.sw710-btn-coral .wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(214,97,63,0.35);
}
.sw710-btn-ghost .wp-block-button__link {
    background: transparent !important;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.55) !important;
    font-family: var(--sw-body) !important;
    font-weight: 500 !important;
    padding: 0.85rem 1.75rem !important;
    border-radius: 4px !important;
    font-size: 0.95rem !important;
}

/* Hero overrides */
.sw710-hero {
    min-height: 85vh !important;
}
.sw710-hero h1 {
    color: #fff !important;
    font-size: clamp(2.25rem, 6vw, 4.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    margin: 0 0 1.25rem !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.sw710-hero h1 em {
    font-style: italic;
    color: #f6cdb9;
}
.sw710-hero p.sw710-sub {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.1rem !important;
    max-width: 560px;
    line-height: 1.55 !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.sw710-hero .sw710-eyebrow {
    display: inline-block !important;
    background: rgba(10,59,74,0.55);
    backdrop-filter: blur(6px);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    color: #f6cdb9 !important;
}

/* Section titles */
.sw710-section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--sw-teal) !important;
    margin: 0 0 1.25rem !important;
}
.sw710-section-title em {
    font-style: italic;
    color: var(--sw-coral);
}

/* Mobile tidy-ups */
@media (max-width: 768px) {
    .sw710-stats { gap: 1.5rem; }
    .sw710-specs { grid-template-columns: 1fr; }
}

/* ─── Testimonials / guest reviews ─────────────────────────────────── */
.sw710-reviews-sub {
    color: var(--sw-text-md) !important;
    font-size: 1.05rem !important;
    max-width: 560px;
    margin: 0.5rem auto 2.5rem !important;
    line-height: 1.55 !important;
}
.sw710-review-grid {
    gap: 1.5rem !important;
    margin-top: 0.5rem !important;
}
.sw710-review {
    background: #fff;
    border: 1px solid rgba(10, 59, 74, 0.08);
    border-radius: 6px;
    padding: 1.75rem 1.75rem 1.5rem;
    margin: 0;
    height: 100%;
    box-shadow: 0 1px 2px rgba(10, 59, 74, 0.04);
    display: flex;
    flex-direction: column;
}
.sw710-review-stars {
    color: var(--sw-coral);
    font-size: 1.05rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.9rem;
}
.sw710-review-quote {
    font-family: var(--sw-display);
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--sw-text);
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
    font-style: italic;
    font-weight: 400;
    quotes: none;
}
.sw710-review-quote::before,
.sw710-review-quote::after { content: none; }
.sw710-review-by {
    font-family: var(--sw-body);
    font-size: 0.85rem;
    color: var(--sw-text-md);
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
}
.sw710-review-by strong {
    font-size: 0.95rem;
    color: var(--sw-teal);
    font-weight: 600;
    letter-spacing: 0.01em;
}
.sw710-review-by span {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    color: var(--sw-text-md);
    opacity: 0.85;
}
.sw710-reviews-more {
    margin-top: 2.5rem !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}
.sw710-reviews-more a {
    color: var(--sw-teal) !important;
    border-bottom: 1px solid var(--sw-coral);
    padding-bottom: 2px;
    text-decoration: none !important;
    font-weight: 600;
}
.sw710-reviews-more a:hover { color: var(--sw-coral) !important; }

@media (max-width: 720px) {
    .sw710-review { padding: 1.4rem 1.25rem 1.2rem; }
    .sw710-review-quote { font-size: 1.05rem; }
}
