/**
 * Eho - Complete K2 Integration Styles
 * Compiled from thirdparty-k2.less
 */

/* K2 Latest View - Latest Items from categories */
body #k2Container.latestView {
    .k2FeedIcon {
        position: absolute;
        margin: 10px 0 0 10px;
        padding: 0;
    }
    
    .latestItemsCategory {
        background: none;
        margin: 0;
        padding: 0;
        border: 10px solid transparent;
    }
    
    .latestItemsCategory img {
        background: none;
        margin: 0;
        padding: 0;
        max-width: 100%;
        border: 1px solid rgba(0, 0, 0, 0.4);
    }
    
    .latestItemsCategory h2 {
        font-family: 'Montserrat', Helvetica, Arial, sans-serif;
        font-size: 1.8em;
        font-weight: 600;
        line-height: 2.0em;
        margin: 0 0 15px;
        padding: 15px 0 0 0;
        background: none;
    }
    
    .latestItemsCategory h2:before {
        font-family: 'FontAwesome';
        content: "\f0da";
        margin-right: 10px;
        font-size: 1.0em;
        color: rgba(0,0,0,0.8);
    }
    
    .latestItemList {
        background: none;
        margin: 0 0 20px 0;
        padding: 0;
        border: 10px solid transparent;
    }
    
    .latestItemList h2 {
        display: block;
        font-family: 'Montserrat', Helvetica, Arial, sans-serif;
        font-size: 1.5em;
        font-weight: 600;
        line-height: 1.4em;
        margin: 0 0 5px 0;
    }
    
    .latestItemDateCreated:before {
        font-family: 'FontAwesome';
        content: "\f017";
        margin-right: 5px;
    }
    
    .latestItemDateCreated {
        display: block;
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    
    .latestItemImage img {
        background: none;
        margin: 0 0 5px 0;
        padding: 0;
        max-width: 100%;
        width: 100% !important;
        border: 1px solid rgba(0, 0, 0, 0.4);
    }
    
    .latestItemCategory span:before {
        font-family: 'FontAwesome';
        content: "\f07b";
        margin-right: 5px;
    }
    
    .latestItemTagsBlock span:before {
        font-family: 'FontAwesome';
        content: "\f02b";
        margin-right: 5px;
    }
    
    .latestItemReadMore .k2ReadMore {
        display: inline-block;
        padding: 8px 18px;
        background: var(--main-accent, #E37C00);
        color: #fff;
        border-radius: 5px;
        text-decoration: none;
        transition: all 0.3s;
    }
    
    .latestItemReadMore .k2ReadMore:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
}

/* K2 Item List View - Categories */
body #k2Container.itemListView {
    .itemListCategory h2 {
        font-family: 'Montserrat', Helvetica, Arial, sans-serif;
        font-size: 1.8em;
        font-weight: 600;
        line-height: 2.0em;
        margin: 0 0 15px;
        padding: 15px 0 0 0;
    }
    
    .itemListCategory h2:before {
        font-family: 'FontAwesome';
        content: "\f07b";
        margin-right: 10px;
        font-size: 0.85em;
    }
    
    .catItemView {
        background: none;
        margin: 0 0 30px 0;
        padding: 20px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        transition: all 0.3s;
    }
    
    .catItemView:hover {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-3px);
    }
    
    .catItemHeader h3.catItemTitle {
        font-family: 'Montserrat', Helvetica, Arial, sans-serif;
        font-size: 1.8em;
        font-weight: 600;
        line-height: 1.4em;
        margin: 0 0 10px 0;
    }
    
    .catItemHeader h3.catItemTitle a {
        color: var(--main-accent, #E37C00);
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .catItemHeader h3.catItemTitle a:hover {
        color: var(--body-title, #fff);
    }
    
    .catItemDateCreated:before {
        font-family: 'FontAwesome';
        content: "\f017";
        margin-right: 5px;
    }
    
    .catItemAuthor:before {
        font-family: 'FontAwesome';
        content: "\f007";
        margin-right: 5px;
    }
    
    .catItemImage img {
        margin: 10px 0 15px 0;
        padding: 0;
        max-width: 100%;
        width: 100% !important;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .catItemCategory span:before {
        font-family: 'FontAwesome';
        content: "\f07b";
        margin-right: 5px;
    }
    
    .catItemTagsBlock span:before {
        font-family: 'FontAwesome';
        content: "\f02b";
        margin-right: 5px;
    }
    
    .catItemCommentsLink a:before {
        font-family: 'FontAwesome';
        content: "\f0e5";
        margin-right: 5px;
    }
    
    .catItemReadMore .k2ReadMore {
        display: inline-block;
        padding: 10px 24px;
        background: linear-gradient(to bottom, 
            color-mix(in srgb, var(--main-accent, #E37C00) 80%, white),
            var(--main-accent, #E37C00));
        color: #fff !important;
        border-radius: 5px;
        text-decoration: none;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 13px;
        transition: all 0.3s;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    
    .catItemReadMore .k2ReadMore:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    }
}

/* K2 Item View - Single Article */
body #k2Container.itemView {
    .itemHeader h2.itemTitle {
        font-family: 'Montserrat', Helvetica, Arial, sans-serif;
        font-size: 2.2em;
        font-weight: 600;
        line-height: 1.3em;
        margin: 0 0 20px 0;
        color: var(--body-title, #fff);
    }
    
    .itemDateCreated:before {
        font-family: 'FontAwesome';
        content: "\f017";
        margin-right: 8px;
    }
    
    .itemAuthor:before {
        font-family: 'FontAwesome';
        content: "\f007";
        margin-right: 8px;
    }
    
    .itemImageBlock img {
        max-width: 100%;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
        margin: 20px 0;
    }
    
    .itemFullText {
        font-size: 15px;
        line-height: 1.8;
        margin: 25px 0;
    }
    
    .itemCategory span:before {
        font-family: 'FontAwesome';
        content: "\f07b";
        margin-right: 5px;
    }
    
    .itemTagsBlock span:before {
        font-family: 'FontAwesome';
        content: "\f02b";
        margin-right: 5px;
    }
    
    .itemRatingBlock {
        margin: 20px 0;
        padding: 15px;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 6px;
    }
    
    .itemCommentsForm {
        margin-top: 40px;
        padding-top: 30px;
        border-top: 2px solid rgba(0, 0, 0, 0.1);
    }
}

/* K2 User View - User Profile */
body #k2Container.userView {
    .userBlock {
        padding: 25px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        margin-bottom: 30px;
    }
    
    .userImage img {
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        max-width: 150px;
    }
    
    .userName {
        font-family: 'Montserrat', Helvetica, Arial, sans-serif;
        font-size: 2em;
        font-weight: 600;
        margin: 15px 0;
    }
}

/* K2 Responsive Adjustments */
@media (max-width: 767px) {
    body #k2Container .catItemView {
        padding: 15px;
    }
    
    body #k2Container .catItemHeader h3.catItemTitle {
        font-size: 1.4em;
    }
    
    body #k2Container.itemView .itemHeader h2.itemTitle {
        font-size: 1.8em;
    }
}

/* Light Theme Adjustments for K2 */
.main-body-style-light #k2Container .catItemView {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.main-body-style-light #k2Container .userBlock {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.1);
}
