/*
Theme Name:     Dr Marina
Template:       edublink
Version:        1.0.0
*/

/*
    Global
 */
:root {
    --edublink-font-primary: 'Gilroy', sans-serif;
    --edublink-font-secondary: 'Gilroy', sans-serif;
    --edublink-h2: 42px;
    --edublink-h2-lineHeight: 1.1;
    --edublink-line-height-b1: 1.4;
    --fz-border-radius: 10px;
}
html {
    font-size: 16px;
}
body {
    font-weight: 500;
    line-height: 1.2;
}
p {
    margin-bottom: 20px;
}
.edublink-footer {
    font-size: 16px;
}

@media only screen and (min-width: 992px) {
    .title-with-button {
        .elementor-widget-edublink-button {
            position: absolute;
            right: 0;
            top: 0;
        }

        &.blog-category-widget {
            .elementor-widget-edublink-button {
                top: 48px;
            }
        }
    }
}

.mb0 {
    margin-bottom: 0;
}

/*
    EduBlink widgets
*/
.edublink-header-area ul.edublink-navbar-nav > li > a {
    font-size: 19px;
    text-transform: uppercase;
}
.edublink-section-heading {
    .pre-heading {
        color: var(--edublink-color-secondary);
        font-size: 21px;
        font-weight: bold;
        margin-bottom: 5px;
        letter-spacing: 0.06em;
    }
    .title-shape {
        margin-top: 14px;
    }
}
.edublink-button-item {
    font-weight: bold;
    border-radius: 10px;

    &.edublink-button-size-large {
        font-size: 32px;
    }
    &.edublink-button-size-medium {
        font-size: 24px;
    }
}
@media only screen and (max-width: 767px) {
    .edublink-button-item {
        &.edublink-button-size-large {
            font-size: 26px;
        }
        &.edublink-button-size-medium {
            font-size: 20px;
        }
    }
}
.edublink-page-title-area.edublink-default-breadcrumb {
    background: url("/wp-content/uploads/2026/04/home-banner-bg.jpg") no-repeat center/cover;
    padding-bottom: 105px;

    .edublink-page-title h1 {
        font-size: 52px;
        line-height: 1;
        margin-bottom: 0;
    }
    .edublink-breadcrumb-wrapper {
        margin-top: 0;

        ul {
            margin-top: 5px;

            li {
                font-size: 19px;

                &:after {
                    color: var(--edublink-color-primary);
                    color: #141417;
                }
                a {
                    color: var(--edublink-color-primary);
                    font-size: 18px;
                    text-decoration: underline;
                }
            }
            &.blog-breadcrumb {
                margin-top: 25px;

                li {
                    &:after {
                        content: unset;
                    }
                    &:not(:last-child) {
                        padding-right: 10px;
                    }
                    a {
                        color: #FFF;
                        background-color: var(--edublink-color-primary);
                        border-radius: 7px;
                        text-transform: uppercase;
                        font-weight: bold;
                        font-size: 15px;
                        text-decoration: none;
                        padding: 8px 14px;
                    }
                }
            }
        }
        p {
            font-size: 19px;
            margin-top: 10px;
        }
    }
}
.no-breadcrumb .edublink-breadcrumb-wrapper {
    display: none;
}
/* Hide post name from breadcrumbs */
.single-post {
    .edublink-page-title-area.edublink-default-breadcrumb {
        .edublink-breadcrumb-wrapper {
            ul li {
                &.hidden:last-of-type {
                    display: none;
                }
                &:nth-last-child(2) {
                    padding-right: 0;

                    &:after {
                        content: unset;
                    }
                }
            }
        }
    }
}

.edublink-main-content-inner {
    padding-top: 60px;
}
.eb-post-details-page {
    margin-right: 0;
}


.protocols-grid {
    .elementor-widget-image-box .elementor-image-box-img img {
        width: 100%;
    }
    .elementor-image-box-title {
        font-size: 25px;
        margin-bottom: 0;

        &:before {
            display: block;
            font-size: 16px;
            color: var(--edublink-color-primary);
        }
    }
    .elementor-image-box-description {
        font-size: 19px;
    }
    .eb-tl-course-rating {
        justify-content: center;
        margin-top: 15px;
    }
}


/* Blog posts widget */
.edu-blog.blog-style-6 {
    .thumbnail {
        a img {
            border-radius: var(--fz-border-radius);
        }
        .date {
            display: none;
        }
    }
    .content {
        padding: 20px 0 30px;
        background-color: unset;
        box-shadow: unset;

        .title {
            font-size: 20px;
            font-weight: bold;
            line-height: 1.2;
        }
        .category-wrap {
            margin-top: 12px;

            a {
                color: var(--edublink-color-secondary);
                font-weight: 500;
            }
        }
        p {
            font-weight: 500;
            font-size: 16px;
            color: #7e8083;
        }
    }
    &:hover .position-top {
        .read-more-btn {
            visibility: hidden;
        }
        .title {
            color: var(--edublink-color-primary);
        }
    }
}
.edublink-post-archive-wrapper,
.no-category {
    .category-wrap {
        display: none;
    }
}
.blog-category-widget {
    position: relative;
    padding: 50px 0 20px;

    .elementor-heading-title {
        margin-bottom: 40px;
    }
}


/* Post */
.eb-sidebar-widget {
    flex: 0 0 30%;
    max-width: 30%;

    .widget-area-wrapper {
        box-shadow: none;
        padding: 0;

        section.widget {
            padding-left: 0;
            padding-right: 0;
        }
        h2.widget-title {
            margin-bottom: 20px;
            font-size: 18px;
        }

        .ez-toc-pull-right {
            float: left !important;
            margin-left: 0;
            margin-right: 0;
        }
        .ez-toc-btn-default {
            background: url("assets/images/toc.svg") no-repeat left;
            box-shadow: none;
            border: none;
        }
        div.ez-toc-widget-container ul.ez-toc-list {
            padding: 0 0 0 20px;
            border-left: 3px solid var(--edublink-color-primary);
            margin-left: 6px;

            li {
                &.active {
                    background-color: transparent;
                }
                a {
                    padding-left: 0;
                }
            }
        }
        .ez-toc-icon-toggle-span {
            width: 20px;

            svg {
                display: none;
            }
        }
    }
}
@media only screen and (min-width: 992px) {
    .single-post {
        .eb-sidebar-widget {
            flex: 0 0 30%;
            max-width: 30%;
        }
        .edublink-main-content-inner .content-area {
            flex: 0 0 70%;
            max-width: 70%;
        }
    }
}
.edublink-single-post {
    padding-top: 40px;

    .post-thumbnail {
        margin: 0 0 30px;

        img {
            border-radius: 0;
        }
    }
    .entry-content {
        font-weight: 500;
        line-height: 1.33;

        a {
            color: var(--edublink-color-primary);
            text-decoration: underline;

            &:hover {
                text-decoration: none;
            }
        }
        h2 {
            font-size: 2em;
        }
        blockquote {
            background-color: #eaf5f4;
            border: none;
            box-shadow: none;
            border-radius: var(--fz-border-radius);
            padding: 30px !important;

            &:after {
                content: unset;
            }
        }
        ul li::marker {
            color: var(--edublink-color-primary);
            font-size: 21px;
            line-height: 18px;
        }
        .faq-accordion {
            margin-bottom: 20px;

            .wp-block-details {
                border-top: 1px solid var(--edublink-color-primary);
                padding: 10px 60px 10px 30px;

                summary {
                    font-weight: bold;
                    position: relative;
                    margin-left: -30px;
                    margin-right: -60px;

                    &:after {
                        content: "\e91e";
                        font-family: "icomoon";
                        font-size: 6px;
                        position: absolute;
                        top: 7px;
                        right: 10px;
                        line-height: 1;
                        -webkit-transition: .3s;
                        transition: .3s;
                        color: var(--edublink-color-primary);
                    }
                }
                &[open] {
                    summary {
                        margin-bottom: 20px;

                        &:after {
                            transform: rotate(180deg);
                        }
                    }
                }
            }
        }
    }
}

.lm-container {
    .edublink-section-heading {
        .pre-heading {
            background-color: #b76bdd;
            color: white;
            text-transform: uppercase;
            font-size: 14px;
            border-radius: 13px;
            padding: 5px 15px;
            letter-spacing: normal;
        }
        .heading {
            line-height: 1.2;
            font-size: 30px;
        }
        .sub-heading {
            margin-top: 5px;
            font-size: 16px;
            font-weight: 500;
        }
    }
    .fluentform {
        margin-top: 15px;
        font-weight: 500;

        .ff-el-group {
            margin-bottom: 15px;
        }
        .ff-custom_html {
            margin-bottom: 5px;
        }
        .ff_t_c p {
            line-height: 1.4;
        }
        h4 {
            font-size: 23px;
            margin-bottom: 0;
        }
    }
    .ff-default {
        .ff-el-form-control {
            border-radius: 0;
            font-family: "Poppins", sans-serif;
            padding-top: 16px;
            padding-bottom: 16px;
        }
        .ff_btn_style {
            font-family: "Poppins", sans-serif !important;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 21px;
            padding: 10px 60px;
        }
        .ff_submit_btn_wrapper:after {
            content: "Vaši podaci su zaštićeni. Nećete dobijati spam.";
            display: block;
            text-align: right;
            font-size: 12px;
            font-weight: 600;
            font-style: italic;
        }
    }
}