/* Local presentation only. No remote fonts, images, imports or animations. */
.social-embeds {
  --embed-ink: var(--ink, #333d30);
  --embed-paper: #fff;
  --embed-line: var(--line, #dcded2);
  --embed-accent: var(--olive-dark, #3a4936);
  color: var(--embed-ink);
  font-family: var(--sans, Manrope, Arial, sans-serif);
}

.social-embeds [hidden] {
  display: none !important;
}

.social-embeds-intro {
  max-width: 64ch;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.7;
}

.social-embeds-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

.social-embed-card {
  width: 100%;
  max-width: 544px;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  background: var(--embed-paper);
  border-radius: 4px;
  /* An inset line preserves the full usable width for the 350px Facebook frame. */
  box-shadow: inset 0 0 0 1px var(--embed-line);
}

.social-embed-card-copy {
  padding: 24px;
}

.social-embed-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.social-embed-heading > svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.social-embed-provider {
  margin: 3px 0 0;
  color: var(--embed-accent);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.social-embed-title {
  margin: 0;
  font-family: var(--sans, Manrope, Arial, sans-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
}

.social-embed-consent,
.social-embed-status {
  max-width: 48ch;
  margin: 0;
  color: var(--embed-ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.social-embed-status:not(:empty) {
  margin-top: 16px;
}

.social-embed-load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 148px;
  max-width: 100%;
  margin-top: 18px;
  padding: 12px 20px;
  border: 1px solid var(--embed-accent);
  border-radius: 3px;
  background: var(--embed-accent);
  color: #fffdf6;
  font: 500 17px/1.4 var(--sans, Manrope, Arial, sans-serif);
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.social-embed-load:hover {
  background: #2f3d2c;
}

.social-embed-card[data-social-state="embedded"] .social-embed-card-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
}

.social-embed-card[data-social-state="embedded"] .social-embed-heading {
  margin: 0;
}

.social-embed-card[data-social-state="embedded"] .social-embed-provider {
  display: none;
}

.social-embed-card[data-social-state="embedded"] .social-embed-load {
  min-width: 0;
  margin: 0;
  padding: 8px 12px;
  border-color: transparent;
  background: transparent;
  color: var(--embed-accent);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.social-embed-load[aria-disabled="true"] {
  cursor: wait;
}

.social-embed-load:focus-visible,
.social-embed-link:focus-visible {
  outline: 3px solid var(--embed-accent);
  outline-offset: 4px;
}

.social-embed-stage {
  width: 100%;
  max-width: 500px;
  min-width: 0;
  margin-inline: auto;
}

.social-embed-stage .instagram-media,
.social-embed-stage .fb-post,
.social-embed-stage .fb-post > span {
  display: block;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-shadow: none !important;
}

.social-embed-stage iframe {
  display: block;
  max-width: 100% !important;
  margin-inline: auto !important;
  border: 0;
}

.social-embed-card-footer {
  padding: 18px 24px 24px;
}

.social-embed-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  max-width: 100%;
  color: var(--embed-accent);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.social-embed-link:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 919px) {
  .social-embeds-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 359px) {
  .social-embed-card-copy {
    padding: 20px;
  }

  .social-embed-card-footer {
    padding: 12px 20px 20px;
  }
}
