.blog-page a {
    text-decoration: none;
}

.blog-page .card-container .card-body {
    padding: 0;

}

.blog-page .card-container .dz-info {
    padding: 20px;
}

.blog-page .card-container .dz-info ul {
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.blog-page .card-container .dz-info ul li {
    list-style: none;
    background-color: grey;
    color: white;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 0px 5px;
}

.blog-page .side-bar {
    margin-bottom: 30px;
}

.blog-page .side-bar .search-bx .widget-title {
    margin-bottom: 10px;
}

.blog-page .side-bar .recent-posts-entry .widget-title {
    margin-bottom: 10px;
}

.blog-page .side-bar .widget_tag_cloud .widget-title {
    margin-bottom: 10px;
}

.blog-page .side-bar .widget-post .dz-blog-image {
    background-size: cover;
    background-position: center;
    height: 150px;
}

.blog-page .side-bar .widget-post .dz-info {
    padding: 10px;
}

.blog-page .side-bar .widget-post .dz-info ul {
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.blog-page .side-bar .widget-post .dz-info ul li {
    list-style: none;
    display: inline-block;
    margin-right: 10px;
}

.blog-page .side-bar .tagcloud {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-page .side-bar .tagcloud a {
    background-color: grey;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 2px;
    text-decoration: none;
}

.blog-page .side-bar .tagcloud a:hover {
    background-color: #333;
    color: #fff;
}


.blog-page .side-bar .tagcloudunique a {
    color: #1073ca;
    padding: 5px 10px;
    margin: 2px;
    text-decoration: none;
}

.blog-page .side-bar .tagcloudunique a:hover {

    color: #000000;
}


.blog-page .blog-single .dz-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-page .blog-single .dz-meta ul {
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
}

.blog-page .blog-single .dz-meta {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .blog-page .blog-single .dz-meta {
        margin-top: 15px;
    }
}

.blog-page .blog-single .dz-meta ul li, .blog-page .blog-single .dz-meta .row div {
    list-style: none;
    background-color: #ffffff;
    color: #6c757d;
    border-radius: 5px;
    padding: 0px 5px;
    font-size: 17px;
}

.blog-page .blog-single .dz-meta div.row {
    margin-left: unset;
}

.blog-page i.fa.fa-calendar {
    color: #6c757d;
    margin-right: unset;
}

.blog-page .blog-single .dz-title {
    margin-top: 30px;

}

.blog-page .dz-title a {
    color: #0043a6;
}

.blog-page .blog-single .dz-post-text {
    margin-top: 30px;
}

.blog-page .blog-single .post-tags {
    margin-top: 30px;
}

.blog-page .blog-single .post-tags a {
    background-color: grey;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 2px;
    text-decoration: none;
}

.blog-page .blog-single .download-pdf,
.blog-page .blog-single .copy-link,
.blog-page .blog-single .email-share {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.container:has(.blog-post), .blog-post .container {
    max-width: 1400px !important;
    width: 100%;
    margin: 0 auto;

}

.main-banner-section:has(.blog-post) {
    background-color: #FFFFFF;
}

.main-banner-section:has(.blog-page) {
    background-color: #FFFFFF;
}

.blog-page section {
    background-color: #FFFFFF !important;
}


.blog-page .card.blog-shadow:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.blog-page .card.blog-shadow {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: none;
}

.blog-page .dz-bnr-inr-entry a.btn:hover {
    color: #302f2f !important;
    background-color: rgba(255, 255, 255, 0.83);
    box-shadow: 0 .2rem .5rem rgba(0, 0, 0, .1) !important;
}

.post-excerpt-link {
    color: #0B0B0B;
}


.copy-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4caf50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.blog-page h4 {
    font-weight: 600;
    margin-bottom: 0rem;
}

.blog-page .side-bar .widget {
    margin-top: 1.5rem !important;
}

.blog-page.blog-post .side-bar .widget {
    margin-top: .25rem !important;
}

.blog-page .widget .social-icons a {
    margin-right: 10px; /* Adds spacing between the icons */
    color: #0450c1;
}

.blog-page .widget .social-icons a:last-child {
    margin-right: 0; /* Removes extra margin from the last child */
}

.blog-page .widget .social-icons a:hover {
    color: #02205e; /* Changes color on hover */
    border-bottom: 1px solid #02205e; /* Adds underline on hover */
}

.sticky-top {
    top: 95px;
}

.post-author img {
    width: 25px;
    border-radius: 50%;
}


.blog-page .custom-html {
    margin-left: -3px;
}

.dz-post-text .ql-indent-1 {
    margin-left: 1.5rem;
}

.dz-post-text .ql-indent-2 {
    margin-left: 3rem;
}

.ql-editor h4.mb-lg, .dz-post-text h4.mb-lg {
    margin-bottom: 6px !important;
}

.ql-toolbar button.btn-outline-secondary {
    width: 40px !important;
}

.dz-post-text ol {
    margin-bottom: 0;
    /* Override Bootstrap's ol/ul { padding-left: 2rem } so the list is not
       double-indented (the .ql-indent-* margins already handle indentation). */
    padding-left: 0;
}

/*
 * Quill list rendering for the public blog view.
 *
 * Quill 2 stores every list (bulleted OR numbered) as <ol> and encodes the real
 * type in each <li data-list="bullet|ordered">. The visible marker is drawn by
 * Quill's own CSS into the <span class="ql-ui"> ::before, but that CSS is scoped
 * to .ql-editor, which exists only inside the admin editor. On the public page
 * the content lives in .dz-post-text (no .ql-editor wrapper, quill.snow.css not
 * loaded), so bullet items fall back to the browser's default <ol> numbering and
 * render as "1. 2. 3." instead of bullets. The rules below reproduce Quill's
 * marker logic (adapted from quill.core.css) scoped to .dz-post-text. They only
 * touch items that actually carry a data-list attribute, so any legacy or manual
 * list without data-list keeps its native marker untouched.
 */

/* Counter roots: a non-list block resets the numbering, exactly like the editor. */
.dz-post-text {
    counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

@supports (counter-set: none) {
    .dz-post-text p,
    .dz-post-text h1,
    .dz-post-text h2,
    .dz-post-text h3,
    .dz-post-text h4,
    .dz-post-text h5,
    .dz-post-text h6 {
        counter-set: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
    }
}

@supports not (counter-set: none) {
    .dz-post-text p,
    .dz-post-text h1,
    .dz-post-text h2,
    .dz-post-text h3,
    .dz-post-text h4,
    .dz-post-text h5,
    .dz-post-text h6 {
        counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
    }
}

/* Marker box: only Quill-authored items (data-list present) get the custom marker. */
.dz-post-text li[data-list] {
    list-style-type: none;
    padding-left: 1.5em;
    position: relative;
}

.dz-post-text li[data-list] > .ql-ui {
    position: absolute;
}

.dz-post-text li[data-list] > .ql-ui::before {
    display: inline-block;
    margin-left: -1.5em;
    margin-right: 0.3em;
    text-align: right;
    white-space: nowrap;
    width: 1.2em;
}

/* Bulleted and checkbox markers. */
.dz-post-text li[data-list="bullet"] > .ql-ui::before {
    content: '\2022';
}

.dz-post-text li[data-list="checked"] > .ql-ui::before {
    content: '\2611';
}

.dz-post-text li[data-list="unchecked"] > .ql-ui::before {
    content: '\2610';
}

.dz-post-text li[data-list="checked"] > .ql-ui,
.dz-post-text li[data-list="unchecked"] > .ql-ui {
    color: #777;
}

/* Numbered markers: the style rotates per indent level (1. -> a. -> i. -> 1. ...). */
@supports (counter-set: none) {
    .dz-post-text li[data-list] {
        counter-set: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
    }
}

@supports not (counter-set: none) {
    .dz-post-text li[data-list] {
        counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
    }
}

.dz-post-text li[data-list="ordered"] {
    counter-increment: list-0;
}

.dz-post-text li[data-list="ordered"] > .ql-ui::before {
    content: counter(list-0, decimal) '. ';
}

.dz-post-text li[data-list="ordered"].ql-indent-1 {
    counter-increment: list-1;
}

.dz-post-text li[data-list="ordered"].ql-indent-1 > .ql-ui::before {
    content: counter(list-1, lower-alpha) '. ';
}

.dz-post-text li[data-list="ordered"].ql-indent-2 {
    counter-increment: list-2;
}

.dz-post-text li[data-list="ordered"].ql-indent-2 > .ql-ui::before {
    content: counter(list-2, lower-roman) '. ';
}

.dz-post-text li[data-list="ordered"].ql-indent-3 {
    counter-increment: list-3;
}

.dz-post-text li[data-list="ordered"].ql-indent-3 > .ql-ui::before {
    content: counter(list-3, decimal) '. ';
}

.dz-post-text li[data-list="ordered"].ql-indent-4 {
    counter-increment: list-4;
}

.dz-post-text li[data-list="ordered"].ql-indent-4 > .ql-ui::before {
    content: counter(list-4, lower-alpha) '. ';
}

.dz-post-text li[data-list="ordered"].ql-indent-5 {
    counter-increment: list-5;
}

.dz-post-text li[data-list="ordered"].ql-indent-5 > .ql-ui::before {
    content: counter(list-5, lower-roman) '. ';
}

.dz-post-text li[data-list="ordered"].ql-indent-6 {
    counter-increment: list-6;
}

.dz-post-text li[data-list="ordered"].ql-indent-6 > .ql-ui::before {
    content: counter(list-6, decimal) '. ';
}

.dz-post-text li[data-list="ordered"].ql-indent-7 {
    counter-increment: list-7;
}

.dz-post-text li[data-list="ordered"].ql-indent-7 > .ql-ui::before {
    content: counter(list-7, lower-alpha) '. ';
}

.dz-post-text li[data-list="ordered"].ql-indent-8 {
    counter-increment: list-8;
}

.dz-post-text li[data-list="ordered"].ql-indent-8 > .ql-ui::before {
    content: counter(list-8, lower-roman) '. ';
}

.dz-post-text li[data-list="ordered"].ql-indent-9 {
    counter-increment: list-9;
}

.dz-post-text li[data-list="ordered"].ql-indent-9 > .ql-ui::before {
    content: counter(list-9, decimal) '. ';
}

/* Deeper ordered levels reset the counters nested below them. */
@supports (counter-set: none) {
    .dz-post-text li[data-list].ql-indent-1 { counter-set: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-2 { counter-set: list-3 list-4 list-5 list-6 list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-3 { counter-set: list-4 list-5 list-6 list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-4 { counter-set: list-5 list-6 list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-5 { counter-set: list-6 list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-6 { counter-set: list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-7 { counter-set: list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-8 { counter-set: list-9; }
}

@supports not (counter-set: none) {
    .dz-post-text li[data-list].ql-indent-1 { counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-2 { counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-3 { counter-reset: list-4 list-5 list-6 list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-4 { counter-reset: list-5 list-6 list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-5 { counter-reset: list-6 list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-6 { counter-reset: list-7 list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-7 { counter-reset: list-8 list-9; }
    .dz-post-text li[data-list].ql-indent-8 { counter-reset: list-9; }
}

.ql-editor iframe.quill-embedded-video {
    max-width: 75%;
    margin: 1em 0;
}

.dz-post-text .responsive-video {
    max-width: 75%;
}

.dz-post-text h3 {
    margin-top: 20px;
}

.dz-post-text h4, .ql-editor h4 {
    margin-top: 12px;
}

@media (max-width: 768px) {
    .dz-post-text .responsive-video {
        max-width: 100%;
    }

    .dz-post-text h3 {
        font-size: 19px;
    }
}

.ql-snow .ql-editor h3 {
    font-size: 1.35em;
    margin-top: 13px;

}

/* === 1. Egységes margók/igazítás a szakaszcím és a táblázat között === */
.blog-page .dz-post-text h3,
.blog-page .dz-post-text table {
    /* mindkettő ugyanakkora bal oldali behúzással, ha a .dz-post-text-nek van padding-ja */
    margin-left: 0;
    margin-right: 0;
}

/* === 2. Fejléc hangsúlyosabbá tétele === */
.blog-page .dz-post-text table tr:first-child td {
    font-size: 1rem; /* nagyobb betűméret */
    font-weight: 700; /* vastagabb */
    text-transform: uppercase; /* vagy kisbetűsítést törölhetsz */
    letter-spacing: 0.03em; /* kis térköz a betűk között */
    background-color: #f4f4f4;
    color: #222;
}

/* === 3. Igazítás és betűméret a tartalom‑cellákban === */
.blog-page .dz-post-text table td {
    font-size: 1rem;
    font-weight: 400;
    text-align: left; /* balra igazítjuk, hogy egységes legyen */
    padding: 0.15rem 1rem;
    color: #333;
    border: 1px solid #2323;
}

/* === 4. A szakaszcím (h3) erősítése === */
.blog-page .dz-post-text h3 {
    font-size: 1.4rem; /* nagyobb, mint a cellafejléc */
    font-weight: 700; /* jól láthatóan kiemelt */
    margin-bottom: 1rem; /* kellő távolság a következő elemtől */
    text-align: left; /* balra igazítjuk, mint a cellákat */
}

/* === 5. (opcionális) Ha akarsz még finomítani a színkontraszton === */
/*
.blog-page .dz-post-text table tr:first-child td {
  background-color: #eaeaea;
  color: #111;
}
*/
.ql-align-center {
    text-align: center;
}

img.ql-align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.ql-align-justify br {
    display: initial;
}

.blog-single div br {
    display: initial;
}