/* =========================================================
   TRES ANGELES - PAGINA INSTAGRAM
   Archivo: /css/instagram.css
   ========================================================= */

.instagram-page {
  background: #fff;
  color: #222;
}


/* =========================================================
   HERO
   ========================================================= */

.instagram-hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(216, 177, 159, 0.16),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #fbfaf9 0%,
      #ffffff 100%
    );

  border-bottom: 1px solid #eee9e6;
}

.instagram-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 26px;

  color: #898989;
  font-size: 13px;
}

.instagram-breadcrumb a {
  color: #777;
  transition: color 0.2s ease;
}

.instagram-breadcrumb a:hover {
  color: #111;
}

.instagram-heading {
  max-width: 760px;
}

.instagram-kicker {
  display: block;

  margin-bottom: 12px;

  color: #a87965;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.instagram-heading h1 {
  margin: 0 0 16px;

  color: #1f1f1f;

  font-size: clamp(38px, 5vw, 64px);
  font-weight: 300;

  line-height: 1.05;

  letter-spacing: -0.035em;
}

.instagram-heading p {
  max-width: 650px;

  margin: 0;

  color: #6d6d6d;

  font-size: 17px;

  line-height: 1.75;
}


/* =========================================================
   SECCION INSTAGRAM
   ========================================================= */

.instagram-feed-section {
  padding: 62px 0 80px;
}


/* =========================================================
   GRILLA CENTRADA
   ========================================================= */

.instagram-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(320px, 420px));

  justify-content: center;

  align-items: start;

  gap: 32px;

  width: 100%;

  margin: 0 auto;
}


/* =========================================================
   TARJETAS
   ========================================================= */

.instagram-card {
  width: 100%;

  max-width: 420px;

  min-width: 0;

  margin: 0 auto;

  overflow: hidden;

  background: #fff;
}


/* =========================================================
   EMBED INSTAGRAM
   ========================================================= */

.instagram-embed-frame {
  display: block;

  width: 100%;

  height: 720px;

  margin: 0;

  border: 1px solid #e9e9e9;

  background: #fff;
}


/* =========================================================
   LINK INFERIOR
   ========================================================= */

.instagram-direct-link {
  display: block;

  padding: 13px 16px;

  border: 1px solid #e9e9e9;

  border-top: 0;

  color: #333 !important;

  text-align: center;

  font-size: 13px;
  font-weight: 600;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.instagram-direct-link:hover {
  background: #171717;

  color: #fff !important;
}


/* =========================================================
   SEGUIR INSTAGRAM
   ========================================================= */

.instagram-follow {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  max-width: 872px;

  margin: 55px auto 0;

  padding: 28px 32px;

  background: #0098DA;

  color: #fff;
}

.instagram-follow span,
.instagram-follow strong {
  display: block;
}

.instagram-follow span {
  margin-bottom: 5px;

  color: #fff;

  font-size: 13px;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.instagram-follow strong {
  color: #fff;

  font-size: 22px;

  font-weight: 500;
}

.instagram-follow-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  min-height: 46px;

  padding: 0 22px;

  border: 1px solid #fff;

  color: #fff !important;

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  transition: all 0.2s ease;
}

.instagram-follow-btn:hover {
  background: #fff;

  color: #171717 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

  .instagram-hero {
    padding: 54px 0 38px;
  }

  .instagram-grid {
    grid-template-columns: 1fr;

    justify-items: center;

    gap: 30px;
  }

  .instagram-card {
    max-width: 420px;
  }

  .instagram-embed-frame {
    height: 760px;
  }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 767px) {

  .instagram-hero {
    padding: 42px 0 32px;
  }

  .instagram-heading h1 {
    font-size: 38px;
  }

  .instagram-heading p {
    font-size: 15px;
  }

  .instagram-feed-section {
    padding: 38px 0 58px;
  }

  .instagram-grid {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .instagram-card {
    width: 100%;

    max-width: 420px;
  }

  .instagram-follow {
    align-items: flex-start;

    flex-direction: column;

    max-width: 420px;

    padding: 24px;
  }

  .instagram-follow-btn {
    width: 100%;
  }

}


/* =========================================================
   CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 600px) {

  .instagram-card {
    width: 100%;

    max-width: 100%;
  }

  .instagram-embed-frame {
    height: 690px;
  }

}
/* =========================================================
   AJUSTES DE COMPATIBILIDAD PARA EMBEDS
   ========================================================= */
.instagram-embed-frame {
  border: 0;
  overflow: hidden;
}

.instagram-card iframe {
  max-width: 100%;
}
