/* ======================================================
   SKELETON BASE
====================================================== */

.skeleton-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.skeleton-text {
  height: 14px;
  margin-top: 0.5rem;
}

/* .skeleton-title {
  height: 18px;
  width: 70%;
  margin-top: 0.75rem;
} */

.skeleton {
  background: linear-gradient(
    90deg,
    #e5e7eb 25%,
    #f3f4f6 37%,
    #e5e7eb 63%
  );
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: 6px;
}

@keyframes skeleton-loading {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ---------- COMMON SIZES ---------- */
.skeleton-title {
  height: 20px;
  width: 60%;
  margin-bottom: 12px;
}

.skeleton-subtitle {
  height: 16px;
  width: 40%;
}

.skeleton-line {
  height: 14px;
  margin-bottom: 10px;
}

.skeleton-line.short {
  width: 50%;
}

.skeleton-line.center {
  width: 60%;
  margin: auto;
}

.skeleton-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 20px auto;
}

.skeleton-media {
  height: 200px;
  width: 100%;
}

/* ---------- HERO ---------- */
.skeleton-hero {
  height: 40vh;
  background: #e5e7eb;
  position: relative;
}

.skeleton-overlay {
  position: absolute;
  bottom: 20%;
  left: 10%;
}

/* ---------- FACEBOOK ---------- */
.skeleton-facebook {
  width: 190px;
  height: 420px;
  padding: 1rem;
}

/* ---------- CARDS ---------- */
.skeleton-card {
  padding: 1rem;
}

/* ================= MODAL SKELETONS ================= */

.modal-skeleton {
  background: linear-gradient(
    90deg,
    #e5e7eb 25%,
    #f3f4f6 37%,
    #e5e7eb 63%
  );
  background-size: 400% 100%;
  animation: modal-shimmer 1.4s ease infinite;
  border-radius: 8px;
}

@keyframes modal-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.modal-skeleton-image {
  width: 100%;
  height: 300px;
}

.modal-skeleton-video {
  width: 100%;
  height: 320px;
}

.modal-skeleton-line {
  height: 14px;
  margin-bottom: 10px;
}

.modal-skeleton-text {
  padding: 8px 0;
}

/* ================= PAGE HERO SKELETON ================= */

.page-hero.skeleton {
  background: linear-gradient(135deg, #e3e3e3, #f0f0f0);
}

.page-hero-skeleton-title {
  height: 42px;
  width: 60%;
  margin: 0 auto 12px;
  border-radius: 6px;
}

.page-hero-skeleton-text {
  height: 18px;
  width: 50%;
  margin: auto;
  border-radius: 6px;
}

/* ================= CONTACT CARD SKELETON ================= */
/* .contact-card.skeleton {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
}

.skeleton-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e7eb;
}

.skeleton-text {
  flex: 1;
  height: 14px;
  border-radius: 6px;
  background: #e5e7eb;
} */

/* ================= MAP SKELETON ================= */
/* .map-skeleton {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  background: #e5e7eb;
} */

/* ===============================
   CONTACT PAGE SKELETONS ONLY
   =============================== */

.contact-skeleton-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    #eeeeee 25%,
    #f5f5f5 37%,
    #eeeeee 63%
  );
  background-size: 400% 100%;
  animation: contact-shimmer 1.4s ease infinite;
}

.contact-skeleton-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-skeleton-text {
  height: 14px;
  width: 70%;
  border-radius: 6px;
}

/* .contact-map-skeleton {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    #eeeeee 25%,
    #f5f5f5 37%,
    #eeeeee 63%
  );
  background-size: 400% 100%;
  animation: contact-shimmer 1.4s ease infinite;
} */

@keyframes contact-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.contact-map-skeleton {
  position: absolute;
  inset: 0;
  background: #e5e7eb;
  z-index: 2;
}

.contact-map-shimmer {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #e5e7eb 25%,
    #f3f4f6 37%,
    #e5e7eb 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s infinite;
}

/* latest style for this class */
.contact-map-skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 16px;
}

/* ==============================
   ABOUT PAGE SKELETONS
============================== */

.about-skeleton {
  background: linear-gradient(
    90deg,
    #eaeaea 25%,
    #f5f5f5 37%,
    #eaeaea 63%
  );
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: 6px;
}

.about-skeleton-title {
  height: 20px;
  width: 50%;
  margin-bottom: 1rem;
}

.about-skeleton-line {
  height: 14px;
  margin-bottom: 0.6rem;
}

.about-skeleton-line.short {
  width: 60%;
}

.about-skeleton-block {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
}

/* Principal skeleton */

.principal-skeleton-card {
  display: flex;
  gap: 1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  align-items: center;
}

.about-skeleton-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  flex-shrink: 0;
}

.principal-skeleton-text {
  flex: 1;
}
