/* Fotografie personalizzate dei quattro corsi */
.course-card.course-boxe,
.course-card.course-muay-thai,
.course-card.course-junior,
.course-card.course-agonisti {
  color: #fff;
  background-position: center;
  background-size: cover;
}

.course-card.course-boxe {
  background-image: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 52%, rgba(0,0,0,.12) 100%), url("assets/boxe-88.jpg");
}

.course-card.course-muay-thai {
  background-image: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 52%, rgba(0,0,0,.12) 100%), url("assets/muay-thai-training.jpg");
}

.course-card.course-junior {
  background-image: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 52%, rgba(0,0,0,.12) 100%), url("assets/muay-thai-kids.jpg");
}

.course-card.course-agonisti {
  background-image: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 52%, rgba(0,0,0,.12) 100%), url("assets/muay-thai-fight.jpg");
}

.course-card[class*="course-"] .number,
.course-card[class*="course-"] div {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

/* Mantiene a colori la fotografia della palestra nella sezione manifesto */
.manifesto-image {
  filter: none;
}

/* Composizione fotografica degli spazi della palestra */
.manifesto-gallery {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 62% 38%;
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  background: var(--ink);
}

.manifesto-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto-gallery img:first-child {
  grid-row: 1 / 4;
  grid-column: 1;
  object-position: 88% 42% !important;
}

.manifesto-gallery img:nth-child(2) {
  object-position: center 55%;
}

.manifesto-gallery img:nth-child(3) {
  object-position: center 48%;
}

.manifesto-gallery img:nth-child(4) {
  object-position: center 45%;
}

@media (max-width: 900px) {
  .manifesto-image {
    height: 640px;
  }

  .manifesto-gallery {
    grid-template-columns: 58% 42%;
  }

  .manifesto-gallery img:first-child {
    object-position: 91% 40% !important;
  }
}

/* Sezione Blog */
.blog {
  background: var(--ink);
  color: #fff;
}

.blog .section-head > p:last-child {
  color: #aaa;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #353538;
}

.blog-card {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 390px;
  background: #161619;
  overflow: hidden;
}

.blog-card.blog-featured {
  grid-column: 1 / -1;
  grid-template-columns: 55% 45%;
  min-height: 560px;
}

.blog-card-image {
  overflow: hidden;
}

.blog-card-image img {
  transition: transform .6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.035);
}

.blog-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2.2rem;
}

.blog-meta {
  margin: 0 0 1.5rem;
  color: #888;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.blog-meta span {
  margin-right: .6rem;
  color: var(--red);
}

.blog-card h3 {
  font-size: clamp(2.3rem, 3.8vw, 4.4rem);
  line-height: .9;
}

.blog-card:not(.blog-featured) h3 {
  font-size: clamp(2rem, 2.7vw, 3.2rem);
}

.blog-card-copy > p:not(.blog-meta) {
  margin: 1.3rem 0;
  color: #aaa;
  font-size: .83rem;
  line-height: 1.7;
}

.blog-card-copy a {
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.blog-hero {
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  padding: 10rem 5vw 7rem;
  color: #fff;
  background: linear-gradient(90deg, rgba(11,11,13,.96) 0%, rgba(11,11,13,.75) 45%, rgba(11,11,13,.28) 100%), url("assets/palestra-area-cardio.jpg") center 58% / cover;
}

.blog-hero > div {
  max-width: 900px;
}

.blog-hero h1 {
  font-size: clamp(6rem, 12vw, 12rem);
}

.blog-hero > div > p:last-child {
  max-width: 560px;
  margin: 2rem 0 0;
  color: #c1c1c4;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .blog-hero {
    min-height: 620px;
    padding: 9rem 1.4rem 5rem;
  }
}

@media (max-width: 900px) {
  .blog-grid {
    display: block;
  }

  .blog-card,
  .blog-card.blog-featured {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-bottom: 1px;
  }

  .blog-card-image {
    height: 360px;
  }

  .blog-card-copy {
    min-height: 330px;
    padding: 2rem 1.4rem;
  }
}

/* Ritratto del coach a colori con un leggero effetto editoriale */
.coach-photo {
  filter: saturate(.88) contrast(1.08);
}

/* Pulsante WhatsApp nell'apertura del sito */
.btn-whatsapp {
  color: #fff;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.06);
}

.btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.hero-actions {
  flex-wrap: wrap;
}

.trial .eyebrow strong {
  font-weight: 900;
  color: #dfff00;
}

/* Tabella settimanale dei corsi */
.schedule {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid #b9b5ae;
}

.schedule-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.schedule-heading .eyebrow {
  margin: 0 0 .4rem;
}

.schedule-heading h3 {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
}

.schedule-table-wrap {
  overflow-x: auto;
  border-top: 4px solid var(--red);
}

.schedule-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  background: #e7e3dc;
  table-layout: fixed;
}

.schedule-table th,
.schedule-table td {
  padding: 1.4rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #c3beb5;
  vertical-align: top;
}

.schedule-table thead th {
  background: var(--ink);
  color: #fff;
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.schedule-table tbody th {
  width: 100px;
  color: var(--red);
  font: 800 1.5rem/1 var(--display);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.schedule-table td {
  background: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.35;
}

.schedule-table td small {
  display: block;
  margin-top: .25rem;
  color: #777;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.schedule-table td.empty {
  background: #dedad2;
  color: #aaa;
  text-align: center;
}

.schedule-note {
  margin: 1rem 0 0;
  color: #666;
  font-size: .72rem;
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .schedule {
    margin-top: 4rem;
    padding-top: 3rem;
  }

  .schedule-heading {
    display: block;
  }

  .schedule-heading h3 {
    margin-top: 1.3rem;
  }
}

/* Logo ufficiale nell'intestazione e nel piè di pagina */
.brand .brand-logo {
  width: 64px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

nav .nav-social {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 -.6rem;
  padding: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #fff;
  font-size: .58rem;
  letter-spacing: .04em;
}

@media (min-width: 901px) {
  nav {
    gap: 1.35rem;
  }
}

nav .nav-social:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

nav .nav-social i {
  font-size: 1rem;
  line-height: 1;
}

/* Collegamenti social a colori nella sezione Contatti */
.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1rem;
}

.contact-grid .contact-social {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .9rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-grid .contact-social.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
}

.contact-grid .contact-social.facebook {
  background: #1877f2;
}

.contact-grid .contact-social i {
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
}

@media (max-width: 900px) {
  nav .nav-social {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin: 0;
    font-size: .72rem;
  }
}

@media (max-width: 520px) {
  .brand .brand-logo {
    width: 54px;
    height: 44px;
  }
}
