*,
*::before,
*::after {
  box-sizing: border-box;
}
body, td, th, p, a, h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #000000;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
    background-color: #005595;
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 280px;
    margin-bottom: 30px;
    text-align: left;
    font-weight: 700;
    font-size: 22px;
}

.blokk-cim {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: white;
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    width: auto;
    text-align: left;
}

h1, h2, h3 .kiemelt {
    font-weight: 700;
}

a {
    text-decoration: none;
}

.bold-link {
    font-weight: 700;
}

.container {
    width: 920px;
    overflow: hidden;
    position: relative;
}

.intro-banner {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e0f7fa;
  color: #00695c;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 1;
  transition: all 0.8s ease;
}
.intro p {
  margin-bottom: 12px;
}

.oldal-fejlec {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    padding: 0;
    margin: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
}

.blokk-cim::after {
    content: "";
    display: block;
    width: 180px;
    height: 3px;
    background: #ffffffaa;
    margin: 8px auto 0;
    border-radius: 2px;
}

.fejlec-bal {
    flex: 0 0 auto;
}

.fejlec-kozep {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.fejlec-cim {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.image-section {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 10px;
    align-items: flex-start;
}

.image-section img,
.news-images img,
.krausz-images img {
    max-width: 480px;
	margin-bottom: 10px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
img {
  margin-bottom: 10px;
}
.video-gallery {
    padding: 2rem;
    text-align: center;
}

.video-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 1rem;
}

.video-wrapper video {
    max-width: 100%;
    width: 400px;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.img, video {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 50px;
}

.hr-divider {
    border: none;
    border-top: 2px solid #ccc;
    margin: 40px auto;
    width: 80%;
}

.news-text {
  column-count: 2;
  column-gap: 40px;
  column-width: auto;
}

.news-images {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
}

.krausz-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.krausz-images {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.krausz-text {
    column-count: 2;
    column-gap: 40px;
}

.news-item {
    position: relative;
    margin-bottom: 20px;
}

.news-item video {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    gap: 30px;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}


@media screen and (max-width: 768px) {
    .image-section,
    .news-images,
    .krausz-images {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .oldal-fejlec {
        font-size: 1rem;
        padding: 5px 8px;
        max-width: 92%;
        border-radius: 8px;
        line-height: 1.2;
    }

    .fejlec-cim {
        font-size: 1.2rem;
    }


    .krausz-text {
        column-count: 1;
        column-gap: 0;
    }

    .news-text {
        flex-direction: column;
    }

    .news-text > div {
        width: 100%;
    }

    .video-gallery {
        padding: 1rem;
    }

    .video-wrapper video {
        width: 100%;
        height: auto;
    }


    h1, h2, h3 {
        width: 55%;
        text-align: left;
        font-size: 1.1em;
        padding: 10px;
        margin-bottom: 20px;
    }

    section {
        margin-bottom: 30px;
    }

    .hr-divider {
        margin: 30px auto;
        width: 90%;
    }

    .news-item video {
        width: 100%;
    }

    .container {
        width: 90%;
        max-width: 500px;
        margin: 0 auto;
        padding: 0 15px;
    }
}
@media (max-width: 768px) {
.intro {
    padding: 12px;
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
.intro-banner {
    font-size: 0.9rem;
    padding: 6px 12px;
    top: 16px;
    max-width: 90%;
    line-height: 1.3;
    text-align: center;
  }
    .news-text {
    column-count: 1;
    column-gap: 0;
    width: 100%;
  }
}