/**
* 2024 Anvanto
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
*
*  @author    Anvanto <anvantoco@gmail.com>
*  @copyright 2024 Anvanto
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*/

.anblog-widget {
    padding: 0;
    margin-top: 0 !important;
    margin-bottom: 21px;
}

.anblog-widget .anblog-widget-title {
    line-height: normal;
    margin-bottom: 33px;
    text-align: left;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 800;
    color: #000;
}

/* =========================================================
   GLOBAL BLOG
========================================================= */

#module-anblog-list #wrapper,
#module-anblog-blog #wrapper,
#module-anblog-category #wrapper {
    padding-top: 20px;
}

.blog-menu .title_block,
.an-blog-tags .title_block,
.an-block-sidebar .title_block {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-image {
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: auto !important;
    border-radius: 0;
}

#module-anblog-list #content-wrapper h1 {
    margin-top: -2px;
    margin-bottom: 34px;
    text-align: center;
    text-transform: uppercase;
}

.blog-item .blog-meta {
    margin-bottom: 8px;
}

.blog-item .blog-meta span {
    font-size: 14px;
    color: #aaaaaa !important;
    line-height: 24px;
}

.blog-item-type-2 .blog-image {
    margin-bottom: 24px;
}

.blog-item .title a {
    color: #000;
}

.blog-item-type-1 .title {
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 30px;
    margin-bottom: 40px;
}

.blog-item-type-2 .title {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 11px;
}

.blog-item-type-3 .title {
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 30px;
}

.blog-item .blog-shortinfo {
    font-size: 16px;
    line-height: 24px;
}

.blog-item .btn-primary {
    margin-top: 15px;
}

.blog-item .more {
    display: inline-block;
    margin-top: 33px;
    text-decoration: underline;
    padding: 0;
    font-size: 16px;
}

.blog-item .more:hover {
    text-decoration: none;
}

.anblog-pagination .pagination {
    color: #929292;
}

#module-anblog-blog .blog-title {
    margin-bottom: 9px;
    margin-top: -5px;
    font-size: 40px;
    line-height: 1.2;
}

.blog-detail .blog-meta {
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 19px;
}

.blog-detail .blog-meta span,
.blog-detail .blog-meta span a {
    font-size: 14px;
    color: #aaaaaa !important;
}

.blog-detail .blog-meta > span {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
}

.blog-detail .blog-image {
    margin-bottom: 30px;
}

#module-anblog-blog .post-tags.anblog-tags {
    display: flex;
    flex-wrap: wrap;
}

#module-anblog-blog .post-tags.anblog-tags a {
    padding: 8px 9px 7px 8px;
    background-color: #f6f6f6;
    margin: 0 5px 5px 0;
    font-size: 11px;
    line-height: 1.2;
    color: rgb(198, 198, 198);
    font-weight: 700;
    text-transform: uppercase;
}

.anblog-pagination .pagination .page-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.anblog-pagination .pagination .page-list li a {
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
}

.anblog-pagination .pagination .page-list li.current a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

#module-anblog-blog #wrapper {
    padding-bottom: 0;
}

#module-anblog-blog #footer {
    padding-top: 20px;
}

.anblog-pagination .pagination {
    background: transparent;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.anblog-pagination .pagination > div:first-child {
    padding: 0 15px;
}

.anblog-pagination .pagination .next svg,
.anblog-pagination .pagination .page-list #pagination_next {
    margin-right: 0;
}

.blog-detail #products .product-miniature {
    width: 33.3334%;
}

.social-heading {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.blog-comment-block h4 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.blog-comment-block .form-control {
    background: #f9f9f9;
    border: 0;
    padding: 15px 20px;
}

.btn-submit-comment-wrapper {
    height: auto;
}

#categories_blog_menu {
    margin-bottom: 34px;
}

.an-blog-tags {
    padding-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 29px;
}

.an-blog-tags .title_block {
    margin-bottom: 21px;
}

.an-blog-tags .block_content a {
    padding: 8px 9px 7px 8px;
    background-color: #f6f6f6;
    margin: 0 5px 5px 0;
    font-size: 11px;
    line-height: 1.2;
    color: rgb(198, 198, 198);
    font-weight: 700;
    text-transform: uppercase;
}

.an-block-sidebar .list-item {
    margin-bottom: 36px;
    border-bottom: 0;
    padding-bottom: 0;
}

.an-block-sidebar .title_block {
    margin-bottom: 27px;
}

.an-block-sidebar .blog-image {
    margin-bottom: 16px;
}

.an-block-sidebar .blog-content .info {
    font-size: 14px;
    color: #aaaaaa !important;
    margin-bottom: 5px;
}

.an-block-sidebar .post-name {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 24px;
}

.an-block-sidebar .blog-content .blog-shortinfo {
    display: none;
}

/* =========================================================
   HOME BLOG WIDGET - CUSTOM CARD LAYOUT
========================================================= */

/* kontener */
.anblog-widget .row.anblog-widget-posts {
    display: flex;
    flex-wrap: wrap;
}

/* element siatki */
.anblog-widget .anblog-widget-item {
    display: flex;
    margin-bottom: 30px;
}

/* sam article */
.anblog-widget .anblog-widget-item .blog-card {
    display: flex;
    width: 100%;
    height: 100%;
}

/* karta */
.blog-card .blog-card-inner {
    background: #ffffff;
    border: 1px solid #ececec;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover .blog-card-inner {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

/* obrazek */
.blog-card-image {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.blog-card-image img,
.blog-card-image .blog-card-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 220px;
    object-fit: cover;
}

/* gdy brak obrazka */
.blog-card:not(:has(.blog-card-image)) .blog-card-content {
    padding-top: 28px;
}

/* treść */
.blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px 22px 20px;
}

/* ukrycie starych elementów modułu */
.blog-card .blog-image-container > .title,
.blog-card .blog-image-container > .blog-meta,
.blog-card .blog-info,
.blog-card .blog-shortinfo,
.blog-card .more,
.blog-card .btn-primary,
.blog-card .created,
.blog-card .readmore {
    display: none !important;
}

/* tytuł */
.blog-card-title {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    word-break: break-word;
}

.blog-card-title a {
    color: #000000;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #000000;
    text-decoration: none;
}

/* opis */
.blog-card-desc {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
    flex: 1 1 auto;
    word-break: break-word;
}

/* przycisk */
.blog-card-btn {
    display: block;
    width: 50%;
    align-self: flex-end;
    padding: 4px 18px;
    background: #2f49ff;
    color: #fff !important;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease;
    margin-top: auto;
}

.blog-card-btn:hover {
    background: #1f36d6;
}

/* desktop średni */
@media (max-width: 991px) {
    .anblog-widget .anblog-widget-item {
        width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
    }

    .blog-card-image img,
    .blog-card-image .blog-card-img {
        height: 210px;
    }
}

/* mobile */
@media (max-width: 767px) {
    .anblog-widget .anblog-widget-item {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .anblog-widget .anblog-widget-title {
        text-align: left;
        margin-bottom: 20px;
    }

    .blog-card-content {
        padding: 20px 18px 18px;
    }

    .blog-card-title {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .blog-card-desc {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .blog-card-image img,
    .blog-card-image .blog-card-img {
        height: 200px;
    }
}

@media (min-width: 992px) {
    .anblog-hidden-desktop {
        display: none !important;
    }
}