/* Social Media Section - Dumont */

.social-media-section {
  width: 100%;
  max-width: 100%;
  margin: 60px auto 0 auto;
  display: grid;
  grid-template-columns: 65% 1fr;
  gap: 40px;
}

/* Reduz margem quando está logo após páginas internas (contato, sobre, etc) */
.about-radio-page~.container .social-media-section {
  margin-top: 10px;
}

.social-column {
  display: flex;
  flex-direction: column;
}

/* Headers - Seguindo padrão Dumont (igual Últimas Notícias) */
.social-header {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  height: 40px;
  position: relative;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(0, 82, 161, 0.3);
  margin-bottom: 30px;
}

.instagram-header {
  background: #ff8570;
  box-shadow: 0 4px 12px rgba(255, 133, 112, 0.3);
}

.facebook-header {
  background: #020146;
  box-shadow: 0 4px 12px rgba(2, 1, 70, 0.3);
}

.social-header-icon {
  position: absolute;
  left: -60px;
  top: 20%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}

.facebook-header .social-header-icon {
  width: 140px;
  height: 140px;
  left: -50px;
}

.social-title-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
}

.social-title {
  font-weight: 950;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  margin-left: 80px;
}

.social-follow-btn {
  font-size: 0.65rem;
  font-weight: 900;
  color: white;
  text-decoration: none;
  padding: 6px 14px;
  background: #020146;
  border-radius: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-follow-btn:hover {
  background: #010030;
  transform: scale(1.05);
}

/* Instagram Posts List - 2 posts lado a lado com embed oficial */
.instagram-posts-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: transparent;
}

.instagram-post-card {
  background: white;
  overflow: hidden;
  min-height: 500px;
}

.instagram-post-card .instagram-media {
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Facebook Page Plugin */
.facebook-page-plugin {
  background: white;
  padding: 20px;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 600px;
}

.facebook-page-plugin .fb-page {
  width: 100% !important;
}

.facebook-page-plugin iframe {
  width: 100% !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .social-media-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .instagram-posts-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .social-media-section {
    padding: 0 10px;
    margin: 40px auto 0 auto;
  }

  .social-header {
    padding: 12px 15px;
  }

  .social-title {
    font-size: 0.95rem;
  }

  .social-follow-btn {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .instagram-posts-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .facebook-page-plugin {
    padding: 15px;
    min-height: 500px;
  }
}

@media (max-width: 480px) {
  .social-header {
    padding: 10px 12px;
  }

  .social-title {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  .social-follow-btn {
    display: none;
  }

  .facebook-page-plugin {
    padding: 10px;
  }
}

/* Ocultar seções de redes sociais no mobile */
@media (max-width: 768px) {

  .social-media-section,
  .instagram-section,
  .facebook-section {
    display: none;
  }
}
