/* /assets/css/page-calendar.css
   =========================================================
   Page CSS: Calendar
   Canonical: /calendar.php
   Purpose: conversion utility page (Calendly embed)
   ========================================================= */

/* Hero: neutral background + shorter height on this page only */
.section1-hero--calendar{
  background:#f6f6f6;
  min-height:clamp(320px, 45vh, 700px);
}

/* Embed spacing */
.calendar-embed{
  padding:40px 0 80px 0;
}

/* Calendly sizing:
   - Prefer viewport-based height to reduce internal scroll
   - Cap so it doesn’t get silly on very tall screens
*/
.calendar-embed .calendly-inline-widget{
  width:100%;
  min-width:320px;
  height:min(1100px, calc(100vh - 220px));
}

/* Mobile tweaks */
@media (max-width: 767px){
  .calendar-embed{
    padding:20px 0 70px 0;
  }
  .calendar-embed .calendly-inline-widget{
    height:calc(100vh - 160px);
  }
}

/* Very small screens: give a little more room */
@media (max-width: 471px){
  .calendar-embed .calendly-inline-widget{
    height:calc(100vh - 140px);
  }
}
