/* ============================================
   CDHome – Blog oldal
   ============================================ */

/* ============================================
   HERO SZEKCIÓ – háttérképes verzió (csapatunk/rólunk stílus)
   ============================================ */
.blog-hero {
    min-height: 680px;
    margin-bottom: 0;
}

.blog-hero .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.45) 60%,
        rgba(5, 2, 2, 0.82) 100%
    );
}

.blog-hero.hero-with-image::after {
    background: linear-gradient(to top, #f5f0eb 0%, rgba(245, 240, 235, 0.55) 40%, transparent 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    height: 110px !important;
}

.blog-hero-accent {
    background: linear-gradient(90deg, #f0d48a, #d4a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero entry animations */
.anim-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: blogAnimFadeUp 0.8s ease-out forwards;
}

.anim-fade-down {
    opacity: 0;
    transform: translateY(-20px);
    animation: blogAnimFadeDown 0.8s ease-out forwards;
}

.anim-delay-1 { animation-delay: 0.2s; }
.anim-delay-2 { animation-delay: 0.4s; }

@keyframes blogAnimFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blogAnimFadeDown {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   FŐ TARTALOM SZEKCIÓ
   ============================================ */
.blog-content-section {
    padding: 4rem 0 6rem;
    background: var(--bg-warm);
}

/* ============================================
   KIEMELT BEJEGYZÉS KÁRTYA
   ============================================ */
.blog-featured-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-featured-card:hover {
    box-shadow: var(--shadow-lg);
}

.blog-featured-img {
    position: relative;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}

.blog-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-featured-card:hover .blog-featured-img img {
    transform: scale(1.05);
}

.blog-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(153, 0, 0, 0.25);
}

.blog-featured-body {
    padding: 2rem 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.blog-featured-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0.8rem 0 1rem;
    letter-spacing: -0.3px;
}

.blog-featured-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-featured-title a:hover {
    color: var(--primary);
}

.blog-featured-excerpt {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ============================================
   KATEGÓRIA CÍMKE
   ============================================ */
.blog-category-tag {
    display: inline-block;
    background: var(--bg-warm);
    color: var(--primary);
    padding: 0.25rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--border);
    letter-spacing: 0.03em;
}

.blog-category-tag:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

/* ============================================
   META ADATOK
   ============================================ */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    align-items: center;
}

.blog-meta-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-body);
}

.blog-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border);
}

.blog-author-avatar-lg {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.blog-author-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    border: 1px solid var(--border);
}

/* ============================================
   BLOG KÁRTYÁK
   ============================================ */
.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-card-img-link {
    text-decoration: none;
}

.blog-card-img {
    height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #2d0000, #700000);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.07);
}

.blog-no-image,
.blog-no-image-sm {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--border-light) 100%);
    color: var(--text-muted);
}

.blog-no-image {
    min-height: 320px;
    font-size: 4rem;
    opacity: 0.4;
}

.blog-no-image-sm {
    min-height: 210px;
    font-size: 2.5rem;
    opacity: 0.4;
}

.blog-card-body {
    padding: 1.3rem 1.3rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0.5rem 0 0.6rem;
}

.blog-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    flex: 1;
}

/* ============================================
   SZŰRŐK
   ============================================ */
.blog-filter-bar {
    display: flex;
    gap: 0.5rem;
}

.blog-filter-bar .form-control {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 0.65rem 1rem;
    background: #fff;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.blog-filter-bar .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(153, 0, 0, 0.1);
}

.btn-blog-search {
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 0.65rem 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(153, 0, 0, 0.2);
}

.btn-blog-search:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(153, 0, 0, 0.3);
}

.btn-blog-read {
    display: inline-flex;
    align-items: center;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 15px rgba(153, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-blog-read:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(153, 0, 0, 0.3);
}

/* ============================================
   SIDEBAR
   ============================================ */
.blog-sidebar-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.blog-sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border);
    letter-spacing: -0.2px;
}

.blog-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-category-list li {
    margin-bottom: 2px;
}

.blog-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: var(--text-body);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-category-list a:hover,
.blog-category-list a.active {
    background: var(--bg-warm);
    color: var(--primary);
}

.blog-cat-count {
    background: var(--bg-warm);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
}

.blog-category-list a.active .blog-cat-count {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

/* ============================================
   NÉPSZERŰ CIKKEK (sidebar)
   ============================================ */
.blog-popular-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.7rem 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.25s ease;
}

.blog-popular-item:last-child {
    border-bottom: none;
}

.blog-popular-item:hover .blog-popular-title {
    color: var(--primary);
}

.blog-popular-num {
    width: 28px;
    height: 28px;
    background: var(--gradient);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(153, 0, 0, 0.2);
}

.blog-popular-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    transition: color 0.25s ease;
}

.blog-popular-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   BEJEGYZÉS RÉSZLETES OLDAL
   ============================================ */
.blog-article-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.blog-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.blog-article-header {
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.blog-article-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-dark);
    margin: 0.8rem 0 1.2rem;
    letter-spacing: -0.5px;
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
}

.blog-article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tartalom formázás */
.blog-article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-body);
}

.blog-article-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 2.5rem 0 1rem;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.blog-article-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2rem 0 0.8rem;
    color: var(--text-dark);
}

.blog-article-content p {
    margin-bottom: 1.2rem;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.blog-article-content figure.blog-image {
    margin: 2rem 0;
    text-align: center;
}

.blog-article-content figure.blog-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 0;
}

.blog-article-content figure.blog-image figcaption {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.blog-article-content blockquote {
    border-left: 4px solid var(--primary);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: var(--bg-warm);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-body);
}

.blog-article-content ul,
.blog-article-content ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.blog-article-content li {
    margin-bottom: 0.5rem;
}

.blog-article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.blog-article-content a:hover {
    color: var(--primary-dark);
}

/* ============================================
   CÍMKÉK
   ============================================ */
.blog-article-tags {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.blog-tag {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    background: var(--bg-warm);
    color: var(--text-body);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--border);
}

.blog-tag:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

/* ============================================
   MEGOSZTÁS
   ============================================ */
.blog-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--border);
}

.blog-share-label {
    font-weight: 600;
    color: var(--text-body);
    font-size: 0.9rem;
}

.blog-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.blog-share-btn:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.blog-share-btn.facebook { background: #1877f2; }
.blog-share-btn.twitter  { background: var(--text-dark); }
.blog-share-btn.linkedin { background: #0a66c2; }
.blog-share-btn.copy     { background: var(--text-muted); }

/* ============================================
   SZERZŐ KÁRTYA
   ============================================ */
.blog-author-card {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    margin: 2rem 0;
    border: 1px solid var(--border-light);
}

.blog-author-card-inner {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.blog-author-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--border);
}

.blog-author-card-avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

/* ============================================
   ELŐZŐ/KÖVETKEZŐ NAVIGÁCIÓ
   ============================================ */
.blog-post-nav {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.blog-post-nav-link {
    display: block;
    text-decoration: none;
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.blog-post-nav-link:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.blog-post-nav-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.blog-post-nav-title {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.blog-post-nav-link:hover .blog-post-nav-title {
    color: var(--primary);
}

/* Kapcsolódó bejegyzések szekció */
.blog-related {
    background: var(--bg-warm);
}

/* ============================================
   FADE-IN ANIMÁCIÓK
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESZPONZÍV
   ============================================ */
@media (max-width: 991px) {
    .blog-hero {
        min-height: 580px;
    }

    .blog-featured-img {
        min-height: 240px;
    }

    .blog-featured-body {
        padding: 1.5rem;
    }

    .blog-featured-title {
        font-size: 1.3rem;
    }

    .blog-article-hero {
        height: 280px;
    }

    .blog-article-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .blog-hero {
        min-height: 500px;
    }

    .blog-content-section {
        padding: 2.5rem 0 4rem;
    }

    .blog-featured-img {
        min-height: 200px;
    }

    .blog-featured-body {
        padding: 1.2rem;
    }

    .blog-card-img {
        height: 180px;
    }

    .blog-article-hero {
        height: 200px;
    }

    .blog-article-title {
        font-size: 1.5rem;
    }

    .blog-article-content {
        font-size: 1rem;
    }

    .blog-article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .blog-author-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .blog-share {
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    .blog-hero {
        min-height: 72vh;
        padding: 6rem 0 4rem;
    }

    .blog-content-section {
        padding: 2rem 0 3rem;
    }

    .blog-sidebar-card {
        padding: 1.2rem;
    }
}

/* ============================================
   ============================================
   BLOG-POST OLDAL STÍLUSOK
   ============================================
   ============================================ */

/* ============================================
   BLOGPOST HERO
   ============================================ */
.blogpost-hero {
    min-height: 680px;
    margin-bottom: 0;
}

.blogpost-hero .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(5, 2, 2, 0.85) 100%
    );
}

.blogpost-hero.hero-with-image::after {
    background: linear-gradient(to top, var(--bg-warm) 0%, rgba(245, 240, 235, 0.55) 40%, transparent 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    height: 110px !important;
}

.blogpost-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.blogpost-hero .hero-badge {
    text-decoration: none;
    color: #fff;
}

.blogpost-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.blogpost-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 500;
}

.blogpost-hero-meta-item i {
    opacity: 0.7;
}

.blogpost-hero-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
    margin-right: 2px;
}

/* ============================================
   BLOGPOST BODY (cikk tartalom wrapper)
   ============================================ */
.blogpost-body {
    padding: 0 0 4rem;
    background: var(--bg-warm);
}

/* Breadcrumb */
.blogpost-breadcrumb {
    padding: 1.5rem 0 0.5rem;
}

.blogpost-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
}

.blogpost-breadcrumb .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blogpost-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary);
}

.blogpost-breadcrumb .breadcrumb-item.active {
    color: var(--text-muted);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blogpost-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--border);
}

/* Cikk tartalom felülírás blog-post oldalra */
.blogpost-body .blog-article-content {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2.5rem 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

/* Címkék & megosztás a cikk body-ban */
.blogpost-body .blog-article-tags {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    margin-bottom: 1.2rem;
    border-top: none;
    margin-top: 0;
}

.blogpost-body .blog-share {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border-top: none;
}

/* ============================================
   BLOGPOST SZERZŐ KÁRTYA
   ============================================ */
.blogpost-author-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.blogpost-author-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.blogpost-author-card-inner {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.blogpost-author-avatar-wrap {
    flex-shrink: 0;
}

.blogpost-author-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blogpost-author-avatar-initial {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(153, 0, 0, 0.2);
}

.blogpost-author-info {
    flex: 1;
}

.blogpost-author-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.blogpost-author-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.blogpost-author-position {
    display: inline-block;
    background: var(--bg-warm);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    margin-bottom: 0.7rem;
    letter-spacing: 0.03em;
}

.blogpost-author-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   BLOGPOST NAVIGÁCIÓ (előző/következő)
   ============================================ */
.blogpost-nav {
    margin-bottom: 0;
}

.blogpost-nav-link {
    display: block;
    text-decoration: none;
    padding: 1.2rem 1.3rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.blogpost-nav-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blogpost-nav-label {
    display: block;
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.blogpost-nav-title {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.92rem;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.blogpost-nav-link:hover .blogpost-nav-title {
    color: var(--primary);
}

.blogpost-nav-next {
    text-align: right;
}

/* ============================================
   KAPCSOLÓDÓ BEJEGYZÉSEK SZEKCIÓ
   ============================================ */
.blogpost-related {
    padding: 5rem 0 6rem;
    background: var(--bg-light);
}

.blogpost-related-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(153, 0, 0, 0.18);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.blogpost-related-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    letter-spacing: -0.3px;
}

.blogpost-related-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.blogpost-related-btn {
    display: inline-flex;
    align-items: center;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(153, 0, 0, 0.25);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.blogpost-related-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(153, 0, 0, 0.35);
    color: #fff;
}

/* ============================================
   BLOGPOST RESZPONZÍV
   ============================================ */
@media (max-width: 991px) {
    .blogpost-hero {
        min-height: 560px;
    }

    .blogpost-hero h1 {
        font-size: 1.8rem;
    }

    .blogpost-body .blog-article-content {
        padding: 2rem 1.8rem 2.5rem;
    }
}

@media (max-width: 767px) {
    .blogpost-hero {
        min-height: 480px;
    }

    .blogpost-hero h1 {
        font-size: 1.5rem;
    }

    .blogpost-hero-meta {
        gap: 0.6rem;
        font-size: 0.82rem;
    }

    .blogpost-body {
        padding: 0 0 2.5rem;
    }

    .blogpost-body .blog-article-content {
        padding: 1.5rem 1.2rem 2rem;
        border-radius: var(--radius);
    }

    .blogpost-body .blog-article-tags,
    .blogpost-body .blog-share {
        padding: 1rem 1.2rem;
        border-radius: var(--radius);
    }

    .blogpost-author-card {
        padding: 1.5rem;
        border-radius: var(--radius);
    }

    .blogpost-author-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .blogpost-nav-link {
        padding: 1rem;
    }

    .blogpost-related {
        padding: 3.5rem 0 4.5rem;
    }

    .blogpost-related-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .blogpost-hero {
        min-height: 72vh;
        padding: 6rem 0 4rem;
    }

    .blogpost-author-avatar-img,
    .blogpost-author-avatar-initial {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }

    .blogpost-nav .row {
        gap: 0.75rem;
    }

    .blogpost-nav .col-sm-6 {
        width: 100%;
    }

    .blogpost-nav-next {
        text-align: left;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .anim-fade-up,
    .anim-fade-down {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .blog-card:hover,
    .blog-featured-card:hover .blog-featured-img img,
    .blog-card:hover .blog-card-img img {
        transform: none;
    }
}
