:root {
  --sch-navy: #0E2338;
  --sch-navy-dark: #081727;
  --sch-blue: #1878C0;
  --sch-blue-hover: #12649E;
  --sch-blue-light: #6FB3E4;
  --sch-ink: #16202B;
  --sch-body: #414B55;
  --sch-muted: #5A646E;
  --sch-muted-2: #7E8C99;
  --sch-muted-3: #9AA4AD;
  --sch-cool: #A8B6C2;
  --sch-line: #E4E7EA;
  --sch-line-2: #DCE1E6;
  --sch-line-3: #CFD6DC;
  --sch-line-4: #C9D0D6;
  --sch-bg: #EEF1F3;
  --sch-bg-soft: #F7F8F9;
  --sch-red: #D8302A;
}

body {
  background: var(--sch-bg);
  color: var(--sch-ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
}

.font-head {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.font-mono {
  font-family: 'IBM Plex Mono', monospace;
}

.text-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--sch-blue);
  text-transform: uppercase;
}

a {
  color: var(--sch-blue);
}
a:hover {
  color: var(--sch-blue-hover);
}

/* Frontend: a linkek sehol ne legyenek aláhúzva (Bootstrap alapértelmezés felülírása) */
.site a,
.site a:hover,
.site a:focus {
  text-decoration: none !important;
}

img {
  display: block;
  max-width: 100%;
}

.js-zoomable {
  cursor: zoom-in;
  transition: opacity .15s ease;
}
.js-zoomable:hover {
  opacity: .88;
}

/* Buttons */
.btn-sch-primary,
.btn-sch-secondary,
.btn-sch-outline-light,
.btn-sch-light {
  text-decoration: none;
  display: inline-block;
}
.btn-sch-primary {
  background: var(--sch-blue);
  border-color: var(--sch-blue);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.85rem 1.6rem;
}
.btn-sch-primary:hover, .btn-sch-primary:focus {
  background: var(--sch-blue-hover);
  border-color: var(--sch-blue-hover);
  color: #fff;
  text-decoration: none;
}
/* Secondary action next to a primary one ("Mégse", "Vissza a listához"): the same size,
   white. The outline is an inset shadow, not a border, so it stays exactly as tall as a
   borderless primary button beside it. */
.btn-sch-secondary {
  background: #fff;
  color: var(--sch-ink);
  font-weight: 600;
  border: 0;
  border-radius: 6px;
  padding: 0.85rem 1.6rem;
  box-shadow: inset 0 0 0 1px var(--sch-line-4);
  transition: background-color .15s, box-shadow .15s;
}
.btn-sch-secondary:hover, .btn-sch-secondary:focus-visible {
  background: var(--sch-bg-soft);
  color: var(--sch-ink);
  box-shadow: inset 0 0 0 1px var(--sch-muted-3);
}
.btn-sch-outline-danger {
  background: #fff;
  border: 1px solid #dc3545;
  color: #dc3545;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  display: inline-block;
}
.btn-sch-outline-danger:hover, .btn-sch-outline-danger:focus {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
  text-decoration: none;
}
.btn-sch-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.85rem 1.6rem;
}
.btn-sch-outline-light:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}
.btn-sch-light {
  background: #fff;
  color: var(--sch-navy);
  font-weight: 700;
  border-radius: 6px;
  padding: 0.85rem 1.6rem;
}
.btn-sch-light:hover {
  background: #EEF1F3;
  color: var(--sch-navy);
  text-decoration: none;
}

/* Navbar */
.sch-topbar {
  background: var(--sch-navy-dark);
  color: var(--sch-cool);
  font-size: 0.85rem;
}
.sch-topbar a {
  color: var(--sch-cool);
}
.sch-topbar a:hover {
  color: #fff;
}
.sch-navbar {
  background: #fff;
  border-bottom: 1px solid var(--sch-line);
}
.sch-navbar .nav-link {
  color: var(--sch-ink);
  font-weight: 600;
  font-size: 0.92rem;
}
.sch-navbar .nav-link:hover,
.sch-navbar .nav-link.active {
  color: var(--sch-blue);
}
.sch-lang {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.78rem;
}
.sch-lang .active {
  color: var(--sch-ink);
}
.sch-lang .muted {
  color: var(--sch-muted-3);
  cursor: pointer;
}
.sch-burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
  border: 0;
  background: none;
  padding: 0;
}
.sch-burger span {
  height: 2px;
  background: var(--sch-ink);
  display: block;
}
.sch-topbar-btn {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #fff !important;
  background: var(--sch-blue);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  text-decoration: none;
}
.sch-topbar-btn:hover {
  background: var(--sch-blue-hover);
}

/* Site-wide search: icon toggle in the navbar + the panel it reveals */
.sch-search-toggle {
  border: 0;
  background: none;
  padding: 0.25rem;
  color: var(--sch-ink);
  line-height: 0;
}
.sch-search-toggle:hover {
  color: var(--sch-blue);
}
.sch-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--sch-navy-dark);
  box-shadow: 0 12px 24px rgba(14, 35, 56, 0.18);
  z-index: 1030;
}
.sch-search-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  padding: 0.6rem 0.9rem;
}
.sch-search-input::placeholder {
  color: #8FA0AF;
}
.sch-search-input:focus {
  outline: none;
  border-color: var(--sch-blue-light);
  background: rgba(255, 255, 255, 0.12);
}
.sch-search-close {
  border: 0;
  background: none;
  color: #A8B6C2;
  padding: 0.25rem;
  line-height: 0;
}
.sch-search-close:hover {
  color: #fff;
}
.sch-search-input-mobile {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  padding: 0.6rem 0.9rem 0.6rem 2.5rem;
}
.sch-search-input-mobile::placeholder {
  color: #8FA0AF;
}
.sch-search-input-mobile:focus {
  outline: none;
  border-color: var(--sch-blue-light);
}

/* Offcanvas mobile menu */
.sch-offcanvas {
  background: var(--sch-navy);
  color: #fff;
  width: min(320px, 86vw);
}
.sch-offcanvas .nav-link {
  color: #fff;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sch-offcanvas .nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.sch-offcanvas .nav-link .arrow {
  color: var(--sch-blue-light);
  font-size: 0.9rem;
}

/* Hero */
.sch-hero {
  position: relative;
  background: var(--sch-navy);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
@media (min-width: 992px) {
  .sch-hero {
    min-height: 560px;
    align-items: center;
  }
}
.sch-hero-carousel {
  position: absolute;
  inset: 0;
}
.sch-hero-carousel .carousel-item {
  position: relative;
}
.sch-hero-carousel .carousel-item.active {
  display: block;
}
.sch-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  animation: schHeroPan 20s ease-in-out infinite alternate;
}
.sch-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 35, 56, 0.55) 0%, rgba(14, 35, 56, 0.95) 80%);
}
@media (min-width: 992px) {
  .sch-hero-overlay {
    background: linear-gradient(90deg, rgba(14, 35, 56, 0.96) 0%, rgba(14, 35, 56, 0.75) 48%, rgba(14, 35, 56, 0.25) 100%);
  }
}
.sch-hero-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem 0 1.5rem;
  animation: schRise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@media (min-width: 992px) {
  .sch-hero-content {
    padding: 3rem 0;
    max-width: 640px;
  }
}
.sch-hero-bars {
  display: flex;
  gap: 6px;
  margin-top: 0.5rem;
}
.sch-hero-bars span {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  display: block;
  cursor: pointer;
  border: 0;
  padding: 0;
}
.sch-hero-bars span.is-active {
  background: var(--sch-blue);
}

@keyframes schHeroPan {
  from { transform: scale(1.06) translateX(-1%); }
  to { transform: scale(1.14) translateX(1%); }
}
@keyframes schRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes schBar {
  0% { width: 6px; }
  90%, 100% { width: 34px; }
}
@keyframes schPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* Fact strip */
.sch-fact {
  padding: 1.25rem 0.5rem;
  text-align: center;
  border-right: 1px solid var(--sch-line);
  border-bottom: 1px solid var(--sch-line);
}
@media (min-width: 992px) {
  .sch-fact {
    padding: 1.75rem 1rem;
    border-bottom: 0;
  }
}
.sch-fact:nth-child(2n) {
  border-right: 0;
}
@media (min-width: 992px) {
  .sch-fact:nth-child(2n) {
    border-right: 1px solid var(--sch-line);
  }
  .sch-fact:last-child {
    border-right: 0;
  }
}
.sch-fact-value {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--sch-navy);
  line-height: 1;
}
@media (min-width: 992px) {
  .sch-fact-value { font-size: 2rem; }
}
.sch-fact-note {
  font-size: 0.75rem;
  color: var(--sch-muted);
  margin-top: 4px;
}
@media (min-width: 992px) {
  .sch-fact-note { font-size: 0.85rem; }
}

/* Placeholder brand tile */
.sch-brand-tile {
  height: 88px;
  border: 1px solid var(--sch-line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, #FAFBFB 0 6px, #F2F4F5 6px 12px);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--sch-muted);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 4px;
  text-decoration: none;
}
.sch-brand-tile:hover {
  border-color: var(--sch-blue);
  color: var(--sch-blue);
}
.sch-brand-tile.has-logo {
  background: #fff;
}
.sch-brand-tile.has-logo img {
  padding: 6px;
}
@media (min-width: 992px) {
  .sch-brand-tile { height: 132px; font-size: 0.85rem; }
}

/* Video placeholder */
.sch-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--sch-navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sch-video-play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: schPulse 3.2s ease-in-out infinite;
  cursor: pointer;
}
.sch-video-play .tri {
  width: 0;
  height: 0;
  border-left: 15px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
@media (min-width: 992px) {
  .sch-video-play { width: 76px; height: 76px; }
  .sch-video-play .tri { border-left-width: 22px; border-top-width: 13px; border-bottom-width: 13px; margin-left: 6px; }
}
.sch-video-label {
  position: absolute;
  bottom: 10px;
  left: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
}

/* CTA banner */
.sch-cta-banner {
  background: var(--sch-navy);
  color: #fff;
}

/* Footer */
.sch-footer {
  background: var(--sch-navy-dark);
  color: var(--sch-cool);
}
.sch-footer a {
  color: var(--sch-cool);
}
.sch-footer a:hover {
  color: #fff;
}
.sch-footer-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--sch-blue-light);
}
.sch-footer-badge {
  background: #fff;
  border-radius: 4px;
  padding: 4px;
}
a > .sch-footer-badge {
  transition: opacity .15s;
}
a:hover > .sch-footer-badge,
a:focus-visible > .sch-footer-badge {
  opacity: .85;
}

/* Cards / sections */
.sch-card {
  border: 1px solid var(--sch-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.sch-card-hover:hover {
  border-color: var(--sch-blue);
}
.sch-stat-card {
  border: 1px solid var(--sch-line);
  border-top: 3px solid var(--sch-blue);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}
.sch-service-item {
  display: flex;
  gap: 0.75rem;
  border: 1px solid var(--sch-line);
  border-radius: 8px;
  padding: 0.9rem;
}
.sch-service-bar {
  width: 6px;
  flex: none;
  border-radius: 3px;
  background: var(--sch-blue);
}
.sch-doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--sch-line);
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  color: var(--sch-ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.sch-doc-link:hover {
  border-color: var(--sch-blue);
  background: #F8FBFD;
  color: var(--sch-ink);
}
.sch-doc-link .pdf {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.68rem;
  color: var(--sch-blue);
  flex: none;
}

.sch-instrument-row {
  background: #fff;
  padding: 0.85rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--sch-line);
}
.sch-instrument-row:last-child {
  border-bottom: 0;
}

.sch-map-placeholder {
  height: 260px;
  background: #E7EBEE;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-top: 1px solid var(--sch-line);
  border-bottom: 1px solid var(--sch-line);
}
.sch-map-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sch-red);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  margin-top: -30px;
}

.sch-privacy-check {
  width: 20px;
  height: 20px;
  flex: none;
  border: 2px solid var(--sch-blue);
  border-radius: 4px;
  background: #fff;
}
.sch-privacy-check.checked {
  background: var(--sch-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.form-control, .form-select {
  border-color: var(--sch-line-3);
  border-radius: 6px;
  padding: 0.75rem 0.7rem;
  font-size: 0.9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sch-blue);
  box-shadow: 0 0 0 0.2rem rgba(24, 120, 192, 0.15);
}
label.sch-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sch-body);
  margin-bottom: 0.3rem;
}

.sch-section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--sch-blue-light);
}

.sch-page-hero {
  background: var(--sch-bg-soft);
  border-bottom: 1px solid var(--sch-line);
}
.sch-page-hero.dark {
  background: var(--sch-navy);
  color: #fff;
}
.sch-breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--sch-muted);
}
.sch-page-hero.dark .sch-breadcrumb {
  color: #7E93A6;
}

.text-wrap-pretty {
  text-wrap: pretty;
}

/* Bootstrap's row-cols-* utility only ships up to 6 columns; patch a 7-col variant for the brand grid */
@media (min-width: 992px) {
  .row-cols-lg-7 > * {
    flex: 0 0 auto;
    width: 14.2857143%;
  }
}

/* Renders the admin's rich-text (Quill) Tudástár description on the public post page */
.sch-rich-content h2,
.sch-rich-content h3 {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  color: var(--sch-navy);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.sch-rich-content h2 { font-size: 1.5rem; }
.sch-rich-content h3 { font-size: 1.2rem; }
.sch-rich-content p { margin-bottom: 1.1rem; }
.sch-rich-content ul,
.sch-rich-content ol { margin-bottom: 1.1rem; padding-left: 1.4rem; }
.sch-rich-content li { margin-bottom: 0.4rem; }
.sch-rich-content img { max-width: 100%; border-radius: 0.5rem; }
.sch-rich-content > *:first-child { margin-top: 0; }

/* Important-announcement popup: a classic centred modal dialog, dimmed backdrop included
   (via Bootstrap's own modal machinery) — shown once per browser per announcement version. */
.sch-announce-card {
  border: 0;
  border-radius: 16px;
  padding: 2.75rem 2.25rem 2.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sch-announce-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--sch-blue);
}
.sch-announce-warning::before { background: #E0A72E; }
.sch-announce-success::before { background: #2DAE73; }
.sch-announce-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.sch-announce-modal-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 120, 192, 0.1);
  color: var(--sch-blue);
}
.sch-announce-warning .sch-announce-modal-icon { background: rgba(224, 167, 46, 0.14); color: #C9971F; }
.sch-announce-success .sch-announce-modal-icon { background: rgba(45, 174, 115, 0.14); color: #1E8E5A; }
.sch-announce-modal-icon svg { width: 26px; height: 26px; }
.sch-announce-modal-title {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  color: var(--sch-navy);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.sch-announce-modal-message {
  color: #414B55;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Spam-bot honeypot field on the public forms: kept out of view and out of the tab order. */
.sch-hp { position:absolute !important; left:-10000px !important; width:1px; height:1px; overflow:hidden; }

/* Home page "Miért mi?" block: its heading keeps the size the fixed title used to have. */
.sch-rich-content-lead h2 { font-size: 1.75rem; max-width: 460px; margin-top: 0; }

/* Reference / partner logo strip above the footer: endless right-to-left marquee.
   The track holds two identical halves and slides by -50%, so the loop has no seam. */
.sch-partners { background: #fff; border-top: 1px solid var(--sch-line); padding: 2.25rem 0; overflow: hidden; }
.sch-partners-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.sch-partners-track { display: flex; width: max-content; animation: sch-partners-scroll var(--sch-partners-duration, 40s) linear infinite; }
.sch-partners-viewport:hover .sch-partners-track,
.sch-partners-track:focus-within { animation-play-state: paused; }
.sch-partners-set { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
/* Each logo gets a fixed share of the screen width, so about 4–5 are in view at once
   on desktop (2–3 on phones) whatever the screen size; spacing lives inside the item
   so both halves of the track stay exactly the same width for the seamless loop. */
.sch-partners-item { flex: none; width: calc(100vw / 4.5); padding: 0 1.75rem; }
.sch-partners-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 100px; }
.sch-partners-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.sch-partners-logo:hover img, .sch-partners-logo:focus-visible img { filter: none; opacity: 1; }
@keyframes sch-partners-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 991.98px) {
  .sch-partners-item { width: calc(100vw / 3.5); padding: 0 1.25rem; }
  .sch-partners-logo { height: 80px; }
}
@media (max-width: 575.98px) {
  .sch-partners { padding: 1.75rem 0; }
  .sch-partners-item { width: calc(100vw / 2.5); padding: 0 1rem; }
  .sch-partners-logo { height: 64px; }
}
/* Visitors who asked for less motion get a still row they can swipe/scroll instead. */
@media (prefers-reduced-motion: reduce) {
  .sch-partners-track { animation: none; }
  .sch-partners-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .sch-partners-set[aria-hidden="true"] { display: none; }
}

/* Transparent PNGs (product shots, logos) must never sit directly on a dark or grey
   surface: every content image gets a white backing. The home hero photo is exempt —
   it is deliberately see-through over the navy background. */
main img:not(.sch-hero-img) { background-color: #fff; }

/* Lightbox: the enlarged image sits on a white card, not straight on the dimmed page. */
.sch-lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  background-color: #fff;
  padding: 1rem;
  box-shadow: 0 12px 40px rgba(8, 23, 39, .35);
}

/* Szervizigénylés (hibabejelentő) form */
.sch-form-card {
  background: #fff;
  border: 1px solid var(--sch-line);
  border-radius: 10px;
  padding: 1.5rem;
}
@media (min-width: 992px) {
  .sch-form-card { padding: 2rem 2.25rem; }
}
.sch-upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 7rem;
  padding: 1rem;
  border: 1.5px dashed var(--sch-line-4);
  border-radius: 6px;
  background: var(--sch-bg-soft);
  color: var(--sch-muted);
  text-align: center;
  transition: border-color .15s, background-color .15s, color .15s;
}
.sch-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.sch-upload:hover,
.sch-upload.is-dragover {
  border-color: var(--sch-blue);
  background: #EEF5FB;
  color: var(--sch-blue);
}
.sch-upload:focus-within {
  border-color: var(--sch-blue);
  box-shadow: 0 0 0 0.2rem rgba(24, 120, 192, 0.15);
}
.sch-upload.has-file {
  border-style: solid;
  color: var(--sch-ink);
}
.sch-upload.is-invalid {
  border-color: #dc3545;
}
.sch-upload-label {
  font-weight: 600;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

/* Referenciák: every partner logo at once, in an even grid */
.sch-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sch-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--sch-line);
  border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
a.sch-logo-tile:hover,
a.sch-logo-tile:focus-visible {
  border-color: var(--sch-line-4);
  box-shadow: 0 4px 14px rgba(14, 35, 56, .08);
}
.sch-logo-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (max-width: 575.98px) {
  .sch-logo-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .sch-logo-tile { height: 90px; padding: .75rem; }
}
