/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.expand-card {
  overflow: hidden;
  background: #f3f3f3;
  color: #fff;
  border-radius: 16px;
  transition: max-height 0.6s ease, box-shadow 0.3s ease;
  max-height: 250px; /* collapsed height */
  cursor: pointer;
}

.expand-card:hover {
  max-height: 600px; /* enough to show all content */
  box-shadow: 0 8px 24px rgba(0,0,0,0);
}

.expand-inner {
  padding: 2em;
}

.expand-card h3 {
  margin-bottom: 0.5em;
}

.expand-card p {
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
}

.expand-card:hover p {
  opacity: 1;
}

/* Mobile fallback: use click instead of hover */
@media (hover: none) and (pointer: coarse) {
  .expand-card {
    max-height: none; /* fully expanded on mobile */
  }
}
