/*
Theme Name: Evita Freelancer
Theme URI: https://www.nayrathemes.com/evita-pro/
Author: Nayra Themes
Author URI: https://www.nayrathemes.com/
Description: Evita is a fast and lightweight, multi-purpose WordPress theme. Enjoy Ken Burns effect, background elements, & smooth animations. Build amazing website with Evita.
Version: 1.1
Tested up to: 6.7
Requires PHP: 5.6
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: evita-pro
Slug: evita-freelancer
Tags: one-column, two-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments, translation-ready, blog, grid-layout, portfolio, photography

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/
/* ==== Calendly : forcer affichage complet (placer tout en bas du style.css) ==== */

/* Réinitialise les wrappers Gutenberg / blocs qui pourraient limiter la hauteur */
.entry-content .wp-block-html,
.entry-content .wp-block-embed,
.wp-block-html,
.wp-block-embed,
.wp-block-embed__wrapper,
.wp-block-group,
.wp-block-column,
.wp-block-columns,
.reservation {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Cible le conteneur Calendly */
.entry-content .calendly-inline-widget,
.wp-block-html .calendly-inline-widget,
.wp-block-embed .calendly-inline-widget,
.calendly-inline-widget {
  width: 100% !important;
  min-width: 320px !important;
  height: 900px !important;     /* Ajuste la valeur selon besoin (ex : 900px) */
  min-height: 900px !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  border: none !important;
  box-sizing: border-box !important;
}

/* Cible directement l'iframe injecté par Calendly (très important) */
.entry-content iframe[src*="calendly.com"],
.wp-block-html iframe[src*="calendly.com"],
.wp-block-embed iframe[src*="calendly.com"],
.calendly-inline-widget iframe {
  width: 100% !important;
  height: 900px !important;     /* même hauteur que le conteneur */
  min-height: 900px !important;
  max-height: none !important;
  overflow: visible !important;
  border: none !important;
  display: block !important;
}

/* Option : si tu veux que le widget occupe toute la fenêtre (desktop),
   remplace 900px par 100vh dans les deux règles ci-dessus. */
