/*
Theme Name: Twenty Twenty-Three Child
Theme URI: 
Description: Child theme of Twenty Twenty-Three.
Author: Il tuo nome
Author URI: 
Template: twentytwentythree
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

/* Header */
.n-site-header {
  padding-block-start: 30px;
  padding-block-end: 30px;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 100;
}

.n-site-header__inner {
  max-width: var(--content-width);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.n-site-logo img {
  max-width: 173px;
  height: auto;
}

header .n-site-logo img {
  filter: invert(100%);
}

/* Navigation (desktop) */
.n-site-nav {
  display: flex;
  gap: 2rem;
  text-transform: uppercase;
  font-weight: 600;
}
.n-site-nav .wp-block-navigation-item__content {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  text-decoration: none;
  color: #111111;
}
.n-site-nav .wp-block-navigation-item__content:hover {
  color: #6c63ff; /* accent */
}

/* CTA button */
.n-header-cta .wp-block-button__link {
  background-color: #6c63ff;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  text-transform: uppercase;
  padding: 0.75em 1.5em;
  border-radius: 4px;
}
.n-header-cta .wp-block-button__link:hover {
  opacity: 0.9;
}

/* Navigation (mobile) */
.n-site-nav--mobile {
  display: none !important;
}

.wp-block-navigation:not(.has-background)
  .wp-block-navigation__responsive-container.is-menu-open {
  background-color: #000;
  color: #fff;
}

.wp-block-navigation:not(.has-background)
  .wp-block-navigation__responsive-container.is-menu-open
  span {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open {
	width: 100%;
    height: 100%;
}

.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
    height: 48px;
    width: 48px;
}

h1 {
  text-transform: uppercase !important;
}

@media (max-width: 1279px) {
  .n-site-nav {
    display: none !important;
  }
  .n-site-nav--mobile {
    display: inline-block !important;
  }
}

/* Footer */
.n-site-footer {
  background-color: #f8f8f8;
  padding: 60px 20px;
}

.n-site-footer__inner {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.n-footer-columns {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
}

.n-footer-column {
  flex: 1 1 200px;
}

.n-footer-column p,
.n-footer-column a {
  color: #1d1d1d;
  text-decoration: none;
  margin: 1rem;
}

.n-footer-column a:hover {
  text-decoration: underline;
}

.n-site-footer__copyright {
  padding-top: 30px;
  width: 100%;
}

.n-site-footer__copyright p {
  font-size: 14px;
  color: #777;
  margin: 0 !important;
}

/* author card */
.author-card {
  background-color: #fff;
  border: 1px solid black;
  border-radius: 0px;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  max-width: 300px;
  margin: auto;
}

.author-card__image {
  position: relative;
}

.author-card__image img {
  width: 100%;
  border-radius: 0px;
}

.author-card__role {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.author-card__info {
	padding: 0px 20px;
  margin-top: 15px;
}

.author-card__name {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

.author-card__bio {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.author-card__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.speaker-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 600px) {
  .speaker-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .speaker-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/** Sessioni */
.session-list {
  display: block;
}

.session-card {
  border: 1px solid black;
  padding: 1rem;
  background: #fff;
  border-radius: 0;
  margin-bottom: 2rem;
}

.session-card__title {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.session-card__speakers {
  color: #000;
  margin: 0.5rem 0;
  font-weight: normal;
  font-style: normal;
}

.session-card__description {
  font-size: 0.85rem;
  color: #333;
}


/* price card */
.price-card {
  padding: 32px;
  max-width: 300px;
}

.price-card-text-white {
  color: #fff;
}

.price-card-text-black {
  color: #000;
}

.price-card__title {
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 1px solid white;
  font-size: 18px;
  padding-bottom: 32px;
  margin: 0;
}

.price-card__price {
  font-size: 80px;
  padding-top: 32px;
  line-height: 0.8;
  margin: 0;
}

.price-card__features {
  list-style: none;
  padding: 40px 0 40px 0;
  margin: 0;
}

.price-card__features li {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: bold;
}

.price-card__features li svg {
  width: 1.25rem;
  height: 1.25rem;
}

.price-card__cta {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  padding: 23px 0;
  width: 100%;
  cursor: pointer;
  text-transform: uppercase;
}

.price-card__cta-black {
  background-color: #000;
  color: white;
}

.price-card__cta-white {
  background-color: #fff;
  color: #000;
}

/* agenda */
.agenda__tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.agenda__tab {
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  padding: 10px 20px;
  cursor: pointer;
  text-align: left;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 18px;
}

.agenda__tab span {
  display: block;
  font-size: 12px;
  font-weight: normal;
  margin-top: 10px;
}

.agenda__tab--active {
  background-color: #000;
  color: #fff;
}

.agenda__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.agenda__table th,
.agenda__table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.agenda__table th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.agenda__table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.agenda__table tr:hover {
  background-color: #f1f1f1;
}

/* text slider */
.marquee {
  --gap: 2rem;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  background-color: #000;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
}

.marquee__content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: var(--gap);
  list-style: none;
  animation: scroll 40s linear infinite;
  padding: 0;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.pg-container,
main
{
  max-width: 1600px;
  margin: 0 auto;
}


/* slideshow */
.chome-hero {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.chome-slideshow-wrapper {
  flex: 3;
  border: 1px solid #000;
  overflow: hidden;
}

.chome-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.chome-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.chome-slideshow img.active {
  opacity: 1;
  z-index: 1;
}

.chome-slideshow-nav {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
}

.chome-slideshow-nav button {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 10px;
  margin-left: 5px;
  cursor: pointer;
}

.chome-info {
  padding-left: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chome-date-box {
  background: #000;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 16px;
  margin-bottom: 20px;
}

.chome-countdown {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.chome-countdown-item {
  border: 1px solid #000;
  color: #000;
  text-align: center;
  padding: 20px 10px;
  margin-bottom: 20px;
}

.chome-countdown > .chome-countdown-item:last-child {
  margin-bottom: 0px;
}

.chome-countdown-number {
  font-size: 48px;
  font-weight: bold;
  font-family: sans-serif;
}

.chome-countdown-label {
  font-size: 14px;
  font-family: sans-serif;
  margin-top: 5px;
}

@media (max-width: 1024px) {
  .chome-hero {
    flex-direction: column;
  }

  .chome-slideshow-wrapper,
  .chome-info {
    flex: 1 1 100%;
  }

  .chome-info {
    flex-direction: column;
    padding: 0;
  }

  .chome-countdown {
    flex-direction: row;
    justify-content: space-around;
    gap: 10px;
    padding: 10px;
  }

  .chome-countdown-item {
    flex: 1;
    margin: 0;
  }
}

h1.big-font {
  font-size: 7vw;
  font-weight: bold;
}

@media screen and (min-width: 1800px) {
  h1.big-font {
     font-size: 100px;
  }
}

/* Utility */
.mobile-only {
  display: none !important;
}
@media (max-width: 1279px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
}

header.wp-block-template-part {
	border-bottom: 1px solid #000;
	background-color: #1f1f1f;
}

.uppercase {
	text-transform: uppercase;
}