/* ==========================================================================
   Shared/CalendlyEmbed — booking call-to-action band (dark band + link button).
   The embedded WIDGET was removed 2026-08-07; the section renders the tenant's booking URL
   as a link. The class names keep the CalendlyEmbed prefix because the section KEY is
   `Shared.CalendlyEmbed` in the database and in SectionAnchorHelper — renaming the CSS
   without migrating that key would break the section, so the prefix stays.
   Promoted from CalendlyEmbed.css — cross-template utility
   ========================================================================== */

/* Edge-to-edge band */
.full-width-breakout-calendlyembed {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: var(--primary-color);
    padding: 0;
    font-family: var(--font-heading);
    z-index: 50;
}

/* Inner block */
.calendly-full-section {
    padding: 6rem 2rem 5rem;
    font-family: var(--font-heading);
    margin-top: 0;
}

/* Color + typography scoped to section */
.full-width-breakout-calendlyembed {
    color: var(--accent-color);
}

    .full-width-breakout-calendlyembed .calendly-title,
    .full-width-breakout-calendlyembed .calendly-subtitle,
    .full-width-breakout-calendlyembed .calendly-paragraph,
    .full-width-breakout-calendlyembed p,
    .full-width-breakout-calendlyembed h1,
    .full-width-breakout-calendlyembed h2,
    .full-width-breakout-calendlyembed h3,
    .full-width-breakout-calendlyembed h4,
    .full-width-breakout-calendlyembed h5,
    .full-width-breakout-calendlyembed h6,
    .full-width-breakout-calendlyembed span {
        color: var(--accent-color);
    }

    .full-width-breakout-calendlyembed .calendly-title {
        font-size: 3rem;
        line-height: 1.2;
        font-weight: 700;
        margin: 2.5rem 0 1.25rem;
        text-align: center;
    }

    .full-width-breakout-calendlyembed .calendly-subtitle {
        font-size: 1.35rem;
        line-height: 1.5;
        font-weight: 600;
        margin: 0 0 1rem 0;
        text-align: center;
    }

    .full-width-breakout-calendlyembed .calendly-paragraph {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
        text-align: left;
        width: 100%;
        max-width: 600px;
    }

    .full-width-breakout-calendlyembed a {
        color: var(--accent-color);
        text-decoration: underline;
    }

        .full-width-breakout-calendlyembed a:hover {
            opacity: 0.9;
            text-decoration: none;
        }

/* Layout */
.calendly-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2.25rem;
}

.calendly-content {
    width: 100%;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.calendly-widget-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The booking call-to-action. There is no iframe and no third-party script on this surface
   any more (owner ruling 2026-08-07, "remove the calendly embed from all pages") — the section
   renders the tenant's booking URL as a real link, so it works for every visitor including
   no-JS and blocked-script ones, and the ~700px void the embed produced under third-party
   storage partitioning cannot recur. Styled as a button so it reads as the call to action the
   section promises, not as stray body text. */
.calendly-fallback-link {
    display: inline-block;
    padding: 0.9rem 2rem;
    margin: 1rem 0 2rem;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

    .calendly-fallback-link:hover,
    .calendly-fallback-link:focus-visible {
        text-decoration: none;
        opacity: 0.85;
    }

/* `.calendly-inline-widget` REMOVED 2026-08-07 — it styled a white card around the IFRAME, and
   that class was injected by Calendly's own JS, which no longer runs on any page. A selector
   whose only author was a script we have removed can never match again. */

@media (max-width: 768px) {
    .full-width-breakout-calendlyembed .calendly-title {
        font-size: 2.25rem;
        margin-top: 1.75rem;
    }

    .full-width-breakout-calendlyembed .calendly-subtitle {
        font-size: 1.15rem;
    }

    .calendly-full-section {
        padding: 4rem 1.25rem 3rem;
    }

    .calendly-inner {
        gap: 1.75rem;
    }
}
