/* Stilizovanje Yoast Breadcrumbs-a */
.blog-container .elementor-shortcode {
    font-size: 13px;
    color: #2E2A27;
    margin-bottom: 20px;
    font-family: inherit;
    font-family: 'Source Serif 4', sans-serif;
    font-weight: 500;
}

.blog-container .elementor-shortcode a {
    color: #2E2A27;
    text-decoration: none;
    transition: 0.3s;
    font-family: 'Source Serif 4', sans-serif;
    font-weight: 500;
}

/* BLOG MAIN STRANICA */

.blog-main-tab .wd-tabs-header .tabs-text {
    text-transform: math-auto !important;
    font-weight: 500 !important;
    font-size: 42px !important;
}

/* .blog-main-tab .wd-nav-tabs {
    gap: 24px !important;
} */

.blog-main-tab .wd-nav-tabs .wd-active a {
    padding: 18px 36px !important;
    background-color: #2E2A27 !important;
    border-radius: 100px !important;
    color: #fff !important;

}

.blog-main-tab .wd-nav-tabs .wd-active a span {
    font-family: "DM Sans", sans-serif !important;
    text-transform: math-auto !important;
}

.blog-main-tab .wd-nav-tabs a {
    padding: 18px 36px !important;
    background-color: #fff !important;
    border-radius: 100px !important;
    color: #2E2A27 !important;
    border: 1px solid #2E2A27 !important;
}

.blog-main-tab .wd-nav-tabs a span {
    font-family: "DM Sans", sans-serif !important;
    text-transform: math-auto !important;

}



/*SINGLE POST/BLOG POST*/

.single-post .website-wrapper {}

.single-post .website-wrapper #ez-toc-container {
    border: none !important;
}

.single-post .website-wrapper #ez-toc-container .ez-toc-title-container {
    border-bottom: 1px solid #666;
    padding: 10px 0;
    text-transform: uppercase;
    color: #2E2A2780;
}

.single-post .website-wrapper #ez-toc-container .ez-toc-title-container .ez-toc-title {
    font-size: 18px;
}

.single-post .website-wrapper #ez-toc-container .ez-toc-list {
    padding: 10px 0 !important;
}

#ez-toc-container a:visited {
    color: rgba(46, 42, 39, 0.5);
}

.custom-single-blog__toc .ez-toc-list li a {
    color: #b5b5b5 !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.custom-single-blog__toc .ez-toc-list li a.ez-toc-active-item {
    color: #000000 !important;
    font-weight: 600;
}


.custom-single-blog__toc .ez-toc-list li a:hover {
    color: #000000 !important;
}

.custom-single-blog__toc .ez-toc-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.single-post .website-wrapper #ez-toc-container .ez-toc-list a {
    margin-bottom: 10px;
    font-weight: 400 !important;
}

.custom-single-blog {
    background: #fff;
    color: #2b2927;
}

.custom-single-blog__inner {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
    padding: 0px 0 80px;
}

.custom-single-blog__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    color: #2E2A27;
    font-size: 16px;
    text-decoration: none;
}

.custom-single-blog__back:hover {
    color: #2E2A2780;
}

.custom-single-blog__title {
    margin: 0 0 40px;
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1.05;
    font-weight: 400;
    color: #2d2926;
}

.custom-single-blog__hero {
    width: 100%;
    height: 620px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 44px;
}

.custom-single-blog__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.custom-single-blog__intro-row {
    display: grid;
    grid-template-columns: minmax(0, 720px) 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 90px;
}

.custom-single-blog__excerpt {
    font-size: 18px;
    line-height: 1.65;
    color: #2E2A27;
}

.custom-single-blog__meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #2E2A27;
    text-transform: uppercase;
}

.custom-single-blog__meta>span {
    padding-left: 18px;
    border-left: 1px solid #b8b8b8;
}

.custom-single-blog__author {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: none;
}

.custom-single-blog__author img {
    border-radius: 50%;
}

.custom-single-blog__layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 850px);
    gap: 110px;
    align-items: start;
}

.custom-single-blog__sidebar {
    position: sticky;
    top: 120px;
}

.custom-single-blog__toc h4,
.custom-single-blog__share h4 {
    margin: 0 0 20px;
    font-size: 16px;
    text-transform: uppercase;
    color: #2E2A2780;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;

}

.custom-single-blog__toc {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid #2E2A2780;
}

.custom-single-blog__toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-single-blog__toc li {
    margin-bottom: 18px;
}

.custom-single-blog__toc a {
    color: #9a9a9a;
    text-decoration: none;
    font-size: 15px;
}

.custom-single-blog__toc a:hover {
    color: #2b2927;
}

.custom-single-blog__share-icons {
    display: flex;
    gap: 12px;
}

.custom-single-blog__share-icons a {
    width: 42px;
    height: 42px;
    border: 1px solid #333;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
}

.custom-single-blog__content {
    font-size: 18px;
    line-height: 1.65;
}

.custom-single-blog__content h2 {
    margin: 0 0 32px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.12;
    font-weight: 400;
    color: #2d2926;
}

.custom-single-blog__content p {
    margin-bottom: 28px;
}

.custom-single-blog__content img {
    width: 100%;
    border-radius: 8px;
    margin: 36px 0;
}

.ez-toc-sticky {
    display: none;
}

@media (max-width: 1024px) {
    .ez-toc-sticky {
        display: sticky !important;
    }

    .custom-single-blog__toc {
        display: none !important;
    }

    .custom-single-blog__intro-row,
    .custom-single-blog__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .custom-single-blog__meta {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .custom-single-blog__sidebar {
        position: static;
        order: 2;
    }

    .custom-single-blog__content {
        order: 1;
    }

    .custom-single-blog__hero {
        height: 420px;
    }
}

@media (max-width: 767px) {
    .custom-single-blog__inner {
        width: min(100% - 32px, 1440px);
        padding-top: 24px;
    }

    .custom-single-blog__hero {
        height: 280px;
    }

    .custom-single-blog__title {
        font-size: 38px;
    }
}

@media (min-widthL: 1440px) {
    .custom-single-blog__inner {
        width: 1440px !important;
    }
}

/*POPUP MESSAGE FOR COPY LINK*/
.copy-toast {
    visibility: hidden;
    min-width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 12px 20px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 14px;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.4s, bottom 0.4s, visibility 0.4s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.copy-toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}


.custom-single-blog__share-icons a {
    width: 45px;
    height: 45px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.custom-single-blog__share-icons .icon-wrap svg {
    width: 22px;
    height: 22px;
    display: block;
    transition: fill 0.3s ease;
}

.custom-single-blog__share-icons a:hover {
    background-color: #333;
}

.custom-single-blog__share-icons a:hover svg {
    fill: #fff;
}

/*BLOG MAIN FULL WIDTH 1440PX*/

body.single-post .content-layout-wrapper {
    display: block !important;
}
