/* ============================================================
   contact_fix12.css — upravená verzia
   Zmeny oproti originálu:
   - rule #0: max-width 1000px → 700px (užší stĺpec, krajšie na stred)
   - rule #3: grid-template-columns 1fr 1.6fr → 1fr (single col, centered)
              align-items flex-start → center
              gap 60px → 36px
   - rule #4: grid-column: 1/-1 odstránené (single col to nepotrebuje)
   Ostatné pravidlá (form styling) zachované bezo zmeny.
   ============================================================ */

/* ── Wrapper page-width — centrovaný, užší ────────────────── */
.pageBodyCenterIn .editContent .page-width {
  max-width: 700px !important;
  margin: 0 auto !important;
  padding: 40px !important;
}

/* ── Skryj prázdny ľavý stĺpec z pôvodného 2-col layoutu ─── */
.pageBodyCenterIn .column_block > div:first-child:not(:last-child) {
  display: none !important;
}

/* ── Text stĺpec vyplní celú šírku ──────────────────────────  */
.pageBodyCenterIn .column_block > div:last-child {
  flex: 1 1 auto !important;
  max-width: 100% !important;
}

/* ── KĽÚČOVÁ ZMENA: grid → single column, center ────────────
   Pôvodné: grid-template-columns: 1fr 1.6fr (2 stĺpce)
   Nové:    grid-template-columns: 1fr (1 stĺpec = všetko na stred) */
.pageBodyCenterIn .editContent .page-width > div:first-child {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 36px !important;
  align-items: center !important;
}

/* ── H1 "Kontakt" — centrovanie ─────────────────────────────  */
.pageBodyCenterIn .editContent h1 {
  text-align: center !important;
  margin-bottom: 24px !important;
}

/* ── Kontaktný info box — text na stred ─────────────────────  */
.pageBodyCenterIn .column_block p,
.pageBodyCenterIn .column_block div > p {
  font-size: 15px !important;
  line-height: 1.8 !important;
  margin: 4px 0 !important;
  color: rgb(68, 68, 68) !important;
  text-align: center !important;
}

.pageBodyCenterIn .column_block strong,
.pageBodyCenterIn .column_block b {
  font-weight: 600 !important;
  color: rgb(34, 34, 34) !important;
}

/* ── Formulár — full width ───────────────────────────────────  */
#frm_supporty5bfvq0w {
  max-width: 100% !important;
}

/* ── Polia formulára ─────────────────────────────────────────  */
#frm_supporty5bfvq0w .textBox,
#frm_supporty5bfvq0w input[type="text"],
#frm_supporty5bfvq0w input[type="email"],
#frm_supporty5bfvq0w input[type="tel"],
#frm_supporty5bfvq0w textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 15px !important;
  background: #fff !important;
}

#frm_supporty5bfvq0w .textBox:focus,
#frm_supporty5bfvq0w input:focus,
#frm_supporty5bfvq0w textarea:focus {
  border-color: rgb(115, 134, 113) !important;
  outline: none !important;
  background: #fff !important;
}

#frm_supporty5bfvq0w textarea {
  height: 140px !important;
  resize: vertical !important;
}

/* ── Submit tlačidlo ─────────────────────────────────────────  */
#frm_supporty5bfvq0w input[type="submit"],
#frm_supporty5bfvq0w .button {
  background-color: rgb(63, 95, 82) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 12px 32px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  width: auto !important;
}

#frm_supporty5bfvq0w input[type="submit"]:hover {
  background-color: rgb(45, 74, 62) !important;
}

#frm_supporty5bfvq0w h2 {
  font-size: 1.4rem !important;
  margin-bottom: 6px !important;
  margin-top: 0 !important;
}

/* ── MOBIL (≤ 768px) — zachované z originálu ────────────────  */
@media (max-width: 768px) {
  .pageBodyCenterIn .editContent .page-width > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .pageBodyCenterIn .editContent .page-width {
    padding: 24px 16px !important;
    max-width: 100% !important;
  }
}
