/*
Theme Name: Primi Piani APS 5
Theme URI: 
Author: STUDIO Ai CHAN
Author URI: 
Description: A child theme of Twenty Twenty-Five, custom-designed for Primi Piani APS. Requires the Twenty Twenty-Five parent theme to be installed and active.
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: primi-piani-aps-5
Tags: 
*/


a {
	text-decoration-color: var(--wp--preset--color--accent-1);
	text-decoration-thickness: 2px !important;
}
.long-word, a, td {
	overflow-wrap: anywhere;
}
.padding5 {
	padding-left: 5vw;
	padding-right: 5vw;
}

/****** Video Slider ******/
.video-slider .horizontal-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.video-slider .horizontal-scroll::-webkit-scrollbar {
  display: none;
}
/* First & last spacing */
.video-slider .horizontal-scroll::before,
.video-slider .horizontal-scroll::after {
  content: "";
  flex: 0 0 calc((100vw - min(800px, 77vw)) / 2);
}
/* Video width */
.video-slider .horizontal-scroll > * {
  flex: 0 0 min(800px, 77vw) !important;
  scroll-snap-align: center;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.6em;
    font-size: var(--wp--preset--font-size--small);
    white-space: nowrap;
}
.language-switcher a {
    text-decoration: none;
}
.language-switcher a:hover {
    text-decoration: underline;
}
.language-current {
    font-weight: 600;
}
.language-unavailable {
    opacity: 0.4;
    cursor: default;
}
.language-separator {
    color: currentColor;
    opacity: 0.4;
}

/****** PLUGIN ******/
/* WPConsent */
.wpconsent-cookie-policy-table {
	margin-top: 1rem !important;
}