/* =========================================================================
   Booking call-to-action (24/11/2026) -- the theme's own `.gh-cta` blocks, which the theme hides unless a landing header
   sits right before them. Markup: templates/partials/components/cta.html. Uses only the theme variables, so it follows
   the light/dark switch. One block per page: end of a post, end of the contact page, once on the home page.
   ========================================================================= */

.gh-cta.el-cta {
    display: block;
    margin-top: max(5vw, 48px);
    margin-bottom: max(4vw, 32px);
}

.el-cta .gh-cta-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    max-width: 720px;
    margin-inline: auto;
    padding: 28px 32px;
    text-align: left;
    background-color: var(--color-lighter-gray);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--ghost-accent-color);
    border-radius: 12px;
}

.el-cta .gh-cta-content {
    flex: 1 1 auto;
    min-width: 0;
}

.el-cta .gh-cta-title {
    font-size: clamp(1.8rem, 1.2rem + 1vw, 2.4rem);
    line-height: 1.15;
}

.el-cta .gh-cta-description {
    margin-top: 8px;
    font-size: 1.6rem;
    line-height: 1.45;
}

.el-cta .el-cta-button {
    flex: 0 0 auto;
    text-align: center;
    line-height: 1.15;
    text-decoration: none;
}

.el-cta .el-cta-button:focus-visible {
    outline: 3px solid var(--color-primary-text);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .el-cta .gh-cta-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 22px 20px;
    }
    .el-cta .el-cta-button {
        width: 100%;
        padding-block: 1em;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .el-cta .el-cta-button {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .el-cta .el-cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(255, 212, 0, 0.45);
    }
}
