/*
 Theme Name:   Twenty Twenty‑Five Child
 Theme URI:    https://lupervisita.it/twentytwentyfive-child
 Description:  Child theme di Twenty Twenty‑Five
 Author:       Lorentzzz
 Author URI:   https://luperivista.it
 Template:     twentytwentyfive
 Version:      1.0.0
 Text Domain:  twentytwentyfive-child
*/

/* Disabled focus on click. Leave it by keyboard for accessibility */
a:focus:not(:focus-visible) {
  outline: none;
}

.vertical-center {
  justify-content: center;
  display: flex !important;
  align-items: center;
}

.no-decoration a {
  text-decoration: none !important;
}

.hover-color-secondary a:hover {
  color: var(--wp--preset--color--secondary) !important;
}

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

.line-height-11 {
  line-height: 1.1 !important;
}

html {
  scroll-behavior: initial;
  /* Essenziale affinché Lenis assuma il pieno controllo [3, 6] */
}

/* Opzionale ma raccomandato per un comportamento coerente tra i browser e con Lenis: */
html,
body {
  min-height: 100%;
  height: auto;
  margin: auto;
}

.main-container {
  max-width: 1500px !important;
  margin: auto !important;
}

.home-sticky-header header.wp-block-template-part {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: top 0.3s ease-in-out;
}

.home-sticky-header header.wp-block-template-part.sticky {
  top: 0;
  background-color: var(--wp--preset--color--clear);
}



/* Home */
.container-center-page {
  height: 100vh !important;
  display: flex !important;
  justify-content: center !important;
  /* centro verticale */
  align-items: center !important;
  /* centro orizzontale */
  box-sizing: border-box !important;
}


/* In your child theme's style.css */
.first-viewport,
.second-viewport {
  min-height: 100vh !important;
}


.container-rivista-authors {
  flex: 1;
}

.container-rivista-authors h2 {
  font-weight: 600;
}

.cover-authors {
  font-size: var(--wp--preset--font--size--large)
}

@media screen and (max-width: 768px) {
  .container-rivista-authors h2 {
    font-size: 32px !important;
    margin-top: 20px !important;
  }
}

.extra-bold {
  font-weight: 800 !important;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.post-header br {
  display: none !important;
}

/* Contributo in pagina rivista */
.text-post-title {
  color: #404040 !important;
  font-size: 16px;
  font-weight: 700 !important;
  letter-spacing: 0.1px;
}

.text-post-authors {
  color: #616161 !important;
  font-size: 16px;
  line-height: 0.8 !important;
  display: inline-block;
  vertical-align: middle;
}

span.text-post-authors {
  margin: 0 !important;

}

span.text-post-authors-intro {
  color: #616161 !important;
  font-size: 16px;
  line-height: 0.8 !important;
  display: inline-block;
  vertical-align: middle;
  text-align: right;
  width: 100%;
}



.text-post {
  color: #333333 !important;
  font-size: 16px;
  line-height: 1.5;
}

/* Contributo nella sua pagina */
.contributo-title {
  color: #404040 !important;
  font-size: 18px;
  font-weight: 700 !important;
  letter-spacing: 0.1px;
}


.m-0 {
  margin: 0 !important;
}

.p-m-0 p {
  margin: 0 !important;
}

.p-mb-0 p {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

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

.contributo-page-logo {
  position: relative;
  top: -40px;
}

.p-my-0 p {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.text-indent-20 p {
  text-indent: 20px !important;
}

p.text-indent-20 {
  text-indent: 20px !important;
}

.text-indent-0 p {
  text-indent: 0px !important;
}

p.text-indent-0 {
  text-indent: 0px !important;
}

.intro-author p {
  text-align: right !important;
  color: #616161 !important;
  font-size: 16px;
  line-height: 0.8 !important;
}

.contributo-authors {
  color: #616161 !important;
  font-size: 18px;
  font-weight: 400 !important;
  letter-spacing: 0.1px;
  font-style: italic !important;
}

.rivista-authors {
  text-align: center !important;
}

.rivista-authors h2 {
  font-size: 36px !important;
  margin-top: 0px !important;
}

.rivista-authors h3 {
  font-weight: 600 !important;
  font-size: 25 !important;
  margin-top: 0px !important;
}

.space-between {
  justify-content: space-between;
}

.secondary-color-text {
  color: var(--wp--preset--color--secondary) !important;
}

.container-full-logo {
  max-width: 30% !important;
}

@media screen and (max-width: 768px) {
  .container-full-logo {
    max-width: 50% !important;
    top: -7%;
  }

  .logo-text-size {
    font-size: 3.vw !important;
  }
}


.logo-text-size {
  display: inline-block;
  font-size: 2.17vw;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
}

.position-bottom-center {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width:768px) {
  .position-bottom-center {
    bottom: 12%;
  }

}

.overlap-images .image-blue {
  position: absolute;
}

.overlap-images:hover .image-rose {
  opacity: 1;
}

.overlap-images:hover .image-blue {
  opacity: 0;
}

.overlap-images .title-blue {
  position: absolute;
}


.overlap-title {
  margin-top: 0.1vw;
}

@media screen and (max-width: 425px) {
  .overlap-title {
    margin-top: -5.5vw;
  }
}

@media screen and (min-width: 425px) and (max-width: 768px) {
  .overlap-title {
    margin-top: -5vw;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .overlap-title {
    margin-top: -2vw;
  }
}

.overlap-title .title-blue {
  position: absolute;
}

.overlap-title:hover .title-rose {
  opacity: 1;
}

.overlap-title:hover .title-blue {
  opacity: 0;
}

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

.rose-button-hover:hover a {
  background-color: var(--wp--preset--color--clear) !important;
  color: var(--wp--preset--color--secondary) !important;
  border: 2px solid var(--wp--preset--color--secondary) !important;
}

.blue-button-hover:hover a {
  background-color: var(--wp--preset--color--clear) !important;
  color: var(--wp--preset--color--primary) !important;
}

.blue-button-hover a {
  background-color: var(--wp--preset--color--primary) !important;
  color: white !important;
  border: 2px solid var(--wp--preset--color--primary) !important;
}

.custom-social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.custom-social-icons img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.custom-social-icons a:hover img {
  transform: scale(1.1);
}

/* Single rivista */

/*
Le colonne sono state modificate di ordine per poter 
mostrare il testo di una colonna in hover di un altra
1) rendi il wrapper un flex container */
.rivista-columns {
  display: flex;
}

/* 2) metti la center sempre in mezzo */
.rivista-center {
  order: 2;
}

/* 3) left a sinistra, right a destra */
.rivista-left {
  order: 1;
}

.rivista-right {
  order: 3;
}

/* Uso l'effetto solo su laptop */
@media screen and (min-width: 1024px) {

  .rivista-left,
  .rivista-right {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.2s, opacity 0.2s;
  }

  /* quando hover su center, tutti i fratelli successivi diventano visibili */
  .rivista-center:hover~.rivista-left,
  .rivista-center:hover~.rivista-right {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }
}

/* Title */
@media screen and (max-width: 768px) {
  .rivista-title {
    font-size: 36px !important;
    margin-bottom: 20px !important;
  }
}

.contributi {
  padding-top: 20px;
}

.contributo-item {
  margin-bottom: 60px;
}

.contributo-item .title-and-author p {}

.template-storie {
  min-height: 100vh;
  background: linear-gradient(#FF5D8F, #44669C) !important;
}

.template-storie nav li.current-menu-item a {
  color: var(--wp--preset--color--clear) !important;
}

.background-primary {
  background-color: var(--wp--preset--color--primary) !important;
}

.background-clear {
  background-color: var(--wp--preset--color--clear) !important;
  color: var(--wp--preset--color--primary) !important;
}

.template-storie nav li.wp-block-navigation-item:hover a {
  color: var(--wp--preset--color--clear) !important;
}

.template-page nav li.current-menu-item a {
  color: var(--wp--preset--color--secondary) !important;
}

.template-video nav li.current-menu-item a {
  color: var(--wp--preset--color--secondary) !important;
}

.template-chi-siamo nav li.wp-block-navigation a {
  color: #fff !important;
}

.template-chi-siamo .hover-color-secondary {
  color: #fff !important;
}

.template-chi-siamo .hover-color-secondary a:hover {
  color: var(--wp--preset--color--secondary) !important;
}

.template-chi-siamo header {
  background-color: var(--wp--preset--color--primary) !important;
}

.template-chi-siamo {
  height: 100vh !important;
}

h1.chi-siamo-rivista-title a {
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 700 !important;
}

.template-chi-siamo h1.chi-siamo-rivista-title {
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 700 !important;
}

.content-page-vertical-page {
  min-height: 85vh !important;
}


.align-v-c {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.storie-page-text {
  font-style: normal !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: var(--wp--preset--color--clear) !important;

}

.chi-siamo-section-2 {
  min-height: 100vh !important;
  padding-top: 100px !important
}

.chi-siamo {
  max-width: 1500px !important;
  margin: auto !important;
}

@media screen and (max-width:769){
 .chi-siamo p{
  padding: 0 10px !important;
} 
}

.page-template {
  margin: 0 1px;
}

.post-type-archive-rivista {
  margin: 0 10px;
}

.display-none {
  display: none !important;
}

.white-logo {
  position: relative !important;
  top: -58px !important;
  width: 65px !important;
  left: -4px !important;
}

.post-navigation-link__label{
  display: none !important;
}