/*
Theme Name: ApuliaTrip
Theme URI: 
Author: Leonardo Capoccia
Author URI: 
Description: 
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: apuliatrip
Tags: 
*/

/* Mobile menu: match the Angular app (white panel, thin dividers, brand hover) */
.wp-block-navigation__responsive-container.is-menu-open {
  background-color: #fff !important;
  color: #0a0b0d !important;
  animation: apt-menu-in 0.3s ease;
}

.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 1rem;
}

.is-menu-open .wp-block-navigation__container {
  width: 100%;
  gap: 0;
}

.is-menu-open .wp-block-navigation-item {
  width: 100%;
  border-bottom: 1px solid #f3f4f6;
}
.is-menu-open .wp-block-navigation-item:last-child {
  border-bottom: none;
}

.is-menu-open .wp-block-navigation-item__content {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #0a0b0d;
  transition: color 0.2s;
}

.is-menu-open .wp-block-navigation-item__content:hover {
  color: #0052ff;
}

@keyframes apt-menu-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.wp-block-navigation__responsive-container.is-menu-open {
  bottom: auto;
  height: auto;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.is-menu-open .wp-block-navigation__responsive-close,
.is-menu-open .wp-block-navigation__responsive-dialog {
  height: auto;
  min-height: 0;
}

.pill-btn a {
  background-color: #eef0f3;
  transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.pill-btn a:hover {
  background-color: #578bfa;
  color: #fff !important;
}

@media screen and (max-width: 600px) {
  .pill-btn a {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}
