/* ==========================================================================
   TOUT EN PAPIER - STYLES OFFICIELS OPTIMISÉS
   Théâtre, musique, arts plastiques et ludothèque aux Andelys (27)
   Styles 100% consolidés dans styles.css
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Aclonica&display=swap');

/* --- Reset & Global Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #424753;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

/* Selection */
::selection {
  background: #cc0000;
  color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Aclonica', cursive, -apple-system, sans-serif;
  font-weight: 400;
  margin-top: 0;
  line-height: 1.3;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.9rem;
  color: #cc0000;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: #cc0000;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover, a:focus {
  color: #990000;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

/* Helper floats & alignments */
.pull-left {
  float: left;
  margin: 0 1.25rem 1rem 0;
}

.pull-right {
  float: right;
  margin: 0 0 1rem 1.25rem;
}

.pull-center {
  display: block;
  margin: 0.75rem auto;
  text-align: center;
}

.text-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

/* --- FontAwesome 4.7 Minimal Embedded Support --- */
.fa {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.fa-bars::before {
  content: "☰";
  font-size: 1.4rem;
  line-height: 1;
}

.fa-chevron-left::before {
  content: "‹";
  font-size: 2rem;
  line-height: 0.8;
}

.fa-chevron-right::before {
  content: "›";
  font-size: 2rem;
  line-height: 0.8;
}

.fa-chevron-up::before {
  content: "▲";
  font-size: 0.85rem;
}

.fa-fw {
  width: 1.28571429em;
  text-align: center;
}

/* --- Page Surround --- */
#g-page-surround {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* --- Grid System --- */
.g-container {
  width: 100%;
  max-width: 75rem; /* 1200px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.g-grid {
  display: flex;
  flex-flow: row wrap;
  margin-left: -0.938rem;
  margin-right: -0.938rem;
}

.g-block {
  flex: 1 1 0%;
  padding-left: 0.938rem;
  padding-right: 0.938rem;
  min-width: 0;
}

.size-100 { flex: 0 0 100%; max-width: 100%; }
.size-65  { flex: 0 0 65%; max-width: 65%; }
.size-53  { flex: 0 0 53%; max-width: 53%; }
.size-50  { flex: 0 0 50%; max-width: 50%; }
.size-47  { flex: 0 0 47%; max-width: 47%; }
.size-35  { flex: 0 0 35%; max-width: 35%; }
.size-34  { flex: 0 0 34%; max-width: 34%; }
.size-33  { flex: 0 0 33.3333%; max-width: 33.3333%; }
.size-17  { flex: 0 0 17%; max-width: 17%; }

/* --- Navigation & Header Bar --- */
#g-navigation {
  position: relative;
  z-index: 100;
  width: 100%;
  transition: background-color 0.3s ease;
}

/* Homepage desktop overlay */
body.home #g-navigation {
  background: transparent;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Inner pages have the rich red navbar */
body:not(.home) #g-navigation {
  background: #cc0c0c;
  color: #ffffff;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

#g-navigation .g-grid {
  align-items: center;
}

/* Logo */
.g-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.g-logo svg {
  display: block;
  max-height: 48px;
  width: auto;
  fill: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.25s ease;
}

.g-logo:hover svg {
  transform: scale(1.02);
}

/* Main Nav (Desktop) */
.g-main-nav {
  display: block;
}

.g-toplevel {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.g-menu-item {
  margin: 0 0.35rem;
}

.g-menu-item a.g-menu-item-container {
  display: inline-block;
  color: #ffffff;
  font-family: 'Aclonica', cursive, sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  transition: all 0.25s ease;
  position: relative;
}

.g-menu-item a.g-menu-item-container:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.g-menu-item.active a.g-menu-item-container {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 0 #ffffff;
}

/* Mobile Menu Toggle (hidden on desktop) */
.g-mobilemenu-toggle {
  display: none;
  color: #ffffff;
  font-size: 1.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.g-mobilemenu-toggle:hover {
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  text-decoration: none;
}

/* --- Hero Section & Carousel (Homepage) --- */
#g-header {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: #222222;
  overflow: hidden;
}

body.home #g-header {
  margin-top: -6.5rem; /* Underlay desktop navbar */
}

.g-owlcarousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.owl-stage-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.owl-stage {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.g-owlcarousel-item {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
}

.g-owlcarousel-item-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background-color: #1a1a1a;
}

.g-owlcarousel-item-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.g-owlcarousel-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark gradient overlay for perfect readability */
.g-owlcarousel-item-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}

.g-owlcarousel-item-content-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  padding: 6.5rem 2rem 3rem 2rem;
  text-align: center;
}

.g-owlcarousel-item-content {
  max-width: 850px;
  margin: 0 auto;
}

.g-owlcarousel-item-title {
  color: #ffffff;
  font-family: 'Aclonica', cursive, sans-serif;
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.g-owlcarousel-item-desc {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
  white-space: pre-line;
}

.button {
  display: inline-block;
  font-family: 'Aclonica', cursive, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.button-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.button-outline:hover, .button-outline:focus {
  background: #ffffff;
  color: #cc0000;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Owl Navigation Buttons */
.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1.5rem;
  pointer-events: none;
  z-index: 10;
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(2px);
}

.owl-nav button.owl-prev:hover,
.owl-nav button.owl-next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
  transform: scale(1.1);
}

/* Owl Dots Indicators */
.owl-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.owl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.owl-dot.active {
  background: #ffffff;
  transform: scale(1.2);
}

/* --- Features Section (Content Cards) --- */
#g-features {
  background: #ffffff;
  color: #424753;
  padding: 3rem 0;
  flex: 1 0 auto;
}

.g-content-array {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  height: calc(100% - 2rem);
  display: flex;
  flex-direction: column;
}

.g-content-array .g-content {
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.g-content-array .g-array-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.g-content-array .g-array-item-text {
  flex: 1 1 auto;
}

.g-content-array h3.g-item-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

/* The 4 Specific Card Colors */
.fondrouge {
  background-color: #cc0000;
  color: #ffffff;
}

.fondrouge h3.g-item-title a {
  color: #ffffff;
}

.fondrouge h3.g-item-title a:hover {
  color: #ffe6e6;
}

.fondrouge a {
  color: #ffffff;
  text-decoration: underline;
}

.fondvert {
  background-color: #00ff33;
  color: #111111;
}

.fondvert h3.g-item-title a {
  color: #111111;
}

.fondvert h3.g-item-title a:hover {
  color: #333333;
}

.fondvert a {
  color: #111111;
  text-decoration: underline;
}

.fondbleu {
  background-color: #0099ff;
  color: #ffffff;
}

.fondbleu h3.g-item-title a {
  color: #ffffff;
}

.fondbleu h3.g-item-title a:hover {
  color: #e6f5ff;
}

.fondbleu a {
  color: #ffffff;
  text-decoration: underline;
}

.fondjaune {
  background-color: #ffff00;
  color: #111111;
}

.fondjaune h3.g-item-title a {
  color: #111111;
}

.fondjaune h3.g-item-title a:hover {
  color: #333333;
}

.fondjaune a {
  color: #111111;
  font-weight: 500;
  text-decoration: underline;
}

/* --- Inner Pages Article Layout --- */
.item-page {
  width: 100%;
}

.page-header {
  border-bottom: 2px solid #eaeaea;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
}

.page-header h2 {
  margin: 0;
  color: #cc0000;
  font-size: 2.2rem;
}

div[itemprop="articleBody"] {
  font-size: 1.05rem;
  line-height: 1.7;
}

div[itemprop="articleBody"] p {
  margin-bottom: 1.25rem;
}

/* Responsive Table Galleries */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

table td {
  padding: 0.5rem;
  vertical-align: top;
  text-align: center;
}

table td img {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease;
}

table td img:hover {
  transform: scale(1.02);
}

/* Responsive YouTube Embeds */
.video-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 2rem auto;
  text-align: center;
}

.video-container iframe,
iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"] {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 1.5rem auto;
}

/* YouTube Player Facade (Performance & Résilience file://) */
.yt-facade {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  margin: 1.5rem auto;
  border-radius: 8px;
  overflow: hidden;
  background-color: #000000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.yt-facade:hover img {
  filter: brightness(1.02);
  transform: scale(1.015);
}

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: #ff0000;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, background-color 0.25s ease;
  z-index: 2;
}

.yt-facade:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background-color: #cc0000;
}

.yt-facade-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.yt-facade-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.yt-facade-badge {
  background: rgba(204, 0, 0, 0.95);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  white-space: nowrap;
  margin-left: 10px;
  font-family: 'Aclonica', cursive, sans-serif;
  letter-spacing: 0.5px;
}

/* --- Footer --- */
#g-footer {
  background-color: #312f38;
  color: #ffffff;
  padding: 2.75rem 0 2rem 0;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

#g-footer .g-grid {
  align-items: center;
}

.footer-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.footer-bottom-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#g-footer .g-logo svg,
#g-footer .g-logo img {
  max-height: 44px;
}

.g-copyright {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #cccccc;
  text-align: right;
}

.g-copyright a {
  color: #ffffff;
  text-decoration: none;
}

.g-copyright a:hover {
  text-decoration: underline;
}

.g-totop {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.g-totop a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-family: 'Aclonica', cursive, sans-serif;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.55rem 1.4rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  margin: 0 auto;
}

.g-totop a:hover {
  background: #cc0000;
  border-color: #cc0000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.4);
  text-decoration: none;
}

/* --- Mobile Offcanvas Menu & Drawer --- */
#g-offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  height: 100%;
  background: #312f38;
  color: #ffffff;
  z-index: 10000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  overflow-y: auto;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.4);
  padding: 1.5rem 1rem;
}

.g-offcanvas-open #g-offcanvas {
  transform: translateX(0);
}

.offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.g-offcanvas-open .offcanvas-backdrop {
  opacity: 1;
  visibility: visible;
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1.5rem;
}

.offcanvas-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.offcanvas-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offcanvas-nav li {
  margin-bottom: 0.5rem;
}

.offcanvas-nav a {
  display: block;
  color: #ffffff;
  font-family: 'Aclonica', cursive, sans-serif;
  font-size: 1.05rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.offcanvas-nav a:hover,
.offcanvas-nav li.active a {
  background: #cc0000;
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile & Tablet Optimization)
   Strict protection against any horizontal overflow
   ========================================================================== */

@media (max-width: 991px) {
  .size-65, .size-35, .size-47, .size-53 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .g-owlcarousel-item-title {
    font-size: 2.5rem;
  }

  .g-owlcarousel-item-desc {
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  /* Navbar collapses to mobile */
  body.home #g-navigation {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: #cc0c0c;
  }

  body.home #g-header {
    margin-top: 0; /* No underlay on mobile */
  }

  .g-main-nav {
    display: none; /* Hide desktop nav */
  }

  .g-mobilemenu-toggle {
    display: inline-block; /* Show mobile hamburger */
  }

  .size-35 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .size-65 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .g-logo svg {
    max-height: 38px;
  }

  /* Slider on mobile */
  .g-owlcarousel-item-wrapper {
    height: 380px;
  }

  .g-owlcarousel-item-content-container {
    padding: 2rem 1rem;
  }

  .g-owlcarousel-item-title {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
  }

  .g-owlcarousel-item-desc {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .owl-nav {
    display: none; /* Rely on swipe and dots on mobile */
  }

  /* Grid blocks on mobile take 100% width */
  .g-block {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Ensure tables NEVER exceed mobile width */
  table, tbody, tr, td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  table td {
    padding: 0.5rem 0 !important;
  }

  table td img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 380px !important;
    height: auto !important;
  }

  /* Floats cleared on mobile */
  .pull-left, .pull-right {
    float: none !important;
    display: block !important;
    margin: 1rem auto !important;
    max-width: 100% !important;
  }

  /* Footer on mobile */
  #g-footer {
    padding: 2rem 0;
    text-align: center;
  }

  .footer-main-row {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .footer-main-row .g-block {
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .g-copyright {
    text-align: center;
  }

  .g-totop {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .g-owlcarousel-item-wrapper {
    height: 340px;
  }

  .g-owlcarousel-item-title {
    font-size: 1.55rem;
  }

  .g-owlcarousel-item-desc {
    font-size: 0.9rem;
  }

  .button {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
  }

  .page-header h2 {
    font-size: 1.7rem;
  }
}
