/* Connected native Instagram: one photographic band directly above the footer. */
body.template-13 #footer .custom-footer__instagram:not(:has(.instagram-widget)) { display: none; }
body.template-13 .es-instagram-band { background: #fff; color: #333; border-top: 1px solid #e2e5e8; padding: 30px 0 0; }
body.template-13 .es-instagram-band .es-instagram-inner { max-width: var(--es-container); padding: 0 10px; margin: 0 auto; }
body.template-13 .es-instagram-band #es-instagram-heading { font: 600 20px/1.45 "Open Sans",sans-serif; text-align: center; margin: 0 0 24px; padding: 0; }
body.template-13 .es-instagram-band #es-instagram-heading a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; max-width: 100%; color: #333; text-decoration: none; }
body.template-13 .es-instagram-band #es-instagram-heading .es-icon { flex: 0 0 24px; color: #2376a8; pointer-events: none; }
body.template-13 .es-instagram-handle { color: #2376a8; white-space: nowrap; }
body.template-13 .es-instagram-band .es-instagram-source { float: none; width: 100%; max-width: none; padding: 0; margin: 0; }
body.template-13 .es-instagram-source > :is(h2,h3,h4,.topic) { display: none; }
body.template-13 .es-instagram-band .instagram-widget { display: grid; width: 100%; max-width: none; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px; margin: 0; padding: 0; }
body.template-13 .es-instagram-band .instagram-follow-btn { grid-column: 1 / -1; padding: 14px 0 22px; text-align: center; }
body.template-13 .es-instagram-band .instagram-follow-btn span { display: inline-block; }
body.template-13 .es-instagram-band .instagram-widget::before,
body.template-13 .es-instagram-band .instagram-widget::after { content: none; display: none; }
body.template-13 .es-instagram-band .instagram-widget > a { display: block; position: relative; width: 100%; max-width: none; margin: 0; padding: 0; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: #f2f2f2; }
body.template-13 .es-instagram-band .instagram-widget > a img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
body.template-13 .es-instagram-band a:focus-visible { outline: 2px solid #245a91; outline-offset: -3px; }
body.template-13 .es-instagram-band #es-instagram-heading a:hover { color: #2376a8; text-decoration: underline; text-underline-offset: 4px; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  body.template-13 .es-instagram-band .instagram-widget > a img { transition: transform .2s ease; }
  body.template-13 .es-instagram-band .instagram-widget > a:hover img { transform: scale(1.035); }
}
@media(max-width:991px) { body.template-13 .es-instagram-band .instagram-widget { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:599px) {
  body.template-13 .es-instagram-band { padding-top: 24px; }
  body.template-13 .es-instagram-band #es-instagram-heading { font-size: 18px; margin-bottom: 18px; }
  body.template-13 .es-instagram-band #es-instagram-heading a { gap: 10px; text-align: left; }
  body.template-13 .es-instagram-band .instagram-widget { grid-template-columns: repeat(2,minmax(0,1fr)); }
}


/* Instagramovy pruh: sest fotografii pres sirku webu, decentni hlavicka. */
#es-instagram-band { margin-top: 50px; padding-top: 0; border-top: 0; }
/* Fotografie navazují na šedý podklad stránky, výzva k souhlasu zůstává bílá. */
#es-instagram-band:has(.instagram-widget > a img) { background: #f2f2f2; }
#es-instagram-band .es-instagram-inner { width: 100%; max-width: none; padding: 0; }
#es-instagram-band #es-instagram-heading { font-size: 14px; margin: 0; }
#es-instagram-band #es-instagram-heading a { gap: 8px; padding: 8px 10px; }
#es-instagram-band #es-instagram-heading .es-icon { width: 18px; height: 18px; flex-basis: 18px; }
#es-instagram-band .es-instagram-handle { color: var(--es-muted); }
#es-instagram-band .instagram-widget { gap: 3px; }
#es-instagram-band .instagram-widget>a { border-radius: 0; }
#es-instagram-band .instagram-follow-btn { display: none; }
#es-instagram-band .es-instagram-consent-note { padding: 16px 10px 24px; text-align: center; }
#es-instagram-band .es-instagram-consent-note p { margin: 0 auto 16px; font-size: 14px; }

body.template-13 .es-instagram-source img { position: static; transform: none; }
