* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

header {
    background: #1f3c5b;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.subtitle {
    margin-top: 15px;
    font-size: 1.1rem;
    opacity: 0.9;
}

section {
    padding: 60px 0;
}

h2 {
    margin-bottom: 20px;
    color: #1f3c5b;
}

.intro p,
.future p {
    max-width: 800px;
}

.focus .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.box {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.box h3 {
    margin-bottom: 10px;
    color: #1f3c5b;
}

footer {
    background: #e9ecef;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}
/* ===== NAVIGATION ===== */
.topnav {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.brand {
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #1f3c5b;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #1f3c5b;
    font-weight: 600;
    opacity: 0.9;
    padding: 8px 10px;
    border-radius: 6px;
}

.nav-links a:hover {
    background: rgba(31,60,91,0.08);
    opacity: 1;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    color: #1f3c5b;
}

/* mobile */
@media (max-width: 820px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 52px;
        background: #fff;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 90%;
        max-width: 1100px;
        margin: 0 auto;
    }

    .nav-links a {
        display: block;
        padding: 12px 10px;
    }
}
.post-card {
    background: #fff;
    padding: 22px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

.post-meta {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-bottom: 10px;
}

.post-title {
    margin-bottom: 10px;
}

.post-title a {
    color: #1f3c5b;
    text-decoration: none;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-excerpt {
    max-width: 900px;
}
.logo { height: 55px; width: auto; }

/* ===== CONTACT: BIG LOGO ===== */
.contact-logo-wrap {
    display: flex;
    justify-content: center;
    margin: 10px 0 18px 0;
}

.contact-logo {
    width: 380px;     /* a te képed szélessége */
    max-width: 100%;  /* mobilon ne lógjon ki */
    height: auto;
    display: block;
    border-radius: 8px;
}
/* ===== ACTIVE NAV LINK ===== */
.nav-links a.active {
    background: rgba(31, 60, 91, 0.14);
    opacity: 1;
    border: 1px solid rgba(31, 60, 91, 0.18);
}
/* ===== HERO IMAGE ===== */
.hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 60, 91, 0.72);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.hero-content h1 { font-size: 2.2rem; }
.hero-content .subtitle { opacity: 0.95; }

/* ===== PAGE IMAGE ===== */
.page-image {
  margin: 0 auto 22px auto;
  max-width: 900px;
}
.page-image img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

/* ===== ACTIVITIES WITH IMAGES ===== */
.activity-row{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: center;
}

.activity-img img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

@media (max-width: 900px){
  .activity-row{ grid-template-columns: 1fr; }
  .activity-img img{ height: 260px; }
}
/* adott képnél a fókusz menjen feljebb */
.activity-img img.focus-top {
  object-position: center 15%;
}
/* ===== ARTICLES PAGE: BIGGER IMAGE ===== */
.page-articles .page-image {
  max-width: 1100px;
}

.page-articles .page-image img {
  width: 75%;
  height: 520px;               /* több látható a képből */
  object-fit: cover;
  object-position: center 15%; /* feljebb tolja a fókuszt */
}
.page-articles header {
  padding: 18px 0;
}
/* ===== ARTICLES PAGE: CENTERED IMAGE IN BLUE BAND ===== */
.page-articles .blue-band {
  background: #1f3c5b;
  padding: 30px 0; /* ettől lesz felül-alul egyforma */
}

.page-articles .blue-band .page-image {
  margin: 0 auto;   /* nincs külön top/bottom margin */
  max-width: 1100px;
}

.page-articles .blue-band .page-image img {
  display: block;
  width: 75%;
  margin: 0 auto;          /* <-- EZ középre húzza */
  height: 520px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}
.article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}

.article-content h2 {
  margin-top: 36px;
  margin-bottom: 10px;
  color: #1f3c5b;
  font-size: 22px;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content ul {
  margin: 10px 0 18px 22px;
}

.article-content li {
  margin-bottom: 6px;
}
.article-content {
  max-width: 680px;   /* keskenyebb hasáb */
  margin: 40px auto;
  font-size: 17px;
  line-height: 1.8;
}

.article-content h1 {
  font-size: 30px;
  margin-bottom: 22px;
  color: #1f3c5b;
}

.article-content p {
  margin-bottom: 18px;
}
.article-content {
  max-width: 680px;
  margin: 40px auto;
  padding: 0 20px;
  font-size: 17px;
  line-height: 1.8;
}

.article-content h1 {
  text-align: center;
  margin-bottom: 26px;
  color: #1f3c5b;
}

.article-content p {
  margin-bottom: 18px;
}
.article-image {
  display: block;
  margin: 30px auto;
  width: 50%;
  max-width: 100%;
}
.article-image2 {
  display: block;
  margin: 30px auto;
  width: 75%;
  max-width: 100%;
}

