@charset "utf-8";
/* ============================================================
   index-responsive.css — Stili specifici della Home page
   (header, navbar, social e footer sono in shared.css)
   ============================================================ */

body {
  background: #e1e1e1 url("bg.jpg") repeat-x fixed;
  font-family: "Times New Roman", Times, serif;
  color: #000;
}

/* ---------- HERO E CARD SEZIONI ---------- */
.hero-video,
.section-card,
.facebook-card {
  border-radius: 14px;
}

.section-card .card-body {
  font-size: 1.02rem;
  line-height: 1.55;
}

.section-card h1 a,
.section-card h2 a {
  color: #7a1f00;
}

.section-card a:hover,
.facebook-card a:hover,
.site-footer a:hover {
  color: #4f1600;
}

/* ---------- CTA LINK ---------- */
.cta-link {
  display: inline-block;
  margin-top: .35rem;
  padding: .48rem .88rem;
  border-radius: 999px;
  border: 1px solid #b25f2f;
  background: linear-gradient(180deg, #fff3e8 0%, #ffe3cd 100%);
  color: #7a1f00;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: .01em;
  transition: all .2s ease;
}

.cta-link:hover,
.cta-link:focus {
  color: #ffffff !important;
  background: linear-gradient(180deg, #a84b18 0%, #7a2f0a 100%);
  border-color: #7a2f0a;
  transform: translateY(-1px);
}

/* ---------- FACEBOOK WRAPPER ---------- */
.facebook-wrapper {
  width: 100%;
  min-height: 520px;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  overflow: auto;
  background: #fff;
  padding: 10px;
}

.facebook-wrapper iframe {
  width: 100%;
  height: 520px;
}

.facebook-wrapper .fb-group,
.facebook-wrapper .fb-group span,
.facebook-wrapper .fb-group iframe,
.facebook-wrapper .fb-page,
.facebook-wrapper .fb-page span,
.facebook-wrapper .fb-page iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.instagram-embed-box {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.instagram-embed-box .instagram-media {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.social-links-box {
  min-height: auto;
}

/* ---------- VISIT COUNTER ---------- */
.visit-counter-section {
  margin-top: 1.25rem;
}

.visit-counter-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
}

/* ---------- FOOTER SPECIFICO ---------- */
.site-footer hr {
  border-color: #d7b28d;
}

/* ---------- MEDIA QUERIES ---------- */
@media (max-width: 991.98px) {
  .site-header .fs-4 {
    font-size: 1.5rem !important;
  }

  .facebook-wrapper,
  .facebook-wrapper iframe {
    min-height: 460px;
    height: 460px;
  }
}

@media (max-width: 575.98px) {
  body {
    background-attachment: scroll;
  }

  .site-header img[alt="Logo ASD Shuri-Te"] {
    width: 92px;
    height: auto;
  }

  .section-card .card-body {
    font-size: 0.98rem;
  }

  .facebook-wrapper,
  .facebook-wrapper iframe {
    min-height: 420px;
    height: 420px;
  }

  .cta-link {
    font-size: .93rem;
    padding: .42rem .78rem;
  }

  .visit-counter-section {
    margin-top: 1rem;
  }
}