/* === Shared collection / blog listing & article page styles ===
   Used by blogok.php, projektjeink.php and termekeink.php so the
   blog, projects and products pages stay structurally identical. */

        body.blog-page {
            overflow-x: hidden;
            overflow-y: auto;
            position: relative;
            min-height: 100vh;
            background: transparent;
        }

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

        .blog-page-shell > * {
            position: relative;
            z-index: 1;
        }

        .blog-page-shell {
            isolation: isolate;
        }

        .blog-page-shell::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            background: linear-gradient(180deg, rgba(223, 238, 247, 0.78) 0%, rgba(223, 238, 247, 0.74) 100%);
            -webkit-backdrop-filter: blur(1px);
            backdrop-filter: blur(1px);
        }

        .blog-page-header {
            padding: 120px 0 48px;
            background: transparent !important;
            border-bottom: none;
            margin-bottom: 0;
        }

        .blog-page-header::before,
        .blog-page-header::after {
            display: none;
        }

        .blog-page-header .page-header-content {
            max-width: 840px;
            margin: 0 auto;
            text-align: center;
        }

        .blog-page-header.is-article .page-header-content {
            max-width: 960px;
            text-align: left;
        }

        .blog-hero-overview {
            display: grid;
            justify-items: center;
            gap: 1rem;
        }

        .blog-hero-title,
        .blog-hero-desc {
            display: none;
        }

        .blog-hero-overview h1 {
            margin: 0;
            max-width: 720px;
            font-size: clamp(2.35rem, 4.8vw, 3.85rem);
            line-height: 1.08;
            letter-spacing: -0.04em;
            color: #18364a;
        }

        .blog-hero-overview p {
            margin: 0;
            max-width: 680px;
            font-size: 1.05rem;
            line-height: 1.82;
            color: rgba(24, 54, 74, 0.78);
        }

        .blog-article-header {
            display: grid;
            gap: 1rem;
        }

        .blog-article-header-copy {
            display: grid;
            gap: 0.85rem;
            max-width: 760px;
        }

        .blog-article-lead {
            margin: 0;
            font-size: 1.02rem;
            line-height: 1.8;
            color: rgba(24, 54, 74, 0.74);
        }

        .blog-filter-bar input[type="date"] {
            height: 2.6rem;
            padding: 0 0.85rem;
            border-radius: 12px;
            border: 1px solid rgba(47, 120, 163, 0.2);
            background: rgba(255, 255, 255, 0.92);
            color: #18364a;
            font-size: 0.95rem;
            font-family: inherit;
            cursor: pointer;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
        }

        .blog-filter-bar input[type="date"]:focus {
            outline: none;
            border-color: rgba(47, 120, 163, 0.5);
            box-shadow: 0 0 0 3px rgba(47, 120, 163, 0.12);
        }

        .blog-date-reset {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.5rem 0.9rem;
            border-radius: 10px;
            border: 1px solid rgba(47, 120, 163, 0.18);
            background: rgba(255, 255, 255, 0.82);
            color: #2f78a3;
            font-size: 0.85rem;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s;
        }

        .blog-date-reset:hover {
            background: rgba(47, 120, 163, 0.1);
        }

        .blog-page-main,
        .blog-article-page {
            position: relative;
            z-index: 1;
            padding: 0 0 5rem;
        }

        .blog-page-main {
            margin-top: 0;
            background: transparent;
        }

        .blog-listing,
        .block-listing {
            position: relative;
            padding: 0 0 4rem;
            margin-top: 0;
            background: transparent !important;
        }


        .blog-results-panel,
        .blog-card,
        .blog-empty-state,
        .blog-article-card,
        .blog-related-card {
            position: relative;
            overflow: hidden;
            border-radius: 30px;
            background:
                linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 250, 253, 0.92) 48%, rgba(220, 236, 246, 0.88) 100%);
            border: 1px solid rgba(255, 255, 255, 0.9);
            box-shadow: 0 30px 80px rgba(8, 21, 33, 0.12);
            backdrop-filter: blur(20px);
        }

        .blog-results-panel {
            padding: clamp(1.5rem, 3vw, 2.35rem);
            display: grid;
            gap: 1.25rem;
            margin: 0 0 1.75rem;
        }

        .blog-results-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .blog-results-copy h2 {
            margin: 0;
            max-width: 780px;
            font-size: clamp(1.85rem, 3vw, 2.8rem);
            line-height: 1.12;
            letter-spacing: -0.04em;
            color: #18364a;
        }

        .blog-results-copy {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

.blog-results-copy::after {
    content: "Fedezze fel, hogyan lesz az \0000f6tletb\000151l gyorsabban m\000171k\0000f6d\000151 folyamat, tiszt\0000e1bb adat \0000e9s magabiztosabb d\0000f6nt\0000e9s. A bejegyz\0000e9sek val\0000f3s helyzeteken kereszt\0000fcl seg\0000edtenek elindulni vagy tov\0000e1bbl\0000e9pni.";
    margin-top: 0.85rem;
    max-width: 720px;
    font-size: 1rem;
            line-height: 1.78;
            color: rgba(24, 54, 74, 0.72);
        }

        .blog-results-copy p {
            margin: 0.85rem 0 0;
            max-width: 720px;
            font-size: 1rem;
            line-height: 1.78;
            color: rgba(24, 54, 74, 0.72);
        }

        .blog-filter-bar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-start;
            gap: 0.6rem;
            margin-top: 0.5rem;
        }

        .blog-filter-bar .blog-date-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: rgba(24, 54, 74, 0.72);
            white-space: nowrap;
        }

        .blog-search-wrap {
            position: relative;
            margin-left: 0;
            flex: 0 1 15rem;
            min-width: 13rem;
        }

        .blog-search-wrap i {
            position: absolute;
            top: 50%;
            left: 1rem;
            transform: translateY(-50%);
            color: rgba(47, 120, 163, 0.68);
        }

        .blog-search-wrap input {
            width: 100%;
            height: 2.6rem;
            padding: 0 1rem 0 2.9rem;
            border-radius: 14px;
            border: 1px solid rgba(47, 120, 163, 0.16);
            background: rgba(255, 255, 255, 0.9);
            color: #18364a;
            font-size: 0.95rem;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
        }

        .blog-search-wrap input:focus {
            outline: none;
            border-color: rgba(47, 120, 163, 0.42);
            box-shadow: 0 0 0 4px rgba(47, 120, 163, 0.12);
        }

        .blog-filter-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .blog-chip {
            border: 1px solid rgba(47, 120, 163, 0.18);
            background: rgba(255, 255, 255, 0.78);
            color: #2c5874;
            border-radius: 999px;
            padding: 0.8rem 1.05rem;
            font-weight: 700;
            line-height: 1;
            transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
        }

        .blog-chip:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(15, 44, 64, 0.08);
        }

        .blog-chip.is-active {
            background: linear-gradient(135deg, #4f94be 0%, #2f78a3 100%);
            color: #ffffff;
            border-color: transparent;
            box-shadow: 0 14px 32px rgba(47, 120, 163, 0.24);
        }

        .blog-result-count {
            margin: 0;
            color: rgba(24, 54, 74, 0.72);
            font-weight: 600;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .blog-card {
            display: flex;
            flex-direction: column;
            min-height: 100%;
            transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
        }

        .blog-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 38px 86px rgba(8, 21, 33, 0.16);
        }

        .blog-card-media-link {
            display: block;
            padding: 1.2rem 1.2rem 0;
        }

        .blog-card-visual {
            aspect-ratio: 16 / 9;
            overflow: hidden;
            border-radius: 24px;
            background: linear-gradient(145deg, rgba(47, 120, 163, 0.15), rgba(47, 120, 163, 0.04));
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
        }

        .blog-card-body > .blog-card-visual {
            margin: -0.25rem -0.25rem 0;
        }

        .blog-card-visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.42s ease;
        }

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

        .blog-card-body {
            padding: 1.45rem;
            display: flex;
            flex: 1 1 auto;
            flex-direction: column;
            gap: 0.95rem;
        }

        .blog-card-top {
            display: grid;
            gap: 0.8rem;
        }

        .blog-card-meta,
        .blog-article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            align-items: center;
            color: rgba(24, 54, 74, 0.65);
            font-size: 0.95rem;
        }

        .blog-card-meta span,
        .blog-article-meta span {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
        }

        .blog-card-title {
            margin: 0;
            color: #18364a;
            font-size: 1.42rem;
            line-height: 1.18;
            letter-spacing: -0.03em;
        }

        .blog-card-subtitle,
        .blog-card-excerpt {
            margin: 0;
            color: rgba(24, 54, 74, 0.76);
            line-height: 1.75;
        }

        .blog-card-subtitle {
            font-weight: 700;
            color: rgba(24, 54, 74, 0.84);
        }

        .blog-card-excerpt {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-card-actions {
            margin-top: auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 0.85rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(47, 120, 163, 0.12);
        }

        .blog-reading-meta {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            color: rgba(24, 54, 74, 0.72);
            font-size: 0.94rem;
            font-weight: 600;
        }

        .blog-card-link,
        .blog-back-link {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            color: #2f78a3;
            font-weight: 800;
            text-decoration: none;
        }

        .blog-card-link {
            padding: 0.8rem 1.1rem;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(47, 120, 163, 0.12), rgba(47, 120, 163, 0.2));
            transition: transform 0.2s ease, background-color 0.2s ease;
        }

        .blog-card-link:hover,
        .blog-back-link:hover {
            color: #18364a;
        }

        .blog-card-link:hover {
            transform: translateX(2px);
            background: linear-gradient(135deg, rgba(47, 120, 163, 0.18), rgba(47, 120, 163, 0.26));
        }

        .blog-empty-state {
            margin-top: 1rem;
            padding: 2.2rem;
            text-align: center;
        }

        .blog-empty-state h3 {
            margin-bottom: 0.55rem;
            color: #18364a;
        }

        .blog-empty-state p {
            margin: 0;
            color: rgba(24, 54, 74, 0.72);
        }

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

        .blog-article-card {
            padding: clamp(1.2rem, 2.4vw, 1.8rem);
            display: grid;
            gap: 1.5rem;
        }

        .blog-article-cover-wrap {
            padding: 0.4rem;
            border-radius: 28px;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.52));
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.54);
        }

        .blog-article-cover {
            width: 100%;
            max-height: 460px;
            object-fit: cover;
            border-radius: 26px;
            display: block;
            background: rgba(47, 120, 163, 0.08);
        }

        .blog-article-cover-wrap > p {
            display: none;
        }

        .blog-article-shell {
            display: grid;
            gap: 1.35rem;
            padding: clamp(0.35rem, 1vw, 0.6rem);
        }

        .blog-article-toolbar {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: space-between;
            align-items: center;
        }

        .blog-article-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.85rem;
        }

        .blog-share-group {
            position: relative;
            display: inline-flex;
        }

        .blog-share-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.65rem;
            min-width: 148px;
            white-space: nowrap;
        }

        .blog-share-btn i,
        .blog-share-option i {
            flex: 0 0 1rem;
            width: 1rem;
            text-align: center;
            font-size: 0.95rem;
            line-height: 1;
        }

        .blog-share-btn span,
        .blog-share-option span {
            line-height: 1;
        }

        .blog-share-btn.is-success {
            background-color: #2f78a3;
            color: #ffffff;
            border-color: #2f78a3;
        }

        .blog-share-menu {
            position: absolute;
            top: calc(100% + 0.7rem);
            left: 0;
            min-width: 240px;
            padding: 0.55rem;
            display: grid;
            gap: 0.35rem;
            border-radius: 18px;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(235, 245, 251, 0.94));
            border: 1px solid rgba(47, 120, 163, 0.16);
            box-shadow: 0 24px 60px rgba(8, 21, 33, 0.16);
            backdrop-filter: blur(18px);
            z-index: 20;
        }

        .blog-share-menu[hidden] {
            display: none;
        }

        .blog-share-option {
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            width: 100%;
            padding: 0.9rem 1rem;
            border: none;
            border-radius: 14px;
            background: transparent;
            color: #1f4258;
            font: inherit;
            font-weight: 700;
            text-align: left;
            cursor: pointer;
            transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
        }

        .blog-share-option:hover,
        .blog-share-option:focus-visible {
            background: rgba(47, 120, 163, 0.12);
            color: #18364a;
            outline: none;
            transform: translateX(2px);
        }

        .blog-share-note {
            margin: 0.2rem 0 0;
            padding: 0 0.45rem 0.2rem;
            color: rgba(24, 54, 74, 0.68);
            font-size: 0.84rem;
            line-height: 1.5;
        }

        .blog-article-intro {
            display: grid;
            gap: 0.85rem;
        }

        .blog-article-title {
            margin: 0;
            font-size: clamp(2rem, 3vw, 3rem);
            line-height: 1.08;
            letter-spacing: -0.04em;
            color: #18364a;
        }

        .blog-article-summary {
            margin: 0;
            max-width: 760px;
            font-size: 1.04rem;
            line-height: 1.82;
            color: rgba(24, 54, 74, 0.74);
        }

        .blog-article-content {
            color: #1f4258;
            line-height: 1.85;
            font-size: 1.04rem;
        }

        .blog-article-content h2,
        .blog-article-content h3,
        .blog-article-content h4 {
            color: #18364a;
            margin: 1.6rem 0 0.8rem;
        }

        .blog-article-content p,
        .blog-article-content ul,
        .blog-article-content ol,
        .blog-article-content blockquote {
            margin: 0 0 1rem;
        }

        .blog-article-content ul,
        .blog-article-content ol {
            padding-left: 1.35rem;
        }

        .blog-article-content a {
            color: #2f78a3;
            font-weight: 700;
        }

        .blog-related-grid {
            margin-top: 1.6rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1rem;
        }

        .blog-related-card {
            padding: 1.2rem 1.25rem;
            transition: transform 0.22s ease, box-shadow 0.22s ease;
        }

        .blog-related-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 24px 60px rgba(8, 21, 33, 0.12);
        }

        .blog-related-card h3 {
            margin: 0 0 0.5rem;
            font-size: 1.15rem;
            color: #18364a;
        }

        .blog-related-card p {
            margin: 0 0 0.85rem;
            color: rgba(24, 54, 74, 0.72);
            line-height: 1.65;
        }

        .blog-related-card a {
            color: #2f78a3;
            font-weight: 800;
            text-decoration: none;
        }

        @media (max-width: 991px) {
            .blog-results-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .blog-page-header {
                padding-top: 108px;
            }

            .blog-search-wrap {
                margin-left: 0;
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            .blog-hero-overview h1,
            .blog-article-title {
                font-size: clamp(1.8rem, 9vw, 3rem);
            }

            .blog-card-body,
            .blog-results-panel,
            .blog-article-card {
                padding: 1.2rem;
            }

            .blog-card-media-link {
                padding: 1rem 1rem 0;
            }

            .blog-card-actions,
            .blog-article-toolbar {
                align-items: flex-start;
                flex-direction: column;
            }

            .blog-article-actions,
            .blog-share-group,
            .blog-share-btn {
                width: 100%;
            }

            .blog-share-menu {
                left: 0;
                right: 0;
                min-width: 0;
            }

            .blog-filter-bar {
                gap: 0.5rem;
            }

            .blog-grid {
                grid-template-columns: 1fr;
            }

            .blog-results-panel {
                gap: 0.85rem;
            }
        }

/* Portfolio (projects / products) pages render their own lead paragraph,
   so suppress the blog-specific injected copy on those pages. */
.blog-results-copy.is-collection::after {
    content: none;
}

body[data-language="en"] .blog-results-copy::after {
    content: "Discover how an idea becomes a faster process, cleaner data and more confident decisions. These articles use real situations to help you get started or move forward.";
}
