/**
 * Theme Name:     ContentBerg Child
 * Author:         LionBrothers
 * Template:       contentberg
 * Text Domain:	   contentberg-child
 * Description:    Child theme
 * Author URI:     https://lionbrothers.pl/
 * Version:        1.3.0
 */

a {
    color: #fff;
}

h1,h2,h3,h4,h5,h6,
.section-head .title,
.widget_categories a,
.widget_archive,
.widget_archive a,
.post-content .read-more a,
.tag-share .post-tags a,
.post-share-icons a,
.comments-list .comment-author,
.comment .text,
.menu-autorzy-container a,
.comment-author a,
p.has-drop-cap:not(:focus):first-letter {
	color: #fcfcfc;
}

.archive-head .title {
	color: #123a00;
}

.section-head .title {
    background: #061b0b;
}

.main-wrap {
    background: #061b0b url('assets/images/background.png') no-repeat;
    background-size: 100% 1024px;
}

.main {
    margin-top: 40px;
    margin-bottom: 40px;
}

.main-head.nav-below .title {
    position: relative;
    padding: 12px 0 40px;
}

.main-head .title a.back-to-perfumery {
    display: flex;
    justify-content: center;
    gap: 12px;
    background-color: #b39f46;
    color: #261D31;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    padding: 6px 12px;
    text-transform: uppercase;
}

.main-head .title a.back-to-perfumery > svg {
    max-width: 20px;
    min-width: 20px;
}

.home .main-head.nav-below {
    border: none;
}

.main-head.nav-below .search-link.in-header {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    padding: 12px;
}

.main-head .top-bar-content,
.main-head .top-bar.dark .top-bar-content {
    background: linear-gradient(135deg,#3c2f50 0%,#1e4932 100%);
    border: none;
}

.blog-intro {
    color: #fff;
    max-width: 1170px;
    margin: auto;
    text-align: center;
}

.blog-intro__title {
    position: relative;
    font-size: 24px;
}

.blog-intro__title::before,
.blog-intro__title::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 1px;
    width: 35%;
    background: #fff;
}

.blog-intro__title::before {
    left: 0;
}

.blog-intro__title::after {
    right: 0;
}

.blog-intro__desc {
    font-size: 18px;
    font-style: italic;
}

.post-title-alt a:hover,
.post-title a:hover {
	box-shadow: none;
	text-shadow: none;
}

.grid-post .post-thumb {
    margin-bottom: 20px;
}

.grid-cols-3 .grid-post-b {
    padding: 0;
    text-align: left;
}

.grid-cols-3 .post-title-alt {
    font-weight: 400;
    margin-top: 0;
}

.grid-cols-3 .meta-title {
    margin-bottom: 10px;
}

.grid-cols-3 .date-link {
    display: block;
}

.grid-cols-3 .meta-sep {
    display: none;
}

.grid-cols-3 .grid-post-b .post-thumb {
    margin-right: 0;
    margin-left: 0;
}

.grid-cols-3 .grid-post-b .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #fff;
    box-shadow: none;
    color: #fff;
    margin-top: 10px;
    padding: 8px 12px;
}

.sidebar .widget {
    margin-bottom: 30px;
}

.sidebar .widget-title {
    border: none;
    margin: 0 0 10px;
}

.widget-social .social-link {
    border: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
}

.widget-social .tsi {
    color: #fff;
    font-size: 20px;
}

.widget-social .social-link {
    margin: 0;
}

.widget-social .social-icons {
    display: flex;
    gap: 30px;
}

.widget-social .tsi-facebook {
    background: url('assets/images/social/fb-icon.svg') no-repeat;
}

.widget-social .tsi-instagram {
    background: url('assets/images/social/ig-icon.svg') no-repeat;
}

.widget-social .tsi-youtube-play {
    background: url('assets/images/social/yt-play-icon.svg') no-repeat;
}

.widget-social .tsi-facebook,
.widget-social .tsi-instagram,
.widget-social .tsi-youtube-play {
    background-size: contain;
    width: 100%;
    height: 100%;
}

.widget-social .tsi-facebook::before,
.widget-social .tsi-instagram::before,
.widget-social .tsi-youtube-play::before {
    content: none;
}

.tagcloud {
	display: flex;
	flex-direction: column;
}

.tagcloud a {
    background: transparent;
    color: #fff;
    padding: 6px 0;
}

.tagcloud a:hover {
	background: transparent;
	color: #fff;
	text-decoration: underline;
}


.widget_categories li,
.widget_product_categories li,
.widget_archive li,
.widget_nav_menu li {
    border: none;
    padding: 6px 0;
}

.widget_nav_menu li {
    margin: 0;
}

.widget_categories a::before,
.widget_product_categories a::before,
.widget_archive a::before {
    content: none;
}

.widget_archive .archive-years,
.widget_archive .archive-year__months {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_archive .archive-year__details {
    border: none;
}

.widget_archive .archive-year__summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.widget_archive .archive-year__summary::-webkit-details-marker {
    display: none;
}

.widget_archive .archive-year__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    transition: transform 0.2s ease;
}

.archive-year__chevron {
    width: 19px;
    height: 19px;
}

.widget_archive .archive-year__details[open] > summary .archive-year__icon {
    transform: rotate(180deg);
}

.widget_archive .archive-year__months {
    margin-bottom: 6px;
    padding-left: 20px;
}

.widget_archive .archive-month {
    padding: 6px 0;
}

.archive-year.is-latest ul li a {
    text-transform: capitalize;
}

.widget_archive .archive-year.is-latest .archive-year__months {
    padding-left: 0;
}

.widget_archive .archive-year {
    padding: 0;
}

.archive-head {
    padding: 20px 10px;
}

.archive-head .title {
    font-size: 24px;
}

.author-box-b .author > a {
    color: #123a00;
}

.author-box-b .author-bio {
    font-size: 14px;
}

.main-footer.classic,
.main-footer.classic .lower-footer {
    background: transparent;
}

.main-footer.classic .lower-footer > .wrap {
    border: none;
    padding-top: 0;
}

.main-footer.classic .copyright {
    color: #fff;
    float: unset;
    margin: 0;
    max-width: unset;
}

.to-top.--fixed {
    position: fixed;
    right: 20px;
    bottom: 20px;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
}

.to-top.--fixed.show {
    opacity: 1;
    pointer-events: auto;
}

.to-top.--fixed .back-to-top {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: 1px solid #b39f46;
    color: #261D31;
    width: 45px;
    height: 45px;
}

.to-top.--fixed .back-to-top > svg {
    max-width: 20px;
}

.footer-signet {
    position: relative;
    margin-bottom: 20px;
}

.footer-signet__line {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #b39f46;
    width: 100%;
    height: 1px;
}

.footer-signet__image {
    position: relative;
    background: #061b0b;
    max-width: 60px;
    margin-left: -10px;
    padding-left: 10px;
}

.main .post-meta,
.main .post-meta-b .date-link,
.main .post-meta-b .comments,
.main .post-meta .post-date,
.main .post-meta .meta-item,
.main .comment-form label,
.logged-in-as {
    color: #fff;
}

.main-pagination.number {
    text-align: left;
}

.main-pagination.number .current {
    color: #b39f46;
}

.main-pagination.number .inner {
    border: none;
    font-size: 16px;
    padding: 0;
}

.tag-share .post-tags a:hover,
.post-share-icons a:hover {
    color: #b39f46;
}

.comments-area .section-head .number {
    color: #fcfcfc;
}

.comments-list .comment-reply-link {
    color: #b39f46;
}

.comment-form .submit:hover {
    color: #b39f46;
    transform: unset;
}

.comment-form textarea {
    max-height: 120px;
}

#cancel-comment-reply-link {
    color: #000;
    padding: 4px 12px;
}

.mobile-menu-container > .ts-logo {
    display: none;
}

.mobile-menu > .sidebar ul {
    max-height: unset;
    opacity: 1;
    overflow: auto;
    overflow-x: hidden;
}

.mobile-menu .sidebar {
    width: 100%;
}

.mobile-menu .sidebar .widget {
    margin: 0;
    padding: 0;
}

.mobile-menu .sidebar .widget .widget-title {
    border-bottom: 1px solid rgba(var(--c-rgba), 0.07);
    color: var(--c-gray-925) !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    padding: 15px 0;
}

.mobile-menu .sidebar .widget ul {
    margin: 0;
}

.mobile-menu .sidebar .widget li {
    padding: 0;
}

.mobile-menu .sidebar .widget.widget_categories,
.mobile-menu .sidebar .widget.widget_archive,
.mobile-menu .sidebar .widget.widget_nav_menu {
    display: block;
}

.mobile-menu .sidebar .widget.widget_archive {
    color: var(--c-gray-925);
}

.mobile-menu .sidebar .widget.widget_categories .widget-title {
    display: none;
}

.mobile-menu .sidebar .tagcloud,
.mobile-menu .sidebar .archive-years {
    padding-left: 20px;
}

.mobile-menu .sidebar .tagcloud a {
    font-size: 15px !important;
}

.mobile-menu .is-collapsible > .widget-title {
    cursor: pointer;
    position: relative;
}

.mobile-menu .is-collapsible > .widget-title::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--c-gray-925);
    border-bottom: 2px solid var(--c-gray-925);
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.mobile-menu .is-collapsible.open > .widget-title::after {
    transform: translateY(-50%) rotate(-135deg);
}

.mobile-menu .is-collapsible > div {
    padding-left: 20px;
}

.mobile-menu .widget_two_widget.is-collapsible:not(.open) .custom-tagcloud__more {
    display: none;
}

@media (max-width: 940px) {
    .sidebar .widget.widget_categories,
    .sidebar .widget.widget_archive,
    .sidebar .widget.widget_nav_menu {
        display: none;
    }

    .top-bar .mobile-nav {
        display: none;
    }

    .mobile-nav.in-header {
        position: absolute;
        left: 0;
        bottom: 0;
        color: #fff;
        font-size: 18px;
        display: flex;
        align-items: center;
        padding: 12px;
    }
}

@media(min-width: 768px) {
    .grid-cols-3 .grid-post-b .post-title-alt {
        font-size: 1.5em;
        line-height: 1.2em;
        height: 2.4em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
        overflow: hidden;
    }

    .grid-cols-3 .grid-post-b .post-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        white-space: normal;
        font-size: 1.15em;
        line-height: 1.5em;
        height: 6em;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

@media (min-width: 1200px) {
    .main-head.nav-below .title {
        padding: 40px 0;
    }

    .main-head .title a.back-to-perfumery {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        font-size: 18px;
        margin: auto;
        padding-left: 0;
    }

    .title.ts-logo::before {
        content: '';
        top: 50%;
        height: 30px;
        width: 100%;
        position: absolute;
        left: -100%;
        z-index: 0;
        background: #b39f46;
        transform: translateY(-50%);
    }

    .search-link.in-header {
        position: absolute;
        top: 50%;
        right: 0;
        bottom: unset;
        padding: 0;
        transform: translateY(-50%);
    }

    .blog-intro__title {
        font-size: 32px;
    }

    .blog-intro__title::before,
    .blog-intro__title::after {
        width: 42%;
    }

    .to-top.--fixed {
        right: 40px;
        bottom: 40px;
    }
}