.blog-hero {
  background: #eaeaea;
}

.blog-hero__inner {
  min-height: 380px;
  display: flex;
  align-items: center;
}

/* A kép a szekció JOBB oldalán ül, teljes magasságban -- a bal
   szélén egy maszkolt átmenettel eltűnik, és a mögötte lévő
   .blog-hero háttérszíne (a "body szín") látszik át helyette. */
.blog-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;

  /* a bal oldali rész fokozatosan átlátszóvá válik */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 30%, black 62%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 30%, black 62%);
}

.blog-hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 3rem 0;
}

.blog-hero__eyebrow {
  color: #0B575C;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.blog-hero__title {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  color: #303030;
}

.blog-hero__desc {
  font-size: 1rem;
  color: #303030;
  max-width: 480px;
}

/* Keresőmező -- jobb felső sarokban lebeg a kép fölött */
.blog-hero__search {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  background: #fff;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  width: 260px;
}

.blog-hero__search i {
  color: #0B6E76;
}

.blog-hero__search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  width: 100%;
  color: #333;
}

.blog-hero__search input::placeholder {
  color: #999;
}

@media (max-width: 991.98px) {
  .blog-hero__img {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 5%, black 55%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 5%, black 55%);
    opacity: 0.35;
  }

  .blog-hero__search {
    position: static;
    margin-top: 1.5rem;
    width: 100%;
  }

  .blog-hero__content {
    padding: 2rem 0 0;
  }
}

.featured-post {
  background-size: cover;
  background-position: center right;
  border-radius: 3.5rem;
  color: #FEFEFE;
}

.featured-post__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b2e33 0%, #0b2e33 42%, rgba(11, 46, 51, 0.75) 60%, transparent 85%);
  z-index: 0;
}

.featured-post__content {
  position: relative;
  z-index: 1;
}

.featured-post__badge {
  display: inline-block;
  background: #0B6E76;
  color: #FEFEFE;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}

.featured-post__title {
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  max-width: 560px;
}

.featured-post__excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 520px;
}

.featured-post__meta {
  color: #D9D9D9;
  font-size: 0.9rem;
}
.featured-post__meta span{
    display: flex;
    align-items: center;
}

.featured-post__meta i {
  color: #FEFEFE;
  margin-right: 0.7rem;
  font-size: 1.3rem;
}

.featured-post__cta {
  background: #FEFEFE;
  color: #303030;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
}

.featured-post__cta:hover {
  background: #f0f0f0;
  color: #1E1E1E;
}

.featured-post__cta i {
  color: #00D5E4;
}

@media (max-width: 991.98px) {
  .featured-post__overlay {
    background: linear-gradient(180deg, #0b2e33 0%, #0b2e33 70%, rgba(11, 46, 51, 0.4) 100%);
  }
}

.popular-topics__title {
  font-weight: 800;
  font-size: 1.6rem;
  color: #1E1E1E;
}

.popular-topics__all-link {
  color: #0B575C;
  font-size: 0.9rem;
  text-decoration: underline;
}
.popular-topics__all-link:hover {
  color: #D03424;
}

/* Kategória-pillek */
.popular-topics__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topic-pill {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid #939393;
  color: #939393;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.topic-pill--active, .topic-pill:hover {
  background: #0B6E76;
  border-color: #0B6E76;
  color: #FEFEFE;
}

/* Kártyák (közös alap) */
.topic-card {
  color: #fff;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 2rem;
}

.topic-card:hover {
  color: #fff;
}

.topic-card__overlay {
  position: absolute;
  inset: 0;
  background: #000;
  background: linear-gradient(180deg,rgba(0, 0, 0, 0) 0%, rgba(6, 30, 33, 1) 80%);
  z-index: 0;
}
.topic-card__overlay-left {
  position: absolute;
  inset: 0;
  background: #000000;
  background: linear-gradient(270deg,rgba(0, 0, 0, 0) 0%, rgba(6, 30, 33, 1) 70%);
  z-index: 0;
}

.topic-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 1.5rem;
}

/* Nagy kártya (bal oldal) */
.topic-card--large {
  min-height: 392px;
  height: 100%;
}

.topic-card--large .topic-card__title {
  font-size: 1.75rem;
}

/* Kis kártyák (jobb oldal, egymás alatt) */
.topic-card--small {
  min-height: 196px;
}

.topic-card__title {
  font-weight: 800;
  line-height: 1.5;
}

.topic-card__title--small {
  font-size: 1.5rem;
}

.topic-card__badge {
  display: inline-block;
  width: fit-content;
  background: #0B6E76;
  color: #FEFEFE;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.topic-card__badge--alt {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.topic-card__meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.topic-card__meta span {
    display: flex;
    align-items: center;
}

.topic-card__meta i {
  color: #fff;
  margin-right: 0.7rem;
  font-size: 1.2rem;
}

.topic-card__arrow {
  color: #12868E;
  font-size: 1.3rem;
}

@media (max-width: 991.98px) {
  .topic-card--large,
  .topic-card--small {
    min-height: 280px;
  }
}

/* ------------------------------ */

.latest-posts__title {
  font-weight: 800;
  font-size: 1.6rem;
  color: #1E1E1E;
}

.latest-post-card {
  display: flex;
  flex-direction: column;
}

.latest-post-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}

.latest-post-card__badge {
  color: #0B6E76;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.latest-post-card__title {
  color: #1E1E1E;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.35;
}

.latest-post-card__excerpt {
  color: #939393;
  font-size: 1.125rem;
  line-height: 1.3;
}

.latest-post-card__meta {
  margin-top: auto;
  color: #444;
  font-size: 0.85rem;
}

.latest-post-card__meta span {
  display: flex;
  align-items: center;
  color: #939393;
}

.latest-post-card__meta i {
  color: #0B6E76;
  margin-right: 0.4rem;
  font-size: 1.05rem;
}

.latest-posts__load-more {
  background: transparent;
  border: 1px solid #0B6E76;
  color: #1E1E1E;
  font-weight: 600;
  padding: 0.8rem 2rem;
}

.latest-posts__load-more:hover {
  background: #0B6E76;
  color: #fff;
}

.latest-posts__load-more i {
  margin-left: 6px;
}

/* ------------------------------ */

.blog-cta {
  background-color: #0b3c41;
  background-size: cover;
  background-position: right center;
  min-height: 300px;
}

.blog-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0B6E76;
  background: linear-gradient(90deg,rgba(11, 110, 118, 1) 0%, rgba(11, 110, 118, 1) 41%, rgba(13, 137, 146, 0.72) 51%, rgba(20, 205, 220, 0) 100%);
  z-index: 0;
}

.blog-cta__content {
  position: relative;
  z-index: 1;
}

.blog-cta__title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.blog-cta__text {
  color: #D9D9D9;
  font-size: 1.25rem;
  max-width: 420px;
}

.blog-cta__btn {
  padding: 0.7rem 1.6rem;
  font-weight: 600;
}

.blog-cta__btn--filled {
  background: #D03424;
  color: #fff;
  border: 2px solid #D03424;
}

.blog-cta__btn--filled:hover {
  background: #e8402f;
  border-color: #e8402f;
  color: #fff;
}

.blog-cta__btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid #12868E;
}

.blog-cta__btn--outline:hover {
  background: #12868E;
  color: #fff;
}

@media (max-width: 991.98px) {
  .blog-cta {
    background-position: center;
  }

  .blog-cta::before {
    background: linear-gradient(180deg, #0b3c41 0%, #0b3c41 65%, rgba(11, 60, 65, 0.3) 100%);
  }
}

/* ------------------------------ */

.single-post-hero__title {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  color: #1E1E1E;
  max-width: 900px;
}

.single-post-hero__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 2rem;
}

.single-post-hero__excerpt {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.single-post-hero__meta {
  color: #1E1E1E;
  font-weight: 600;
  font-size: 0.9rem;
}

.single-post-hero__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-post-hero__meta i {
  color: #0B6E76;
  font-size: 1.05rem;
}

.single-post-hero__author {
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #939393;
}

/* Címke-pillek */
.tag-pill {
  display: inline-block;
  background: transparent;
  border: 1px solid #939393;
  color: #939393;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
}

/* Megosztás gombok */
.single-post-hero__share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #C9C9C9;
  background: transparent;
  color: #0B6E76;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.single-post-hero__share-btn:hover {
  background: #0B6E76;
  color: #fff;
  border-color: #0B6E76;
}

.single-post-hero__divider {
  border-top: 1px solid #939393;
  margin: 3rem 0 0;
}

@media (max-width: 991.98px) {
  .single-post-hero__img {
    height: 220px;
  }
}

/* --- Kategória archívum lapozás (pl. /blog/gasztro/), a WP natív
   the_posts_pagination()-jének kimenetéhez (.pagination / .page-numbers) --
   eddig ez sehol nem volt stílusozva, teljesen dizájn nélküli linkek
   lettek volna belőle. */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid #C9C9C9;
  color: #1E1E1E;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.page-numbers:hover {
  background: #0B6E76;
  border-color: #0B6E76;
  color: #fff;
}

.page-numbers.current {
  background: #0B6E76;
  border-color: #0B6E76;
  color: #fff;
}

.page-numbers.dots {
  border: none;
  background: none;
}