:root {
    --red-bg: #ff0300;
    --button-color: #000;
    --main-color: #af0081;
    --main-dark-color: #4B4870;
    --menu-bg: #00d63d;
    --menu-bg-2: #5b8a2b;
    --menu-bg-3: #00290a;
    --menu-color: #ffffff;
    --side-bg: #ff4c60;
    --side-title: #4B4870;
    --title-color: #000000;
    --title-hover: #ff4c60;
    --footer-color: #ffffff;
    --footer-bg: #000000;
    --body-background-color: #F9F9FE;
    --body-text-color: #656565;
    --body-link-color: #e7008b;
    --posts-background-color: #ffffff;
    --posts-title-color: #333333;
    --posts-text-color: #656565;
    --posts-icons-color: #ff4c60;
    --labels-background-color: #ff4c60;
    
    /* New variables for enhanced design */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}


a {
    color: var(--body-link-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--title-hover);
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* ==================== HEADER STYLES ==================== */
#header-wrap {
    background-color: #af0081;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1000;
    padding: 5px;
}

.header-header {

}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.header-logo {
    flex: 0 0 auto;
    z-index: 1002;
}

.header-logo img {
    max-height: 60px;
    transition: var(--transition);
}

.header-logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--title-color);
}

.header-center {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.header-center .site-title {
    font-family: 'Roboto Slab', serif;
    font-size: 16px;
    font-weight: 700;
    color: #00d63d;
    margin-bottom: 5px;
    line-height: 1.2;
    font-style: italic;
}

.header-center .site-description {
    font-size: 14px;
    color: var(--body-text-color);
    font-style: italic;
    opacity: 0.8;
}

.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-social {
    display: flex;
    gap: 10px;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--main-color), var(--main-dark-color));
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.header-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.header-social a:hover::before {
    left: 100%;
}

.header-social a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-md);
}

.header-menu {
    background: linear-gradient(135deg, var(--menu-bg), #00c23a);
    position: relative;
    z-index: 1001;
}

.header-menu .header-menu-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-menu-inner-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

/* ==================== DESKTOP MENU ==================== */
#main-menu {
    display: flex;
    max-width: calc(100% - 300px);
    position: relative;
}

#main-menu > ul {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
}

#main-menu ul li {
    position: relative;
    flex-shrink: 0;
}

#main-menu ul li a {
    color: var(--menu-color);
    padding: 18px 20px;
    display: block;
    font-weight: 600;
    text-transform: capitalize;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

#main-menu ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--menu-bg-2);
    transition: var(--transition);
    transform: translateX(-50%);
}

#main-menu ul li:hover > a::before,
#main-menu ul li a:focus::before {
    width: 80%;
}

#main-menu ul li:hover > a {
    color: black;
    background-color: rgba(255, 255, 255, 0.08);
}

#main-menu ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #01952d, #04621e);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    border-top: 3px solid #00c53b;
}

#main-menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#main-menu ul li ul li a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
}

#main-menu ul li ul li:last-child a {
    border-bottom: none;
}

#main-menu ul li ul li a:hover {
    background-color: var(--menu-bg-2);
    color: black;
    padding-left: 25px;
}

#main-menu ul li.has-submenu > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
    transition: var(--transition);
}

#main-menu ul li.has-submenu:hover > a::after {
    transform: rotate(180deg);
    color: var(--menu-bg-3);
}

#main-menu ul li ul li.has-submenu > a::after {
    content: '\f105';
    float: right;
    font-size: 12px;
}

#main-menu ul li ul li ul {
    top: 0;
    left: 100%;
    border-radius: 0 var(--border-radius) var(--border-radius) var(--border-radius);
}

/* Menu items ẩn */
        .menu-item.hidden {
            display: none !important;
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            color: var(--menu-color);
            font-size: 20px;
            cursor: pointer;
            padding: 8px 10px;
            background: #5b8a2b;
            border: none;
            border-radius: 5px;
        }
/* ==================== MOBILE MENU TOGGLE ==================== */
        /* Mobile Menu */
        .mobile-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: var(--menu-bg-2);
            z-index: 1000;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .mobile-menu.active {
            display: block;
        }

        .mobile-menu ul li {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-menu ul li:last-child {
            border-bottom: none;
        }

        .mobile-menu ul li a {
            color: var(--menu-color);
            padding: 15px 20px;
            display: block;
            font-weight: 500;
        }

        .mobile-menu ul li a:hover {
            background-color: rgba(255, 255, 255, 0.05);
        }

        .mobile-menu ul li.has-submenu > a {
            position: relative;
        }

        .mobile-menu ul li.has-submenu > a::after {
            content: '\f078';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            right: 20px;
            transition: transform 0.3s ease;
        }

        .mobile-menu ul li.has-submenu.active > a::after {
            transform: rotate(180deg);
        }

        .mobile-menu ul li ul {
            display: none;
            background-color: rgba(0, 0, 0, 0.1);
        }

        .mobile-menu ul li ul.active {
            display: block;
        }

        .mobile-menu ul li ul li a {
            padding-left: 40px;
        }

        .mobile-menu ul li ul li ul li a {
            padding-left: 60px;
        }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    backdrop-filter: blur(3px);
}

.mobile-menu-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================== HEADER MENU RIGHT ==================== */
.header-menu-right {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
}

/* ==================== DROPDOWN STYLES ==================== */
/* Dropdown Wrapper */
        .dropdown-wrapper {
            position: relative;
            display: inline-block;
        }

        /* Dropdown Trigger Button */
        .dropdown-trigger {
            display: flex;
            align-items: center;
            gap: 8px;
            background-color: var(--red-bg);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 10px 16px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .dropdown-trigger:hover {
            background-color: var(--main-color);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        .dropdown-trigger:focus {
            outline: 2px solid #818cf8;
            outline-offset: 2px;
        }

        .dropdown-trigger[aria-expanded="true"] {
            background-color: var(--red-bg);
            color: #fff;
            font-weight: bold;
        }

        .dropdown-trigger[aria-expanded="true"] .dropdown-chevron {
            transform: rotate(180deg);
        }

        /* Dropdown Chevron Icon */
        .dropdown-chevron {
            transition: transform 0.2s ease;
            fill: currentColor;
        }

        /* Dropdown Menu */
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: -100px;
            margin-top: 12px;
            min-width: 280px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.2s ease;
            z-index: 1000;
            overflow: hidden;
        }

        .dropdown-menu[aria-hidden="false"] {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* Dropdown Content */
        .dropdown-content {
            padding: 8px 0;
        }

        /* Dropdown List */
        .dropdown-list {
            list-style: none;
        }

        /* Dropdown Item */
        .dropdown-item {
            border-bottom: 1px solid #f1f5f9;
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

        /* Dropdown Link */
        .dropdown-link {
            display: block;
            padding: 12px 16px;
            text-decoration: none;
            color: #334155;
            transition: background-color 0.15s ease;
        }

        .dropdown-link:hover {
            background-color: #f8fafc;
        }

        .dropdown-link:focus {
            outline: none;
            background-color: #f1f5f9;
        }

        /* Dropdown Item Content */
        .dropdown-item-content {
            display: flex;
            flex-direction: column;
        }

        /* Dropdown Title */
        .dropdown-title {
            font-weight: 500;
            color: #1e293b;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Dropdown Description */
        .dropdown-desc {
            font-size: 14px;
            color: #64748b;
        }

        /* Dropdown Tag */
        .dropdown-tag {
            background-color: #fef2f2;
            color: #fffcfc;
            font-size: 12px;
            font-weight: 600;
            padding: 2px 6px;
            border-radius: 4px;
        }

        /* Dropdown Footer */
        .dropdown-footer {
            background-color: #f8fafc;
            margin-top: -15px;
            padding: 11px;
        }

        .dropdown-footer-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-weight: 500;
            color: #00c53b;
        }

        .dropdown-footer-link:hover {
            background-color: #f1f5f9;
        }

        /* Arrow Icon */
        .arrow-icon {
            transition: transform 0.2s ease;
        }

        .dropdown-footer-link:hover .arrow-icon {
            transform: translateX(4px);
        }

/* ==================== SEARCH STYLES ==================== */
.show-search {
    color: var(--menu-color);
    cursor: pointer;
    padding: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    background: none;
    border: none;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.show-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.show-search:hover::before {
    left: 100%;
}

.show-search:hover {
    color: var(--main-color);
    background-color: rgba(255, 255, 255, 0.1);
}

#nav-search {
    display: none;
    position: absolute;
    top: 61px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--menu-bg), #00c23a);
    padding: 20px;
    z-index: 1004;
    box-shadow: var(--shadow-lg);
    animation: slideDownSearch 0.3s ease;
}

#nav-search.active {
    display: block;
}

@keyframes slideDownSearch {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#nav-search .search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

#nav-search .search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-family: inherit;
    font-size: 16px;
    background: transparent;
    transition: var(--transition);
}

#nav-search .search-input:focus {
    outline: none;
    background: #f8f9fa;
}

#nav-search .search-action {
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--main-color), var(--main-dark-color));
    color: white;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

#nav-search .search-action:hover {
    background: linear-gradient(135deg, var(--main-dark-color), var(--main-color));
    transform: translateX(2px);
}

/* ====================breadcrumb ==========================*/
.breadcrumb{
    margin-bottom: 10px;
}
.breadcrumb a{
    font-size: 16px;
    color: #00d63d;
    font-style: italic;
    font-weight: bold;
}
.breadcrumb span{
    font-size: 16px;
    font-style: italic;
    font-weight: bold;
}

/* ==================== CONTENT STYLES ==================== */
#content-wrapper {
    padding: 20px 0;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#main-wrapper {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 15px;
    
}

#main-wrapper .description ul{
    list-style-type: disc;
    position: relative; /* hoặc bỏ position */
}


#sidebar-wrapper {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}



/* ====================HOME ============================*/
.home-site .main-wrapper h1{
    line-height: 35px;
    margin-bottom: 0px;
    font-size: 24px;
    color: #af0081;
}
.home-site .main-wrapper h2, .home-site .main-wrapper h3, .home-site .main-wrapper h4, .home-site .main-wrapper h5 {
    line-height: 26px;
    font-size: 20px;
    color: #af0081;
    padding: 10px;
    margin: 10px 0px;
    background: antiquewhite;
}

.home-site .main-wrapper ul,ol{
    margin-left: 30px;
}

.home-site .main-wrapper .img-post{
    margin-bottom: 20px;
}
.home-site .main-wrapper img{
    padding: 10px 0px;
    margin: 0 auto;
}
.home-site .main-wrapper .home_description, .short_description{
    border: solid 2px #93008d;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}



/* ==================== POST STYLES ==================== */
.blog-post {
    background-color: var(--posts-background-color);
    border-radius: var(--border-radius-lg) 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: solid 1px #f1f1f1;
    box-shadow: 0px 0px 5px 3px #d3d3d3;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255,76,96,0.02));
    opacity: 0;
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-post:hover::before {
    opacity: 1;
}


.blog-post .post-info .post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 15px;
    color: #363535;
    flex-wrap: wrap;
    gap: 10px;
    font-style: italic;
    border-left: solid 3px #b5b5b5;
    margin: 10px 0px;
    background: #efefef;
    padding-left: 10px;
}

.post-image-wrap {
    position: relative;
    overflow: hidden;
}

.post-image-link {
    display: block;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-image-link:hover .post-thumb {
    transform: scale(1.1);
}

.post-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #4fff4c, #144605);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 20px;
    text-transform: capitalize;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.post-info {
    padding: 25px;
}

.post-info-title h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 22px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-info-title h2 a {
    color: var(--title-color);
    transition: var(--transition);
    background: linear-gradient(135deg, var(--title-color), var(--main-dark-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-info-title h2 a:hover {
    background: linear-gradient(135deg, var(--main-color), var(--title-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.post-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-author a {
    color: var(--main-color);
    font-weight: 500;
    transition: var(--transition);
}

.post-author a:hover {
    color: var(--main-dark-color);
}

.post-date {
    color: #4a4a4a;
    display: flex;
    align-items: center;
    gap: 5px;
    font-style: italic;
}

.post-snippet {
    margin-bottom: 20px;
    color: #000000;
    line-height: 1.7;
    font-size: 16px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(358deg, #5b8a2b, #5b8a2b);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.read-more:hover::before {
    left: 100%;
}

.read-more:hover {
    background: linear-gradient(135deg, var(--main-color), var(--main-dark-color));
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* ==================TRANG CHI TIẾT BÀI VIẾT ==============*/
.post-wrapper{
    
}
.post-wrapper h2 {
    font-size: 24px;
    max-width: max-content;
    border-bottom: solid #000 3px;
    margin-bottom: 20px;
    margin-top: 10px;
}
.post-wrapper h3{
    font-size: 20px;
}
.post-wrapper h4{
    font-size: 18px;
}
.post-wrapper h5{
    font-size: 16px;
}
.post-wrapper p{
    text-align: justify;
    font-size: 16px;
    line-height: 26px;

}

.post-wrapper ul{
    margin-left: 10px;
    
}

.post-wrapper ul li{
    list-style: square;
    margin-left: 20px;
    font-size: 16px;
    line-height: 30px;
}
.post-wrapper .post-meta {
    /* display: flex; */
    align-items: center;
    margin-bottom: 5px;
    font-size: 15px;
    color: #363535;
    /* flex-wrap: wrap; */
    /* gap: 0px; */
    font-style: italic;
    border-left: solid 3px #b5b5b5;
    margin: 10px 0px;
    background: #efefef;
}
.post-meta-info {
    display: flex;
    gap: 10px;
    padding: 2px 10px;
}

@media screen and (max-width: 768px){
    .post-meta-info{
        display: block;
        gap: 10px;
        padding: 10px;
    }
}

/* Related Post =========================================== */
/* Related Posts - Grid Layout */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-posts h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.related-posts h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #007bff;
}

/* Grid Layout */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Card Style */
.related-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Image Container */
.related-post-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.08);
}

/* Category Tag */
.related-post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

/* Content */
.related-post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-post-content h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-content h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: #007bff;
}

.related-post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta Info */
.related-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
}

.related-date {
    color: #888;
    display: flex;
    align-items: center;
}

.related-date:before {
    content: '📅';
    margin-right: 5px;
    font-size: 12px;
}

.related-views {
    color: #888;
    display: flex;
    align-items: center;
}

.related-views:before {
    content: '👁️';
    margin-right: 5px;
    font-size: 12px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .related-posts {
        margin-top: 40px;
        padding-top: 25px;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .related-post-image {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-post-image {
        height: 180px;
    }
    
    .related-posts h3 {
        font-size: 22px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.related-post-card {
    animation: fadeInUp 0.5s ease forwards;
}

/* Add delay for each card */
.related-post-card:nth-child(1) { animation-delay: 0.1s; }
.related-post-card:nth-child(2) { animation-delay: 0.2s; }
.related-post-card:nth-child(3) { animation-delay: 0.3s; }

.related-post-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.related-post-link:hover {
    text-decoration: none;
}

/* ==================== SIDEBAR STYLES ==================== */
.sidebar .widget {
    background-color: var(--posts-background-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sidebar .widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--side-bg), var(--main-dark-color));
    transition: var(--transition);
}

.sidebar .widget:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.sidebar .widget:hover::before {
    width: 6px;
}


.widget-title {
    margin-bottom: 10px;
    padding-bottom: 0px;
    border-bottom: 2px solid #af0081;
    position: relative;
}

#sidebar-wrapper .widget .list-label{
    border: solid 2px #af0081;
    padding: 20px;
    border-radius: 10px;
}
#sidebar-wrapper .sidebar{
    margin-bottom: 20px;
}


.widget-title h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    color: var(--title-color);
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.widget-title h3:after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 68px;
    height: 3px;
    background: linear-gradient(135deg, #af0081, #ffffff);
    border-radius: 0px;
}

/* Popular Posts Widget */
.popular-post {
    display: flex;
    margin-bottom: 6px;
    padding-bottom: 0px;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
    align-items: center;
}

.popular-post:hover {
    transform: translateX(8px);
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post-image {
    flex: 0 0 80px;
    margin-right: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.popular-post-image img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    transition: var(--transition);
}

.popular-post:hover .popular-post-image img {
    transform: scale(1.1);
}

.popular-post-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post-info h4 a {
    color: var(--title-color);
    transition: var(--transition);
    font-weight: 600;
}

.popular-post-info h4 a:hover {
    color: var(--title-hover);
}

.popular-post-date {
    font-size: 12px;
    color: #5e5c5c;
    display: flex;
    align-items: center;
    gap: 5px;
    font-style: italic;
}

/* Social Widget */
.sidebar .social-counter {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;
    list-style: none;
}

.sidebar .social-counter li {
    flex: 0 0 16%;
    padding: 5px;
}

.sidebar .social-counter li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 16px;
    position: relative;
    overflow: hidden;
    background: var(--main-color);
}

.sidebar .social-counter li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.sidebar .social-counter li a:hover::before {
    left: 100%;
}

.sidebar .social-counter li a:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.sidebar .social-color .facebook a {
    background: linear-gradient(135deg, #3b5999, #2d4373);
}

.sidebar .social-color .x-twitter a {
    background: linear-gradient(135deg, #14171A, #000000);
}

.sidebar .social-color .instagram a {
    background: linear-gradient(135deg, #ffb13d, #dd277b, #4d5ed4);
}

.sidebar .social-color .pinterest a {
    background: linear-gradient(135deg, #ca2127, #9c1b1f);
}

.sidebar .social-color .linkedin a {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.sidebar .social-color .youtube a {
    background: linear-gradient(135deg, #f50000, #cc0000);
}

.sidebar .social-color .whatsapp a {
    background: linear-gradient(135deg, #3fbb50, #25d366);
}

.sidebar .social-color .skype a {
    background: linear-gradient(135deg, #00aff0, #0078d7);
}

/* Categories Widget */
.sidebar .list-label {
    list-style: none;
}
.list-label li {
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
    transition: var(--transition);
    position: relative;
}

.list-label li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--main-color);
    transition: var(--transition);
}

.list-label li:hover::before {
    width: 80px;
}

.list-label li:hover {
    transform: translateX(8px);
}

.list-label li:last-child {
    border-bottom: none;
}

.list-label li a {
    display: flex;
    justify-content: space-between;
    color: var(--title-color);
    transition: var(--transition);
    font-weight: 500;
    padding-left: 0px;
    border-bottom: solid 1px #af0081;
    padding-bottom: 10px;
}

.list-label li a:hover {
    color: var(--title-hover);
}

.label-count {
    background: linear-gradient(135deg, var(--main-color), var(--main-dark-color));
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    min-width: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

/* ==================== FOOTER STYLES ==================== */
#footer-wrapper {
    background: #af0081;
    color: var(--footer-color);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

#footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.02"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.footer-widgets-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    position: relative;
    z-index: 1;
}

.footer {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.footer .widget-title h3 {
    color: var(--footer-color);
}

.footer .widget-title h3:after {
    background: linear-gradient(135deg, var(--footer-color), var(--main-color));
}


.footer .widget .list-label li a {
    display: flex;
    justify-content: space-between;
    color: var(--title-color);
    transition: var(--transition);
    font-weight: 500;
    padding-left: 0px;
}

.footer .widget .widget-content .tag-item {
    color: #fff;
    display: block;
    line-height: 30px;
}
.footer .widget .widget-content .tag-item:hover {
    color: #000;
    display: block;
    line-height: 30px;
}
.footer .list-label{
    list-style: none;
}
#sub-footer-wrapper {
    background: rgba(0, 0, 0, 0.3);
    padding: 1px 0;
    margin-top: 50px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

#menu-footer ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

#menu-footer ul li a {
    color: var(--footer-color);
    transition: var(--transition);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

#menu-footer ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--main-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

#menu-footer ul li a:hover::before {
    width: 80%;
}

#menu-footer ul li a:hover {
    color: var(--main-color);
    background: rgba(255, 255, 255, 0.1);
}


.copyright-area {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.copyright-area a {
    color: var(--main-color);
    font-weight: 600;
    transition: var(--transition);
}

.copyright-area a:hover {
    color: white;
    text-decoration: underline;
}

/* ==================== BACK TO TOP BUTTON ==================== */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--main-color), var(--main-dark-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
}

.back-top.active {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    opacity: 1;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 76, 96, 0.3);
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    #main-menu {
        max-width: calc(100% - 250px);
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    #main-wrapper, #sidebar-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #sidebar-wrapper {
        margin-top: 40px;
    }

    .footer {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .header-center {
        display: none;
    }

    .header-right {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }

    .header-social {
        gap: 8px;
    }

    .header-social a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .header-container {
        justify-content: space-between;
        align-items: center;
    }
    
    .post-image-link {
        height: 240px;
    }
}

@media (max-width: 991px) {
    #main-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .header-right {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .header-social {
        gap: 6px;
    }

    .header-social a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .header-menu-right {
        gap: 8px;
    }

    .dropdown-menu {
        position: absolute;
        top: 50px;
        bottom: -350px;
        left: -140px;
        transform: translateX(-50%) translateY(100%);
        width: 100%;
        max-width: 400px;
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
        margin-top: 0;
    }

    .dropdown-menu.show {
        transform: translateX(-50%) translateY(0);
    }

}
@media (max-width: 768px) {
    #main-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .header-right {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .header-social {
        gap: 6px;
    }

    .header-social a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .header-menu-right {
        gap: 8px;
    }

    .dropdown-menu {
        position: absolute;
        top: 50px;
        bottom: -350px;
        left: -140px;
        transform: translateX(-50%) translateY(100%);
        width: 100%;
        max-width: 400px;
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
        margin-top: 0;
    }

    .dropdown-menu.show {
        transform: translateX(-50%) translateY(0);
    }

    #nav-search {
        padding: 15px;
    }
    
    #nav-search .search-form {
        flex-direction: column;
        border-radius: var(--border-radius);
    }
    
    #nav-search .search-input {
        padding: 12px 15px;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    #nav-search .search-action {
        padding: 12px 20px;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .post-image-link {
        height: 220px;
    }
    
    .post-info {
        padding: 20px;
    }
    
    .blog-post:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .post-image-link {
        height: 200px;
    }

    .post-info-title h2 {
        font-size: 18px;
    }

    .social-counter li {
        flex: 0 0 33.333333%;
    }

    .header-logo img {
        max-height: 50px;
    }

    .header-right {
        gap: 8px;
    }

    .header-social {
        gap: 4px;
    }

    .header-social a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .header-menu-right {
        gap: 6px;
    }

    .dropdown-trigger {
        padding: 10px 15px;
        font-size: 13px;
    }

    .show-search {
        padding: 12px;
        font-size: 15px;
    }
    
    .mobile-menu {
        width: 100%;
    }
    
    .footer-widgets-wrap {
        margin: 0 -10px;
    }

    .footer {
        padding: 0 10px;
    }

    #menu-footer ul {
        gap: 10px;
    }

    #menu-footer ul li {
        margin: 0 3px;
    }
    
    .back-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0px;
        
    }

    .header-logo {
        flex: none;
        text-align: center;
        margin-bottom: 10px;
    }

    .header-right {
        justify-content: center;
        width: 100%;
    }
    
    .header-menu-right {
        justify-content: right;
        width: 100%;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .popular-post {
        flex-direction: column;
        text-align: center;
    }
    
    .popular-post-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .social-counter li {
        flex: 0 0 50%;
    }
}

/* ==================== ACCESSIBILITY & FOCUS MANAGEMENT ==================== */
.dropdown-trigger:focus {
    outline: 3px solid var(--main-color);
    outline-offset: 2px;
}

.dropdown-link:focus {
    outline: 2px solid var(--main-color);
    outline-offset: -2px;
}

.show-search:focus {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}

.search-input:focus {
    outline: 2px solid var(--main-color);
    outline-offset: -2px;
}

/* Skip to main content for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--main-color);
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --body-text-color: #000000;
        --title-color: #000000;
        --main-color: #000000;
        --main-dark-color: #333333;
    }
    
    .blog-post {
        border: 2px solid #000000;
    }
}

/* Dark mode support 
@media (prefers-color-scheme: dark) {
    :root {
        --body-background-color: #1a1a1a;
        --body-text-color: #e0e0e0;
        --title-color: #ffffff;
        --posts-background-color: #2d2d2d;
        --posts-text-color: #e0e0e0;
    }
}
*/

/* COMMENT */
.comments {
  padding-bottom: 25px;
}
.comments .write-comment button, .comments .comment-login-form button, .comments .comment-register-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #af0081;
  color: #ffffff;
  text-decoration: none;
  margin: 5px 5px 0 0;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  height: 35px;
  border: 0;
  transition: background-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.comments .write-comment button:hover, .comments .comment-login-form button:hover, .comments .comment-register-form button:hover {
  background-color: #373a45;
  transition: background-color 0.2s ease;
}
.comments .write-comment button:disabled, .comments .comment-login-form button:disabled, .comments .comment-register-form button:disabled {
  background-color: #b3b5ba;
  color: white;
  cursor: not-allowed;
}
.comments .write-comment button:disabled:hover, .comments .comment-login-form button:disabled:hover, .comments .comment-register-form button:disabled:hover {
  background-color: #b3b5ba;
}
.comments .write-comment button.alt, .comments .comment-login-form button.alt, .comments .comment-register-form button.alt {
  background-color: transparent;
  border: 1px solid #c4c7d0;
  color: #6f768c;
  font-weight: 500;
  transition: border 0.2s ease;
}
.comments .write-comment button.alt:hover, .comments .comment-login-form button.alt:hover, .comments .comment-register-form button.alt:hover {
  border: 1px solid #8b91a3;
  color: #595e6f;
  transition: border 0.2s ease;
}
.comments .login-btn, .comments .register-btn, .comments .search-btn {
    text-decoration: none;
    color: #af0081;
    font-size: 14px;
    font-weight: 500;
    padding-right: 15px;
}
.comments .login-btn:hover, .comments .register-btn:hover, .comments .search-btn:hover {
  color: #888c9d;
}
.comments .login-btn i, .comments .register-btn i, .comments .search-btn i {
  padding-right: 10px;
}
.comments .search-btn {
  padding-right: 0;
  padding-left: 15px;
  font-size: 14px;
}
.comments .comment-header {
  display: flex;
  border-bottom: 1px solid #f0f1f5;
  padding: 25px 0 15px 0;
  margin-bottom: 10px;
  align-items: center;
}
.comments .comment-header .total {
    color: #000000;
    font-size: 16px;
    padding-right: 25px;
    font-weight: 500;
}
.comments .comment-header .comment-btns {
  flex-grow: 1;
}
.comments .comment-header .sort-by {
  display: inline-flex;
  align-items: center;
  position: relative;
  height: 35px;
  z-index: 999;
}
.comments .comment-header .sort-by a {
  text-decoration: none;
  font-size: 14px;
}
.comments .comment-header .sort-by > a {
  color: #71737c;
  font-weight: 500;
}
.comments .comment-header .sort-by > a i {
  padding-left: 10px;
  color: #c1c3ce;
}
.comments .comment-header .sort-by .options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 160px;
  border-radius: 4px;
  overflow: hidden;
  flex-flow: column;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
}
.comments .comment-header .sort-by .options a {
  padding: 6px 10px;
  border-bottom: 1px solid #f2f2f7;
  color: #707179;
  background-color: #fff;
  font-size: 14px;
}
.comments .comment-header .sort-by .options a:last-child {
  border: 0;
}
.comments .comment-header .sort-by .options a:hover {
  background-color: #424449;
  color: #fff;
}
.comments .comment-header .sort-by:hover .options, .comments .comment-header .sort-by:active .options {
  display: flex;
}
.comments .comment-header .sort-by:hover > a, .comments .comment-header .sort-by:active > a {
  color: #4d4e54;
}
.comments .comment-header .sort-by:hover > a i, .comments .comment-header .sort-by:active > a i {
  color: #969aac;
}
.comments .write-comment, .comments .comment-auth-forms {
  width: 100%;
  padding: 10px 0 10px 0;
}
.comments .write-comment.hidden, .comments .comment-auth-forms.hidden {
  display: none;
}
.comments .write-comment .content, .comments .comment-auth-forms .content {
  display: flex;
  flex-flow: column;
  width: 100%;
  padding: 5px 0 0 0;
}
.comments .write-comment .content textarea, .comments .comment-auth-forms .content textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #af0081;
  border-bottom: 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  height: 150px;
  margin-top: 5px;
  resize: none;
  outline: 0;
}
.comments .write-comment .content textarea::-moz-placeholder, .comments .comment-auth-forms .content textarea::-moz-placeholder {
  color: #a8abb4;
}
.comments .write-comment .content textarea::placeholder, .comments .comment-auth-forms .content textarea::placeholder {
  color: #a8abb4;
}
.comments .write-comment .content .toolbar, .comments .comment-auth-forms .content .toolbar {
    display: flex;
    width: 100%;
    border: 1px solid #af0081;
    background-color: #f8f8f8;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.comments .write-comment .content .toolbar .fa-solid, .comments .comment-auth-forms .content .toolbar .fa-solid {
  padding: 10px;
  cursor: pointer;
  color: #7a7a7a;
  font-size: 14px;
}
.comments .write-comment .content .toolbar .fa-solid:hover, .comments .comment-auth-forms .content .toolbar .fa-solid:hover {
  color: #474747;
}
.comments .write-comment input, .comments .comment-auth-forms input {
    display: block;
    width: 250px;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #af0081;
    border-radius: 5px;
    margin-top: 10px;
}
.comments .write-comment input::-moz-placeholder, .comments .comment-auth-forms input::-moz-placeholder {
  color: #a8abb4;
}
.comments .write-comment input::placeholder, .comments .comment-auth-forms input::placeholder {
  color: #a8abb4;
}
.comments .write-comment button, .comments .comment-auth-forms button {
  cursor: pointer;
}
.comments .write-comment .msg .error, .comments .comment-auth-forms .msg .error {
  display: inline-block;
  padding: 10px 0 0 0;
  color: #d10e0e;
  font-size: 14px;
  font-weight: 500;
}
.comments .write-comment {
  padding: 5px 0 15px 0;
}
.comments .comment-auth-forms {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #f0f1f5;
  margin-bottom: 25px;
  padding: 25px 0;
}
.comments .comment-auth-forms button {
  margin-top: 20px;
}
.comments .comment-auth-forms form h3 {
  margin: 0;
  padding: 0 0 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: #7e808a;
}
.comments .comment-auth-forms form.comment-register-form {
  border-left: 1px solid #f0f1f5;
  padding-left: 35px;
  margin-left: 35px;
}
.comments .comment-content .comment-placeholder-content, .comments .comment-content .comment-search input {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #af0081;
    border-radius: 4px;
    margin: 20px 0;
}
.comments .comment-content .comment-placeholder-content::-moz-placeholder, .comments .comment-content .comment-search input::-moz-placeholder {
  color: #a8abb4;
}
.comments .comment-content .comment-placeholder-content::placeholder, .comments .comment-content .comment-search input::placeholder {
  color: #a8abb4;
}
.comments .comment-content .comment-search {
  display: none;
  position: relative;
}
.comments .comment-content .comment-search i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #a8abb4;
  font-size: 14px;
}
.comments .comment-content .comment-search input {
  padding-left: 40px;
}
.comments .comment {
  display: flex;
  flex-flow: row;
  width: 100%;
  max-width: 100%;
  padding-top: 10px;
}
.comments .comment > .comment-profile-picture {
  width: 55px;
  padding-right: 12px;
}
.comments .comment > .comment-profile-picture span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background-color: #777;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
}
.comments .comment > .comment-profile-picture img {
  border-radius: 50px;
  width: 42px;
  height: 42px;
}
.comments .comment > .con {
  display: flex;
  flex-flow: column;
  width: calc(100% - 55px);
  max-width: calc(100% - 55px);
}
.comments .comment > .con.highlighted {
  border-left: 3px solid #416daf;
  padding-left: 20px;
}
.comments .comment > .con .votes {
  display: flex;
  flex-flow: column;
  min-width: 40px;
  align-items: center;
}
.comments .comment > .con .votes .up, .comments .comment > .con .votes .down {
  display: flex;
  text-decoration: none;
}
.comments .comment > .con .votes .up span {
  transform: rotate(45deg);
}
.comments .comment > .con .votes .down span {
  transform: rotate(225deg);
}
.comments .comment > .con .name {
    display: inline;
    padding: 0 7px 0 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}
.comments .comment > .con .role {
  display: inline;
  padding: 1px 4px;
  margin: 0 6px 0 2px;
  font-size: 12px;
  font-weight: 500;
  background-color: #af0081;
  color: #fff;
  border-radius: 4px;
}
.comments .comment > .con .featured {
  color: #b3b3be;
  margin: 0 5px;
  transform: rotate(45deg);
}
.comments .comment > .con .date, .comments .comment > .con .edited {
  color: #8a8a92;
  font-size: 12px;
  margin-right: 5px;
  margin-left: 2px;
}
.comments .comment > .con .toggle-comment {
  color: #c9c9d3;
  text-decoration: none;
  display: inline-flex;
  margin-left: auto;
}
.comments .comment > .con .toggle-comment:hover {
  color: #adadbc;
}
.comments .comment > .con .comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.comments .comment > .con .comment-meta:hover ~ .comment-footer .share-comment-btn, .comments .comment > .con .comment-meta:active ~ .comment-footer .share-comment-btn {
  display: inline-block;
}
.comments .comment > .con .comment-content {
  position: relative;
  max-width: 100%;
  padding: 6px 0 8px 0;
  margin: 0;
  color: #1c1c1c;
}
.comments .comment > .con .comment-content p {
  color: inherit;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
}
.comments .comment > .con .comment-content h6 {
  margin: 0;
  padding: 5px 0;
  color: #4b4b4b;
  word-wrap: break-word;
}
.comments .comment > .con .comment-content strong {
  color: inherit;
  font-weight: bold;
  word-wrap: break-word;
}
.comments .comment > .con .comment-content pre {
  color: inherit;
  max-width: 100%;
}
.comments .comment > .con .comment-content code {
  font-family: Consolas, monaco, monospace;
  border-left: 3px solid #416daf;
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
}
.comments .comment > .con .comment-content blockquote {
  border-left: 3px solid #777;
}
.comments .comment > .con .comment-content code, .comments .comment > .con .comment-content blockquote {
  color: inherit;
  display: block;
  padding: 0 10px;
  margin: 10px 0;
  font-size: 14px;
  word-wrap: break-word;
}
.comments .comment > .con .comment-content a {
  color: #1668e2;
  text-decoration: none;
  word-wrap: break-word;
}
.comments .comment > .con .comment-content a:hover {
  text-decoration: underline;
}
.comments .comment > .con .comment-content:hover ~ .comment-footer .share-comment-btn, .comments .comment > .con .comment-content:active ~ .comment-footer .share-comment-btn {
  display: inline-block;
}
.comments .comment > .con .comment-awaiting-approval {
  padding: 10px 0;
  font-size: 14px;
  font-style: italic;
  color: #8a8a92;
}
.comments .comment .comment-footer {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.comments .comment .comment-footer a {
  display: inline-block;
  text-decoration: none;
  padding: 0 5px;
}
.comments .comment .comment-footer a:hover .arrow {
  border: solid #64646b;
  border-width: 0 2px 2px 0;
}
.comments .comment .comment-footer .num {
  color: #8a8a92;
  padding-right: 5px;
  font-size: 14px;
}
.comments .comment .comment-footer .arrow {
  border: solid #8a8a92;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 2px;
}
.comments .comment .comment-footer .arrow.up {
  transform: translateY(-2px) rotate(-135deg);
}
.comments .comment .comment-footer .arrow.down {
  transform: translateY(-4px) rotate(45deg);
}
.comments .comment .comment-footer .reply-comment-btn, .comments .comment .comment-footer .share-comment-btn, .comments .comment .comment-footer .edit-comment-btn, .comments .comment .comment-footer .moderate-comment-btn, .comments .comment .comment-footer .delete-comment-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  color: #8a8a92;
}
.comments .comment .comment-footer .reply-comment-btn:hover, .comments .comment .comment-footer .share-comment-btn:hover, .comments .comment .comment-footer .edit-comment-btn:hover, .comments .comment .comment-footer .moderate-comment-btn:hover, .comments .comment .comment-footer .delete-comment-btn:hover {
  color: #64646b;
}
.comments .comment .comment-footer .reply-comment-btn.selected, .comments .comment .comment-footer .share-comment-btn.selected, .comments .comment .comment-footer .edit-comment-btn.selected, .comments .comment .comment-footer .moderate-comment-btn.selected, .comments .comment .comment-footer .delete-comment-btn.selected {
  font-weight: 500;
}
.comments .comment .comment-footer .reply-comment-btn {
  margin-left: 5px;
}
.comments .comment .comment-footer .share-comment-btn {
  display: none;
}
.comments .comment .comment-footer:hover .share-comment-btn, .comments .comment .comment-footer:active .share-comment-btn {
  display: inline-block;
}
.comments .show-more-comments {
  display: flex;
  justify-content: center;
  align-items: center;
}
.comments .show-more-comments a {
  display: inline-block;
  max-width: 250px;
  width: 100%;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  color: #93969b;
  background-color: #edeff3;
  margin: 25px 0;
  font-size: 14px;
}
.comments .show-more-comments a:hover {
  background-color: #e7eaef;
}
.comments .loader {
  display: inline-block;
  border: 2px solid #999;
  border-top: 2px solid #eee;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: spin 1s ease infinite;
}
.comments .loader.hidden {
  display: none;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 500px) {
  .comments .comment-header .total {
    font-size: 14px;
  }
  .comments .comment > .comment-profile-picture {
    width: 40px;
  }
  .comments .comment > .comment-profile-picture span {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .comments .comment > .comment-profile-picture img {
    width: 32px;
    height: 32px;
  }
  .comments .comment > .con {
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
  }
  .comments .comment > .con .edited {
    display: none;
  }
  .comments .comment-auth-forms form {
    width: 100%;
  }
  .comments .comment-auth-forms form.comment-register-form {
    border-top: 1px solid #f0f1f5;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    padding-top: 25px;
    margin-top: 35px;
  }
}