/* Shared donor strip and corrections to the migrated page components. */
:root { --sos-content-width: 1320px; }
/* Keep the page builders' containers aligned with the site header. */
#page .entry-content :is(
  .sos-hero__inner, .sos-contact-inner, .sos-support-inner, .sos-topics-inner,
  .sos-app-inner, .sos-business-inner, .sos-news-inner, .advice-locations-inner,
  .sos-branches-inner, .news-wrap, .contact-wrap, .school-wrap, .contacts-wrap,
  .patient-wrap, .work-wrap, .purchase-wrap, .support-wrap, .about-wrap,
  .gos-hero-inner, .gos-why-inner, .gos-process-inner, .es-wrap, .media-wrap,
  .business-hero-inner, .gos-inner, .training-inner, .business-contact-inner,
  .consumer-hero-inner, .consumer-branches-inner, .consumer-events-inner,
  .consumer-membership-inner, .consumer-contact-inner, .consumer-selfhelp-inner,
  .consumer-resources-inner, .biz-training-inner, .training-custom-inner,
  .letters-wrap, .online-advice-wrap, .telco-wrap, .finance-wrap, .claim-wrap,
  .food-wrap, .energy-wrap, .membership-wrap
) { max-width: var(--sos-content-width); }
@media (min-width: 922px) {
  #masthead #ast-desktop-header .site-primary-header-wrap.ast-container {
    width: 86%; max-width: var(--sos-content-width); margin-inline: auto;
    min-width: min(882px, calc(100% - 70px));
    padding-inline: 0; box-sizing: border-box;
  }
}
.sos-partners {
  width: 100%; padding: 48px 0; overflow: hidden; background: #fff;
  color: #00334a; border-top: 1px solid #d4e5ea; box-sizing: border-box;
}
.sos-partners *, .sos-partners *::before, .sos-partners *::after { box-sizing: border-box; }
.sos-partners__header { max-width: 1200px; margin: 0 auto 28px; padding: 0 24px; text-align: center; }
.sos-partners__header > span { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #fc4a14; }
.sos-partners__header h2 { font-size: clamp(25px, 3vw, 36px); margin: 10px 0; color: #00334a; }
.sos-partners__header > a { font-size: 14px; color: #00334a; text-decoration: underline; }
.sos-partners__slider { overflow: hidden; width: 100%; }
.sos-partners__track { display: flex; width: max-content; animation: sos-donors-scroll 48s linear infinite; }
.sos-partners__group { display: flex; flex: 0 0 auto; align-items: center; gap: 20px; padding: 0 20px 0 0; }
.sos-partners .sos-partners__logo {
  display: flex; flex: 0 0 190px; width: 190px; height: 100px; padding: 16px;
  align-items: center; justify-content: center; gap: 9px; border: 1px solid #d4e5ea;
  border-radius: 12px; background: #fff; text-decoration: none;
}
.sos-partners .sos-partners__logo img { display: block; max-width: 155px; max-height: 65px; width: auto; height: auto; object-fit: contain; }
.sos-partners .sos-partners__logo img[src*="microsoft"] { width: 24px; height: 24px; }
.sos-partners .sos-partners__logo span { color: #00334a; font-size: 16px; font-weight: 700; }
.sos-partners:hover .sos-partners__track { animation-play-state: paused; }
.sos-partners:focus-within .sos-partners__track { animation: none; }
.sos-partners:focus-within .sos-partners__slider { overflow-x: auto; }
.sos-partners a:focus-visible, .sos-brno-link:focus-visible { outline: 3px solid #fc4a14; outline-offset: 3px; }
@keyframes sos-donors-scroll { to { transform: translateX(-50%); } }
.sos-community { padding: 24px; background: #f2f7e9; }
.sos-brno-link {
  display: grid; grid-template-columns: 230px minmax(0,1fr) auto; align-items: center; gap: 28px;
  max-width: 1120px; padding: 22px 28px; margin: 0 auto; border: 1px solid #cddcb3;
  border-radius: 14px; background: #fff; color: #00334a; text-decoration: none;
}
.sos-brno-link img { display: block; width: 216px; height: auto; }
.sos-brno-link strong, .sos-brno-link span > span { display: block; }
.sos-brno-link span > span { margin-top: 5px; font-size: 14px; color: #52717d; }
.sos-brno-link b { color: #669900; font-size: 28px; }
.sos-app .sos-app-visual.sos-app-visual--image { margin: 0 auto; min-height: 0; max-width: 340px; }
.sos-app-visual--image > a { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 45px #00334a26; }
.sos-app-visual--image img { display: block; width: 100%; height: auto; }
.sos-app-detail-image { width: min(100%, 360px); margin: 28px auto; }
.sos-app-detail-image img { width: 100%; height: auto; border-radius: 16px; }
.sos-app-resource-image { display: block; margin: 12px auto 20px; max-width: 150px; }
.sos-app-resource-image img { display: block; width: 100%; height: auto; border-radius: 10px; }
.support-donor-grid .support-donor { grid-template-columns: 155px minmax(0,1fr); gap: 22px; scroll-margin-top: 100px; }
.support-donor .support-logo-placeholder { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 15px; min-height: 120px; padding: 8px; border: 0; border-radius: 10px; background: #fff; }
.support-donor .support-logo-placeholder img { display: block; max-width: 100%; max-height: 90px; width: auto; height: auto; object-fit: contain; margin: 0; }
.support-donor .support-logo-placeholder img[src*="microsoft"] { width: 28px; height: 28px; }
.support-donor .support-donor-copy h3 { font-size: 20px; line-height: 1.3; }
.support-donor .support-donor-copy p { color: #43616b; font-size: 14px; line-height: 1.75; }
.sos-branch-map a { display: inline-flex; min-height: 44px; align-items: center; color: #00334a; text-decoration: underline; font-weight: 700; }
.contact-page .sos-contact-map-link { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; padding: 30px; text-decoration: none; color: #00334a; border: 1px solid #c1d9e0; }
.sos-contact-map-link .sos-map-pin { font-size: 64px; color: #fc4a14; }
.sos-contact-map-link > strong { font-size: 28px; }
.sos-contact-map-link > b { text-decoration: underline; }
.sos-map-overview { padding: 20px; border-radius: 12px; background: #eef8fa; font-weight: 700; }
.sos-document-section { padding: 64px 0; }
.sos-document-section:nth-of-type(even) { background: #f1f9fa; }
.sos-document-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 24px; }
.sos-document-card { display: flex; min-width: 0; gap: 16px; align-items: center; padding: 20px; border: 1px solid #c4d9df; border-radius: 12px; color: #00334a; background: #fff; text-decoration: none; }
.sos-document-card:hover { border-color: #fc4a14; }
.sos-document-card > img { width: 70px; height: 130px; object-fit: contain; flex: 0 0 70px; }
.sos-document-card strong { display: block; font-size: 17px; line-height: 1.4; color: #00334a; }
.sos-document-card small { display: block; margin-top: 8px; color: #fc4a14; font-size: 13px; font-weight: 700; }
.sos-document-type { display: inline-flex; flex: 0 0 46px; height: 56px; align-items: center; justify-content: center; border-radius: 8px; background: #fff0e9; color: #fc4a14; font-weight: 800; font-size: 13px; }
.letters-hero-card h2 { color: #fff !important; }
.letters-item .letters-file { font-size: 12px; }
@media (max-width: 1100px) {
  .support-donor-grid .support-donor { grid-template-columns: 1fr; }
  .sos-document-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .sos-brno-link { grid-template-columns: minmax(0,1fr) auto; gap: 18px; padding: 20px; }
  .sos-brno-link img { grid-column: 1 / -1; max-width: 100%; }
  .sos-partners .sos-partners__logo { flex-basis: 165px; width: 165px; height: 90px; }
  .sos-partners .sos-partners__logo img { max-width: 135px; max-height: 58px; }
  .sos-document-grid { grid-template-columns: minmax(0,1fr); }
  .sos-document-section { padding: 40px 0; }
  .sos-app .sos-app-visual.sos-app-visual--image { max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .sos-partners__track { animation: none; }
  .sos-partners__slider { overflow-x: auto; }
  .sos-partners__group[aria-hidden="true"] { display: none; }
}
/* The cover and download for each magazine issue share one destination. */
.sos-magazine-featured { display: grid; grid-template-columns: minmax(240px,360px) minmax(0,1fr); gap: 64px; align-items: center; }
.sos-magazine-featured__cover { display: block; background: #fff; box-shadow: 0 16px 40px #00334a24; }
.sos-magazine-featured__cover img { display: block; width: 100%; height: auto; }
.sos-magazine-kicker { color: #fc4a14; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
#page .sos-magazine-featured__copy h2 { margin: 16px 0; font-size: clamp(28px,3.5vw,44px); line-height: 1.2; color: #00334a; }
.sos-magazine-featured__copy h2 strong { color: #db3e13; }
.sos-magazine-featured__copy > p { max-width: 56ch; color: #43616b; }
.sos-magazine-featured__copy .sos-magazine-period { font-size: 22px; font-weight: 700; color: #00334a; }
.sos-magazine-featured__copy .sos-magazine-file { margin-top: 14px; font-size: 13px; }
.sos-magazine-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin-top: 28px; }
.sos-magazine-issue { display: block; min-width: 0; overflow: hidden; border: 1px solid #c4d9df; border-radius: 14px; background: #fff; color: #00334a; text-decoration: none; }
.sos-magazine-issue:hover { border-color: #fc4a14; }
.sos-magazine-issue:focus-visible, .sos-magazine-featured__cover:focus-visible { outline: 3px solid #fc4a14; outline-offset: 4px; }
.sos-magazine-issue__cover { padding: 24px; background: #eaf2f3; }
.sos-magazine-issue__cover img { display: block; width: 100%; height: auto; aspect-ratio: 800/1130; object-fit: contain; box-shadow: 0 8px 20px #00334a20; }
.sos-magazine-issue__copy { padding: 22px 24px; }
#page .sos-magazine-issue__copy h3 { margin: 0 0 6px; color: #00334a; font-size: 24px; }
.sos-magazine-issue__copy p { margin: 0 0 16px; color: #52717d; font-size: 15px; }
.sos-magazine-issue__copy > span { display: flex; align-items: center; justify-content: space-between; color: #fc4a14; font-size: 14px; font-weight: 700; }
#page .magazine-intro-card h2 { color: #fff; }
@media (max-width: 900px) {
  .sos-magazine-featured { grid-template-columns: minmax(220px,300px) minmax(0,1fr); gap: 32px; }
  .sos-magazine-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .sos-magazine-featured { grid-template-columns: minmax(0,1fr); }
  .sos-magazine-featured__cover { width: min(100%,300px); margin-inline: auto; }
}
@media (max-width: 560px) {
  .sos-magazine-grid { grid-template-columns: minmax(0,1fr); }
}
/* Topic cards open a guide or scroll to its existing overview. */
#page .sos-topic-link-card { display: flex; flex-direction: column; min-height: 250px; color: #00334a; text-decoration: none; cursor: pointer; }
#page .sos-topic-link-card h3 { color: #00334a; font-size: 22px; line-height: 1.35; }
#page .sos-topic-link-card p { font-size: 14px; line-height: 1.65; color: #52717d; }
#page .sos-topic-link-card > small { margin-top: auto; padding-top: 18px; color: #fc4a14; font-size: 10px; }
#page .sos-topic-secondary-link { cursor: pointer; text-decoration: none; }
#page .sos-topic-link-card:focus-visible, #page .sos-topic-secondary-link:focus-visible { outline: 3px solid #fc4a14; outline-offset: 4px; }
#smlouva-o-energiich, #nabidky-energii, #smlouva-s-operatorem, #nabidky-operatoru,
#najemni-smlouva, #kauce, #opravy-v-byte, #predani-bytu, #reklamace-potravin,
#trvanlivost-potravin, #udaje-na-obalu, #prava-pacienta, #zdravotnicka-dokumentace,
#stiznost-na-peci { scroll-margin-top: 96px; }

/* Material cards open the matching PDF; section navigation stays on the page. */
.sos-materials-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.sos-materials-nav .materials-btn { margin: 0; padding: 14px 20px; }
#page .materials-hero-card h2 { color: #fff; }
#brozury, #letaky, #archiv-materialu { scroll-margin-top: 96px; }
.sos-materials-archive { padding: 56px 0 72px; }
.sos-materials-kicker { color: #fc4a14; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.sos-material-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.sos-material-archive-card { display: flex; flex-direction: column; min-width: 0; gap: 12px; padding: 24px; border: 1px solid #c4d9df; border-radius: 12px; background: #fff; color: #00334a; text-decoration: none; }
.sos-material-archive-card strong { color: #00334a; font-size: 18px; line-height: 1.4; }
.sos-material-archive-card small { color: #52717d; font-size: 12px; }
.sos-material-archive-card > span { margin-top: auto; padding-top: 12px; color: #fc4a14; font-size: 13px; font-weight: 700; }
.sos-material-archive-card:hover { border-color: #fc4a14; }
.sos-document-card:focus-visible, .sos-material-archive-card:focus-visible { outline: 3px solid #fc4a14; outline-offset: 4px; }
@media (max-width: 900px) { .sos-material-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .sos-material-archive-grid { grid-template-columns: minmax(0,1fr); } }

/* Linked store QR codes retain a plain white quiet zone for scanning. */
.sos-app .sos-app-qr { margin-top: 30px; }
#page .sos-app-qr h3 { margin: 0 0 8px; color: #00334a; font-size: 22px; line-height: 1.35; }
.sos-app .sos-app-qr > p { margin: 0 0 18px; color: #52717d; font-size: 14px; line-height: 1.6; }
.sos-app-qr-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.sos-app .sos-app-qr-card { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 12px; padding: 18px; border: 1px solid #c4d9df; border-radius: 14px; background: #fff; color: #00334a; text-align: center; text-decoration: none; }
.sos-app .sos-app-qr-card > img { display: block; width: 180px; max-width: 100%; height: auto; aspect-ratio: 1; margin: 0; padding: 0; background: #fff; image-rendering: pixelated; }
.sos-app-qr-card strong, .sos-app-qr-card small, .sos-app-qr-card b { display: block; }
.sos-app-qr-card strong { color: #00334a; font-size: 18px; line-height: 1.4; }
.sos-app-qr-card small { margin-top: 2px; color: #52717d; font-size: 13px; }
.sos-app-qr-card b { margin-top: 10px; color: #fc4a14; font-size: 13px; line-height: 1.5; }
.sos-app .sos-app-qr-card:hover { border-color: #fc4a14; }
.sos-app-qr-card:focus-visible { outline: 3px solid #fc4a14; outline-offset: 4px; }
@media (max-width: 600px) {
  .sos-app-qr-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .sos-app .sos-app-qr-card { flex-direction: row; gap: 16px; padding: 14px; text-align: left; }
  .sos-app .sos-app-qr-card > img { width: 144px; flex: 0 0 144px; }
}

/* Native Astra social links sit beside the phone and inside the mobile menu. */
#masthead .ast-header-social-1-wrap .header-social-inner-wrap { display: flex; align-items: center; gap: 6px; }
#masthead .ast-header-social-1-wrap a.ast-builder-social-element { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid #d4e5ea; border-radius: 10px; background: #fff; color: #00334a; text-decoration: none; }
#masthead .ast-header-social-1-wrap a:hover { border-color: #fc4a14; background: #eef8fa; color: #d93d0d; }
#masthead .ast-header-social-1-wrap a:focus-visible { outline: 3px solid #fc4a14; outline-offset: 3px; }
#masthead .ast-header-social-1-wrap svg { display: block; width: 20px; height: 20px; }
#ast-desktop-header .site-header-primary-section-right-center { gap: 12px; }
#ast-mobile-header .ast-mobile-header-content [data-section="section-hb-social-icons-1"] { padding: 12px 20px 20px; }
#masthead .ast-header-social-1-wrap { min-width: 94px; }
#masthead .ast-header-social-1-wrap a.ast-builder-social-element { min-width: 44px; min-height: 44px; max-height: none; box-sizing: border-box; }
#ast-desktop-header .site-header-primary-section-right-center { flex-wrap: nowrap; }
#ast-desktop-header .ast-header-button-1,
#ast-desktop-header [data-section="section-hb-social-icons-1"] { padding-inline: 0; }
@media (min-width: 922px) and (max-width: 1279px) {
  #masthead #ast-desktop-header img.custom-logo { width: 180px !important; max-width: 180px !important; height: auto; }
  #masthead #ast-desktop-header .site-logo-img { padding-right: 0; }
  #masthead #ast-desktop-header .ast-builder-grid-row { column-gap: 12px; }
  #masthead #ast-desktop-header .main-header-menu { flex-wrap: nowrap; }
  #masthead #ast-desktop-header .main-header-menu > li > a { padding-inline: 4px !important; font-size: 13px !important; line-height: 1.4; white-space: nowrap; }
}

/* Each install card pairs the unchanged official store artwork with its QR. */
.sos-app .sos-app-install { margin-top: 24px; }
#page .sos-app-install-card { text-decoration: none !important; }
.sos-app .sos-app-install .sos-app-qr-grid { gap: 12px; }
.sos-app .sos-app-install-card { flex-direction: row; justify-content: center; gap: 12px; padding: 14px; }
.sos-app .sos-app-install-card > .sos-app-qr-code { width: 128px; height: 128px; flex: 0 0 128px; }
.sos-app-install-copy { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 12px; }
.sos-app-badge-wrap { display: flex; align-items: center; justify-content: center; min-height: 76px; }
.sos-app .sos-app-install-copy { flex: 0 1 auto; gap: 8px; }
.sos-app .sos-app-install-copy > strong { font-size: 16px; }
.sos-app .sos-app-badge-wrap { min-height: 56px; }
.sos-app .sos-app-store-badge { display: block; width: auto; height: 40px; max-width: none; margin: 0; padding: 0; object-fit: contain; }
.sos-app .sos-app-store-badge--android { height: 52px; }
@media (min-width: 1051px) and (max-width: 1359px) {
  .sos-app .sos-app-install .sos-app-qr-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  .sos-app .sos-app-install .sos-app-qr-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 350px) {
  .sos-app .sos-app-install-card { flex-direction: column; }
  .sos-app .sos-app-install-card > .sos-app-qr-code { flex-basis: auto; }
}

/* Longer contact details must not leave a gap below neighboring map panels. */
.sos-branch-card-two > .sos-branch-content { flex: 1 0 auto; }
.sos-branch-card-two > .sos-branch-map { flex-shrink: 0; }

/* Shared footer restored from the sandbox design. */

#sos-site-footer.sos-footer {
  background: #002a3a;
  color: #ffffff;
  padding: 75px 7% 0;
  font-family: inherit;
}
#sos-site-footer.sos-footer *,
#sos-site-footer.sos-footer *::before,
#sos-site-footer.sos-footer *::after {
  box-sizing: border-box;
}
#sos-site-footer .sos-footer-inner {
  max-width: var(--sos-content-width);
  margin: 0 auto;
}
#sos-site-footer .sos-footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 1fr 1.45fr;
  gap: 48px;
  padding-bottom: 58px;
}
#sos-site-footer .sos-footer-brand {
  padding-right: 20px;
}
#sos-site-footer .sos-footer-logo {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
  margin-bottom: 25px;
}
#sos-site-footer .sos-footer-brand p {
  color: #b9cdd3;
  font-size: 15px;
  line-height: 1.65;
  max-width: 330px;
  margin: 0 0 25px;
}
#sos-site-footer .sos-footer-help {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
}
#sos-site-footer .sos-footer-help span {
  color: #FC4A14;
  font-size: 21px;
}
#sos-site-footer .sos-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#sos-site-footer .sos-footer-column h3 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin: 4px 0 23px;
}
#sos-site-footer .sos-footer-column > a {
  display: inline-block;
  color: #b9cdd3 !important;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none !important;
  margin-bottom: 13px;
  transition: color .2s ease;
}
#sos-site-footer .sos-footer-column > a:hover {
  color: #ffffff !important;
}
#sos-site-footer .sos-footer-address {
  color: #b9cdd3;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}
#sos-site-footer .sos-footer-contact-group {
  margin-bottom: 18px;
}
#sos-site-footer .sos-footer-contact-group span {
  display: block;
  color: #789aa4;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
#sos-site-footer .sos-footer-contact-group a {
  display: block;
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none !important;
}
#sos-site-footer .sos-footer-contact-group a:hover {
  color: #FC4A14 !important;
}
#sos-site-footer .sos-footer-contact .sos-footer-contact-link {
  color: #ffffff !important;
  font-weight: 800;
  margin-top: 3px;
}
#sos-site-footer .sos-footer-contact-link span {
  color: #FC4A14;
  font-size: 19px;
  margin-left: 6px;
}
#sos-site-footer .sos-footer-bottom {
  min-height: 72px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
#sos-site-footer .sos-footer-copyright {
  color: #8fabb3;
  font-size: 13px;
}
#sos-site-footer .sos-footer-legal {
  display: flex;
  align-items: center;
  gap: 25px;
}
#sos-site-footer .sos-footer-legal a {
  color: #8fabb3 !important;
  font-size: 13px;
  text-decoration: none !important;
  transition: color .2s ease;
}
#sos-site-footer .sos-footer-legal a:hover {
  color: #ffffff !important;
}
@media (max-width: 1000px) {
#sos-site-footer .sos-footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 45px;
  }
#sos-site-footer .sos-footer-contact {
    grid-column: 1 / -1;
    padding-top: 10px;
  }
}
@media (max-width: 700px) {
#sos-site-footer.sos-footer {
    padding: 55px 24px 0;
  }
#sos-site-footer .sos-footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 45px;
  }
#sos-site-footer .sos-footer-brand {
    padding-right: 0;
  }
#sos-site-footer .sos-footer-logo {
    width: 230px;
  }
#sos-site-footer .sos-footer-column h3 {
    margin-bottom: 16px;
  }
#sos-site-footer .sos-footer-contact {
    grid-column: auto;
    padding-top: 0;
  }
#sos-site-footer .sos-footer-bottom {
    min-height: auto;
    padding: 25px 0 30px;
    display: block;
  }
#sos-site-footer .sos-footer-copyright {
    margin-bottom: 13px;
  }
#sos-site-footer .sos-footer-legal {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}


#sos-site-footer .sos-footer-logo-link { display: block; }
#sos-site-footer .sos-footer-address a { color: #b9cdd3 !important; text-decoration: none; }
#sos-site-footer .sos-footer-address a:hover { color: #fff !important; }
#sos-site-footer a:focus-visible { outline: 3px solid #ffd0b5; outline-offset: 4px; border-radius: 3px; }
#sos-site-footer .sos-footer-contact-group a:hover { color: #ffb18f !important; }
.sos-policy-page { padding: 64px 7% 84px; background: #fff; color: #244b5d; line-height: 1.8; }
.sos-policy-page, .sos-policy-page * { box-sizing: border-box; }
/* Astra removes max-width from direct HTML-block children; scope this above it. */
#page .sos-policy-page > .sos-policy-inner { width: 100%; max-width: 860px; margin-inline: auto; }
.sos-policy-hero { margin-bottom: 36px; }
.sos-policy-kicker { color: #fc4a14; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
#page .sos-policy-page h1 { margin: 14px 0 20px; color: #00334a; font-size: clamp(34px,4vw,52px); line-height: 1.15; letter-spacing: -.025em; }
#page .sos-policy-page h2 { margin: 30px 0 14px; color: #00334a; font-size: 25px; line-height: 1.35; }
.sos-policy-hero > p { max-width: 72ch; color: #43616b; }
.sos-policy-date { font-size: 13px; }
#page .sos-policy-page p, #page .sos-policy-page li { max-width: none; }
.sos-policy-page li { margin-bottom: 12px; }
.sos-policy-page a { color: #fc4a14; text-decoration: underline; text-underline-offset: .15em; overflow-wrap: anywhere; }
.sos-policy-page a:hover { color: #00334a; }
.sos-policy-page a:focus-visible { outline: 3px solid #fc4a14; outline-offset: 3px; }
.sos-policy-card, .sos-policy-note { padding: 24px; margin: 28px 0; border: 1px solid #c4d9df; border-radius: 14px; background: #eef8fa; }
#page .sos-policy-card h2 { margin-top: 0; }
.sos-policy-card p:last-child, .sos-policy-note p { margin-bottom: 0; }
@media (max-width: 600px) {
  .sos-policy-page { padding: 44px 24px 60px; }
  .sos-policy-card, .sos-policy-note { padding: 20px; }
}

/* Keep the original live GOS register within the page's responsive content. */
.sos-gos-holders-page { padding: 64px 7% 80px; color: #244b5d; background: #fff; }
.sos-gos-holders-page, .sos-gos-holders-page * { box-sizing: border-box; }
.sos-gos-holders-inner { max-width: var(--sos-content-width); margin-inline: auto; }
.sos-gos-holders-kicker { color: #fc4a14; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
#page .sos-gos-holders-page h1 { margin: 16px 0 20px; color: #00334a; font-size: clamp(32px,4vw,48px); line-height: 1.2; }
.sos-gos-holders-back a, .sos-gos-holders-table td a { color: #fc4a14; text-decoration: underline; text-underline-offset: .15em; }
.sos-gos-holders-table { max-width: 100%; overflow-x: auto; margin-top: 30px; border: 1px solid #c4d9df; border-radius: 12px; }
.sos-gos-holders-table table { width: 100%; min-width: 780px; margin: 0; border: 0; border-collapse: collapse; }
.sos-gos-holders-table th { padding: 16px; border: 0; background: #00334a; color: #fff; text-align: left; font-size: 14px; }
.sos-gos-holders-table th a { color: #fff !important; text-decoration: underline; text-underline-offset: .15em; }
.sos-gos-holders-table td { padding: 16px; border: 0; border-bottom: 1px solid #d4e5ea; vertical-align: top; color: #244b5d; font-size: 14px; }
.sos-gos-holders-table td:first-child { min-width: 230px; font-weight: 700; }
.sos-gos-holders-table tbody tr:nth-child(even) td { background: #f3fafb; }
.sos-gos-holders-table tbody tr:last-child td { border-bottom: 0; }
.sos-gos-holders-table:focus-visible, .sos-gos-holders-page a:focus-visible, .gos-holders:focus-visible { outline: 3px solid #fc4a14; outline-offset: 4px; }
@media (max-width: 600px) { .sos-gos-holders-page { padding: 44px 24px 60px; } }

/* Align the contribution note with the membership plan cards. */
#page .membership-plans-note {
  width: 100%;
  max-width: none;
}

/* Keep the M365 shortcut aligned with the social icons at notebook widths. */
#masthead .ast-header-social-1-wrap { min-width: 144px; }
@media (min-width: 922px) and (max-width: 1023px) {
  #masthead #ast-desktop-header img.custom-logo { width: 160px !important; max-width: 160px !important; }
  #masthead #ast-desktop-header .ast-builder-grid-row { column-gap: 8px; }
  #masthead #ast-desktop-header .main-header-menu > li > a { padding-inline: 3px !important; }
  #masthead #ast-desktop-header .site-header-primary-section-right-center { gap: 8px; }
}

/* Compact, uncropped acknowledgements belong to each supported branch. */
#page .sos-branch-support { margin-top: 24px; padding-top: 16px; border-top: 1px solid #e5edef; }
#page .sos-branch-support > p { margin: 0 0 12px; color: #52717d; font-size: 11px; line-height: 1.6; }
#page .sos-branch-support-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
#page .sos-branch-support-logos > a { display: inline-flex; align-items: center; justify-content: flex-start; width: 140px; min-height: 44px; max-width: 100%; text-decoration: none; }
#page .sos-branch-support-logos img { display: block; width: 140px; height: 40px; max-width: 100%; margin: 0; object-fit: contain; object-position: left center; }
#page .sos-branch-support-logos > a:focus-visible { outline: 3px solid #fc4a14; outline-offset: 3px; border-radius: 3px; }

/* Direct enquiries and documents follow the existing SOS layout. */
#dokumenty, #poptavka-skoleni { scroll-margin-top: 30px; }
#page .sos-organization-documents { background: #f3fafb; }
#page .sos-organization-documents .sos-document-card { min-width: 0; }
#page .sos-organization-documents .sos-document-card > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.sos-training-enquiry { padding: 72px 7%; background: #fff; color: #00475a; }
.sos-training-enquiry, .sos-training-enquiry * { box-sizing: border-box; }
#page .sos-training-enquiry-inner { max-width: 1320px; margin-inline: auto; display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; }
.sos-training-intro > span { color: #fc4a14; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
#page .sos-training-intro h2 { margin: 14px 0 20px; color: #00475a; font-size: clamp(28px,3vw,42px); line-height: 1.15; }
.sos-training-intro p { color: #52717d; line-height: 1.7; }
.sos-training-intro a { color: #00475a; font-weight: 700; overflow-wrap: anywhere; }
.sos-training-form-card { padding: 32px; border: 1px solid #d4e5ea; border-radius: 18px; background: #f3fafb; min-width: 0; }
.sos-training-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.sos-training-fields p { margin: 0 0 12px; min-width: 0; }
.sos-training-wide { grid-column: 1 / -1; }
.sos-training-form-card label, .sos-training-topics legend { color: #00475a; font-weight: 700; font-size: 14px; }
.sos-training-form-card input:not([type=checkbox]):not([type=submit]), .sos-training-form-card textarea { width: 100%; max-width: 100%; margin-top: 6px; padding: 12px; background: #fff; border: 1px solid #bdd2da; border-radius: 8px; color: #00334a; }
.sos-training-topics { border: 0; padding: 0; margin: 18px 0; min-width: 0; }
.sos-training-topics legend { padding: 0; margin-bottom: 10px; }
.sos-training-topics .wpcf7-list-item { display: block; margin: 0 0 9px; }
.sos-training-topics .wpcf7-list-item label { display: flex; align-items: baseline; gap: 9px; font-weight: 400; }
#page .sos-training-topics input[type=checkbox], #page .sos-member-card .wpcf7-acceptance input[type=checkbox] { width: 18px; min-width: 18px; max-width: 18px; height: 18px; margin: 0; padding: 0; flex: 0 0 18px; }
#page .sos-training-topics .wpcf7-list-item-label { flex: 1; min-width: 0; }

.sos-form-privacy { font-size: 12px; color: #52717d; }
.sos-training-form-card input[type=submit] { min-height: 50px; width: 100%; padding: 14px; border: 0; border-radius: 8px; background: #ff4b23; color: #fff; font-weight: 800; white-space: normal; }
.sos-member-terms-note { font-size: 12px; color: #52717d; }
.sos-member-card .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.sos-member-card .wpcf7-acceptance label { display: flex; align-items: baseline; gap: 9px; }
.sos-member-card .wpcf7-acceptance input { width: auto; flex: 0 0 auto; }
@media (max-width: 950px) { #page .sos-training-enquiry-inner { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .sos-training-enquiry { padding: 48px 24px; } .sos-training-form-card { padding: 22px; } .sos-training-fields { grid-template-columns: 1fr; } }

/* Current Brno location and translucent, rounded regional selectors. */
#page .sos-branch-location-map { width: 100%; max-width: 520px; margin: 24px 0; }
#page .sos-branch-map-image { display: block; overflow: hidden; border: 1px solid rgba(160,193,202,.55); border-radius: 24px; background: transparent; box-shadow: 0 16px 40px rgba(0,51,74,.09); }
#page .sos-branch-location-map img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; opacity: .92; transition: opacity .2s ease; }
#page .sos-branch-map-image:hover img, #page .sos-branch-map-image:focus-visible img { opacity: 1; }
#page .sos-branch-map-image:focus-visible { outline: 3px solid #ff4b23; outline-offset: 4px; }
#page .sos-branch-location-map figcaption { margin-top: 12px; font-size: 13px; line-height: 1.6; }
#page .sos-branch-location-map figcaption > a { color: #00475a; font-weight: 700; text-decoration: none; }
#page .sos-branch-location-map figcaption small { display: block; margin-top: 3px; font-size: 10px; color: #52717d; }
#page .sos-branch-location-map figcaption small a { color: inherit; }
#page .advice-locations .advice-region { border-radius: 20px; background: rgba(255,255,255,.68); border-color: rgba(173,204,212,.65); }
#page .advice-locations .advice-region-icon { background: rgba(233,247,250,.75); }
#page .advice-locations .advice-region:hover, #page .advice-locations .advice-region:focus-visible { background: rgba(255,255,255,.9); }

/* The GOS detail card shares the business overview benefits and register link. */
#page .gos-hero-card .sos-gos-holders-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 67px; color: #fff !important; font-size: 14px; font-weight: 800; text-decoration: none !important; }
#page .gos-hero-card .sos-gos-holders-link span { color: #ff4b23; font-size: 21px; flex: 0 0 auto; }
#page .gos-hero-card .sos-gos-holders-link:hover { background: rgba(0,0,0,.18); }
#page .gos-hero-card .sos-gos-holders-link:focus-visible { outline: 3px solid #ff4b23; outline-offset: -4px; }

/* Local map previews for the individual counseling offices. */
#page .sos-branch-map.sos-branch-map--visual {
  min-height: 360px;
  padding: 0;
  justify-content: flex-start;
  background: #f0f7f8;
}
#page .sos-branch-map-preview {
  display: block;
  position: relative;
  flex: 1 0 220px;
  min-height: 220px;
  overflow: hidden;
  background: #e4eff1;
}
#page .sos-branch-map-preview img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  opacity: .92;
  transition: opacity .2s ease;
}
#page .sos-branch-map-preview:hover img,
#page .sos-branch-map-preview:focus-visible img { opacity: 1; }
#page .sos-branch-map-preview:focus-visible {
  outline: 3px solid #ff4b23;
  outline-offset: -3px;
}
#page .sos-branch-map-caption { padding: 20px 24px; }
#page .sos-branch-map-caption strong { display: block; }
#page .sos-branch-map-caption p { margin-bottom: 10px; }
#page .sos-branch-map-credit {
  display: block;
  margin-top: 12px;
  color: #587982;
  font-size: 9px;
  line-height: 1.5;
}
#page .sos-branch-map .sos-branch-map-credit a {
  color: #587982 !important;
  font-size: inherit;
  font-weight: 400;
  text-decoration: underline !important;
}
#page .sos-branch-card-two .sos-branch-map-preview { flex: 0 0 220px; }
@media (max-width: 600px) {
  #page .sos-branch-map.sos-branch-map--visual { min-height: 0; }
  #page .sos-branch-map-preview { flex: 0 0 210px; min-height: 210px; }
  #page .sos-branch-card-two .sos-branch-map-preview { flex-basis: 210px; }
  #page .sos-branch-map-caption { padding: 18px 22px; }
}
