/* Shared navigation: keep the full section name readable on desktop and mobile. */
@media (min-width: 992px) {
  .u-header .u-menu-1 { margin-right: 0; margin-left: auto; }
  .u-header .u-nav-1 { display: flex; align-items: center; justify-content: flex-end; font-size: 1rem; }
  .u-header .u-nav-1 > .u-nav-item > .u-nav-link { padding: 10px 14px !important; }
  .u-header .u-nav-1 .social-nav-link { white-space: nowrap; line-height: inherit; text-transform: uppercase; }
  .u-header .u-image-1 { position: absolute; left: 0; top: 14px; margin: 0; }
}
.u-header .u-nav-3 .social-nav-link { white-space: normal; line-height: 1.4; }
.u-section-2 .social-promo-title { font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.2; overflow-wrap: break-word; }
.u-section-2 .social-promo-copy { color: #fff; line-height: 1.55; }
.social-page { color: #202b3e; background: #f6f7fa; }
.social-page .u-header { background: #fff; }
.social-wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.social-hero { background: #1847b8; color: #fff; padding: 68px 0 72px; }
.social-page .social-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .13em; margin: 0 0 20px; }
.social-page h1 { max-width: 900px; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.14; font-weight: 700; margin: 0 0 24px; }
.social-page .social-lead { max-width: 790px; font-size: 1.2rem; line-height: 1.65; margin: 0 0 30px; }
.social-page .social-button { display: inline-block; background: #fff; color: #1847b8; border-radius: 6px; padding: 13px 22px; font-weight: 700; margin: 0 18px 10px 0; }
.social-page .social-secondary { display: inline-block; color: #fff; text-decoration: underline; padding: 12px 0; }
.social-page h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; font-weight: 700; margin: 0 0 20px; }
.social-page p { line-height: 1.7; }
.social-funding { background: #fff; border-left: 4px solid #1847b8; padding: 30px 34px; margin: 44px 0 56px; }
.social-funding h2 { font-size: 1.4rem; }
.social-funding p { margin: 0 0 18px; }
.social-funding a { text-decoration: underline; }
.social-intro { max-width: 820px; margin: 0 0 28px; }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.social-course { background: white; padding: 30px; border: 1px solid #dce1ea; border-radius: 10px; }
.social-number { color: #1847b8; letter-spacing: .1em; font-size: .8rem; font-weight: 700; }
.social-page .social-course h3 { margin: 14px 0 18px; font-size: 1.5rem; line-height: 1.35; font-weight: 700; }
.social-course > p { margin: 0 0 24px; }
.social-course dl { margin: 0 0 24px; border-top: 1px solid #e6e9ef; }
.social-course dl div { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e6e9ef; }
.social-course dt { color: #586477; }
.social-course dd { margin: 0; font-weight: 600; }
.social-course details { margin: 0 0 24px; }
.social-course summary { cursor: pointer; color: #1847b8; font-weight: 700; padding: 6px 0; }
.social-page .social-course h4 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 12px; }
.social-course details p, .social-course li { font-size: .95rem; line-height: 1.65; }
.social-course ul { padding-left: 22px; }
.social-course li + li { margin-top: 8px; }
.social-interest { font-weight: 600; text-decoration: underline; }
.social-contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; padding: 40px; margin: 56px 0; background: #e9eefb; border-radius: 10px; scroll-margin-top: 25px; }
.social-contact p { margin-bottom: 0; }
.social-contact address { display: flex; flex-direction: column; gap: 14px; font-style: normal; justify-content: center; }
.social-contact address a { font-weight: 700; overflow-wrap: anywhere; }
.social-page a:focus-visible, .social-page summary:focus-visible { outline: 3px solid #c94b24; outline-offset: 4px; }
#ponuka-kurzov { scroll-margin-top: 25px; }
@media (max-width: 767px) {
  .social-grid, .social-contact { grid-template-columns: 1fr; }
  .social-hero { padding: 42px 0; }
  .social-funding, .social-course, .social-contact { padding: 24px; }
  .social-funding { margin: 28px 0 36px; }
  .social-contact { gap: 24px; margin: 36px 0; }
}
@media (max-width: 575px) {
  .u-header .u-menu-1 { margin-right: 0; }
  .u-header .menu-collapse > .u-nav-link { padding-left: 16px !important; padding-right: 16px !important; }
}
@media (max-width: 359px) {
  .u-header .u-sheet, .social-page .u-sheet { max-width: 100%; }
}
/* Reflow contact cards after removing the former contact. */
.u-repeater.updated-contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) {
  .u-repeater.updated-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .u-repeater.updated-contacts { grid-template-columns: 100%; }
}
