/*!
Theme Name: oroagency
Theme URI: https://them.es/starter
Author: gogodigital
Author URI: https://gogodigital.it/
Description: oro agency theme
Version: 3.6.1
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: oro-agency
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

#main {
margin-top: 0!important;
}
.alignnone {
	margin: 5px 20px 20px 0;
}
#wrapper {
overflow: hidden;
}
.full-width {
	width: 100vw;
 position: relative;
 margin-left: -50vw;
 height: 100px;
 left: 50%;
	display:table;
}
.h-70 {
	max-height: 70vh;
}
.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

:root{
      /* Palette chiara (facile da tarare) */
      --bg:#ffffff;          /* base bianca */
      --bg-soft:#f7f7f7;     /* sezioni alternate */
      --text:#171717;        /* titolo */
      --muted:#6b7280;       /* testo secondario */
      --gold:#b59b64;        /* accento principale (oro) */
      --gold-2:#d8c89e;      /* oro tenue */
      --chip:#efe7d6;        /* chip/beige */
      --border:#e7e7e7;      /* bordo leggero */
      --dark:#0f0f0f;        /* bottoni scuri */
    }
    html,body{background:var(--bg); color:var(--text); font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
    a{color:var(--gold)}
    .btn-gold{--bs-btn-bg:var(--gold); --bs-btn-border-color:var(--gold); --bs-btn-color:#fff; --bs-btn-hover-bg:#a18956}
    .btn-dark-soft{--bs-btn-bg:#111; --bs-btn-border-color:#111; --bs-btn-color:#fff; --bs-btn-hover-bg:#000}
    .chip{display:inline-flex; align-items:center; gap:.4rem; padding:.35rem .6rem; border-radius:999px; background:var(--chip); border:1px solid #e3d8c5; color:#4a412f; font-weight:700}
    .badge-price{background:#fff; border:1px solid var(--border); border-radius:999px; padding:.4rem .7rem; font-weight:700; color:#3b3b3b}
    .section{padding:72px 0}
    .card-white{background:#fff; border:1px solid var(--border)}
    .card-tint{background:#fbfaf5; border:1px solid var(--border)}               /* leggero beige */
    .card-soft{background:#f6f6f6; border:1px solid var(--border)}               /* grigio chiarissimo */
    .shadow-soft{box-shadow:0 12px 24px rgba(0,0,0,.06)}
    .divider{height:1px; background:var(--border)}
    .hero-band{background:var(--gold); color:#fff}                               /* banda oro della hero */
    .brand-strip{background:var(--gold); color:#fff; letter-spacing:.45em; font-weight:800}
    .navbar{background:#fff; border-top:1px solid var(--border); border-bottom:1px solid var(--border)}
    .navbar .nav-link{font-weight:800; text-transform:uppercase; color:#111}
    .navbar .navbar-nav{flex-wrap:nowrap; gap:1.4rem; justify-content:center}
    @media (max-width:991.98px){ .navbar .navbar-nav{flex-wrap:wrap; gap:1rem 1.25rem} }

    /* piccoli accenti */
    .underline-gold{position:relative}
    .underline-gold:after{content:""; position:absolute; left:0; bottom:-8px; width:72px; height:3px; background:linear-gradient(90deg,var(--gold),transparent); border-radius:2px}

/* WRAPPER GENERALE */
.section-ticker {
  padding-block: 0.75rem; /* un po' più basso delle altre section */
}

.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  background: #e5e5e5;             /* oppure var(--bs-dark) se usi Bootstrap */
  color: #333;
}

/* CONTENITORE DELLA RIGA */
.ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

/* TRACK CHE SI MUOVE */
.ticker__track {
  display: inline-flex;          /* flex orizzontale */
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 30s linear infinite;
}

/* OGNI ELEMENTO DEL TICKER */
.ticker__item {
  display: inline-flex;
  align-items: center;
  padding-inline: 2rem;         /* spazio tra le scritte */
  line-height: 40px;
  font-size: 0.875rem;
  text-transform: none;         /* cambia se vuoi maiuscole */
}

/* Separatore tipo "•" tra una news e l'altra */
.ticker__item::after {
  content: "•";
  margin-left: 2rem;
  opacity: 0.5;
  font-size: 0.75em;
}

/* Rimuovo il pallino dopo l'ultimo item duplicato, opzionale */
.ticker__item:last-child::after {
  content: "";
}

/* ANIMAZIONE: scorre da destra verso sinistra,
   grazie al fatto che hai duplicato le voci in PHP */
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Opzionale: pausa al passaggio del mouse */
.ticker:hover .ticker__track {
  animation-play-state: paused;
}

/* Opzionale: versione più compatta su mobile */
@media (max-width: 576px) {
  .ticker__item {
    padding-inline: 1rem;
    line-height: 32px;
    font-size: 0.8rem;
  }
}

