/* Elobied Social – front end. Uses the theme colour variables when present. */
.es-share, .es-follow, .es-embed, .es-video-grid {
	--es-primary: var(--c-primary, #12334B);
	--es-accent: var(--c-accent-ink, #1B7A71);
	--es-bg: var(--c-bg, #F5F8FA);
	--es-border: var(--c-border, #dde5eb);
}
.es-share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 2rem 0; padding: 1rem 1.25rem; background: var(--es-bg); border-radius: 14px; }
.es-share__title, .es-follow__title { margin: 0; font-weight: 700; color: var(--es-primary); }
.es-share__list, .es-follow__list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.es-share__list li[hidden] { display: none; }
.es-share__btn, .es-follow__link {
	display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .4rem .9rem;
	border-radius: 999px; border: 1px solid var(--es-border); background: #fff; color: var(--es-primary);
	font: inherit; font-size: .92rem; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.es-share__btn:hover, .es-follow__link:hover { background: var(--es-primary); border-color: var(--es-primary); color: #fff; }
.es-share__btn:focus-visible, .es-follow__link:focus-visible, .es-embed__load:focus-visible { outline: 3px solid var(--c-gold, #D5A84D); outline-offset: 2px; }
.es-share__btn--whatsapp:hover { background: #128c4b; border-color: #128c4b; }
.es-icon { width: 1.15em; height: 1.15em; flex: none; }
.es-share__status { color: var(--es-accent); font-weight: 700; font-size: .9rem; }
.es-share .screen-reader-text, .es-follow .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
@media (max-width: 520px) { .es-share__btn--facebook .es-share__label, .es-share__btn--telegram .es-share__label, .es-share__btn--x .es-share__label, .es-share__btn--linkedin .es-share__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); } }

.es-follow { margin: 1.5rem 0; display: grid; gap: .75rem; }

.es-embed { position: relative; margin: 1.5rem 0; width: 100%; max-width: 100%; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--es-primary), #0d2638); color: #fff; }
.es-embed--tiktok { max-width: 340px; }
.es-embed--facebook, .es-embed--instagram, .es-embed--x, .es-embed--telegram { max-width: 540px; }
.es-embed__facade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.25rem; text-align: center; }
.es-embed__title { margin: 0; font-weight: 700; font-size: 1.05rem; max-width: 40ch; }
.es-embed__load { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .6rem 1.2rem; border: 0; border-radius: 999px; background: #fff; color: var(--es-primary); font: inherit; font-weight: 700; cursor: pointer; }
.es-embed__load .es-icon { width: 1.5em; height: 1.5em; color: #d33; }
.es-embed__note { margin: 0; font-size: .8rem; opacity: .85; max-width: 46ch; }
.es-embed iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.es-embed[data-es-loaded] { background: transparent; }
.es-embed--telegram[data-es-loaded] { min-height: 0 !important; }

.es-video-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.es-video .es-embed { margin: 0; }
.es-video__date { margin: .4rem 0 0; font-size: .85rem; color: #5b6b78; }
.es-more { margin-top: 1rem; }
