/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/



.rb-header-nav .sm-col-title {
	color: #fff !important;
}
.cc h4 a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size .3s ease;
    padding-bottom: 2px;
}
.cc h4 a:hover,
.cc h4 a:focus-visible {
    background-size: 100% 1px;
}

.cc a {
  border-bottom: 0px !important;
}

input.elementor-field.elementor-size-sm.elementor-field-textual::placeholder {
  font-size: 12px !important;
}

div#ir-cg-rebirth.cg div.cg-wrap div.cmore button.cmore-btn:hover {
  background-color: #0b2350 !important;
}

.acc-t .lab {
  color: #182f5a !important;
}

div.acc-item button.acc-t span.lab {
  color: #182f5a !important;
}

.rb-header-nav .sm-all {
  display: none !important;
}

.rb-rsg-card-img {
  display: none !important;
}

.rb-header-nav .sm-feat-cta {
  display: none !important;
}

.sm-feat-name {
  font-family: 'Newsreader',serif !important;
  color: #2d3a4f !important;
}

.rb-header-nav .sm-feat-loc {
  color: #b89968 !important;
}

.rb-header-nav .sm-feat-tag {
  display: none !important;
}

.rb-header-nav .sm-feat {
	border-radius: 0px !important;
}

.rb-header-nav > ul > li > a {
  color: #fff !important;
}

.contact-link {
  grid-column-gap: .8rem;
  grid-row-gap: .8rem;
  color: #b89968;
  border: 1px solid #fff0;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 1rem 1rem .7rem;
  font-size: 1.6rem;
  font-weight: 200;
  transition: border-color .2s,background-color .2s;
  display: flex;
}
.contact-link:hover {
  color: #fff;
  background-color: #4a64aa;
  border-color: #5985cc;
}

.rb-img-01{
  position:relative;
  padding: 24px 24px 24px 0;
  display:block;
}
.rb-img-01 img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

/* L-bracket top-right */
.rb-img-01::before{
  content:"";
  position:absolute;
  top:0; right:0;
  width:120px; height:120px;
  border-top:1.5px solid #B8884A;
  border-right:1.5px solid #B8884A;
  z-index:2;
  pointer-events:none;
}

/* L-bracket bottom-left */
.rb-img-01::after{
  content:"";
  position:absolute;
  bottom:0; left:0;
  width:120px; height:120px;
  border-bottom:1.5px solid #B8884A;
  border-left:1.5px solid #B8884A;
  z-index:2;
  pointer-events:none;
}

/* crop marks (+ symbols) */
.rb-img-01__marks{
  position:absolute; inset:0; pointer-events:none; z-index:3;
}
.rb-img-01__marks span{
  position:absolute; width:14px; height:14px;
}
.rb-img-01__marks span::before,
.rb-img-01__marks span::after{
  content:""; position:absolute; background:#B8884A;
}
.rb-img-01__marks span::before{ width:14px; height:1px; top:50%; left:0; }
.rb-img-01__marks span::after{ width:1px; height:14px; left:50%; top:0; }
.rb-img-01__marks .tl{ top:18px; left:-7px; }
.rb-img-01__marks .br{ bottom:18px; right:-7px; }

/* editorial stamp bottom-left overlapping image */
.rb-img-01__stamp{
  position:absolute;
  bottom:24px; left:0;
  background:#0B2350;
  color:#FAF8F3;
  padding:14px 22px;
  display:flex; flex-direction:column; gap:6px;
  line-height:1;
  z-index:4;
}
.rb-img-01__num{
  font-family:'Cormorant Garamond', Georgia, serif;
  font-style:italic;
  font-size:32px;
  color:#B8884A;
  font-weight:400;
}
.rb-img-01__lbl{
  font-family: inherit;
  font-size:8.5px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:rgba(250,248,243,.65);
  font-weight:500;
}

/* responsive */
@media (max-width: 640px){
  .rb-img-01{ padding: 18px 18px 18px 0; }
  .rb-img-01::before,
  .rb-img-01::after{ width:72px; height:72px; }
  .rb-img-01__stamp{ padding:10px 16px; }
  .rb-img-01__num{ font-size:24px; }
}


[type="button"]:focus, [type="button"]:hover, [type="submit"]:focus, [type="submit"]:hover, button:focus, button:hover {
	background-color: transparent !important;
}
.cs-slider__heading.is-active {
  padding-bottom: 0px !important;
}
.cs-slider__top {
  display: none !important;
}
/* sostituisce le regole sopra, più robusta per Elementor */
.reveal-title,
.reveal-desc {
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
}

.reveal-title,
.reveal-desc {
  transform: translateY(110%);
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.reveal-desc {
  transition-delay: 0.15s;
}

.reveal-title.is-visible,
.reveal-desc.is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-title,
  .reveal-desc {
    transform: none;
    transition: none;
  }
}

.logo-white {
  filter:
    brightness(0)
    saturate(100%)
    invert(100%);
}

/* Variabili colori */
.rebirth-hero {
    --rebirth-navy: #0a1f5c;
    --rebirth-navy-dark: #081744;
    --rebirth-gold: #c8a676;
    --rebirth-gold-soft: #d4b890;
    --rebirth-gold-dark: #b89464;
    --rebirth-text: #ffffff;
    --rebirth-text-muted: rgba(255, 255, 255, 0.78);
    --rebirth-text-faint: rgba(255, 255, 255, 0.55);
    --rebirth-line: rgba(255, 255, 255, 0.18);
}

/* ===== SEZIONE PRINCIPALE ===== */
.rebirth-hero {
    position: relative;
    min-height: 100vh !important;
    min-height: 100svh !important;
    overflow: hidden;
}

/* Overlay blu sfumato */
.rebirth-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(215deg,
            rgba(10, 31, 92, 0.10) 0%,
            rgba(10, 31, 92, 0.40) 35%,
            rgba(10, 31, 92, 0.78) 70%,
            rgba(10, 31, 92, 0.92) 100%
        ),
        linear-gradient(90deg,
            rgba(10, 31, 92, 0.78) 0%,
            rgba(10, 31, 92, 0.35) 40%,
            rgba(10, 31, 92, 0.05) 70%,
            rgba(10, 31, 92, 0.05) 100%
        ),
        linear-gradient(180deg,
            rgba(10, 31, 92, 0)    60%,
            rgba(10, 31, 92, 0.7)  92%,
            rgba(10, 31, 92, 0.95) 100%
        );
}

/* Effetto grain */
.rebirth-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.06;
    pointer-events: none;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.rebirth-hero > .elementor-container {
    position: relative;
    z-index: 5;
}

/* ===== TITOLO ===== */
.rebirth-hero__title h1,
.rebirth-hero__title h2,
.rebirth-hero__title .elementor-heading-title {
    overflow: hidden;
    padding-bottom: 0.18em !important;
    margin-bottom: -0.10em !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 30px rgba(10, 31, 92, 0.4);
    animation: rebirth-title-reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes rebirth-title-reveal {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== FOTO PICCOLA ===== */
.rebirth-hero__photo {
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden !important;
    position: relative;
}

.rebirth-hero__photo .elementor-widget-container {
    overflow: hidden;
    position: relative;
}

.rebirth-hero__photo .elementor-widget-container::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 2;
}

.rebirth-hero__photo img {
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.rebirth-hero__photo:hover img {
    transform: scale(1.08);
}

@media (max-width: 1024px) {
    .rebirth-hero__photo img { height: 100px !important; }
}

@media (max-width: 640px) {
    .rebirth-hero__photo img { height: 72px !important; }
}

@media (max-width: 480px) {
    .rebirth-hero__photo img { height: 100px !important; }
}

/* ===== DESCRIZIONE ===== */
.rebirth-hero__description p {
    margin: 0;
    color: var(--rebirth-text-muted);
    font-weight: 300;
    line-height: 1.7;
}

.rebirth-hero__description strong {
    color: var(--rebirth-text);
    font-weight: 400;
}

/* ============================================================
   BOTTONI PRIMARI (Get started / Our approach)
   ============================================================ */
.rebirth-hero .rebirth-btn .elementor-button,
.rebirth-hero .rebirth-btn a.elementor-button-link {
    position: relative !important;
    overflow: hidden !important;
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease, border-color 0.4s ease, box-shadow 0.3s ease !important;
    isolation: isolate;
}

.rebirth-hero .rebirth-btn .elementor-button::before,
.rebirth-hero .rebirth-btn a.elementor-button-link::before {
    content: "" !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%) !important;
    transform: translateX(-110%);
    transition: transform 0.7s ease !important;
    pointer-events: none;
    z-index: 0;
}

.rebirth-hero .rebirth-btn .elementor-button:hover::before,
.rebirth-hero .rebirth-btn a.elementor-button-link:hover::before {
    transform: translateX(110%);
}

.rebirth-hero .rebirth-btn .elementor-button:hover,
.rebirth-hero .rebirth-btn a.elementor-button-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.rebirth-hero .rebirth-btn .elementor-button-content-wrapper,
.rebirth-hero .rebirth-btn .elementor-button-text,
.rebirth-hero .rebirth-btn .elementor-button-icon {
    position: relative;
    z-index: 1;
}

.rebirth-hero .rebirth-btn .elementor-button-icon {
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1) !important;
    display: inline-flex !important;
    align-items: center;
}

.rebirth-hero .rebirth-btn .elementor-button:hover .elementor-button-icon,
.rebirth-hero .rebirth-btn a.elementor-button-link:hover .elementor-button-icon {
    transform: translateX(6px);
}

.rebirth-hero .rebirth-btn--ghost .elementor-button:hover {
    border-color: rgba(255, 255, 255, 0.85) !important;
}

@media (hover: none) and (pointer: coarse) {
    .rebirth-hero .rebirth-btn .elementor-button:hover,
    .rebirth-hero .rebirth-btn a.elementor-button-link:hover {
        transform: none;
    }
}

/* ============================================================
   STATS - Marker centrato verticalmente + Counter animato
   ============================================================ */

/* Layout: il container di icona e contenuto deve essere center alignment */
.rebirth-stat .elementor-icon-box-wrapper {
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    gap: 16px;
}

/* Wrapper icona allineato al centro */
.rebirth-stat .elementor-icon-box-icon {
    margin: 0 !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
}

/* Marker rotondo */
.rebirth-stat .elementor-icon {
    width: 11px !important;
    height: 11px !important;
    border: 1.5px solid var(--rebirth-gold) !important;
    border-radius: 50% !important;
    background: transparent !important;
    position: relative !important;
    overflow: visible !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: transform 0.3s ease;
    display: inline-flex;
}

/* Nascondi icona originale */
.rebirth-stat .elementor-icon i,
.rebirth-stat .elementor-icon svg {
    display: none !important;
}

/* Punto centrale animato */
.rebirth-stat .elementor-icon::after {
    content: "" !important;
    position: absolute !important;
    inset: 2px !important;
    border-radius: 50% !important;
    background: var(--rebirth-gold) !important;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.rebirth-stat:hover .elementor-icon::after {
    opacity: 1;
    transform: scale(1);
}

/* Contenuto testuale dello stat */
.rebirth-stat .elementor-icon-box-content {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

.rebirth-stat .elementor-icon-box-title {
    margin: 0 !important;
}

.rebirth-stat .elementor-icon-box-description {
    margin: 4px 0 0 !important;
}

@media (hover: none) and (pointer: coarse) {
    .rebirth-stat .elementor-icon::after {
        opacity: 1;
        transform: scale(1);
    }
}

/* COUNTER ANIMATO sui numeri */
.rebirth-stat-counter .elementor-counter-title,
.rebirth-stat-counter .elementor-counter-number-wrapper {
    color: var(--rebirth-text) !important;
}

.rebirth-stat-counter .elementor-counter-number-wrapper {
    font-family: "Inter", sans-serif !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    color: var(--rebirth-text) !important;
    line-height: 1 !important;
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
	  margin-right: 10px;
}

.rebirth-stat-counter .elementor-counter-number {
    font-family: "Newsreader", Sans-serif;
    font-size: 45px !important;
    font-weight: 500 !important;
    color: var(--rebirth-text) !important;
}

.rebirth-stat-counter .elementor-counter-number-prefix,
.rebirth-stat-counter .elementor-counter-number-suffix {
    font-family: "Newsreader", Sans-serif;
    font-size: 19px !important;
    font-weight: 500 !important;
    color: var(--rebirth-text) !important;
    white-space: pre;
}

.elementor-counter .elementor-counter-number-wrapper {
	flex: 0 !important;
}

.rebirth-stat-counter .elementor-counter-title {
    font-family: "Inter", sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 2.2px !important;
    color: var(--rebirth-text-faint) !important;
    line-height: 1.3 !important;
    margin-top: 0 !important;
}

@media (max-width: 640px) {
    .rebirth-stat-counter .elementor-counter-number-wrapper,
    .rebirth-stat-counter .elementor-counter-number,
    .rebirth-stat-counter .elementor-counter-number-prefix,
    .rebirth-stat-counter .elementor-counter-number-suffix {
        font-size: 16px !important;
    }
    .rebirth-stat-counter .elementor-counter-title {
        font-size: 10px !important;
    }
}

/* Layout dello stat con counter: marker rotondo a sinistra, counter a destra */
.rebirth-stat-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px;
}

.rebirth-stat-marker {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    border: 1.5px solid var(--rebirth-gold);
    border-radius: 50%;
    position: relative;
    transition: transform 0.3s ease;
}

.rebirth-stat-marker::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--rebirth-gold);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.rebirth-stat-row:hover .rebirth-stat-marker::after {
    opacity: 1;
    transform: scale(1);
}

@media (hover: none) and (pointer: coarse) {
    .rebirth-stat-marker::after {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================================
   SCROLL TO EXPLORE - Quadrato oro + freccia diagonale fine
   Allineamento PERFETTO: testo centrato verticalmente al quadrato
   ============================================================ */

/* Reset bottone Elementor + flex container ben centrato */
.rebirth-hero .rebirth-scroll-cta .elementor-button,
.rebirth-hero .rebirth-scroll-cta a.elementor-button-link {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;        /* ← centra verticalmente icona e testo */
    justify-content: flex-start !important;
    gap: 18px !important;
    line-height: 1 !important;
    transition: none !important;
}

.rebirth-hero .rebirth-scroll-cta .elementor-button:hover,
.rebirth-hero .rebirth-scroll-cta a.elementor-button-link:hover {
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

.rebirth-hero .rebirth-scroll-cta .elementor-button::before,
.rebirth-hero .rebirth-scroll-cta a.elementor-button-link::before {
    display: none !important;
}

/* Wrapper interno del bottone - flex centered */
.rebirth-hero .rebirth-scroll-cta .elementor-button-content-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    gap: 18px !important;
    line-height: 1 !important;
}

/* QUADRATO ORO con icona */
.rebirth-hero .rebirth-scroll-cta .elementor-button-icon {
    width: 56px !important;
    height: 56px !important;
    background: var(--rebirth-gold) !important;
    color: var(--rebirth-navy) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.4s ease !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    flex-shrink: 0;
    transform: none !important;
    line-height: 1 !important;
}

/* Effetto shine sul quadrato */
.rebirth-hero .rebirth-scroll-cta .elementor-button-icon::before {
    content: "" !important;
    position: absolute !important;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    transform: translateX(-110%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.rebirth-hero .rebirth-scroll-cta .elementor-button:hover .elementor-button-icon {
    background: var(--rebirth-gold-soft) !important;
}

.rebirth-hero .rebirth-scroll-cta .elementor-button:hover .elementor-button-icon::before {
    transform: translateX(110%);
}

/* FRECCIA DIAGONALE FINE (peso ridotto, ↘) */
.rebirth-hero .rebirth-scroll-cta .elementor-button-icon i {
    position: relative;
    z-index: 2;
    font-size: 18px !important;          /* ← ridotto da 22 a 18 */
    width: 18px !important;
    height: 18px !important;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    transform: rotate(-45deg);
    /* font-weight per Font Awesome controlla lo "spessore" del tratto */
    font-weight: 300 !important;          /* ← versione "thin" */
}

/* Per icone SVG (caso alternativo) freccia con tratto sottile */
.rebirth-hero .rebirth-scroll-cta .elementor-button-icon svg {
    position: relative;
    z-index: 2;
    width: 18px !important;
    height: 18px !important;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    transform: rotate(-45deg);
    stroke-width: 1.2 !important;          /* ← tratto sottile */
}

/* Animazione bounce DIAGONALE all'hover */
.rebirth-hero .rebirth-scroll-cta .elementor-button:hover .elementor-button-icon i,
.rebirth-hero .rebirth-scroll-cta .elementor-button:hover .elementor-button-icon svg {
    animation: rebirth-arrow-bounce-diag 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes rebirth-arrow-bounce-diag {
    0%   { transform: translate(0, 0) rotate(-45deg); opacity: 1; }
    45%  { transform: translate(30px, 30px) rotate(-45deg); opacity: 0; }
    46%  { transform: translate(-30px, -30px) rotate(-45deg); opacity: 0; }
    100% { transform: translate(0, 0) rotate(-45deg); opacity: 1; }
}

/* ===== TESTO "Scroll to explore" - centrato verticalmente al quadrato ===== */
.rebirth-hero .rebirth-scroll-cta .elementor-button-text {
    position: relative !important;
    color: var(--rebirth-text) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    display: inline-block !important;
    line-height: 1 !important;             /* ← line-height 1 per centratura precisa */
    padding: 0 0 6px 0 !important;         /* ← spazio sotto per l'underline */
    margin: 0 !important;
    /* Centratura verticale rispetto al quadrato 56px (24px font + padding ≈ centrato) */
    align-self: center !important;
}

/* UNDERLINE animato — direttamente sotto il testo */
.rebirth-hero .rebirth-scroll-cta .elementor-button-text::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;                  /* ← attaccato al fondo del padding */
    width: 100% !important;
    height: 1px !important;                /* ← linea sottile */
    background: var(--rebirth-text) !important;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1) !important;
    display: block !important;
    pointer-events: none;
}

.rebirth-hero .rebirth-scroll-cta .elementor-button:hover .elementor-button-text {
    transform: translateX(4px);
}

.rebirth-hero .rebirth-scroll-cta .elementor-button:hover .elementor-button-text::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* Mobile: dimensioni proporzionate */
@media (max-width: 640px) {
    .rebirth-hero .rebirth-scroll-cta .elementor-button-icon {
        width: 46px !important;
        height: 46px !important;
    }
    .rebirth-hero .rebirth-scroll-cta .elementor-button-icon i {
        font-size: 15px !important;
        width: 15px !important;
        height: 15px !important;
    }
    .rebirth-hero .rebirth-scroll-cta .elementor-button-icon svg {
        width: 15px !important;
        height: 15px !important;
    }
}

/* ===== DIVIDER ===== */
.rebirth-hero__divider .elementor-divider-separator {
    border-top-color: var(--rebirth-line) !important;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .rebirth-hero *,
    .rebirth-hero *::before,
    .rebirth-hero *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* ============================================================
   MARKEM PINNED SLIDER - CSS GLOBALE
   ============================================================ */

.markem-pin-wrap{
  position: relative !important;
  height: calc(var(--slides, 3) * 100vh) !important;
  width: 100%;
}

.markem-pin-wrap > .markem-hero,
.markem-pin-wrap > .e-con > .markem-hero,
.markem-hero{
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
  width: 100%;
  overflow: hidden !important;
  align-self: flex-start;
}

.markem-hero__content{
  position: relative !important;
  overflow: hidden;
}

.markem-hero__slide{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.markem-hero__slide.is-active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================================
   MARKEM PINNED SLIDER - CSS GLOBALE
   ============================================================ */

.markem-pin-wrap{
  position: relative !important;
  height: calc(var(--slides, 3) * 100vh) !important;
  width: 100%;
}

.markem-pin-wrap > .markem-hero,
.markem-pin-wrap > .e-con > .markem-hero,
.markem-hero{
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
  width: 100%;
  overflow: hidden !important;
  align-self: flex-start;
}

.markem-hero__content{
  position: relative !important;
  overflow: hidden;
}

.markem-hero__slide{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.markem-hero__slide.is-active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================================
   MARKEM PINNED SLIDER - CSS GLOBALE
   ============================================================ */

.markem-pin-wrap{
  position: relative !important;
  height: calc(var(--slides, 3) * 100vh) !important;
  width: 100%;
}

.markem-pin-wrap > .markem-hero,
.markem-pin-wrap > .e-con > .markem-hero,
.markem-hero{
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
  width: 100%;
  overflow: hidden !important;
  align-self: flex-start;
}

.markem-hero__content{
  position: relative !important;
  overflow: hidden;
}

.markem-hero__slide{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.markem-hero__slide.is-active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================================
   MARKEM PINNED SLIDER - CSS GLOBALE
   ============================================================ */

.markem-pin-wrap{
  position: relative !important;
  height: calc(var(--slides, 3) * 100vh) !important;
  width: 100%;
}

.markem-pin-wrap > .markem-hero,
.markem-pin-wrap > .e-con > .markem-hero,
.markem-hero{
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
  width: 100%;
  overflow: hidden !important;
  align-self: flex-start;
}

.markem-hero__content{
  position: relative !important;
  overflow: hidden;
}

.markem-hero__slide{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.markem-hero__slide.is-active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================================
   MARKEM PINNED SLIDER - CSS GLOBALE
   ============================================================ */

.markem-pin-wrap{
  position: relative !important;
  height: calc(var(--slides, 3) * 100vh) !important;
  width: 100%;
}

.markem-pin-wrap > .markem-hero,
.markem-pin-wrap > .e-con > .markem-hero,
.markem-hero{
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
  width: 100%;
  overflow: hidden !important;
  align-self: flex-start;
}

.markem-hero__content{
  position: relative !important;
  overflow: hidden;
}

.markem-hero__slide{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.markem-hero__slide.is-active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================================================
   SERVICES ACCORDION - Custom CSS for Elementor
   Da incollare in: Elementor → Site Settings → Custom CSS
   oppure: Aspetto → Personalizza → CSS aggiuntivo
   ========================================================= */

/* CONTAINER PRINCIPALE */
.services-wrap {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  width: 100%;
  color: #0d0d0d;
}

.services-wrap .services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e6e6e6;
}

/* RIGA SINGOLA */
.services-wrap .service-row {
  display: grid;
  grid-template-columns: 140px 240px 1fr 120px;
  align-items: center;
  gap: 130px;
  height: 170px;
  padding: 0 32px 0 0;
  border-bottom: 1px solid #e6e6e6;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  background: #fff;
  transform: scale(1);
  transform-origin: center center;
  transition: transform .45s cubic-bezier(.25,.8,.25,1);
}

/* COLONNA NUMERO */
.services-wrap .row-num {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background .35s ease;
}

.services-wrap .row-num span {
  font-size: 40px;
  font-weight: 300;
  color: transparent;
  transition: color .35s ease;
  letter-spacing: -.5px;
  font-family: "Newsreader", Sans-serif;
}

/* THUMBNAIL */
.services-wrap .row-thumb {
  width: 240px;
  height: 130px;
  overflow: hidden;
  border-radius: 4px;
  flex-shrink: 0;
}

.services-wrap .row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

/* TITOLO */
.services-wrap .row-title {
  font-size: 35px;
  font-weight: 400;
  color: #3f4f6b;
  letter-spacing: -.3px;
  position: relative;
  transition: color .35s ease;
  padding-bottom: 14px;
  font-family: "Newsreader", Sans-serif;
}

.services-wrap .row-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0.5px;
  background: #a87a1f;
  transition: width .45s cubic-bezier(.65,0,.35,1);
}

/* FRECCIA */
.services-wrap .row-arrow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid #dbdbdb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aa7e26;
  background: #fff;
  margin-left: auto;
  transition: all .35s ease;
}

/* =========================================================
   STATO HOVER
   ========================================================= */
.services-wrap .service-row:hover {
  transform: scale(1.02);
}

.services-wrap .service-row:hover .row-num {
  background: #a87a1f;
  font-family: "Newsreader", Sans-serif;
}

.services-wrap .service-row:hover .row-num span {
  color: #fff;
}

.services-wrap .service-row:hover .row-thumb img {
  transform: scale(1.06);
}

.services-wrap .service-row:hover .row-title {
  color: #3f4f6b;
}

.services-wrap .service-row:hover .row-title::after {
  width: 60%;
}

.services-wrap .service-row:hover .row-arrow {
  background: #a87a1f;
  border-color: #a87a1f;
  color: #fff;
}

/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */
@media (max-width: 1024px) {
  .services-wrap .service-row {
    grid-template-columns: 100px 180px 1fr 80px;
    gap: 20px;
    height: 150px;
    padding-right: 20px;
  }
  .services-wrap .row-thumb { width: 180px; height: 100px; }
  .services-wrap .row-num span { font-size: 22px; }
  .services-wrap .row-title { font-size: 20px; }
  .services-wrap .row-arrow { width: 46px; height: 46px; }
}

/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */
@media (max-width: 768px) {
  .services-wrap .service-row {
    grid-template-columns: 60px 110px 1fr 50px;
    gap: 14px;
    height: 120px;
    padding-right: 14px;
  }
  .services-wrap .row-thumb { width: 110px; height: 72px; }
  .services-wrap .row-num span { font-size: 18px; }
  .services-wrap .row-title { font-size: 14px; padding-bottom: 8px; }
  .services-wrap .row-arrow { width: 40px; height: 40px; }
  .services-wrap .service-row:hover { transform: scale(1.015); }
}



/* ──────────────────────────────────────────────────────────────────
 * Rebirth — Press Room
 * Stili dedicati alla sezione [rebirth_comunicati] + [rebirth_rassegna]
 * Tutto è scopato dentro .rebirth-press per evitare collisioni col tema.
 * ──────────────────────────────────────────────────────────────────*/

.rebirth-press{
  --rb-ink:#0B2350; --rb-ink-soft:rgba(11,35,80,.7); --rb-ink-mute:rgba(11,35,80,.5); --rb-ink-faint:rgba(11,35,80,.28);
  --rb-gold:#B8884A; --rb-gold-soft:#C9A063; --rb-gold-deep:#8A6A3E; --rb-gold-warm:#D9B88A;
  --rb-cream:#FAF8F3; --rb-hair:rgba(11,35,80,.12); --rb-hair-gold:rgba(184,136,74,.28);
  color:var(--rb-ink);
  font-family: inherit;
}
.rebirth-press *, .rebirth-press *::before, .rebirth-press *::after{ box-sizing:border-box; }

/* GRID */
.rebirth-press .press{
  display:grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap:0; position:relative;
}
.rebirth-press .press::before{
  content:""; position:absolute; top:0; bottom:0;
  left:61.5%; transform:translateX(-50%);
  width:1px; background:var(--rb-hair);
}
.rebirth-press .press::after{
  content:""; position:absolute; top:-1px;
  left:61.5%; transform:translateX(-50%);
  width:7px; height:7px; border-radius:50%; background:var(--rb-gold);
  box-shadow:0 0 0 4px var(--rb-cream);
}
.rebirth-press .col-cs{ padding-right:48px; }
.rebirth-press .col-rs{ padding-left:48px; }

/* SECTION HEADS */
.rebirth-press .sub-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.rebirth-press .sub-eye{
  font-size:11px; letter-spacing:.34em; text-transform:uppercase;
  color:var(--rb-gold); font-weight:500;
  display:inline-flex; align-items:center; gap:10px; margin-bottom:8px;
}
.rebirth-press .sub-eye::before{ content:"§"; color:var(--rb-gold); }
.rebirth-press .sub-title{
  font-size:26px; font-weight:500; color:var(--rb-ink);
  line-height:1.15; letter-spacing:-.01em; margin:0;
}
.rebirth-press .sub-title i{ font-style:italic; color:var(--rb-gold); }
.rebirth-press .sub-head .count{
  font-size:10px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--rb-ink-mute); font-weight:500;
  border:1px solid var(--rb-hair); padding:5px 10px;
}
.rebirth-press .sub-head .count b{ color:var(--rb-gold); font-weight:500; font-variant-numeric:tabular-nums; }

/* ─── COMUNICATI ─── */
.rebirth-press .feat{
  background:linear-gradient(160deg,#0B2350 0%,#061735 100%);
  color:var(--rb-cream); padding:44px 42px; text-decoration:none;
  position:relative; overflow:hidden; min-height:300px;
  display:grid; grid-template-columns:96px 1fr; gap:32px;
  cursor:pointer; margin-bottom:14px;
  transition: transform .4s cubic-bezier(.22,.7,.2,1);
}
.rebirth-press .feat:hover{ transform:translateY(-2px); }
.rebirth-press .feat::after{
  content:""; position:absolute; top:-1px; left:-1px;
  width:160px; height:3px; pointer-events:none; z-index:3;
  background:linear-gradient(90deg,#C9A063 0%,#C9A063 8%,var(--rb-gold-warm) 30%,rgba(217,184,138,.4) 60%,rgba(217,184,138,.12) 82%,rgba(217,184,138,0) 100%);
}
.rebirth-press .feat-date{
  position:relative; z-index:2;
  border-right:1px solid rgba(217,184,138,.22); padding-right:24px;
  display:flex; flex-direction:column; justify-content:space-between;
}
.rebirth-press .feat-date .day{
  font-size:54px; font-weight:500; line-height:.95; color:var(--rb-gold-warm);
  letter-spacing:-.02em; font-variant-numeric:tabular-nums;   font-family: "Newsreader", Sans-serif;
}
.rebirth-press .feat-date .mo {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgb(250, 248, 243);
  font-weight: 500;
  margin-top: 6px;
  font-family: "Newsreader", Sans-serif;
}
.rebirth-press .feat-date .yr{
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgb(250, 248, 243);
  font-weight: 500;
  margin-top: 6px;
  font-family: "Newsreader", Sans-serif;
}
.rebirth-press .feat-body{ position:relative; z-index:2; display:flex; flex-direction:column; justify-content:space-between; gap:18px; }
.rebirth-press .feat .badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size:9.5px; letter-spacing:.3em; text-transform:uppercase;
  color:var(--rb-gold-warm); font-weight:500; align-self:flex-start;
  padding:6px 12px; border:1px solid rgba(217,184,138,.3);
  background:rgba(184,136,74,.08);
}
.rebirth-press .feat .badge::before{ content:""; width:6px; height:6px; background:var(--rb-gold); }
.rebirth-press .feat h3{
  font-size:25px; font-weight:500; line-height:1.22; letter-spacing:-.01em;
  color:var(--rb-cream); margin:0;
}
.rebirth-press .feat h3 b{ color:var(--rb-gold-warm); font-weight:500; }
.rebirth-press .feat .cta{
	  font-family: "Newsreader", Sans-serif;
  font-size:12px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--rb-gold-warm); font-weight:500;
  align-self:flex-start; padding-bottom:6px;
  border-bottom:1px solid var(--rb-gold);
  transition: gap .3s, color .25s;
  display:inline-flex; gap:10px;
}
.rebirth-press .feat:hover .cta{ gap:16px; color:var(--rb-cream); }

.rebirth-press .minis{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-bottom:24px; }
.rebirth-press .mini{
  background:#fff; border:1px solid var(--rb-hair);
  padding:22px 24px; text-decoration:none; color:inherit;
  position:relative; transition: border-color .25s, transform .3s;
  min-height:120px; display:flex; flex-direction:column; justify-content:space-between;
}
.rebirth-press .mini:hover{ border-color:var(--rb-gold); transform:translateY(-2px); }
.rebirth-press .mini::after{
  content:""; position:absolute; right:18px; bottom:18px;
  width:22px; height:22px; border:1px solid var(--rb-hair);
  background-image:
    linear-gradient(45deg, transparent 45%, var(--rb-gold) 45%, var(--rb-gold) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--rb-gold) 45%, var(--rb-gold) 55%, transparent 55%);
  background-size:7px 7px,7px 7px; background-repeat:no-repeat,no-repeat;
  background-position:center,center;
  transition: border-color .25s, background-color .25s, transform .25s;
}
.rebirth-press .mini:hover::after{ border-color:var(--rb-gold); background-color:#fbf8f0; transform:translateX(3px); }
.rebirth-press .mini .d {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rb-gold);
  font-weight: 500;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  font-family: "Inter", Sans-serif;
}
.rebirth-press .mini h4{
  font-size:16px; font-weight:500; color:var(--rb-ink);
  line-height:1.4; padding-right:30px; transition:color .25s; margin:0;
}
.rebirth-press .mini:hover h4{ color:var(--rb-gold-deep); }

.rebirth-press .cs-all{
  display:inline-flex; align-items:center; gap:10px;
  font-size:10.5px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--rb-cream); font-weight:500; text-decoration:none;
  padding:14px 22px; background:var(--rb-gold);
  position:relative; overflow:hidden;
  transition: background .25s;
}
.rebirth-press .cs-all::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.4) 50%, transparent 100%);
  transform:translateX(-100%); transition: transform .6s cubic-bezier(.22,.7,.2,1);
}
.rebirth-press .cs-all:hover::before{ transform:translateX(100%); }
.rebirth-press .cs-all:hover{ background:var(--rb-gold-deep); }
.rebirth-press .cs-all span{ position:relative; z-index:1; }

/* ─── RASSEGNA ─── */
.rebirth-press .rs-group{ margin-bottom:18px; }
.rebirth-press .rs-group:last-of-type{ margin-bottom:0; }
.rebirth-press .rs-group-head{
  display:flex; align-items:center; gap:12px; margin-bottom:6px;
  padding:8px 0; border-bottom:1px solid var(--rb-hair);
}
.rebirth-press .rs-group-head .gd{
  font-size:11px; letter-spacing:.26em; text-transform:uppercase;
  color:var(--rb-ink); font-weight:500; font-variant-numeric:tabular-nums;
}
.rebirth-press .rs-group-head .gn{
  font-size:9px; letter-spacing:.22em; text-transform:uppercase;
  color:var(--rb-gold); font-weight:500;
  padding:2px 8px; border:1px solid var(--rb-hair-gold);
}
.rebirth-press .rs-group-head .gline{ flex:1; height:1px; background:var(--rb-hair); }

.rebirth-press .rs-item{
  display:grid; grid-template-columns:1fr 26px; gap:14px;
  align-items:center; padding:14px 14px 14px 16px; text-decoration:none; color:inherit;
  border-bottom:1px solid var(--rb-hair);
  position:relative;
  transition: background .35s ease, color .35s ease;
}
.rebirth-press .rs-item:last-of-type{ border-bottom:none; }
.rebirth-press .rs-item:hover{ background:rgba(184,136,74,.05); }
.rebirth-press .rs-item::before{
  content:""; position:absolute; left:0; top:50%;
  transform:translateY(-50%) scaleY(0);
  width:2px; height:70%; background:var(--rb-gold);
  transition: transform .35s cubic-bezier(.22,.7,.2,1); transform-origin:center;
}
.rebirth-press .rs-item:hover::before{ transform:translateY(-50%) scaleY(1); }
.rebirth-press .rs-body .s{
font-size:14px; color:var(--rb-ink-soft); line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}
.rebirth-press .rs-body h4{
  font-size:16px;
  font-weight:500;
  color:var(--rb-ink);
  line-height:1.38;
  margin:0 0 6px; transition:color .3s;
}
.rebirth-press .rs-item:hover .rs-body h4{ color:var(--rb-ink); }
.rebirth-press .rs-ext{
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:50%;
  border:1px solid rgba(11,28,58,.12);
  color:var(--rb-ink-faint);
  background:transparent; text-decoration:none;
  opacity:.7;
  transition: opacity .35s ease, color .35s ease, border-color .35s ease, background .35s ease, transform .35s ease;
}
.rebirth-press .rs-ext svg{ width:10px; height:10px; display:block; }
.rebirth-press .rs-item:hover .rs-ext{
  opacity:1; color:var(--rb-gold);
  border-color: rgba(184,136,74,.45);
  background: rgba(184,136,74,.08);
  transform: translate(2px,-2px);
}

.rebirth-press .rs-foot{
  margin-top:26px; padding-top:18px; border-top:1px solid var(--rb-hair);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
}
.rebirth-press .rs-foot a{
  font-size:10.5px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--rb-gold); font-weight:500; text-decoration:none;
  display:inline-flex; align-items:center; gap:10px;
}
.rebirth-press .rs-foot a::after{ content:"→"; transition: transform .3s; }
.rebirth-press .rs-foot a:hover::after{ transform:translateX(6px); }
.rebirth-press .rs-foot .note{ font-size:9px; letter-spacing:.22em; text-transform:uppercase; color:var(--rb-ink-mute); }

/* Reveal animation (gestita da rebirth-press.js) */
.rebirth-press .rb-reveal{ opacity:0; transform:translateY(12px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.7,.2,1); }
.rebirth-press .rb-reveal.is-in{ opacity:1; transform:none; }

/* RESPONSIVE */
@media (max-width: 1080px){
  .rebirth-press .press{ grid-template-columns:1fr; }
  .rebirth-press .press::before, .rebirth-press .press::after{ display:none; }
  .rebirth-press .col-cs{ padding-right:0; padding-bottom:48px; margin-bottom:48px; border-bottom:1px solid var(--rb-hair); }
  .rebirth-press .col-rs{ padding-left:0; }
}
@media (max-width: 720px){
  .rebirth-press .sub-title{ font-size:22px; }
  .rebirth-press .minis{ grid-template-columns:1fr; }
  .rebirth-press .feat{ padding:30px 24px; grid-template-columns:1fr; gap:20px; }
  .rebirth-press .feat-date{
    border-right:none; border-bottom:1px solid rgba(217,184,138,.22);
    padding-right:0; padding-bottom:16px;
    flex-direction:row; align-items:baseline; gap:14px;
  }
  .rebirth-press .feat-date .day{ font-size:42px; }
  .rebirth-press .feat-date .yr{ margin-top:0; padding-top:0; }
  .rebirth-press .feat h3{ font-size:20px; }
  .rebirth-press .mini{ min-height:auto; padding:20px 22px; }
}

/* ============================================
   Partner logos · Corner Brackets
   - Stato base: bracket corti e opacizzati
   - Hover: bracket lunghi, opacità piena, immagine zoom soft
   ============================================ */
.img-partner{
  position: relative;
  padding: 8px;
  overflow: hidden;            /* contiene lo zoom dell'immagine */
  transition: transform .35s ease;
}

.img-partner::before,
.img-partner::after{
  content: "";
  position: absolute;
  width: 12px;                 /* corti a riposo */
  height: 12px;
  pointer-events: none;
  opacity: .35;                /* opacità ridotta a riposo */
  transition: width .45s cubic-bezier(.65,.05,.36,1),
              height .45s cubic-bezier(.65,.05,.36,1),
              opacity .35s ease;
}

/* Angolo top-left */
.img-partner::before{
  top: 0;
  left: 0;
  border-top: 1.5px solid #B8884A;
  border-left: 1.5px solid #B8884A;
}

/* Angolo bottom-right */
.img-partner::after{
  bottom: 0;
  right: 0;
  border-bottom: 1.5px solid #B8884A;
  border-right: 1.5px solid #B8884A;
}

/* Zoom soft sull'immagine interna */
.img-partner img{
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

/* HOVER */
.img-partner:hover::before,
.img-partner:hover::after{
  width: 32px;
  height: 32px;
  opacity: 1;
}
.img-partner:hover img{
  transform: scale(1.04);
}




/* =========================
   SEZIONE PARTNER LOGHI
   =========================
   Questa sezione gestisce lo stile della griglia dei partner:
   - card dei partner
   - loghi
   - hover effects
   - divider e dettagli grafici
   ========================= */

.rb-card div.rb-logo img {
  width: 220px !important;
}

.rb-partners{
  --ink:#0B2350;
  --gold:#B8884A;
  --gold-soft:#C9A063;
  --gold-warm:#D9B88A;
  --hair:rgba(11,35,80,.12);
}

.rb-partners *,
.rb-partners *::before,
.rb-partners *::after{
  box-sizing:border-box;
}

.rb-partners-section{
  position:relative !important;
  overflow:hidden !important;
  background:#FAF8F3 !important;
  border:1px solid rgba(11,35,80,.12) !important;
}

.rb-partners-section::before,
.rb-partners-section::after{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:5;
}

.rb-partners-section::before{
  top:0;
  left:0;
  width:160px;
  height:3px;
  background:linear-gradient(
    90deg,
    #B8884A 0%,
    #C9A063 30%,
    rgba(217,184,138,.3) 60%,
    transparent 100%
  );
}

.rb-partners-section::after{
  bottom:0;
  right:0;
  width:160px;
  height:3px;
  background:linear-gradient(
    270deg,
    #B8884A 0%,
    #C9A063 30%,
    rgba(217,184,138,.3) 60%,
    transparent 100%
  );
}

.rb-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-size:10px;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:#B8884A;
  font-weight:500;
}

.rb-eyebrow::before{
  content:"";
  width:32px;
  height:1px;
  background:#B8884A;
}

.rb-title{
  font-family:'Cormorant Garamond',serif !important;
  font-weight:400 !important;
  font-size:clamp(34px,4.4vw,52px) !important;
  line-height:1.05 !important;
  letter-spacing:-.01em !important;
  color:#0B2350 !important;
  margin:0 !important;
}

.rb-title em{
  font-style:italic;
  color:#B8884A;
  font-weight:500;
}

.rb-lead{
  font-size:14px !important;
  line-height:1.7 !important;
  color:rgba(11,35,80,.72) !important;
  max-width:62ch;
}

.rb-lead strong,
.rb-lead b{
  color:#0B2350;
  font-weight:500;
}

.rb-counter{
  display:inline-flex;
  align-items:baseline;
  gap:8px;
  padding:8px 14px;
  border:1px solid #B8884A;
  font-family:'Cormorant Garamond',serif;
  color:#0B2350;
  font-size:15px;
}

.rb-counter b{
  font-size:22px;
  font-weight:500;
  color:#B8884A;
}

.rb-counter small{
  font-family:'Inter',sans-serif;
  font-size:9px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:rgba(11,35,80,.5);
  font-weight:500;
  margin-left:4px;
}

.rb-head-divider{
  position:relative;
  height:1px;
  background:rgba(11,35,80,.22);
  width:100%;
  display:block;
  margin:36px 0 48px;
}

.rb-head-divider::after{
  content:"";
  position:absolute;
  left:0;
  top:-1px;
  width:120px;
  height:2px;
  background:#B8884A;
}

/* =========================
   CARD PARTNER
   ========================= */

.rb-card{
  position:relative;
  background:#fff;
  cursor:pointer;
  overflow:hidden;
  min-height:260px;
  display:flex;
  flex-direction:column;
  transition:
    transform .45s cubic-bezier(.22,.61,.36,1),
    box-shadow .45s ease,
    background .35s ease;
  padding:0;
}

.rb-card:hover{
  transform:translateY(-6px);
  background:#fffefb;
  box-shadow:0 18px 40px -22px rgba(11,35,80,.18);
}

.rb-card::before,
.rb-card::after{
  content:"";
  position:absolute;
  pointer-events:none;
  width:14px;
  height:14px;
  opacity:.35;
  z-index:4;
  transition:
    width .45s cubic-bezier(.65,.05,.36,1),
    height .45s,
    opacity .35s;
}

.rb-card::before{
  top:0;
  left:0;
  border-top:1.5px solid #B8884A;
  border-left:1.5px solid #B8884A;
}

.rb-card::after{
  bottom:0;
  right:0;
  border-bottom:1.5px solid #B8884A;
  border-right:1.5px solid #B8884A;
}

.rb-card:hover::before,
.rb-card:hover::after{
  width:36px;
  height:36px;
  opacity:1;
}

.rb-card .rb-sweep{
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    transparent 30%,
    rgba(184,136,74,.10) 50%,
    transparent 70%
  );
  transform:translateX(-100%);
  transition:transform .8s cubic-bezier(.22,.61,.36,1);
  pointer-events:none;
  z-index:1;
}

.rb-card:hover .rb-sweep{
  transform:translateX(100%);
}

.rb-card .rb-tag{
  position:absolute;
  top:14px;
  left:14px;
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:14px;
  color:#B8884A;
  opacity:.7;
  z-index:3;
}

/* =========================
   LOGHI PARTNER
   ========================= */

.rb-card .rb-logo{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 24px 56px;
  z-index:2;
}

.rb-card .rb-logo svg{
  max-width:75%;
  max-height:96px;
  width:auto;
  height:auto;
  transition:transform .5s cubic-bezier(.22,.61,.36,1);
  display:block;
}

.rb-card:hover .rb-logo svg{
  transform:scale(1.06);
}

/* =========================
   META INFO CARD
   ========================= */

.rb-card .rb-meta{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 16px;
  font-size:9px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:rgba(11,35,80,.5);
  font-weight:500;
  border-top:1px solid rgba(11,35,80,.12);
  background:linear-gradient(
    180deg,
    transparent 0%,
    rgba(11,35,80,.02) 100%
  );
  transition:color .3s, border-color .3s;
  z-index:3;
}

.rb-card:hover .rb-meta{
  color:#0B2350;
  border-top-color:#B8884A;
}

.rb-card .rb-meta .rb-flag{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.rb-card .rb-meta .rb-flag img{
  width:18px;
  height:12px;
  object-fit:cover;
  box-shadow:0 0 0 1px rgba(0,0,0,.08);
}

/* =========================
   LINK E FOOTER
   ========================= */

.rb-foot-link{
  color:#B8884A !important;
  text-decoration:none !important;
  display:inline-flex !important;
  align-items:center;
  gap:10px;
  border-bottom:1px solid #B8884A;
  padding-bottom:4px;
  font-size:10px;
  letter-spacing:.24em;
  text-transform:uppercase;
  font-weight:500;
}

.rb-foot-link::after{
  content:"→";
  transition:transform .3s;
}

.rb-foot-link:hover::after{
  transform:translateX(6px);
}

.rb-foot-note{
  font-size:10px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(11,35,80,.5);
  font-weight:500;
}

/* =========================
   FIX ELEMENTOR
   ========================= */

.elementor-widget-html:has(
  > .elementor-widget-container > .rb-head-divider
){
  width:100%;
}