/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Justin Walker
Author URI: https://walkonetech.com
Description: This is a customized version of the WordPress theme Hello Elementor specifically to add additional support and functionality for The Highland Township Public Library new website.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 1.0.0.1708454291
Updated: 2024-02-20 13:38:11

/* Helps align slide snapping and prevent overshooting */
.lh-widget-mini-list__list {
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
}

.lh-widget-mini-list__event {
  scroll-snap-align: start;
}

/* ======================================
   Global Form Button Styling (All Forms)
   ====================================== */
form button,
form button:focus,
form button:active,
form button:visited,
form input[type="submit"],
form input[type="submit"]:focus,
form input[type="submit"]:active,
form input[type="submit"]:visited {
  background-color: #0E1216 !important;
  color: #FFFFFF !important;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover State (All Forms) */
form button:hover,
form input[type="submit"]:hover {
  background-color: #fdce34 !important;
  color: #0E1216 !important;
}

/* ======================================
   Global Accordion Styling (All Pages)
   ====================================== */

/* === ACCORDION SECTION CONTAINER === */
.custom-library-accordion {
  font-family: 'Red Hat Display', sans-serif;
  background: #fff;
  color: #333;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* === SECTION TITLE === */
.custom-library-accordion h2 {
  text-align: center;
  color: #3E5063;
  margin-bottom: 2rem;
}

/* === ACCORDION WRAPPER === */
.custom-library-accordion .accordion {
  border-radius: 12px;
  overflow: hidden;
}

/* === EACH ACCORDION ITEM === */
.custom-library-accordion .accordion-item {
  border-bottom: none;
}

/* === ACCORDION HEADER (CLICK TO TOGGLE) === */
.custom-library-accordion .accordion-header {
  background: #CDD6E0;
  color: #0e1216;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 25px;
  margin-bottom: 10px;
  transition: background 0.3s;
}

.custom-library-accordion .accordion-header:hover {
  background-color: #e4e9f1;
}

.custom-library-accordion .accordion-header i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.custom-library-accordion .accordion-header .toggle-icon {
  font-size: 1.4rem;
  transition: transform 0.3s;
}

.custom-library-accordion .accordion-header.active {
  background: #3E5063;
  color: #fff;
}

.custom-library-accordion .accordion-header.active .toggle-icon {
  transform: rotate(180deg);
}

/* === COLLAPSIBLE PANEL CONTENT === */
.custom-library-accordion .accordion-content {
  background: #f9fbfd;
  padding: 18px 24px;
  display: none;
  border-radius: 8px;
  line-height: 1.6;
  font-size: 16px;
}

.custom-library-accordion .accordion-content ul {
  padding-left: 20px;
  margin: 10px 0;
}

.custom-library-accordion .accordion-content li {
  margin-bottom: 6px;
}