.block-divider {
  max-width: 1200px;
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: 0 auto;
}

/* =========================
   Custom content
========================= */
.custom-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* =========================
   Title
========================= */
.custom-title {
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
  margin: 0px 0 20px 0;
  position: relative;

  --line-width: 400px;
  --line-height: 1px;
  --line-color: #ccc;
  --line-margin: 5px;
}

.custom-title::before,
.custom-title::after {
  content: "";
  display: block;
  width: var(--line-width);
  height: var(--line-height);
  background-color: var(--line-color);
  margin: var(--line-margin) auto;
}

/* =========================
   Layout base (FIXED — SINGLE SOURCE)
========================= */
.custom-columns {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
}

.custom-columns .column {
  flex: 1;
  min-width: 0;
}

/* =========================
   Galériák működése
========================= */

.image-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  isolation: isolate;
}

.image-slider img {
  display: block;
  width: 100%;
  height: auto;
}

/* gombok */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  width: 35px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.45); /* gombok áttetszősége */
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;

  font-size: 18px;
  padding: 0;
  box-sizing: border-box;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }}

/* =========================
   Text columns
========================= */
.column-text h4 {
  font-size: 22px;
  margin-bottom: 12px;
  text-align: left;
  line-height: 1.3;
}

.column-text {
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
  word-wrap: break-word;
  box-sizing: border-box;
}

.termekeink-page .column-text {
  font-size: 18px;
}

/* =========================
   Wide gallery layout (SAFE OVERRIDE)
========================= */
.custom-columns.wide-gallery .column-text {
  flex: 0 0 40%;
  max-width: 40%;
  text-align: left;
}

.custom-columns.wide-gallery .column:last-child {
  flex: 0 0 60%;
  max-width: 60%;
}

.termekeink-page .custom-columns {
  align-items: flex-start;
}

.termekeink-page .column-text h4 {
  margin-top: 0 !important;
}

/* =========================
   Responsive
========================= */
@media (max-width: 900px) {
  .custom-columns {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .custom-columns.wide-gallery {
    flex-direction: column;
  }

  .custom-columns.wide-gallery .column-text,
  .custom-columns.wide-gallery .column:last-child {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* =========================
   Logo
========================= */
.logo-head-box {
  display: none;
}

@media (min-width: 901px) {
  .logo-head-box {
    display: flex;
    width: 260px;
    margin: 50px auto 0;
    justify-content: center;
    align-items: center;
  }

  .logo-head-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* =========================
   3-column layout (FIXED TYPOGRAPHY)
========================= */
.three-column-wrapper {
  display: flex;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
  text-align: left;
  hyphens: none;
}

@media (max-width: 900px) {
  .three-column-wrapper {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }

  .three-column-wrapper .three-column-text {
    width: 100%;
    max-width: 100%;
  }
}.three-column-wrapper h4 {
  margin-bottom: 6px;
}
.three-column-wrapper h4 {
  font-weight: 300;
}