/* ============================================
   PAGE STYLES — Gutenberg content styling
   Matches the visual design previously provided by Elementor
   ============================================ */

/* ── Page hero / intro area ── */
.st-page__header {
    text-align: center;
    padding: 48px 0 24px;
}
.st-page__title {
    font-family: var(--st-font-heading);
    font-size: 1.8rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--st-deep-teal);
}
.st-page__content .st-section-title {
    margin-top: 0;
}
.st-page__content .st-page__intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

/* ── Gutenberg separator styling ── */
.st-page__content .wp-block-separator {
    border: none;
    border-top: 1px solid var(--st-border);
    max-width: 800px;
    margin: 40px auto;
}

/* ── Gutenberg columns as service/feature cards ── */
.st-page__content .wp-block-columns {
    max-width: var(--st-max-width);
    margin: 32px auto;
    gap: 32px;
}
.st-page__content .wp-block-column {
    background: var(--st-white);
    border-radius: var(--st-radius);
    padding: 32px 24px;
    box-shadow: var(--st-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.st-page__content .wp-block-column:hover {
    transform: translateY(-4px);
    box-shadow: var(--st-shadow-hover);
}
.st-page__content .wp-block-column h3 {
    font-family: var(--st-font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--st-charcoal);
    margin-bottom: 12px;
    margin-top: 0;
}
.st-page__content .wp-block-column p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.6;
}

/* ── Section headings within content ── */
.st-page__content h2 {
    font-family: var(--st-font-heading);
    font-size: 1.5rem;
    color: var(--st-deep-teal);
    text-align: center;
    margin-top: 48px;
    margin-bottom: 20px;
}
.st-page__content h3 {
    font-family: var(--st-font-heading);
    color: var(--st-charcoal);
    margin-top: 28px;
    margin-bottom: 8px;
}

/* ── FAQ page — Q&A styling ── */
.page-id-66984 .st-page__content h3 {
    background: var(--st-sand);
    padding: 16px 24px;
    border-radius: var(--st-radius);
    font-size: 1rem;
    font-weight: 600;
    color: var(--st-deep-teal);
    margin-top: 16px;
    margin-bottom: 0;
    cursor: default;
}
.page-id-66984 .st-page__content h3 + p {
    padding: 16px 24px;
    background: var(--st-light-gray);
    border-radius: 0 0 var(--st-radius) var(--st-radius);
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* ── Services page — card grid override ── */
.page-id-66996 .st-page__content .wp-block-columns {
    gap: 24px;
}
.page-id-66996 .st-page__content .wp-block-column {
    border-top: 3px solid var(--st-coral);
}
.page-id-66996 .st-page__content .wp-block-column h3 {
    color: var(--st-deep-teal);
    font-weight: 700;
}

/* ── Our Story page ── */
.page-id-169 .st-page__content h2 {
    text-align: left;
    margin-top: 40px;
}
.page-id-169 .st-page__content .wp-block-embed {
    max-width: 800px;
    margin: 32px auto;
    border-radius: var(--st-radius);
    overflow: hidden;
    box-shadow: var(--st-shadow);
}
.page-id-169 .st-page__content strong {
    color: var(--st-deep-teal);
}

/* ── Partner With Us page — list styling ── */
.page-id-42450 .st-page__content .wp-block-list {
    list-style: none;
    padding-left: 0;
    margin: 24px 0;
}
.page-id-42450 .st-page__content .wp-block-list li {
    padding: 16px 20px;
    margin-bottom: 8px;
    background: var(--st-light-gray);
    border-radius: var(--st-radius);
    border-left: 3px solid var(--st-coral);
    line-height: 1.6;
}
.page-id-42450 .st-page__content .wp-block-list li strong {
    color: var(--st-deep-teal);
}

/* ── Property Management page ── */
.page-id-41493 .st-page__content h2 {
    text-align: left;
}

/* ── Blog page — Latest Posts block styling ── */
.page-id-67003 .wp-block-latest-posts {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0;
}
.page-id-67003 .wp-block-latest-posts li {
    background: var(--st-white);
    border-radius: var(--st-radius);
    overflow: hidden;
    box-shadow: var(--st-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-id-67003 .wp-block-latest-posts li:hover {
    transform: translateY(-4px);
    box-shadow: var(--st-shadow-hover);
}
.page-id-67003 .wp-block-latest-posts__featured-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.page-id-67003 .wp-block-latest-posts__post-title {
    display: block;
    padding: 16px 16px 4px;
    font-family: var(--st-font-heading);
    font-size: 1.05rem;
    color: var(--st-deep-teal);
    text-decoration: none;
}
.page-id-67003 .wp-block-latest-posts__post-date {
    display: block;
    padding: 0 16px;
    font-size: 0.8rem;
    color: #999;
}
.page-id-67003 .wp-block-latest-posts__post-excerpt {
    padding: 8px 16px 16px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ── Contact Form 7 styling ── */
.st-page__content .wpcf7 {
    max-width: 600px;
    margin: 24px auto;
    background: var(--st-sand);
    padding: 32px;
    border-radius: var(--st-radius);
}
.st-page__content .wpcf7 label {
    display: block;
    font-family: var(--st-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--st-deep-teal);
    margin-bottom: 16px;
}
.st-page__content .wpcf7 input[type="text"],
.st-page__content .wpcf7 input[type="email"],
.st-page__content .wpcf7 input[type="tel"],
.st-page__content .wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    font-family: var(--st-font-body);
    font-size: 0.95rem;
    margin-top: 4px;
    background: var(--st-white);
    transition: border-color 0.3s ease;
}
.st-page__content .wpcf7 input:focus,
.st-page__content .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--st-mid-teal);
}
.st-page__content .wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}
.st-page__content .wpcf7 input[type="submit"] {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--st-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--st-deep-teal);
    color: var(--st-white);
    border: none;
    border-radius: var(--st-radius);
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.3s ease;
}
.st-page__content .wpcf7 input[type="submit"]:hover {
    background: var(--st-mid-teal);
}

/* ── CTA section ── */
.st-page__content .st-page__cta {
    text-align: center;
    padding: 40px 24px;
    background: var(--st-sand);
    border-radius: var(--st-radius);
    margin: 40px 0;
    font-size: 1.1rem;
    color: #555;
}
.st-page__content .st-page__cta a {
    display: inline-block;
    margin-top: 12px;
    padding: 14px 32px;
    background: var(--st-coral);
    color: var(--st-white);
    border-radius: var(--st-radius);
    font-family: var(--st-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}
.st-page__content .st-page__cta a:hover {
    background: #c48a68;
    color: var(--st-white);
}

/* ── Responsive ── */

/* Tablet (768px+) */
@media (min-width: 768px) {
    .st-page__title {
        font-size: 2.2rem;
        letter-spacing: 12px;
    }
    .st-page__content .st-page__intro {
        font-size: 1.15rem;
    }
    .page-id-67003 .wp-block-latest-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .st-page__header {
        padding: 64px 0 32px;
    }
    .st-page__title {
        font-size: 2.5rem;
    }
    .st-page__content h2 {
        font-size: 1.8rem;
    }
    .page-id-67003 .wp-block-latest-posts {
        grid-template-columns: repeat(3, 1fr);
    }
}
