/**
 * Herb Whisperer — Calendly Embed Styles
 *
 * Place in: wp-content/themes/herb-whisperer/assets/css/calendly-embed.css
 *
 * This file is enqueued only on the herbal-consultations page
 * (see the enqueue hook in the integration guide).
 */

/* ==========================================================================
   Calendly Wrapper
   ========================================================================== */

.hw-calendly-section {
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 2px solid #f0ece5;
}

.hw-calendly-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #333;
    text-align: center;
    margin-bottom: 0.5rem;
}

.hw-calendly-intro {
    font-family: 'Source Sans 3', sans-serif;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Calendly inline widget container */
.hw-calendly-embed {
    min-width: 320px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

/* The Calendly inline widget sets its own height via data-url;
   we set a min-height as a fallback while it loads. */
.calendly-inline-widget {
    min-height: 680px;
}

/* Consultation types list (above the embed) */
.hw-consult-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0;
    list-style: none;
}

.hw-consult-types li {
    background: #f7f5f0;
    border-left: 3px solid #00913A;
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    color: #444;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 600px) {
    .hw-calendly-section {
        margin: 1.5rem 0;
        padding: 1.5rem 0;
    }

    .hw-calendly-section h2 {
        font-size: 1.3rem;
    }

    .calendly-inline-widget {
        min-height: 800px; /* Calendly needs more height on mobile */
    }
}
