header {
  background-color: #006d77;    
  color: white;
  padding: 2rem 1rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.header-inner h1 {
  margin: 0;
  font-size: 2rem;
  text-align: center;
  flex: 1;
}

.back-home {
  color: white;
  text-decoration: none;
  font-weight: bold;    
    /*
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  flex: 0 0 auto; */
}

/* Mobilnézet – egymás alá és középre */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .back-home {
    order: -1;
    text-align: center;
  }

  .header-inner h1 {
    flex: none;
  }
}
    .container {
      max-width: 1200px;
      margin: 2rem auto;
      padding: 0 1rem;
      display: flex;
      gap: 2rem;
    }

    .main-content {
      flex: 2;
    }

    .sidebar {
      flex: 1;
    }

    .search-box input {
      padding: 0.5rem 1rem;
      width: 100%;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 1rem;
      margin-bottom: 1.5rem;
    }

    .search-box input[type="text"] {
      width: 100%;
      max-width: 100%;
      padding: 10px 12px;
      font-size: 1rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      box-sizing: border-box;
    }

    .categories,
    .tags {
      margin-bottom: 2rem;
    }

    .categories h3,
    .tags h3 {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }

    .categories ul,
    .tags ul {
      list-style: none;
      padding: 0;
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .categories li a,
    .tags li a {
      text-decoration: none;
      background: #e3edfc;
      color: #1a73e8;
      padding: 0.3rem 0.8rem;
      border-radius: 20px;
      font-size: 0.9rem;
      transition: background 0.2s ease;
    }

    .categories li a:hover,
    .tags li a:hover {
      background: #d1e4fb;
    }

    .post {
      background: white;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      transition: transform 0.2s ease;
    }

    .post:hover {
      transform: translateY(-4px);
    }

    .post h2 {
      margin-top: 0;
      font-size: 1.5rem;
      /*color: #1a73e8;*/
    }

    .post .date {
      font-size: 0.9rem;
      color: #888;
      margin-bottom: 0.5rem;
    }

    .post p {
      font-size: 1rem;
      line-height: 1.6;
    }

    .read-more {
      display: inline-block;
      margin-top: 1rem;
      color: #1a73e8;
      text-decoration: none;
      font-weight: 600;
    }

    .read-more:hover {
      text-decoration: underline;
    }

    .pagination {
      display: flex;
      justify-content: center;
      margin: 3rem 0 2rem;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .pagination a,
    .pagination span {
      padding: 0.6rem 1rem;
      text-decoration: none;
      color: #1a73e8;
      background: #e3edfc;
      border-radius: 8px;
      font-weight: 500;
      font-size: 0.95rem;
      transition: background 0.2s;
    }

    .pagination a:hover {
      background: #d1e4fb;
    }

    .pagination a.active {
      background: #1a73e8;
      color: white;
      cursor: default;
    }

    .pagination .disabled {
      pointer-events: none;
      opacity: 0.5;
      background: #eee;
      color: #aaa;
    }

    .pagination .dots {
      background: transparent;
      color: #888;
      cursor: default;
    }

    @media (max-width: 800px) {
      .container {
        flex-direction: column;
      }

      .main-content,
      .sidebar {
        flex: 1;
      }
    }
    
    .post-title {
      font-size: 2.2rem;
      margin-top: 0;
      color: #111;
      line-height: 1.3;
    }

    @media (max-width: 600px) {
      .post-title {
        font-size: 1.8rem;
      }
    }    

    .container2 {
      max-width: 1100px;
      margin: 2rem auto;
      padding: 0 1rem;
      background: white;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      padding: 2rem;
    }
    
    .date {
      font-size: 0.9rem;
      color: #888;
      margin-bottom: 1rem;
    }

    h2 {
      margin-top: 2rem;
      color: #006d77;
    }

    p {
      line-height: 1.7;
      margin: 1rem 0;
    }

    a.back-link {
      display: inline-block;
      margin-top: 2rem;
      color: #1a73e8;
      text-decoration: none;
      font-weight: 600;
    }

    a.back-link:hover {
      text-decoration: underline;
    }

    ul {
      padding-left: 1.2rem;
    }

    li {
      margin-bottom: 0.5rem;
    }

    .meta {
      font-size: 0.9rem;
      color: #555;
      margin-bottom: 1.5rem;
    }

    .meta a {
      text-decoration: none;
      color: #1a73e8;
      margin-right: 0.4rem;
    }

    .meta a:hover {
      text-decoration: underline;
    }

    .tags a {
      background: #e3f2fd;
      padding: 4px 10px;
      border-radius: 16px;
      font-size: 0.85rem;
      color: #1565c0;
      margin-right: 6px;
      display: inline-block;
    }

    .post-title {
      font-size: 2.2rem;
      margin-top: 0;
      color: #006d77;
      line-height: 1.3;
    }

    @media (max-width: 600px) {
      .post-title {
        font-size: 1.8rem;
      }
    }

    .link_none {
        text-decoration: none; /* eltünteti az aláhúzást */
        color: inherit;         /* örökli a szöveg színét a szülőtől */        
    }    

.post-body {
  display: flex;
  gap: 1rem;
  align-items: stretch; /* vagy baseline, de a stretch biztosabb */
}

.post-thumb-wrap {
  flex: 0 0 200px;
}

.post-thumb-wrap img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.post-text {
  flex: 1;
  margin-top: -1.2rem;
}

@media (max-width: 768px) {
  .post-body {
    flex-direction: column;
  }

  .post-thumb-wrap {
    flex: none;
    max-width: 200px;
    margin-bottom: 1rem;
  }

  .post-thumb-wrap img {
    width: 100%;
    height: auto;
  }
}

.sidebar {
    flex: 1; 
    min-width: 250px;
}

.package a { display: inline-block; margin-top: 1rem; background: #0077cc; color: white; padding: 0.8rem 1.2rem; text-decoration: none; border-radius: 6px; }


.package.free{
    border: 2px solid #c8e6c9; border-radius: 10px; padding: 1rem; margin-bottom: 1rem; background: #f9fff9;
    
}

.package.basic{
    border: 2px solid #bbdefb; border-radius: 10px; padding: 1rem; margin-bottom: 1rem; background: #f9fbff;
    
}

.package.premium{
    border: 2px solid #ffcdd2; border-radius: 10px; padding: 1rem; background: #fff9f9;
    
}
