@charset "utf-8";
/*
Theme Name: Rita Kertje
Theme URI: https://www.ritakertje.hu
Author: tigaman
Author URI: https://www.tigaman.hu
Description: Egyedi, modern és elegáns WordPress sablon a kertészet és a természet kedvelőinek, matt üveg (frosted glass) dizájnnal és reszponzív kialakítással.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: rita-kertje
*/
/* outfit-300 - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/outfit-v15-latin_latin-ext-300.woff2') format('woff2'); 
}

/* outfit-regular - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/outfit-v15-latin_latin-ext-regular.woff2') format('woff2'); 
}

/* outfit-500 - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/outfit-v15-latin_latin-ext-500.woff2') format('woff2'); 
}

/* outfit-600 - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/outfit-v15-latin_latin-ext-600.woff2') format('woff2'); 
}

/* outfit-700 - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/outfit-v15-latin_latin-ext-700.woff2') format('woff2'); 
}

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Outfit', sans-serif;
      background-color: #121814;
      color: #ffffff;
      min-height: 100vh;
      background-image: linear-gradient(rgba(18, 24, 20, 0.88), rgba(18, 24, 20, 0.18)), url(images/bg.webp);
      background-size: cover, auto;
      background-position: center;
      background-attachment: fixed scroll;
      display: flex;
      flex-direction: column;
      scroll-behavior: smooth;
    }

    /* --- HEADER ÉS ANIMÁLT MAGASSÁGVÁLTÁS --- */
/* --- HEADER ÉS ANIMÁLT MAGASSÁGVÁLTÁS --- */
    header {
      background-color: rgba(18, 24, 20, 0.15); /* Átlátszóbb háttér a matt üveghez */
      backdrop-filter: blur(12px); /* Asztali frosted glass hatás */
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
      padding: 0 5%;
      height: 170px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      overflow: visible;
      transition: height 0.4s ease;
    }

    header.scrolled {
      height: 70px;
      background-color: rgba(18, 24, 20, 0.90); /* Görgetve is megmarad a frosted glass, csak picit sötétebb */
    }

/* Logó konténer elhelyezkedése */
.twd_rk_logo-container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1200;
  height: 100%;
}

/* Alap logó stílusok és finom áttűnés (opacity transition) */
.twd_rk_logo {
  position: absolute;
  top: 10px;
  left: 0;
  object-fit: contain;
  z-index: 1200;
  transition: opacity 0.4s ease, width 0.4s ease, height 0.4s ease, top 0.4s ease;
}

/* Alap / Álló logó állapota */
.twd_rk_logo-main {
  width: 150px;
  height: 150px;
  opacity: 1;
}

/* Fekvő logó állapota alaphelyzetben (rejtett) */
.twd_rk_logo-scrolled {
  width: 180px;  /* Szükség szerint igazítható a fekvő logó méretéhez */
  height: 50px;
  top: 10px;
  opacity: 0;
  pointer-events: none;
}

/* --- GÖRGETETT ÁLLAPOT (.scrolled) --- */

/* Görgetéskor az álló logó elhalványul (fade-out) */
header.scrolled .twd_rk_logo-main {
  opacity: 0;
  pointer-events: none;
  width: 50px;
  height: 50px;
}

.twd_rk_logo-scrolled {
  width: 340px;  
  height: 45px;
  top: 12px;     /* Függőleges középre igazítás asztali nézetben */
  opacity: 0;
  pointer-events: none;
  object-fit: contain;
}

/* Görgetéskor a fekvő logó előtűnik (fade-in) */
header.scrolled .twd_rk_logo-scrolled {
  opacity: 1;
  pointer-events: auto;
  top: 12px;
}
    nav ul {
      list-style: none;
      display: flex;
      gap: 25px;
      align-items: center;
    }

    nav a {
	text-decoration: none;
	color: #cbd5e1;
	font-weight: 500;
	font-size: 1rem;
	transition: color 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 2px;
    }

    nav a:hover {
      color: #8fbc8f;
    }
/* --- AKTUÁLIS / AKTÍV MENÜPONT (WordPress kompatibilis) --- */
    nav li.current-menu-item > a,
    nav li.current_page_item > a,
    nav a.active {
      color: #ffffff;
      background-color: rgba(143, 188, 143, 0.2);
      border: 1px solid rgba(143, 188, 143, 0.4);
      font-weight: 600;
    }
    /* Hamburger gomb alapból rejtve */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      justify-content: space-between;
      width: 30px;
      height: 22px;
      z-index: 1200; /* A hamburger is a menü felett maradjon */
    }

    .menu-toggle span {
      display: block;
      width: 100%;
      height: 3px;
      background-color: #8fbc8f;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    main {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    /* --- RÓLAM BLOKK --- */
    .twd_rk_about-hero {
      width: 85%;
      max-width: 950px;
      margin: 80px auto 40px auto;
      background: rgba(22, 40, 28, 0.25);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      padding: 50px;
      display: flex;
      align-items: center;
      gap: 35px;
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
      position: relative;
      z-index: 10;
    }

    .twd_rk_frame-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      border-radius: 45px;
      z-index: 5;
    }

    .twd_rk_frame-wrapper::before {
      content: "";
      position: absolute;
      top: 0;
      right: 0%;
      width: 90%;
      height: 2px;
      background-color: #8fbc8f;
    }

    .twd_rk_frame-wrapper::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0%;
      width: 90%;
      height: 2px;
      background-color: #8fbc8f;
    }

    .twd_rk_line-left {
      position: absolute;
      top: 30%;
      left: 0;
      width: 2px;
      height: 70%;
      background-color: #8fbc8f;
    }

    .twd_rk_line-right {
      position: absolute;
      top: 0%;
      right: 0;
      width: 2px;
      height: 70%;
      background-color: #8fbc8f;
    }

    .twd_rk_about-avatar {
      width: 130px;
      height: 130px;
      min-width: 130px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #8fbc8f;
      box-shadow: 0 8px 20px rgba(0,0,0,0.4);
      position: relative;
      z-index: 3;
    }

    .twd_rk_about-text {
      position: relative;
      z-index: 3;
    }

    .twd_rk_about-text h1 {
      font-size: 1.8rem;
      color: #ffffff;
      margin-bottom: 6px;
    }

    .twd_rk_about-text .role {
      color: #a3e4d7;
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 12px;
      display: block;
    }

    .twd_rk_about-text p {
      color: #e2e8f0;
      font-size: 1.05rem;
      line-height: 1.6;
    }

    .twd_rk_about-hero .quote-tl {
      position: absolute;
      left: -35px;
      top: -35px;
      background-image: url(images/idezojel.svg);
      background-size: 60%;
      width: 126px;
      height: 100px;
      transform: rotate(180deg);
      background-position: 34px 15px;
      z-index: 6;
      border-radius: 15px;
      background-repeat: no-repeat;
    }

    .twd_rk_about-hero .quote-br {
      position: absolute;
      right: -35px;
      bottom: -34px;
      background-image: url(images/idezojel.svg);
      background-size: 60%;
      width: 126px;
      height: 100px;
      background-position: 34px 19px;
      z-index: 6;
      border-radius: 15px;
      background-repeat: no-repeat;
    }

    /* --- HÍR GRID --- */
    .twd_rk_news-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(2, 1fr);
      gap: 15px;
      width: 90%;
      max-width: 1400px;
      margin: 0 auto 40px auto;
      height: 55vh;
      min-height: 450px;
    }

    .twd_rk_news-item {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 0px;
      border-radius: 16px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      cursor: pointer;
      overflow: hidden;
      height: 100%;
      background-color: #1e293b;
    }

    .twd_rk_news-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    }

    .twd_rk_featured-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
      z-index: 1;
    }

    .twd_rk_news-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
      z-index: 2;
    }

    .twd_rk_news-content, .twd_rk_social-icon, .twd_rk_news-date {
      position: relative;
      z-index: 3;
    }

    .twd_rk_social-icon {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 45px;
      height: 45px;
    }

    .twd_rk_news-item:not(:first-child) .twd_rk_social-icon {
      width: 35px;
      height: 35px;  
    }

    .twd_rk_social-icon img {
      width: 100%;
      height: auto;
      border-radius: 50%;
      background: rgba(0,0,0,0.4);
      padding: 4px;
    }

    .twd_rk_news-date {
      position: absolute;
      top: 12px;
      left: 12px;
      font-size: 0.85rem;
      opacity: 0.9;
      font-weight: 500;
      background: rgba(0,0,0,0.5);
      padding: 3px 8px;
      border-radius: 20px;
    }

    .twd_rk_news-content h2 {
      font-weight: 600;
      line-height: 1.3;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      position: absolute;
      bottom: 15px;
      left: 15px;
      right: 15px;
    }

    .twd_rk_news-item:nth-child(1) { grid-area: 1 / 1 / 3 / 3; }
    .twd_rk_news-item:nth-child(2) { grid-area: 1 / 3 / 2 / 4; }
    .twd_rk_news-item:nth-child(3) { grid-area: 1 / 4 / 2 / 5; }
    .twd_rk_news-item:nth-child(4) { grid-area: 2 / 3 / 3 / 4; }
    .twd_rk_news-item:nth-child(5) { grid-area: 2 / 4 / 3 / 5; }

    .twd_rk_news-item:nth-child(1) .twd_rk_news-content h2 {
      font-size: clamp(1.4rem, 2vw, 2rem);
    }
    
    .twd_rk_news-item:not(:first-child) {
      padding: 15px 15px 40px 15px;
    }

    .twd_rk_news-item:not(:first-child) .twd_rk_news-content h2 {
      font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    }

    /* --- WP POSZT STÍLUSÚ BELSŐ OLDAL BLOKKOK --- */
    .twd_rk_content-sections {
      width: 90%;
      max-width: 1400px;
      margin: 0 auto 50px auto;
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .twd_rk_wp-post {
      background: rgba(18, 30, 22, 0.8);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(143, 188, 143, 0.2);
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .twd_rk_wp-meta {
      display: flex;
      gap: 15px;
      align-items: center;
      margin-bottom: 12px;
      font-size: 0.85rem;
    }

    .twd_rk_wp-category {
      background: rgba(143, 188, 143, 0.2);
      color: #a3e4d7;
      padding: 4px 12px;
      border-radius: 20px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      border: 1px solid rgba(143, 188, 143, 0.3);
    }

    .twd_rk_wp-date {
      color: #94a3b8;
      font-weight: 500;
    }

    .twd_rk_wp-post h2 {
      font-size: 2rem;
      margin-bottom: 15px;
      color: #ffffff;
      font-weight: 700;
    }

    .twd_rk_wp-content {
      color: #cbd5e1;
      font-size: 1.05rem;
      line-height: 1.6;
      margin-bottom: 25px;
    }

    .twd_rk_wp-btn {
      display: inline-block;
      background-color: #2e7d32;
      color: #ffffff;
      padding: 10px 24px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 600;
      transition: background 0.3s;
    }

    .twd_rk_wp-btn:hover {
      background-color: #388e3c;
    }
/* WordPress alapértelmezett Read More / More Link gomb */
    .twd_rk_wp-content .more-link {
      display: inline-block;
      background-color: #2e7d32;
      color: #ffffff;
      padding: 10px 24px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 600;
      margin-top: 15px;
      transition: background 0.3s, transform 0.2s;
    }

    .twd_rk_wp-content .more-link:hover {
      background-color: #388e3c;
      color: #ffffff;
      transform: translateY(-2px);
      text-decoration: none;
    }	


        /* --- 3 OSZLOPOS KÁRTYA GRID (5 kártya, második sor középre igazítva) --- */
        .twd_rk_page-wrapper {
            width: 90%;
            max-width: 1300px;
            margin: 50px auto;
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .twd_rk_wp-post {
            background: rgba(18, 30, 22, 0.85);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(143, 188, 143, 0.25);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .twd_rk_wp-post h2 {
            font-size: 2.2rem;
            color: #ffffff;
            margin-bottom: 25px;
            font-weight: 700;
        }

        .twd_rk_page-thumb-wrap {
            width: 100%;
            max-height: 400px;
            border-radius: 14px;
            overflow: hidden;
            margin-bottom: 30px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .twd_rk_page-thumb {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .twd_rk_wp-content {
            color: #cbd5e1;
            font-size: 1.05rem;
            line-height: 1.7;
            margin-bottom: 30px;
        }


/* --- UNIVERZÁLIS LISTA STÍLUS A TARTALOMBAN (.twd_rk_wp-post) --- */
.twd_rk_wp-post ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 30px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.twd_rk_wp-post ul li {
    background: rgba(18, 30, 22, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(143, 188, 143, 0.2);
    border-radius: 14px;
    padding: 16px 20px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.twd_rk_wp-post ul li:hover {
    background: rgba(22, 38, 28, 0.9);
    border-color: rgba(143, 188, 143, 0.5);
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.twd_rk_wp-post ul li a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: color 0.2s;
}

.twd_rk_wp-post ul li a:hover {
    color: #ffffff;
}

/* Külső hivatkozás / link kis nyíl ikon a sorok végére */
.twd_rk_wp-post ul li a::after {
    content: '↗';
    font-size: 1.1rem;
    color: #8fbc8f;
    min-width: 20px;
    text-align: right;
    transition: transform 0.2s;
}

.twd_rk_wp-post ul li a:hover::after {
    transform: translate(2px, -2px);
}



        /* --- 3-AS GRID ÉS KÖZÉPRE IGAZÍTÁS --- */
        .twd_rk_subpages-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 25px;
        }

        .twd_rk_subpage-card {
            position: relative;
            display: flex;
            align-items: flex-end;
            /* 3 oszlop: (100% - 2 * gap) / 3 */
            width: calc(33.333% - 17px);
            min-width: 280px;
            max-width: 380px;
            height: 220px;
            border-radius: 16px;
            overflow: hidden;
            text-decoration: none;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(143, 188, 143, 0.25);
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .twd_rk_subpage-card:hover {
            transform: translateY(-4px);
            border-color: rgba(143, 188, 143, 0.6);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
        }

        /* Kiemelt kép háttér */
        .twd_rk_subpage-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
            transition: transform 0.4s ease;
        }

        .twd_rk_subpage-card:hover .twd_rk_subpage-bg {
            transform: scale(1.06);
        }

        /* Sötétítő átmenet a cím alatt */
        .twd_rk_subpage-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(12, 18, 14, 0.9) 0%, rgba(12, 18, 14, 0.3) 60%, rgba(0,0,0,0.1) 100%);
            z-index: 2;
        }

        /* Cím a kártyán */
        .twd_rk_subpage-title {
            position: relative;
            z-index: 3;
            padding: 25px;
            font-size: 1.2rem;
            color: #ffffff;
            font-weight: 700;
            line-height: 1.3;
            text-shadow: 0 2px 4px rgba(0,0,0,0.6);
            transition: color 0.2s;
        }

        .twd_rk_subpage-card:hover .twd_rk_subpage-title {
            color: #8fbc8f;
        }

        /* Mobilos reszponzivitás */
        @media (max-width: 900px) {
            .twd_rk_subpage-card {
                width: calc(50% - 15px);
            }
        }

        @media (max-width: 600px) {
            .twd_rk_subpage-card {
                width: 100%;
            }
        }


 /* --- KÉTOSZLOPOS SINGLE LAYOUT --- */
.twd_rk_single-wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.twd_rk_single-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Kiemelt kép konténer a belső oldalon */
.twd_rk_single-img-wrap {
    position: relative;
    width: 100%;
    max-height: 450px;
    overflow: hidden;
    border-radius: 14px;
    background: #1e293b;
    margin-bottom: 25px;
}

.twd_rk_single-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.twd_rk_single-cat-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    z-index: 3;
}

.twd_rk_single-cat-icon img,
.twd_rk_single-cat-icon .twd_rk_svg-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    object-fit: contain;
}

.twd_rk_single-img-date {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- SIDEBAR & ZOOM NÉLKÜLI FADE SLIDESHOW --- */
.twd_rk_sidebar {
    background: rgba(18, 30, 22, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(143, 188, 143, 0.25);
    border-radius: 20px;
    padding: 25px;
    height: fit-content;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.twd_rk_sidebar h3 {
    font-size: 1.1rem;
    color: #8fbc8f;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    font-weight: 600;
}

.twd_rk_sidebar-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: #1e293b;    
	margin: 0 0 15px 0;

}

.twd_rk_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    animation: twdPureFade 24s ease-in-out infinite;
}

.twd_rk_slide:nth-child(1) { animation-delay: 0s; }
.twd_rk_slide:nth-child(2) { animation-delay: 4s; }
.twd_rk_slide:nth-child(3) { animation-delay: 8s; }
.twd_rk_slide:nth-child(4) { animation-delay: 12s; }
.twd_rk_slide:nth-child(5) { animation-delay: 16s; }
.twd_rk_slide:nth-child(6) { animation-delay: 20s; }

@keyframes twdPureFade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    25% { opacity: 1; }
    35% { opacity: 0; }
    100% { opacity: 0; }
}

/* Mobilos reszponzivitás a single oldalra */
@media (max-width: 991px) {
    .twd_rk_single-wrapper {
        grid-template-columns: 1fr;
        width: 95%;
        gap: 20px;
    }
}

/* --- SIDEBAR LEGFRISSEBB BEJEGYZÉSEK LISTA --- */
.twd_rk_sidebar-posts {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.twd_rk_sidebar-posts li {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.twd_rk_sidebar-posts li:hover {
    background: rgba(143, 188, 143, 0.08);
    border-color: rgba(143, 188, 143, 0.25);
    transform: translateY(-2px);
}

.sidebar-post-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
}

.sidebar-post-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-post-icon img {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    object-fit: contain;
    display: block;
}

.sidebar-post-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.sidebar-post-title {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.sidebar-post-item:hover .sidebar-post-title {
    color: #ffffff;
}

.sidebar-post-date {
    font-size: 0.73rem;
    color: #94a3b8;
}
    /* --- SCROLL TO TOP GOMB (KÖZÉPEN ALUL) --- */
    #scrollToTopBtn {
	position: fixed;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	z-index: 999;
	background-color: rgba(22, 40, 28, 0.15);
	cursor: pointer;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s;
	border: 0;	border-radius: 50%;
    }
    #scrollToTopBtn img {
	width: 50px;
	height: auto;      
	opacity: .6;

    }
    #scrollToTopBtn.show {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }

    #scrollToTopBtn:hover {
	background-color: rgba(30, 55, 38, 0.95);

    }
	    #scrollToTopBtn:hover img {
	opacity: 1;
    }

    /* --- FOOTER --- */
    footer {
      background-color: rgba(10, 14, 11, 0.48);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 40px 5% 20px 5%;
      margin-top: auto;
      color: #94a3b8;
      font-size: 0.95rem;
    }

    .footer-content {
      max-width: 1400px;
      margin: 0 auto 30px auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 30px;
    }

    .footer-left p {
      color: #cbd5e1;
      font-size: 0.95rem;
      max-width: 300px;
      line-height: 1.5;
    }

    .footer-socials {
      display: flex;
      gap: 15px;
    }

    .footer-social-btn {
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .footer-social-btn:hover {
      transform: translateY(-3px);
    }

    .footer-social-btn img {
      width: 50px;
      height: 50px;
      border: 2px solid #FFF;
      border-radius: 10px;
    }

.footer-right {
	display: flex;
	flex-direction: column;
	gap: 5px;
	text-transform: uppercase;
	letter-spacing: 2px;
    }

.footer-right ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-right li {
    background: rgba(18, 30, 22, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(143, 188, 143, 0.15);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.footer-right li:hover {
    background: rgba(22, 40, 28, 0.85);
    border-color: rgba(143, 188, 143, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-right li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
    transition: color 0.2s ease;
}

.footer-right li a:hover {
    color: #ffffff;
}



.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-bottom a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #8fbc8f;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 30%;
    margin: 20px auto 50px auto;
}

.pagination div {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px 0;    
}

/* Zöldes frosted glass stílus a gombokra */
.pagination div:first-child, 
.pagination div:last-child {
    background-color: rgba(46, 125, 50, 0.35); /* Zöldes áttetsző alap */
    backdrop-filter: blur(10px);               /* Frosted glass elmosás */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Finom fényes él */
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover állapot */
.pagination div:first-child:hover, 
.pagination div:last-child:hover {
    background-color: rgba(46, 125, 50, 0.65); /* Kissé sötétebb/erősebb zöld hoverkor */
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
}

.pagination div a {
    color: #FFFFFF;
}

/* Nyilak méretezése és vízszintes elforgatás a következőhöz */
.pagination-div img.pagiprev {
    width: 16px;
    height: auto;
    display: block;
}

.pagination-div img.paginext {
    width: 16px;
    height: auto;
    display: block;
    transform: scaleX(-1); /* Vízszintes tükrözés/fordítás */
}

/* Aktuális oldalszám számláló stílusa (ha szükséges) */
.pagination .pagicurrent {
    color: #FFFFFF;
    font-weight: bold;
}

.archive-header{
	text-align: center;
	margin: 30px 0 40px 0;
	display: none;
}

.twd-social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  margin: 8px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.fb-twd-social-button {
  background-color: #1877f2;
}
.fb-twd-social-button::before {
	content: "";
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	background-image: url('images/facebook2.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	margin-right: 0.5em;
	vertical-align: middle;
	background-position: center center;
}

.yt-twd-social-button {
  background-color: #ff0000;
}
.yt-twd-social-button::before {
	content: "";
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	background-image: url('images/youtube.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	margin-right: 0.5em;
	vertical-align: middle;
	background-position: center center;
}

.ig-twd-social-button {
  background: #833ab4;
  background: linear-gradient(
    to right,
    #833ab4,#fd1d1d,#fcb045
  );
}
.ig-twd-social-button::before {
	content: "";
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	background-image: url('images/instagram2.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	margin-right: 0.5em;
	vertical-align: middle;
	background-position: center center;
}

.tt-twd-social-button {
	background-color: #000000;
}
.tt-twd-social-button::before {
	content: "";
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	background-image: url('images/tiktok2.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	margin-right: 0.5em;
	vertical-align: middle;
	background-position: center center;
}

.twd-social-button span {
  transition: transform 0.3s ease;
}

.twd-social-button:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}

.twd-social-button:hover::before {
  transform: scale(1.15) rotate(8deg);
}

.twd-social-button:hover span {
  transform: translateX(5px);
}

.twd-social-button:visited {
  color: #fff;
  text-decoration: none;
}




    @media (max-width: 768px) {
      .footer-content {
        flex-direction: column;
        text-align: center;
      }
      .footer-left p {
        max-width: 100%;
      }
      .footer-socials {
        justify-content: center;
      }
    }

    /* --- MOBIL RESZPONZÍV MENÜ ÉS FROSTED GLASS --- */
    @media (max-width: 991px) {
      body {

      }

      .menu-toggle {
        display: flex;
      }

/* --- MENÜ ALAP ÉS ANIMÁCIÓ (Fentről lefelé / Fade In) --- */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(18, 24, 20, 0.95);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      display: flex;
      justify-content: center;
      align-items: center;
      /* Eltüntetjük a jobbra tologatást, helyette tiszta opacity + scale animáció jön */
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
      z-index: 1100;
      overflow: hidden;
    }

    nav.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

      nav ul {
        flex-direction: column;
        gap: 22px;
        text-align: center;
      }

      nav a {
        font-size: 1.25rem;
      }

      .menu-toggle.active span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
      }

      .menu-toggle.active span:nth-child(2) {
        opacity: 0;
      }

      .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
      }

      header {
        padding: 0 15px;
        height: 60px;        
      }

      header.scrolled {
        height: 60px;
      }

/* Mobilon tiltsuk le a bonyolult absolute logó tologatást, ami szétnyomja a layoutot */
  .twd_rk_logo-container {
    position: relative;
    width: auto;
    height: 100%;
  }

  .twd_rk_logo-main {
    display: none !important;
  }

  .twd_rk_logo-scrolled {
    position: relative !important; /* Nem absolute! Így benne marad a dobozban */
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 200px !important;
    height: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  header.scrolled .twd_rk_logo-scrolled {
    width: 200px !important;
    height: auto !important;
  }
      .twd_rk_about-hero {
        flex-direction: column;
        text-align: center;
        margin: 45px 20px 30px 20px;
        width: auto;
        padding: 30px 20px;
        gap: 20px;
      }

      .twd_rk_about-hero .quote-tl {
        position: absolute;
        left: -15px;
        top: -25px;
        width: 70px;
        height: 60px;
        background-size: contain;
        background-position: center;
        transform: rotate(180deg);
        z-index: 6;
      }

      .twd_rk_about-hero .quote-br {
        position: absolute;
        right: -15px;
        bottom: -25px;
        width: 70px;
        height: 60px;
        background-size: contain;
        background-position: center;
        z-index: 6;
      }

      .twd_rk_about-avatar {
        width: 110px;
        height: 110px;
        min-width: 110px;
      }



      .twd_rk_news-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
        height: auto;
        width: 92%;
      }

      .twd_rk_news-item {
        aspect-ratio: 16 / 9; 
      }

      .twd_rk_news-item:nth-child(1),
      .twd_rk_news-item:nth-child(2),
      .twd_rk_news-item:nth-child(3),
      .twd_rk_news-item:nth-child(4),
      .twd_rk_news-item:nth-child(5) {
        grid-area: auto;
      }

      .twd_rk_news-content h2 {
        font-size: 1.15rem !important;
      }


    .twd_rk_social-icon {

      width: 45px;
      height: 45px;
    }

    .twd_rk_news-item:not(:first-child) .twd_rk_social-icon {
      width: 45px;
      height: 45px;  
    }



      .twd_rk_content-sections {
        width: 92%;
      }


      .twd_rk_wp-post {
        padding: 25px;
      }

      .twd_rk_wp-post h2 {
        font-size: 1.5rem;
      }
    }
