/*
Theme Name: News
Theme URI: 
Author: AW
Author URI: 
Description: A modern, fast and optimized news theme
Version: 0.3
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: news-theme
Tags: news, blog, grid-layout, one-column, two-columns, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready

This theme is designed with performance and SEO in mind.
*/

:root {
    --container-width: 1000px;
    --header-height: 60px;
    --header-bg: #ffffff;
    --header-text: #333333;
    --sidebar-width: 300px;
    --content-spacing: 30px;
    --max-width: 1000px;
    --blockquote-color: #4a5568;
    --heading-color: #2d3748;
    --paragraph-color: #333;
    --dark-mode-text-color: #e2e8f0;
    --dark-mode-heading-color: #e2e8f0;
    --site-background: #f7fafc;
    --body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --heading-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --header-background: #fff;
    --dark-site-background: #1a202c;
    --dark-header-background: #2d2d2d;
    --accent-color: #007bff;
    --dark-accent-color: #4299e1;
    --single-content-width: 800px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    /*box-sizing: border-box;*/
}

body {
    background-color: var(--site-background);
    color: var(--paragraph-color);
    font-family: var(--body-font);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header and Logo Styles */
.site-header {
    background: var(--header-background);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-content {
    max-width: var(--container-width);
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--content-spacing);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    height: auto;
    /*width: 70%;*/
}

.site-logo {
    height: calc(var(--header-height) - 24px);
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
    height: 100%;
}

.custom-logo {
    height: 100%;
    width: auto;
    display: block;
}

.light-mode-logo {
    display: block;
}

.dark-mode-logo {
    display: none;
}

[data-theme="dark"] .light-mode-logo {
    display: none;
}

[data-theme="dark"] .dark-mode-logo {
    display: block;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    text-transform: uppercase;
}

.main-navigation a {
    color: var(--header-text);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: var(--accent-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle i {
    font-size: 1.2rem;
}

.light-icon {
    display: block;
}

.dark-icon {
    display: none;
}

[data-theme="dark"] .light-icon {
    display: none;
}

[data-theme="dark"] .dark-icon {
    display: block;
}

[data-theme="dark"] .main-navigation a,
[data-theme="dark"] .social-icon,
[data-theme="dark"] .theme-toggle {
    color: var(--dark-mode-text-color);
}

/* Dropdown Menu Styles */
.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .menu-item-has-children > a {
    position: relative;
    padding-right: 1.5rem;
}

.main-navigation .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-75%) rotate(45deg);
    transition: transform 0.3s ease;
}

.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--header-background);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    z-index: 1000;
}

.main-navigation .menu-item-has-children:hover > .sub-menu {
    display: block;
}

.main-navigation .sub-menu li {
    margin: 0;
    padding: 0;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9em;
    color: var(--text-color);
    white-space: nowrap;
}

.main-navigation .sub-menu a:hover {
    background: var(--accent-color);
    color: white;
}

/* Dark mode styles for dropdown */
[data-theme="dark"] .main-navigation .sub-menu {
    background: var(--dark-header-background);
    border-color: var(--dark-border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .main-navigation .sub-menu a {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .main-navigation .sub-menu a:hover {
    background: var(--dark-accent-color);
    color: white;
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
    .main-navigation .sub-menu {
        display: none;
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.03);
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin: 0.5rem 0;
        padding: 0.5rem 0;
    }

    [data-theme="dark"] .main-navigation .sub-menu {
        background: rgba(255, 255, 255, 0.05);
    }

    .main-navigation .menu-item-has-children {
        position: relative;
    }

    .main-navigation .menu-item-has-children > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 35px;
    }

    .main-navigation .menu-item-has-children > a::after {
        right: 15px;
        width: 8px;
        height: 8px;
        border-width: 0 2px 2px 0;
    }

    .main-navigation .menu-item-has-children.active > a::after {
        transform: translateY(-25%) rotate(-135deg);
    }

    .main-navigation .sub-menu li {
        margin: 0;
    }

    .main-navigation .sub-menu a {
        padding: 0.8rem 2rem;
        font-size: 0.95em;
        border-left: 2px solid transparent;
        transition: all 0.3s ease;
    }

    .main-navigation .sub-menu a:hover,
    .main-navigation .sub-menu a:focus {
        background: transparent;
        border-left-color: var(--accent-color);
        padding-left: 2.5rem;
    }

    [data-theme="dark"] .main-navigation .sub-menu a:hover,
    [data-theme="dark"] .main-navigation .sub-menu a:focus {
        border-left-color: var(--dark-accent-color);
    }

    .main-navigation .menu-item-has-children > .sub-menu {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease-in-out;
    }

    .main-navigation .menu-item-has-children.active > .sub-menu {
        max-height: 1000px;
        opacity: 1;
        display: block;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        order: 1;
    }

    .header-right {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--header-background);
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 100;
    }

    .header-right.active {
        transform: translateX(0);
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }

    .main-navigation li {
        margin: 10px 0;
    }

    .header-actions {
        justify-content: center;
    }

    [data-theme="dark"] .header-right {
        background: var(--dark-header-background);
    }
}

/* Dark mode styles */
[data-theme="dark"] body {
    background-color: var(--dark-site-background);
}

[data-theme="dark"] .site-header {
    background-color: var(--dark-header-background);
}

[data-theme="dark"] .light-mode-logo {
    opacity: 0;
}

[data-theme="dark"] .dark-mode-logo {
    opacity: 1;
}

[data-theme="dark"] .post-navigation a {
    color: #F0F0F0;
}

[data-theme="dark"] .widget-title {
    color: #657387;
}



/* Navigation */
.main-navigation {
    flex: 1;
}

.main-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    color: var(--header-text);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: var(--accent-color);
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    color: var(--header-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-color);
}

/* Theme toggle */
.theme-toggle {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin-top: -2px;
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
    transition: transform 0.3s ease;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .sun-icon {
    display: block;
    stroke: #eeeeee;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

/* Container */
.site-content {
    display: flex;
    gap: var(--content-spacing);
    margin: var(--header-height) auto 0;
    max-width: var(--container-width);
    padding: 0 var(--content-spacing);
}

.sidebar,
#secondary.widget-area {
    width: var(--sidebar-width);
    flex-shrink: 0;
}

.site-main {
    flex: 1;
}

.home .sidebar,
.home #secondary.widget-area {
    order: -1; /* Left side on homepage */
}

.single .sidebar,
.single #secondary.widget-area {
    order: 1; /* Right side on single post */
}

/* Admin bar spacing */
.admin-bar .site-header {
    top: 32px;
}



@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
    
    .admin-bar .site-content {
     /*   margin-top: calc(var(--header-height) + 46px);*/
    }

    .site-header {
        position: unset;
    }

    .site-content {
        margin: 0px auto;
    }
	
	.home .sidebar,
	.home #secondary.widget-area,
	.single #secondary.widget-area {
	width: 100%;
}


}

/* Article styles */
.article-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    margin-bottom: 20px;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-card .post-thumbnail {
    position: relative;
    /*aspect-ratio: 16/9;*/
    overflow: hidden;
    margin: 0;
}

.article-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card .post-content {
    padding: 20px;
}

.article-card .post-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-card .post-title {
    font-size: 1.3em;
    margin: 0 0 15px;
    line-height: 1.4;
}

.article-card .post-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post Navigation */
.post-navigation {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    margin: 1rem 0;
}

.post-navigation a {
    text-decoration: none;
    color: inherit;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: #68768b;
    margin-bottom: 0.5rem;
}

.post-navigation .nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.post-navigation a {
    text-decoration: none;
    display: block;
}

.post-navigation .nav-next {
    text-align: right;
}

/* Post Navigation Styles */
.post-navigation {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    margin: 1rem 0;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: #68768b;
    margin-bottom: 0.5rem;
}

.post-navigation .nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

/* Style 1 - Classic */
.nav-style1 {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-style1 .nav-previous,
.nav-style1 .nav-next {
    flex: 1;
}

.nav-style1 .nav-next {
    text-align: right;
}

/* Style 2 - Modern Cards */
.nav-style2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.nav-style2 .nav-previous,
.nav-style2 .nav-next {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.nav-style2 .nav-thumbnail {
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.nav-style2 .nav-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.nav-style2 .nav-previous:hover,
.nav-style2 .nav-next:hover {
    transform: translateY(-4px);
}

/* Style 3 - Minimal Arrows */
.nav-style3 {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-style3 .nav-previous,
.nav-style3 .nav-next {
    position: relative;
    padding: 1rem 2rem;
}

.nav-style3 .nav-previous::before,
.nav-style3 .nav-next::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #718096;
    border-width: 2px 2px 0 0;
    transition: all 0.3s ease;
}

.nav-style3 .nav-previous::before {
    left: 0;
    transform: translateY(-50%) rotate(-135deg);
}

.nav-style3 .nav-next::after {
    right: 0;
    transform: translateY(-50%) rotate(45deg);
}

.nav-style3 .nav-previous:hover::before {
    left: -5px;
}

.nav-style3 .nav-next:hover::after {
    right: -5px;
}

/* Style 4 - Split Screen */
.nav-style4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 3rem 0;
    background: #f7fafc;
    border-radius: 12px;
    overflow: hidden;
}

.nav-style4 .nav-previous,
.nav-style4 .nav-next {
    position: relative;
    padding: 2rem;
    margin: 0;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.nav-style4 .nav-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.nav-style4 .nav-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-style4 .nav-content {
    position: relative;
    z-index: 1;
}

.nav-style4 .nav-previous:hover,
.nav-style4 .nav-next:hover {
    background: #2d3748;
}

.nav-style4 .nav-previous:hover .nav-title,
.nav-style4 .nav-next:hover .nav-title {
    color: #fff;
}

.nav-style4 .nav-previous:hover .nav-subtitle,
.nav-style4 .nav-next:hover .nav-subtitle {
    color: #e2e8f0;
}

.nav-style4 .nav-previous:hover .nav-thumbnail,
.nav-style4 .nav-next:hover .nav-thumbnail {
    opacity: 0.1;
}

/* Dark Mode Styles */
[data-theme="dark"] .post-navigation {
    border-color: #4a5568;
}

[data-theme="dark"] .nav-title {
    color: #e2e8f0;
}

[data-theme="dark"] .nav-subtitle {
    color: #a0aec0;
}

[data-theme="dark"] .nav-style2 .nav-previous,
[data-theme="dark"] .nav-style2 .nav-next {
    background: #2d3748;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .nav-style3 .nav-previous::before,
[data-theme="dark"] .nav-style3 .nav-next::after {
    border-color: #a0aec0;
}

[data-theme="dark"] .nav-style4 {
    background: #2d3748;
}

[data-theme="dark"] .nav-style4 .nav-previous,
[data-theme="dark"] .nav-style4 .nav-next {
    background: #1a202c;
}

[data-theme="dark"] .nav-style4 .nav-previous:hover,
[data-theme="dark"] .nav-style4 .nav-next:hover {
    background: #2d3748;
}

/* Tags styling */
.entry-tags-wrapper {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.entry-tags-wrapper.no-box {
    background: none;
    padding: 0;
    margin-top: 1rem;
}

.entry-tags-wrapper.no-box .entry-tags {
    margin: 0;
}

.tags-title {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #2d3748;
    font-weight: 600;
}

.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.entry-tags a {
    display: inline-block;
    margin: 0.3rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.entry-tags[data-tag-style="tag-style1"] a {
    padding: 0.4rem 1.2rem;
    background: #f8f9fa;
    color: #4a5568;
    border-radius: 20px;
    font-size: 0.9em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.entry-tags[data-tag-style="tag-style1"] a:hover {
    background: #e9ecef;
    color: #1a202c;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
}

.entry-tags[data-tag-style="tag-style2"] a {
    padding: 0.4rem 1.2rem;
    border: 1px solid #cbd5e0;
    color: #4a5568;
    border-radius: 4px;
    font-size: 0.9em;
}

.entry-tags[data-tag-style="tag-style2"] a:hover {
    border-color: #4a5568;
    color: #1a202c;
    background: rgba(74, 85, 104, 0.05);
}

.entry-tags[data-tag-style="tag-style3"] a {
    padding: 0.5rem 1.2rem;
    background: #4a5568;
    color: white;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.entry-tags[data-tag-style="tag-style3"] a:hover {
    background: #2d3748;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.entry-tags[data-tag-style="tag-style4"] a {
    padding: 0.4rem 1.2rem;
    background: #e4e4e4;
    border-radius: 3px;
    color: #333;
    font-size: 0.9em;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.entry-tags[data-tag-style="tag-style4"] a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #6B7280, #4B5563);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.entry-tags[data-tag-style="tag-style4"] a:hover {
    color: white;
}

.entry-tags[data-tag-style="tag-style4"] a:hover::before {
    opacity: 1;
}

.entry-tags[data-tag-style="tag-style5"] a {
    padding: 0.4rem 1rem;
    background: rgba(128, 128, 128, 0.15);
    color: #666;
    font-size: 0.85em;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

.entry-tags[data-tag-style="tag-style5"] a:hover {
    background: rgba(128, 128, 128, 0.25);
    color: #333;
    transform: translateX(2px);
}

.entry-tags[data-tag-style="tag-style6"] a {
    padding: 0.3rem 0.6rem;
    color: #666;
    font-size: 0.9em;
    border: 1px solid #e0e0e0;
    position: relative;
}

.entry-tags[data-tag-style="tag-style6"] a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a5568;
    transition: width 0.3s ease;
}

.entry-tags[data-tag-style="tag-style6"] a:hover {
    border-color: transparent;
    color: #333;
}

.entry-tags[data-tag-style="tag-style6"] a:hover::after {
    width: 100%;
}

.entry-tags[data-tag-style="tag-style7"] a {
    padding: 0.5rem 1.2rem;
    background: #fff;
    color: #4a5568;
    border-radius: 20px;
    font-size: 0.9em;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.entry-tags[data-tag-style="tag-style7"] a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    background: #4a5568;
    color: #fff;
}

.entry-tags[data-tag-style="tag-style8"] a {
    padding: 0.4rem 1.2rem;
    background: #1a202c;
    color: #fff;
    border-radius: 4px;
    font-size: 0.9em;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.entry-tags[data-tag-style="tag-style8"] a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 222, 128, 0.2);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.entry-tags[data-tag-style="tag-style8"] a:hover {
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}

.entry-tags[data-tag-style="tag-style8"] a:hover::before {
    opacity: 1;
}

.entry-tags[data-tag-style="tag-style9"] a {
    padding: 0.3rem 0.8rem 0.3rem 1.2rem;
    color: #4a5568;
    font-size: 0.9em;
    position: relative;
}

.entry-tags[data-tag-style="tag-style9"] a::before {
    content: '•';
    position: absolute;
    left: 0.4rem;
    color: #4a5568;
    opacity: 0.6;
}

.entry-tags[data-tag-style="tag-style9"] a:hover {
    color: #1a202c;
}

.entry-tags[data-tag-style="tag-style9"] a:hover::before {
    opacity: 1;
}

.entry-tags[data-tag-style="tag-style10"] a {
    padding: 0.5rem 1.2rem;
    background: #e2e8f0;
    color: #4a5568;
    border-radius: 6px;
    font-size: 0.9em;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: transform 0.3s ease, background 0.3s ease;
}

.entry-tags[data-tag-style="tag-style10"] a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #cbd5e0;
    transform: translateZ(-6px);
    border-radius: 6px;
}

.entry-tags[data-tag-style="tag-style10"] a:hover {
    transform: translateZ(10px);
    background: #4a5568;
    color: #fff;
}

/* Dark mode tag styles */
[data-theme="dark"] .entry-tags[data-tag-style="tag-style1"] a {
    background: #2d3748;
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style1"] a:hover {
    background: #4a5568;
    color: #fff;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style2"] a {
    border-color: #4a5568;
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style2"] a:hover {
    border-color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style3"] a {
    background: #4a5568;
    color: #fff;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style3"] a:hover {
    background: #2d3748;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style4"] a {
    background: #2d3748;
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style4"] a::before {
    background: linear-gradient(45deg, #4a5568, #2d3748);
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style4"] a:hover {
    color: #fff;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style5"] a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style5"] a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style6"] a {
    color: var(--dark-mode-text-color);
    border-color: #4a5568;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style6"] a::after {
    background: #e2e8f0;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style6"] a:hover {
    color: #fff;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style7"] a {
    background: #2d3748;
    color: var(--dark-mode-text-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style7"] a:hover {
    background: #4a5568;
    color: #fff;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style8"] a {
    background: #1a202c;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style8"] a:hover {
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style9"] a {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style9"] a::before {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style9"] a:hover {
    color: #fff;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style10"] a {
    background: #2d3748;
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style10"] a::before {
    background: #1a202c;
}

[data-theme="dark"] .entry-tags[data-tag-style="tag-style10"] a:hover {
    background: #4a5568;
    color: #fff;
}

/* Single Post */
.single-content {
    /*max-width: 800px;
    margin: 0 auto;*/
    padding: 20px 20px 20px 0px;
}

.wp-block-gallery {
    margin-bottom: 10px;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2.1em;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    color: #2d3748;
}

.entry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.meta-left {
    flex: 1;
    min-width: 250px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
}

.author-position {
    font-size: 0.9em;
    color: #68768b;
}

.meta-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9em;
}

.entry-date {
    color: #657387;
}

.entry-categories {
    display: flex;
    gap: 0.5rem;
}

.entry-categories a {
    padding: 0.3rem 0.8rem;
    background: #edf2f7;
    border-radius: 20px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
}

.entry-categories a:hover {
    background: #e2e8f0;
    color: #2d3748;
}

.entry-meta .category a:hover {
    background-color: var(--accent-color-hover);
    color: #fff;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
   /* padding: 0.8rem 1.2rem;*/
    font-size: 0.9em;
    color: #718096;
}

.breadcrumbs a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #2d3748;
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: #a0aec0;
}

.breadcrumbs .current {
    color: #657387;
}

/* Breadcrumbs Styles */
.breadcrumbs-wrapper {
    margin-bottom: 2rem;
}

/* Style 1 - Classic */
.breadcrumbs-style1 {
    font-size: 0.875rem;
    color: #718096;
}

.breadcrumbs-style1 a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs-style1 a:hover {
    color: #1a202c;
}

.breadcrumbs-style1 .separator {
    margin: 0 0.5rem;
    color: #cbd5e0;
}

.breadcrumbs-style1 .separator::before,
.breadcrumbs-style2 .separator::before,
.breadcrumbs-style3 .separator::before,
.breadcrumbs-style6 .separator::before {
    content: '/';
}

/* Style 2 - Minimal Line */
.breadcrumbs-style2 {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.breadcrumbs-style2 a {
    color: #4a5568;
    text-decoration: none;
    position: relative;
}

.breadcrumbs-style2 a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.breadcrumbs-style2 a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.breadcrumbs-style2 .separator {
    margin: 0 0.5rem;
    height: 1px;
    width: 1.5rem;
    background-color: #e2e8f0;
}

/* Style 3 - Simple Text */
.breadcrumbs-style3 {
    font-size: 0.875rem;
    color: #718096;
}

.breadcrumbs-style3 a {
    color: #4a5568;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumbs-style3 a:hover {
    opacity: 0.8;
}

.breadcrumbs-style3 .separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* Style 4 - Chevron Style */
.breadcrumbs-style4 {
    font-size: 0.875rem;
    color: #718096;
}

.breadcrumbs-style4 a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs-style4 a:hover {
    color: #2d3748;
}

.breadcrumbs-style4 .separator {
    margin: 0 0.5rem;
    color: #cbd5e0;
}

.breadcrumbs-style4 .separator::before {
    content: '>';
}

/* Style 5 - Dot Separator */
.breadcrumbs-style5 {
    font-size: 0.875rem;
    color: #718096;
}

.breadcrumbs-style5 a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs-style5 a:hover {
    color: #2d3748;
}

.breadcrumbs-style5 .separator {
    margin: 0 0.75rem;
    color: #cbd5e0;
}

.breadcrumbs-style5 .separator::before {
    content: '•';
}

/* Style 6 - Subtle Fade */
.breadcrumbs-style6 {
    font-size: 0.875rem;
    color: #718096;
}

.breadcrumbs-style6 a {
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumbs-style6 a:hover {
    color: #2d3748;
}

.breadcrumbs-style6 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: 0;
    transform: translateY(3px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.breadcrumbs-style6 a:hover::after {
    opacity: 0.5;
    transform: translateY(0);
}

.breadcrumbs-style6 .separator {
    margin: 0 0.5rem;
    color: #e2e8f0;
}

/* Dark Mode Support */
[data-theme="dark"] .breadcrumbs-style1,
[data-theme="dark"] .breadcrumbs-style3,
[data-theme="dark"] .breadcrumbs-style4,
[data-theme="dark"] .breadcrumbs-style5,
[data-theme="dark"] .breadcrumbs-style6 {
    color: #a0aec0;
}

[data-theme="dark"] .breadcrumbs-style1 a,
[data-theme="dark"] .breadcrumbs-style3 a,
[data-theme="dark"] .breadcrumbs-style4 a,
[data-theme="dark"] .breadcrumbs-style5 a,
[data-theme="dark"] .breadcrumbs-style6 a {
    color: #e2e8f0;
}

[data-theme="dark"] .breadcrumbs-style1 a:hover,
[data-theme="dark"] .breadcrumbs-style4 a:hover,
[data-theme="dark"] .breadcrumbs-style5 a:hover,
[data-theme="dark"] .breadcrumbs-style6 a:hover {
    color: #f7fafc;
}

[data-theme="dark"] .breadcrumbs-style2 a {
    color: #e2e8f0;
}

[data-theme="dark"] .breadcrumbs-style2 .separator {
    background-color: #4a5568;
}

[data-theme="dark"] .breadcrumbs-style1 .separator,
[data-theme="dark"] .breadcrumbs-style3 .separator,
[data-theme="dark"] .breadcrumbs-style4 .separator,
[data-theme="dark"] .breadcrumbs-style5 .separator,
[data-theme="dark"] .breadcrumbs-style6 .separator {
    color: #4a5568;
}

/* Dark mode styles */
[data-theme="dark"] .breadcrumbs {
    color: #a0aec0;
}

[data-theme="dark"] .breadcrumbs a {
    color: #e2e8f0;
}

[data-theme="dark"] .breadcrumbs a:hover {
    color: #fff;
}

[data-theme="dark"] .entry-title {
    color: #e2e8f0;
}

[data-theme="dark"] .entry-meta {
    border-top-color: #4a5568;
}

[data-theme="dark"] .author-name {
    color: #e2e8f0;
}

[data-theme="dark"] .author-position,
[data-theme="dark"] .entry-date {
    color: #a0aec0;
}

[data-theme="dark"] .entry-categories a {
    background: #2d2d2d;
    color: #e2e8f0;
}

[data-theme="dark"] .entry-categories a:hover {
    background: #4a5568;
    color: #fff;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .entry-title {
        font-size: 1.7em;
    }

    .entry-meta {
        
        align-items: flex-start;
        gap: 1rem;
    }

    .meta-right {
        align-items: center;

        gap: 0.8rem;
    }

    .entry-categories {
        flex-wrap: wrap;
    }
}



/* Footer */
.site-footer {
    background: #f7fafc;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-spacing);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    max-width: 200px;
    margin: 0 auto;
}

.footer-logotype {
    width: 200px;
	margin-bottom: 20px;
}

.footer-logotype img {
    height: auto;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-logo .dark-logo {
    display: none;
}

[data-theme="dark"] .footer-logo .custom-logo {
    display: none;
}

[data-theme="dark"] .footer-logo .dark-logo {
    display: block;
}

.footer-copyright {
    text-align: center;
    color: var(--paragraph-color);
    font-size: 0.875rem;
}

/* Dark Mode Footer */
[data-theme="dark"] .site-footer {
    background: #2d3748;
}

[data-theme="dark"] .footer-copyright {
    color: var(--dark-mode-text-color);
}

/* Sidebar Widgets */
.widget {
    margin-bottom: 30px;
    padding-top: 20px;
   /* background: #f8f9fa;
    border-radius: 8px;*/
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--header-text);
}

.home .news-grid {
    margin-top: 1.5rem;
}

/* Dark mode */
[data-theme="dark"] {
    background-color: #1a202c;
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .site-header {
   /* background: #2d2d2d;*/
}

[data-theme="dark"] .article-card {
    background: #1a202c;
    border-color: #404040;
}

[data-theme="dark"] .post-navigation .nav-previous,
[data-theme="dark"] .post-navigation .nav-next {
    background: #232936;
}

[data-theme="dark"] .post-navigation .nav-previous:hover,
[data-theme="dark"] .post-navigation .nav-next:hover {
    background: #1a202c;
}

[data-theme="dark"] .post-navigation .nav-title {
    color: #f0f0f0;
}

[data-theme="dark"] .entry-tags a {
    background-color: #2d3748;
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .entry-tags a:hover {
    background-color: #4a5568;
}

[data-theme="dark"] .news-title {
    color: #e2e8f0 !important;
}

/* Responsive Design */
@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .site-content {
        flex-direction: column;
    }
    
    .sidebar {
        max-width: 100%;
        order: 1 !important;
       /* padding: 1rem;*/
        margin: 0px auto;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.5rem 1rem;
        justify-content: space-between;
    }
    

    
    .main-menu {
        display: none; /* Will be handled by JS for mobile menu */
    }
    
 
    
    .single-content {
        padding: 20px 15px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .pagination,
    .entry-tags,
    .comments-area {
        display: none;
    }
    
    .site-content {
        margin: 0;
        padding: 0;
    }
    
    .entry-content {
        font-size: 12pt;
    }
}

.widget .news-date {
    margin-bottom: 10px;
    color: #657387;
}

.widget .news-title {
    font-size: 15px;
    color: #333;
}

.widget .news-time {
    color: #657387;
}

/* List Styles */
.entry-content ul,
.entry-content ol {
    margin: 1.5em 0;
    padding-left: 2.5em;
}

.entry-content ul {
    list-style: none;
}

.entry-content ul li {
    position: relative;
    margin-bottom: 0.8em;
}

.entry-content ul li::before {
    content: '';
    position: absolute;
    left: -1.5em;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background-color: var(--blockquote-color);
    border-radius: 50%;
}

.entry-content ol {
    list-style: none;
    counter-reset: custom-counter;
}

.entry-content ol li {
    position: relative;
    margin-bottom: 0.8em;
    counter-increment: custom-counter;
}

.entry-content ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: -2.5em;
    width: 1.8em;
    height: 1.8em;
    line-height: 1.8em;
    text-align: center;
    background-color: var(--blockquote-color);
    color: white;
    border-radius: 50%;
    font-size: 0.8em;
    font-weight: 600;
}

/* Nested lists */
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
    margin: 0.8em 0;
}

/* Blockquote styles */
/* Style 1 - Classic (Default) */
blockquote.style1 {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 3rem 2rem 4rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #2d3748;
}

blockquote.style1::before {
    content: '"';
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    font-family: Georgia, serif;
    font-size: 4em;
    line-height: 1;
    color: var(--blockquote-color);
    opacity: 0.3;
}

/* Style 2 - Modern Border Left */
blockquote.style2 {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--blockquote-color);
    background: linear-gradient(to right, rgba(var(--blockquote-color), 0.1), transparent);
    font-size: 1.1em;
    line-height: 1.6;
}

/* Style 3 - Minimal */
blockquote.style3 {
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--blockquote-color);
    border-bottom: 2px solid var(--blockquote-color);
    text-align: center;
    font-size: 1.2em;
    line-height: 1.6;
    font-style: italic;
}

/* Style 4 - Box with Icon */
blockquote.style4 {
    position: relative;
    margin: 2.5rem 0;
    padding: 2.5rem 2rem 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

blockquote.style4::before {
    content: '❝';
    position: absolute;
    top: -1rem;
    left: 2rem;
    width: 2rem;
    height: 1.6rem;
    padding-top: 0.4rem;
    background: var(--blockquote-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    line-height: 1;
}

/* Common blockquote styles */
blockquote p {
    margin: 0 0 1rem 0;
}

blockquote p:last-child {
    margin-bottom: 0;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9em;
    color: #718096;
    font-style: italic;
}

blockquote cite::before {
    content: '—';
    margin-right: 0.5rem;
}

/* Dark mode blockquote styles */
[data-theme="dark"] blockquote.style1,
[data-theme="dark"] blockquote.style4 {
    background: #2d2d2d;
    color: #e2e8f0;
}

[data-theme="dark"] blockquote.style2 {
    background: linear-gradient(to right, rgba(var(--blockquote-color), 0.2), transparent);
}

[data-theme="dark"] blockquote cite {
    color: #a0aec0;
}

/* Responsive blockquote */
@media screen and (max-width: 768px) {
    blockquote {
        margin: 2rem 0;
        padding: 1.5rem 1.5rem 1.5rem 3rem;
        font-size: 1em;
    }

    blockquote::before {
        font-size: 3em;
        left: 0.8rem;
        top: 1.2rem;
    }
}

/* Tag Styles */
/* Style 1 - Classic (Default) */
.tag-style1 {
    display: inline-block;
    padding: 0.4rem 1rem;
    margin: 0.3rem;
    background: #f3f4f6;
    border-radius: 20px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-style1:hover {
    background: #e5e7eb;
    color: #1a202c;
}

/* Style 2 - Minimal Outline */
.tag-style2 {
    display: inline-block;
    padding: 0.4rem 1rem;
    margin: 0.3rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-style2:hover {
    border-color: #4a5568;
    color: #1a202c;
}

/* Style 3 - Solid Rounded */
.tag-style3 {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    margin: 0.3rem;
    background: #4a5568;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tag-style3:hover {
    background: #2d3748;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Style 4 - Modern Gradient (Updated) */
.tag-style4 {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    margin: 0.3rem;
    background: #e4e4e4;
    border-radius: 3px;
    color: #333;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-style4:hover {
    background: #d4d4d4;
    color: #000;
}

/* Style 5 - Sharp Corners (Updated) */
.tag-style5 {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    margin: 0.3rem;
    background: rgba(128, 128, 128, 0.15);
    color: #666;
    text-decoration: none;
    font-size: 0.85em;
    transition: all 0.2s ease;
}

.tag-style5:hover {
    background: rgba(128, 128, 128, 0.25);
    color: #333;
}

/* Style 6 - Underlined (Updated) */
.tag-style6 {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    margin: 0.3rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9em;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.tag-style6:hover {
    border-color: #999;
    color: #333;
}

/* Dark mode tag styles */
[data-theme="dark"] .tag-style4 {
    background: #2d3748;
    color: #e2e8f0;
}

[data-theme="dark"] .tag-style4:hover {
    background: #4a5568;
    color: #fff;
}

[data-theme="dark"] .tag-style5 {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

[data-theme="dark"] .tag-style5:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

[data-theme="dark"] .tag-style6 {
    color: #e2e8f0;
    border-color: #4a5568;
}

[data-theme="dark"] .tag-style6:hover {
    border-color: #e2e8f0;
    color: #fff;
}

/* Entry Meta Styles */
.entry-meta {
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

/* Style 1 - Classic */
.meta-style1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.meta-style1 .post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-style1 .author-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.meta-style1 .author-info {
    display: flex;
    flex-direction: column;
}

.meta-style1 .author-name {
    font-weight: 600;
    color: #2d3748;
}

.meta-style1 .author-position {
    color: #718096;
    font-size: 0.8125rem;
}

.meta-style1 .meta-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Style 2 - Compact */
.meta-style2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.meta-style2 .author-info {
    display: inline-flex;
    gap: 0.5rem;
    align-items: baseline;
}

.meta-style2 .author-name {
    font-weight: 500;
}

.meta-style2 .meta-right {
    display: flex;
    gap: 1rem;
    color: #718096;
}

/* Style 3 - Minimal */
.meta-style3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: #718096;
}

.meta-style3 .author-position {
    display: none;
}

.meta-style3 .meta-right {
    display: flex;
    gap: 1rem;
}

/* Style 4 - Category First */
.meta-style4 {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: #718096;
}

.meta-style4 .meta-category-date {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-style4 .entry-categories {
    font-weight: 500;
}

.meta-style4 .meta-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-left: auto;
}

.meta-style4 .author-name {
    font-weight: 500;
    color: #2d3748;
}

.meta-style4 .author-position {
    font-size: 0.8125rem;
    color: #718096;
}

/* Dark Mode Support */
[data-theme="dark"] .meta-style1 {
    border-color: #4a5568;
}

[data-theme="dark"] .meta-style1 .author-name,
[data-theme="dark"] .meta-style4 .author-name {
    color: #e2e8f0;
}

[data-theme="dark"] .meta-style1 .author-position,
[data-theme="dark"] .meta-style2,
[data-theme="dark"] .meta-style3,
[data-theme="dark"] .meta-style4 {
    color: #a0aec0;
}

[data-theme="dark"] .meta-style2 {
    border-color: #4a5568;
}

/* Post Content Styles */
.entry-content h2 {
    font-size: 1.875rem;
    line-height: 1.3;
    font-weight: 700;
    margin: 2rem 0 1.5rem;
    color: var(--heading-color);
}

.entry-content h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 1.75rem 0 1.25rem;
    color: var(--heading-color);
}

.entry-content h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: var(--heading-color);
}

.entry-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--paragraph-color);
}

/* Social Sharing */
.social-sharing {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.social-sharing h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: var(--heading-color);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 0.875rem;
    transition: opacity 0.2s ease;
}

.share-button:hover {
    opacity: 0.9;
}

.share-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.share-button.facebook {
    background-color: #1877f2;
}

.share-button.telegram {
    background-color: #0088cc;
}

.share-button.viber {
    background-color: #665cac;
}

/* Social Sharing Styles */

/* Style 1 - Default */
.social-sharing.style1 {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.social-sharing.style1 h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: var(--heading-color);
}

.social-sharing.style1 .share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-sharing.style1 .share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 0.875rem;
    transition: opacity 0.2s ease;
}

/* Style 2 - Tags Style */
.social-sharing.style2 {
    margin: 2rem 0;
}

.social-sharing.style2 h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--heading-color);
}

.social-sharing.style2 .share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-sharing.style2 .share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f7fafc;
    border-radius: 4px;
    color: var(--heading-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.social-sharing.style2 .share-button:hover {
    background: var(--heading-color);
    color: #fff;
}

.social-sharing.style2 .share-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Style 3 - Compact */
.social-sharing.style3 {
    margin: 1rem 0;
    text-align: center;
}

.social-sharing.style3 h3 {
    display: none;
}

.social-sharing.style3 .share-buttons {
    display: inline-flex;
    padding: 0.25rem;
    gap: 1.5rem;
}

.social-sharing.style3 .share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid currentColor;
    color: var(--heading-color);
    transition: all 0.2s ease;
    background: transparent;
}

.social-sharing.style3 .share-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-sharing.style3 .share-button span {
    display: none;
}

.social-sharing.style3 .share-button:hover {
    transform: translateY(-2px);
}

.social-sharing.style3 .share-button.facebook {
    color: #1877f2;
}

.social-sharing.style3 .share-button.telegram {
    color: #0088cc;
}

.social-sharing.style3 .share-button.viber {
    color: #665cac;
}

[data-theme="dark"] .social-sharing.style3 .share-button {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .social-sharing.style3 .share-button:hover {
    opacity: 0.8;
}

/* Style 4 - Modern */
.social-sharing.style4 {
    margin: 2rem 0;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 12px;
}

.social-sharing.style4 h3 {
    margin: 0 0 1.5rem;
    font-size: 1.25rem;
    color: var(--heading-color);
    text-align: center;
}

.social-sharing.style4 .share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.social-sharing.style4 .share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.social-sharing.style4 .share-button:hover {
    transform: translateY(-2px);
}

/* Style 5 - Rounded */
.social-sharing.style5 {
    margin: 2rem 0;
}

.social-sharing.style5 h3 {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    color: var(--heading-color);
}

.social-sharing.style5 .share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-sharing.style5 .share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: #f7fafc;
    color: var(--heading-color);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.social-sharing.style5 .share-button:hover {
    color: #fff;
}

.social-sharing.style5 .share-button.facebook:hover {
    background: #1877f2;
}

.social-sharing.style5 .share-button.telegram:hover {
    background: #0088cc;
}

.social-sharing.style5 .share-button.viber:hover {
    background: #665cac;
}

.social-sharing.style5 .share-button svg {
    width: 16px;
    height: 16px;
}

/* Dark Mode Support for all styles */
[data-theme="dark"] .social-sharing.style1 {
    border-color: #4a5568;
}

[data-theme="dark"] .social-sharing.style2 .share-button {
    background: #2d3748;
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .social-sharing.style2 .share-button:hover {
    background: var(--dark-mode-heading-color);
    color: #1a202c;
}

[data-theme="dark"] .social-sharing.style3 .share-buttons {
    background: #2d3748;
}

[data-theme="dark"] .social-sharing.style4 {
    background: #2d3748;
}

[data-theme="dark"] .social-sharing.style5 .share-button {
    background: #2d3748;
    color: var(--dark-mode-text-color);
}

/* Common styles for all versions */
.share-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.share-button.facebook {
    background-color: #1877f2;
}

.share-button.telegram {
    background-color: #0088cc;
}

.share-button.viber {
    background-color: #665cac;
}

.share-button:hover {
    opacity: 0.9;
}

/* Dark Mode Colors */
[data-theme="dark"] {
    background-color: #1a202c;
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .entry-content h1,
[data-theme="dark"] .entry-content h2,
[data-theme="dark"] .entry-content h3,
[data-theme="dark"] .entry-content h4,
[data-theme="dark"] .entry-content h5,
[data-theme="dark"] .entry-content h6 {
    color: var(--dark-mode-heading-color);
}

[data-theme="dark"] .entry-content p,
[data-theme="dark"] .entry-content li,
[data-theme="dark"] .entry-content blockquote {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .author-name {
    color: var(--dark-mode-heading-color);
}

[data-theme="dark"] .author-name:hover {
    color: #4299e1;
}

[data-theme="dark"] .author-position,
[data-theme="dark"] .entry-date,
[data-theme="dark"] .entry-categories a {
    color: #a0aec0;
}

[data-theme="dark"] .social-sharing {
    border-color: #4a5568;
}

[data-theme="dark"] .social-sharing h3 {
    color: var(--dark-mode-heading-color);
}

[data-theme="dark"] .entry-tags a {
    background-color: #2d3748;
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .entry-tags a:hover {
    background-color: #4a5568;
}

/* Base styles */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    opacity: 0.8;
}

/* Header and Navigation */
.site-header {
    background-color: var(--header-background);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.main-navigation a {
    color: var(--heading-color);
}

.main-navigation a:hover {
    color: var(--accent-color);
}

.social-icon {
    color: var(--heading-color);
}

.social-icon:hover {
    color: var(--accent-color);
}

/* Dark Mode Styles */
[data-theme="dark"] {
    background-color: var(--dark-site-background);
}

[data-theme="dark"] a {
    color: var(--dark-accent-color);
}

[data-theme="dark"] a:hover {
    color: var(--dark-accent-color);
    opacity: 0.8;
}

[data-theme="dark"] .site-header {
    background-color: var(--dark-header-background);
}

[data-theme="dark"] .main-navigation a {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .main-navigation a:hover {
    color: var(--dark-accent-color);
}

[data-theme="dark"] .social-icon {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .social-icon:hover {
    color: var(--dark-accent-color);
}

/* Footer Logo */
.footer-logo {
    max-width: 200px;
    margin: 0 auto;
}

.footer-logo .light-mode-logo {
    display: block;
    width: 100%;
    height: auto;
}

.footer-logo .dark-mode-logo {
    display: none;
    width: 100%;
    height: auto;
}

[data-theme="dark"] .footer-logo .custom-logo {
    display: none;
}

[data-theme="dark"] .footer-logo .dark-logo {
    display: block;
}

/* Archive Layout */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--content-spacing);
}


.post-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #edf2f7;
}


.single .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive .post-thumbnail img {
    width: 100%;
}

.post-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.post-categories {
    margin-bottom: 0.25rem;
}

.category-link {
    font-size: 0.875rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-title {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 0;
}

.post-title a {
    color: var(--heading-color);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--accent-color);
}

.post-excerpt {
    color: var(--paragraph-color);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
}

.post-excerpt p {
    margin: 0;
}

/* Dark Mode */
[data-theme="dark"] .post-card {
    border-color: #2d3748;
}

[data-theme="dark"] .post-title a {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .post-excerpt {
    color: var(--dark-mode-text-color);
}



/* Archive Header */
.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
  
    border-bottom: 1px solid #edf2f7;
}

.archive-title {
    font-size: 2rem;
    color: var(--heading-color);
    margin: 0;
}

.archive-description {
    max-width: 700px;
    margin: 1rem auto 0;
    color: #657387;
}

/* Pagination */


.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.5rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    background: #fff;
    color: var(--heading-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .current {
    border: 1px solid var(--accent-color);
    background: none;
    color: #fff;
}

.pagination a.page-numbers:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Dark Mode */
[data-theme="dark"] .post-card {
    border-color: #2d3748;
}

[data-theme="dark"] .post-title a {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .post-thumbnail,
[data-theme="dark"] .post-thumbnail-placeholder {
    background: #2d3748;
}

[data-theme="dark"] .pagination .page-numbers {
    background: #2d3748;
    color: var(--dark-mode-text-color);
}



.posts-grid {
    /*display: grid;*/
    gap: 1.5rem;
}

.post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.post-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    color: #cbd5e0;
}

.post-thumbnail-placeholder .dashicons {
    width: 48px;
    height: 48px;
    font-size: 48px;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-with-sidebar {
        display: block;
        grid-template-columns: 1fr;
    }
    .posts-grid {
        display: block;
    }
}

@media (max-width: 480px) {
    .post-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .post-thumbnail {
        width: 100%;
       
    }
}

/* Pagination */
.pagination {
    margin-top: 2rem;
   /* display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;*/
    text-align: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    background: #f7fafc;
    color: var(--heading-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
}



.pagination a.page-numbers:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Dark Mode */
[data-theme="dark"] .post-card {
    border-color: #2d3748;
}

[data-theme="dark"] .archive-title {
    color: var(--dark-mode-text-color);
}


[data-theme="dark"] .post-title a {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .post-thumbnail,
[data-theme="dark"] .post-thumbnail-placeholder {
    background: #2d3748;
}

[data-theme="dark"] .pagination .page-numbers {
    background: #2d3748;
    color: var(--dark-mode-text-color);
}



/* Hamburger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
   
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--heading-color);
    transition: all 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
}

.hamburger-icon::before {
    top: -6px;
}

.hamburger-icon::after {
    bottom: -6px;
}

[data-theme="dark"] .hamburger-icon,
[data-theme="dark"] .hamburger-icon::before,
[data-theme="dark"] .hamburger-icon::after {
    background: var(--dark-mode-text-color);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .social-icons {
        display: none;
    }

    .main-navigation {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--header-background);
        /*padding: 20px;*/
        transition: left 0.3s ease;
        z-index: 999;
    }

    .main-navigation.active {
        left: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }

    .main-navigation li {
        margin: 10px 0;
    }

    .menu-toggle[aria-expanded="true"] .hamburger-icon {
        background: transparent;
    }

    .menu-toggle[aria-expanded="true"] .hamburger-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu-toggle[aria-expanded="true"] .hamburger-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    [data-theme="dark"] .main-navigation {
        background: var(--dark-header-background);
    }
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
   /* background: var(--header-background);*/
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.admin-bar .search-modal {
    top: 32px;
}

.search-modal.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.search-modal-content {
    width: 100%;

    position: relative;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-field {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    background: #fff;
}

.search-field:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-submit {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.search-submit:hover {
    background: var(--dark-accent-color);
}

.search-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--header-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    margin-left: 15px;
}


.search-toggle:hover {
    color: var(--accent-color);
}

/* Dark Mode */
[data-theme="dark"] .hamburger-icon,
[data-theme="dark"] .hamburger-icon::before,
[data-theme="dark"] .hamburger-icon::after {
    background: var(--dark-mode-text-color);
}

[data-theme="dark"] .search-toggle {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .search-field {
    background: var(--dark-header-background);
    color: var(--dark-mode-text-color);
}

/* Responsive */
@media (max-width: 768px) {
    .main-navigation,
	.post-navigation,
	.post .post-thumbnail {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .search-toggle {
        display: none;
    }
    .homepage-block-title {
        padding-left: 1.5rem;
    }

    .posts-style3 {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
}

/* Homepage Post Block Styles */
.homepage-block {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.homepage-block .post-meta {
    display: none;
}

.homepage-block-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

/* Style 1 - Single Column */
.posts-style1 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Style 2 - Two Columns */
.posts-style2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .posts-style2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Style 3 - Compact */
.posts-style3 {
    display: flex;
    flex-direction: column;
    /*gap: 1rem;*/
}

.posts-style3 article {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.posts-style3 .article-card {
    flex-direction: row;
    background: none;
}

.posts-style3 .article-card:hover {
    transform: none;
    box-shadow: none;
}

.posts-style3 .post-title {
    font-size: 1rem;
}

.posts-style3 .post-excerpt {
    display: none;
}

.posts-style3 .post-thumbnail {
    flex: 0 0 100px;
}

.posts-style3 .post-thumbnail img {
    width: 100px;
    height: 70px;
    object-fit: cover;
}

.posts-style3 .entry-title {
    font-size: 1rem;
    margin: 0;
}

.posts-style3 .entry-meta,
.posts-style3 .entry-content {
    display: none;
}

[data-theme="dark"] .homepage-block-title {
    border-bottom-color: var(--dark-accent-color);
    color: #657387;
}

/* Top News Slider */
.top-news-slider-container {
    margin: 1.5rem 0 2rem 0;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
}

.top-news-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.top-news-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.top-news-slider .slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-no-image {
    width: 100%;
    height: 100%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 0px 60px 0px;
	text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
}

.slide-title {
    margin: 0;
    font-size: 24px;
	margin: 0px 50px;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.slide-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.slide-title a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.slider-nav {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 10;
}

.slider-dot {
    width: 30px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: var(--accent-color);
}

/* Mobile Styles for Slider */
@media (max-width: 768px) {
    .top-news-slider {
        height: 300px;
    }
    
    .slide-title {
        font-size: 18px;
    }

    .bottom-news-slider-wrap {
		display: none;
	}
}

@media (max-width: 480px) {
    .top-news-slider {
        height: 250px;
    }
    
    .slide-title {
        font-size: 16px;
    }
}

/* Fix empty rulesets */
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.site-footer .widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--header-text);
}


/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--header-background);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list li {
    margin: 0;
    padding: 0;
}

.mobile-menu-list a {
    display: block;
    padding: 0.8rem var(--content-spacing);
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu-list a:hover,
.mobile-menu-list a:focus {
    background: rgba(0, 0, 0, 0.03);
    color: var(--accent-color);
}

.mobile-menu .menu-item-has-children {
    position: relative;
}

.mobile-menu .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 35px;
}

.mobile-menu .menu-item-has-children > a::after {
    content: '';
    position: absolute;
    right: 15px;
   /* top: 50%;*/
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-75%) rotate(45deg);
    transition: transform 0.3s ease;
}

.mobile-menu .menu-item-has-children.active > a::after {
    transform: translateY(-25%) rotate(-135deg);
}

.mobile-menu .sub-menu {
    display: none;
    background: rgba(0, 0, 0, 0.03);
    padding: 0.5rem 0;
}

.mobile-menu .menu-item-has-children.active > .sub-menu {
    display: block;
}

.mobile-menu .sub-menu a {
    padding-left: 2rem;
    font-size: 0.95em;
    border-left: 2px solid transparent;
}

.mobile-menu .sub-menu a:hover,
.mobile-menu .sub-menu a:focus {
    border-left-color: var(--accent-color);
    padding-left: 2.5rem;
}

/* Dark mode styles for mobile menu */
[data-theme="dark"] .mobile-menu {
    background: var(--dark-header-background);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .mobile-menu-list a {
    color: var(--dark-mode-text-color);
}

[data-theme="dark"] .news-date {
    color: var(--dark-mode-text-color) !important;
	border-color: var(--dark-mode-text-color) !important;
}

[data-theme="dark"] .mobile-menu-list a:hover,
[data-theme="dark"] .mobile-menu-list a:focus {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .mobile-menu .sub-menu {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .mobile-menu .sub-menu a:hover,
[data-theme="dark"] .mobile-menu .sub-menu a:focus {
    border-left-color: var(--dark-accent-color);
}


span.author-position {
	display: none;
}

@media (min-width: 769px) {
.site-header {
	height: 80px;
}

/*
.site-logo {
	height: calc(var(--header-height) - 6px);
}*/

.site-content {
	margin-top: 80px;
}

.search-form {
	height: 75px
}
	
	}

.page-header {
	margin-top: 40px;
	margin-bottom: 20px;
}

.page .aw-toc {
	display: none;
}


.entry-content a {
	border-bottom: 2px solid #e0e2eb;
    padding-bottom: 3px;
    font-weight: 600;
}

[data-theme="dark"] .entry-content a {
	border-bottom: 2px solid #3f4356;
}




.header-style2 .header-content { display:flex; align-items:center; gap:20px; }

.header-style2 .header-style2-inner { display:flex; align-items:center; justify-content:space-between; width:100%; /*gap:20px;*/ }

.header-style2 .menu-left, .header-style2 .menu-right { flex:1 1 0; }

.header-style2 .menu-left .main-menu { display:flex; /*gap:16px;*/ justify-content:flex-start; }

.header-style2 .menu-right .main-menu { display:flex; /*gap:16px;*/ justify-content:flex-end; }

.header-style2 .center-logo { text-align:center; }

.header-style2 .header-actions { display:flex; gap:12px; align-items:center; }

.header-style2 .main-menu > .menu-item { position:relative; }

.header-style2 .sub-menu { position:absolute; top:100%; left:0; min-width:200px; background:var(--header-background, #fff); border:1px solid rgba(0,0,0,.06); box-shadow: 0 8px 20px rgba(0,0,0,.08); padding:8px 0; display:none; z-index:1000; }

[data-theme="dark"] .header-style2 .sub-menu { background: var(--dark-header-background, #1a202c); border-color:#2d3748; }

.header-style2 .sub-menu .menu-item { position:relative; }

.header-style2 .sub-menu .sub-menu { top:0; left:100%; }

.header-style2 .menu-item-has-children > a { padding-right:18px; }

.header-style2 .menu-item-has-children > a::after { content:""; display:inline-block; margin-left:6px; border:4px solid transparent; border-top-color: currentColor; vertical-align: middle; }

.header-style2 .menu-item:hover > .sub-menu, .header-style2 .menu-item:focus-within > .sub-menu, .header-style2 .menu-item.open > .sub-menu { display:block; }

.header-style2 .main-menu a { display:inline-block;font-weight:bold;text-transform:uppercase;}

@media (max-width: 992px){
	.header-style2 .header-style2-inner { display:none; }          
}

.header-style2 .menu-item:hover > .sub-menu, .header-style2 .menu-item:focus-within > .sub-menu, .header-style2 .menu-item.open > .sub-menu { display:block; }

.header-style2 .main-menu a { display:inline-block;font-weight:bold;text-transform:uppercase;}

@media (max-width: 992px){
	.header-style2 .header-style2-inner { display:none; }
	.header-style2 .header-style2-mobile { display:flex; align-items:center; justify-content:space-between; width:100%; gap:12px; }
	.header-style2 .header-style2-mobile .mobile-actions { display:flex; align-items:center; gap:12px; }
	.header-style2 .menu-toggle { display:block; }
	.header-style2 .center-logo .custom-logo { max-height:48px; height:auto; width:auto; }
}

/* Desktop defaults */
.header-style2 .header-style2-mobile { display:none; }



[data-theme="dark"] .aw-related, [data-theme="dark"] .aw-post-views {
	color: #dedede;
}

[data-theme="dark"] blockquote.style1, [data-theme="dark"] blockquote.style4, [data-theme="dark"] .entry-categories a {
    background: #262e3d !important;
}
[data-theme="dark"] .post-navigation .nav-previous, [data-theme="dark"] .post-navigation .nav-next {
	background: none;
}

.search-modal {
    background: var(--header-background);	
}

[data-theme="dark"] .search-modal {
    background: var(--dark-header-background);
}

/* Ensure Style 2 mobile header is visible on small screens */
@media (max-width: 992px){
    .header-style2 .header-style2-mobile { display:flex !important; align-items:center; justify-content:space-between; width:100%; gap:12px; }
    .header-style2 .header-style2-mobile .mobile-actions { display:flex; align-items:center; gap:12px; }
    .header-style2 .menu-toggle { display:block !important; }
    .header-style2 .search-toggle, .header-style2 .theme-toggle { display:inline-flex; align-items:center; justify-content:center; }
}

/* Style 2: Mobile submenu full-width and collapsible */
@media (max-width: 992px){
    /* Override desktop dropdown positioning for mobile menu only */
    .header-style2 .mobile-menu .sub-menu {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        display: none;
        background: var(--header-background);
        border: none;
        box-shadow: none;
        margin: 0.25rem 0 0;
        padding: 0.25rem 0;
    }
    [data-theme="dark"] .header-style2 .mobile-menu .sub-menu {
        background: var(--dark-header-background);
        border: none;
        box-shadow: none;
    }
    .header-style2 .mobile-menu .menu-item-has-children.active > .sub-menu { display: block !important; }
    .header-style2 .mobile-menu .sub-menu .menu-item { position: static; }
    .header-style2 .mobile-menu .sub-menu .sub-menu { position: static; padding-left: 1rem; }
    .header-style2 .mobile-menu .sub-menu a {
        display: block;
        padding: 0.75rem calc(var(--content-spacing));
        border-left: 2px solid transparent;
    }
    .header-style2 .mobile-menu .sub-menu a:hover,
    .header-style2 .mobile-menu .sub-menu a:focus {
        border-left-color: var(--accent-color);
        background: transparent;
    }
    /* On mobile, hide dropdowns for non-active items only; .active shows submenu */
    .header-style2 .mobile-menu .menu-item:not(.active):hover > .sub-menu,
    .header-style2 .mobile-menu .menu-item:not(.active):focus-within > .sub-menu,
    .header-style2 .mobile-menu .menu-item:not(.active).open > .sub-menu {
        display: none !important;
    }
}


.tag-style9 {
	align-items: center;
    background-color: transparent;
    border: 1px solid #dedede;
    border-radius: 10px;
    font-size: 11px;
	color: #333;
    justify-content: center;
    line-height: 25px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 1px;
	text-transform: uppercase;
}

.tag-style9:before {
	background-color: var(--accent-color);
    border-radius: 100%;
    display: inline-block;
    height: 9px;
    margin-right: 5px;
    content: '';
    width: 9px;
    vertical-align: middle;
}

.tag-style9:hover {
	background-color: var(--accent-color); 
	color: #fff;
}

.tag-style10 {
	text-transform: uppercase;
    color: #4e4d4d;
    padding: 6px 12px 5px;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-block;
    font-size: 13px !important;
	font-weight: bold;
	background: #eee;
	border-radius: 6px;
}
.tag-style10:before {
	margin-right: 2px;
    content: '#';
    opacity: 0.5;
}

.tag-style4 {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    margin: 0.3rem;
    background: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 25px;
    color: #0c5460;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.tag-style4::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}
.tag-style4:hover {
    background: #0c5460;
    color: white;
    border-color: #0c5460;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(12, 84, 96, 0.3);
}
.tag-style4:hover::before {
    width: 300px;
    height: 300px;
}

/* Style 5 - Business Professional */
.tag-style5 {
    display: inline-block;
    padding: 0.5rem 1.3rem;
    margin: 0.3rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 1px solid #34495e;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9em;
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(44, 62, 80, 0.2);
    position: relative;
    overflow: hidden;
}

.tag-style5::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.4s ease;
}

.tag-style5:hover {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    border-color: #2c3e50;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(44, 62, 80, 0.3);
}

.tag-style5:hover::before {
    left: 100%;
}

.tag-style5:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(44, 62, 80, 0.2);
}

/* Style 6 - Material Design */
.tag-style6 {
    display: inline-block;
    padding: 0.5rem 1.3rem;
    margin: 0.3rem;
    background: #ffffff;
    border-radius: 4px;
    color: #424242;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.12), 0 0 6px rgba(0,0,0,0.04);
    position: relative;
}
.tag-style6::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.2s;
    background: rgba(158, 158, 158, 0.2);
}
.tag-style6:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.16), 0 4px 10px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.tag-style6:hover::after {
    opacity: 1;
}

/* Style 7 - Retro Badge */
.tag-style7 {
    display: inline-block;
    padding: 0.4rem 1rem;
    margin: 0.3rem;
    background: var(--accent-color);
	opacity: 0.7;
    border: 3px solid #ffffff;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 var(--dark-accent-color), 0 6px 6px rgba(0,0,0,0.2);
    position: relative;
    top: 0;
}
.tag-style7:hover {
    top: 2px;
    box-shadow: 0 2px 0 var(--dark-accent-color), 0 4px 4px rgba(0,0,0,0.2);
    background: var(--dark-accent-color);
	color: #fff;
}

/* Style 8 - Minimalist Underline */
.tag-style8 {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0.3rem;
    background: transparent;
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}
.tag-style8::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}
.tag-style8:hover {
    color: #3498db;
    transform: translateY(-1px);
}
.tag-style8:hover::before {
    width: 100%;
}


@media (max-width: 769px) {
	.site-content, .content-with-sidebar {
		padding: 0 10px;
	}
	
	.widget {
		padding: 0 20px;
        margin-top: 20px;
	}
	
	.entry-content p {
		font-size: 1.025rem;
	}

    .entry-content h2 {
        font-size: 1.375rem;
    }
	
	.category #secondary {
		display: none;
	}
	
	.header-style2 .menu-item-has-children > a::after { 
		/*border:4px solid transparent; */
		border: solid currentColor;
        border-width: 0 2px 2px 0;
	}
}


.meta-style1 {
	border: 0px !important;
	padding: 0;
}

.meta-style1 .author-avatar {
	display: none;
}


.meta-style1 .author-name {
	font-weight: normal;
}

.meta-style1 .author-name:before {

	content:"Автор:";
	margin-right: 2px;
}

.bottom-news-slider a {
	color: #333;
}

[data-theme="dark"] .bottom-news-slider a {
	color: #dedede;
}


.top-news-slider, .slider-dot .active {
    border-bottom: 5px solid #ffc107;
}

@media (min-width: 769px) {
    .site-logo {
        height: calc(var(--header-height) - 6px);
    }
}

.footer-logotype {
    width: 140px;
    margin-bottom: -20px;
}