/* ===========================================================================
 * Extreme Pro - ikony sociálních sítí (Theme Options -> Sociální linky)
 * Styly: .exp-soc--{circle|outline|rounded|square|plain}
 * Barvy: .exp-soc--c-{brand|custom|inherit}, efekt: .exp-soc--h-{lift|grow|none}
 * Proměnné: --soc-size, --soc-gap, --soc-brand (u ikony), --soc-icon, --soc-bg, --soc-hover
 * ======================================================================== */
.exp-soc { display: flex; flex-wrap: wrap; align-items: center; gap: var(--soc-gap, 10px); }
.exp-soc-i { display: inline-flex; align-items: center; justify-content: center; width: var(--soc-size, 38px); height: var(--soc-size, 38px); font-size: calc(var(--soc-size, 38px) * .42); line-height: 1; text-decoration: none !important; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.exp-soc-i .exp-icon { font-size: inherit; line-height: 1; }

/* vlastní ikona / obrázek (Sociální linky -> u sítě „Vlastní ikona“) */
.exp-soc-i img { display: block; width: 56%; height: 56%; object-fit: contain; }
.exp-soc--plain .exp-soc-i img { width: calc(var(--soc-size, 38px) * .62); height: calc(var(--soc-size, 38px) * .62); }
.exp-soc-i.is-fill { padding: 0; overflow: hidden; }
.exp-soc-i.is-fill img { width: 100%; height: 100%; object-fit: cover; }
.exp-soc--plain .exp-soc-i.is-fill img { width: var(--soc-size, 38px); height: var(--soc-size, 38px); border-radius: 6px; }
.exp-soc-abbr { font-weight: 700; font-size: 1.05em; }

/* tvary */
.exp-soc--circle .exp-soc-i, .exp-soc--outline .exp-soc-i { border-radius: 50%; }
.exp-soc--rounded .exp-soc-i { border-radius: calc(var(--soc-size, 38px) * .28); }
.exp-soc--square .exp-soc-i { border-radius: 3px; }
.exp-soc--plain .exp-soc-i { width: auto; height: auto; padding: 4px; font-size: calc(var(--soc-size, 38px) * .5); }

/* oficiální barvy sítí */
.exp-soc--c-brand.exp-soc--circle .exp-soc-i, .exp-soc--c-brand.exp-soc--rounded .exp-soc-i, .exp-soc--c-brand.exp-soc--square .exp-soc-i { background: var(--soc-brand); color: #fff !important; }
.exp-soc--c-brand.exp-soc--outline .exp-soc-i { border: 2px solid var(--soc-brand); color: var(--soc-brand) !important; }
.exp-soc--c-brand.exp-soc--outline .exp-soc-i:hover { background: var(--soc-brand); color: #fff !important; }
.exp-soc--c-brand.exp-soc--plain .exp-soc-i { color: var(--soc-brand) !important; }
/* na tmavém pozadí (patička) černé ikony (X, TikTok, Threads) zesvětlit */
.exp-footer-wrap .exp-soc--c-brand .exp-soc-i--x, .exp-footer-wrap .exp-soc--c-brand .exp-soc-i--tiktok, .exp-footer-wrap .exp-soc--c-brand .exp-soc-i--threads { --soc-brand: #3a3d47; }
.exp-footer-wrap .exp-soc--c-brand.exp-soc--plain .exp-soc-i--x, .exp-footer-wrap .exp-soc--c-brand.exp-soc--plain .exp-soc-i--tiktok, .exp-footer-wrap .exp-soc--c-brand.exp-soc--plain .exp-soc-i--threads, .exp-footer-wrap .exp-soc--c-brand.exp-soc--outline .exp-soc-i--x, .exp-footer-wrap .exp-soc--c-brand.exp-soc--outline .exp-soc-i--tiktok, .exp-footer-wrap .exp-soc--c-brand.exp-soc--outline .exp-soc-i--threads { --soc-brand: #ffffff; }

/* vlastní barvy */
.exp-soc--c-custom .exp-soc-i { background: var(--soc-bg, var(--exp-primary,#5000A0)); color: var(--soc-icon, #fff) !important; }
.exp-soc--c-custom.exp-soc--outline .exp-soc-i { background: transparent; border: 2px solid var(--soc-bg, var(--exp-primary,#5000A0)); color: var(--soc-bg, var(--exp-primary,#5000A0)) !important; }
.exp-soc--c-custom.exp-soc--plain .exp-soc-i { background: none; color: var(--soc-bg, var(--exp-primary,#5000A0)) !important; }
.exp-soc--c-custom .exp-soc-i:hover { background: var(--soc-hover, var(--soc-bg, var(--exp-primary,#5000A0))); }
.exp-soc--c-custom.exp-soc--outline .exp-soc-i:hover { background: var(--soc-bg, var(--exp-primary,#5000A0)); color: var(--soc-icon, #fff) !important; }
.exp-soc--c-custom.exp-soc--plain .exp-soc-i:hover { background: none; color: var(--soc-hover, var(--soc-bg, var(--exp-primary,#5000A0))) !important; }

/* podle okolního textu */
.exp-soc--c-inherit .exp-soc-i { color: inherit !important; background: color-mix(in srgb, currentColor 12%, transparent); }
.exp-soc--c-inherit.exp-soc--outline .exp-soc-i { background: transparent; border: 1.5px solid color-mix(in srgb, currentColor 40%, transparent); }
.exp-soc--c-inherit.exp-soc--plain .exp-soc-i { background: none; }
.exp-soc--c-inherit .exp-soc-i:hover { background: color-mix(in srgb, currentColor 22%, transparent); }

/* efekt po najetí */
.exp-soc--h-lift .exp-soc-i:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0, 0, 0, .18); }
.exp-soc--h-lift.exp-soc--plain .exp-soc-i:hover { box-shadow: none; }
.exp-soc--h-grow .exp-soc-i:hover { transform: scale(1.12); }

/* umístění */
.exp-soc-item { display: flex; align-items: center; padding: 0 6px; }
.exp-soc-item .exp-soc { flex-wrap: nowrap; gap: 6px; }
.exp-soc--topbar { gap: 6px; }
@media (max-width: 991px) {
	.exp-header-nav--mobile-only .exp-soc-item { justify-content: center; flex: 0 0 100%; padding: 14px 0; }
}
@media (prefers-reduced-motion: reduce) { .exp-soc-i { transition: none; } }
