/**
 * VSEDIT Theme - Main Styles
 * Layout modelled on the News Portal theme (vipulsquad.com)
 *
 * @package VSEDIT_Theme
 */

/* ============================================
   Design Tokens
   ============================================ */
:root {
    --primary: #029FB2;
    --primary-dark: #006d80;
    --text-color: #3d3d3d;
    --text-light: #5f5f5f;
    --text-muted: #767676;
    --white: #ffffff;
    --border-color: #e1e1e1;
    --title-bar-bg: #f7f7f7;
    --cat-color: #00a9e0;
    --cat-color-dark: #0077ae;
    --container-width: 1170px;
    --transition: all 0.3s ease;
}

/* ============================================
   Container & Layout
   ============================================ */
.mt-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

#page {
    background: var(--white);
}

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

.np-ticker-wrapper + .site-content {
    margin-top: 20px;
}

.site-content > .mt-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#primary.content-area {
    width: 70%;
    min-width: 0;
}

#secondary.widget-area {
    width: 27%;
    min-width: 0;
}

.no-sidebar #primary.content-area {
    width: 100%;
}

/* ============================================
   Top Header Bar
   ============================================ */
.np-top-header-wrap {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 12px;
}

.np-top-header-wrap .mt-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.np-top-left-section-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.date-section {
    margin-right: 10px;
    white-space: nowrap;
}

.date-section i {
    margin-right: 6px;
}

.top-navigation ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.top-navigation ul li {
    border-left: 1px solid var(--white);
    line-height: 12px;
    padding: 0 10px;
}

.top-navigation ul li a {
    color: var(--white);
}

.top-navigation ul li a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.top-navigation ul ul {
    display: none;
}

.np-top-right-section-wrapper {
    flex-shrink: 0;
}

.mt-social-icons-wrapper {
    display: flex;
    align-items: center;
}

.mt-social-icons-wrapper .social-link a {
    color: var(--white);
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    margin-left: 14px;
}

.mt-social-icons-wrapper .social-link a:hover {
    opacity: 0.8;
}

/* ============================================
   Logo Section
   ============================================ */
.np-logo-section-wrapper {
    padding: 20px 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 5px 0;
}

.site-logo {
    flex-shrink: 0;
    line-height: 0;
}

.site-logo .custom-logo-link {
    display: inline-block;
}

.site-logo .custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 100px;
    max-width: 260px;
    transition: transform 0.3s ease;
}

.site-logo .custom-logo-link:hover .custom-logo {
    transform: scale(1.04);
}

.site-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    margin: 0;
}

.site-title a,
.site-description {
    color: var(--primary);
}

.site-description {
    margin: 0;
    font-size: 14px;
}

/* ============================================
   Navigation Menu Bar
   ============================================ */
.np-header-menu-wrapper {
    background: var(--primary);
    position: relative;
    z-index: 100;
}

.np-header-menu-wrapper.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: vseditSlideDown 0.3s ease;
}

.admin-bar .np-header-menu-wrapper.sticky-nav {
    top: 32px;
}

@keyframes vseditSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.np-header-menu-block-wrap {
    position: relative;
}

/* Curved shadow under the menu bar */
.np-header-menu-block-wrap::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 960px;
    max-width: 100%;
    height: 38px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: -1;
}

.sticky-nav .np-header-menu-block-wrap::after {
    display: none;
}

.np-header-menu-block-wrap .mt-container {
    display: flex;
    align-items: center;
    min-height: 40px;
}

/* Home Icon */
.np-home-icon a {
    display: block;
    color: var(--white) !important;
    font-size: 14px;
    line-height: 40px;
    padding: 0 12px;
    position: relative;
}

.home .np-home-icon a,
.np-home-icon a:hover {
    background: var(--primary-dark);
}

/* Menu Toggle (Hamburger) - mobile only */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 20px;
    line-height: 40px;
    height: 40px;
    padding: 0 15px;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: var(--primary-dark);
    outline: none;
}

/* Main Navigation */
.mt-header-menu-wrap {
    flex: 1;
    min-width: 0;
}

#site-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#site-navigation > ul {
    display: flex;
    flex-wrap: wrap;
}

#site-navigation ul li {
    line-height: 40px;
    position: relative;
}

#site-navigation ul li a {
    display: block;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--white);
    padding: 0 15px;
    position: relative;
    text-transform: capitalize;
    font-size: 14px;
}

#site-navigation ul li:hover > a,
#site-navigation ul li:focus-within > a,
#site-navigation ul li.current-menu-item > a,
#site-navigation ul li.current_page_item > a,
#site-navigation ul li.current-menu-ancestor > a,
#site-navigation ul li.current-cat > a {
    background: var(--primary-dark);
}

/* Active triangle */
.home .np-home-icon a::after,
.np-home-icon a:hover::after,
#site-navigation > ul > li:hover > a::after,
#site-navigation > ul > li.current-menu-item > a::after,
#site-navigation > ul > li.current_page_item > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-bottom: 5px solid var(--white);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

/* Dropdown arrow */
#site-navigation ul li.menu-item-has-children > a,
#site-navigation ul li.page_item_has_children > a {
    padding-right: 30px;
}

#site-navigation ul li.menu-item-has-children > a::before,
#site-navigation ul li.page_item_has_children > a::before {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#site-navigation ul ul li.menu-item-has-children > a::before {
    content: "\f105";
}

/* Sub Menu */
#site-navigation ul.sub-menu,
#site-navigation ul.children {
    background: var(--primary);
    width: 200px;
    position: absolute;
    top: 100%;
    left: -9999rem;
    z-index: 99;
    opacity: 0;
    transform: translateY(0.6rem);
    transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

#site-navigation ul li:hover > ul.sub-menu,
#site-navigation ul li:focus-within > ul.sub-menu,
#site-navigation ul li:hover > ul.children,
#site-navigation ul li:focus-within > ul.children {
    left: 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.15s linear, transform 0.15s ease;
}

#site-navigation ul.sub-menu li,
#site-navigation ul.children li {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#site-navigation ul.sub-menu li:last-child,
#site-navigation ul.children li:last-child {
    border-bottom: none;
}

#site-navigation ul.sub-menu li a,
#site-navigation ul.children li a {
    border: none;
    line-height: 24px;
    padding: 8px 15px;
}

#site-navigation ul.sub-menu ul,
#site-navigation ul.children ul {
    top: 0;
}

#site-navigation ul.sub-menu li:hover > ul,
#site-navigation ul.sub-menu li:focus-within > ul {
    left: 100%;
}

.sub-toggle {
    display: none;
}

/* Icon Elements (Dark Mode + Search) */
.np-icon-elements-wrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.np-icon-elements {
    margin: 10px 20px 10px 0;
}

#mode-switcher {
    display: block;
    width: 40px;
    height: 20px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.75);
    position: relative;
    transition: 0.25s;
}

#mode-switcher .site-mode-icon {
    position: absolute;
    top: 50%;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mode-switcher .site-mode-icon i {
    color: #111;
    font-size: 10px;
    line-height: 1;
}

#mode-switcher.dark-mode {
    background: #6f6f6f;
}

#mode-switcher.dark-mode .site-mode-icon {
    left: 22px;
}

/* Header Search */
.np-header-search-wrapper {
    position: relative;
}

.search-main a {
    display: block;
    color: var(--white);
    line-height: 40px;
    padding: 0 2px;
    font-size: 15px;
}

.search-main a:hover,
.search-main a:focus {
    color: var(--white);
    opacity: 0.85;
}

.np-header-search-wrapper .search-form-main {
    background: var(--white);
    border-top: 2px solid var(--primary);
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.15);
    padding: 15px;
    position: absolute;
    right: 0;
    top: 130%;
    width: 300px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.np-header-search-wrapper .search-form-main.active {
    opacity: 1;
    visibility: visible;
}

.np-header-search-wrapper .search-form-main::before {
    content: "";
    position: absolute;
    right: 5px;
    top: -12px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--primary);
}

/* ============================================
   Search Form (global)
   ============================================ */
.search-form {
    display: flex;
    width: 100%;
}

.search-form label {
    flex: 1;
    min-width: 0;
}

.search-form .search-field {
    width: 100%;
    height: 36px;
    padding: 3px 8px;
    border: 1px solid #ccc;
    border-right: none;
    color: #666;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.search-form .search-field:focus {
    border-color: #aaa;
}

.search-form .search-submit {
    height: 36px;
    padding: 0 14px;
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--white);
    cursor: pointer;
    border-radius: 0;
}

.search-form .search-submit:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ============================================
   News Ticker
   ============================================ */
.np-ticker-block {
    border: 1px solid var(--border-color);
    margin: 30px 0 0;
    position: relative;
    display: flex;
    align-items: stretch;
}

.ticker-caption {
    background: #464646;
    color: var(--white);
    display: flex;
    align-items: center;
    margin-right: 20px;
    padding: 5px 15px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-content-wrapper {
    flex: 1;
    min-width: 0;
    padding-right: 70px;
    overflow: hidden;
}

.news-ticker-list {
    margin: 0;
}

.news-ticker-list .ticker-item {
    display: none;
}

.news-ticker-list .ticker-item:first-child,
.news-ticker-list .ticker-item.active {
    display: block;
}

.news-ticker-list.is-ready .ticker-item:first-child:not(.active) {
    display: none;
}

.news-ticker-list .ticker-item.active {
    animation: vseditTickerIn 0.4s ease;
}

@keyframes vseditTickerIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.news-ticker-title {
    display: flex;
    align-items: center;
    min-height: 35px;
}

.ticker-content-wrapper .post-cats-list {
    flex-shrink: 0;
    margin-right: 15px;
}

.news-ticker-title > a {
    color: #333;
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-ticker-title > a:hover {
    color: var(--primary);
}

.ticker-nav {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
}

.ticker-nav button {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 4px 5px;
}

.ticker-nav button:hover {
    color: var(--primary-dark);
}

/* Category buttons */
.post-cats-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.post-cats-list a {
    display: block;
    background: var(--cat-color);
    color: var(--white) !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    padding: 1px 12px;
    text-transform: capitalize;
}

.post-cats-list a:hover {
    background: var(--cat-color-dark);
}

/* ============================================
   Archive / Blog Post Cards
   ============================================ */
.site-main > article.post,
.site-main > article.hentry {
    margin-bottom: 40px;
}

.np-article-thumb {
    overflow: hidden;
}

.np-article-thumb a {
    display: block;
}

.np-article-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.np-archive-post-content-wrapper {
    background: var(--white);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
}

.np-archive-post-content-wrapper::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 20px;
    border-bottom: 15px solid var(--white);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
}

article:not(.has-post-thumbnail) .np-archive-post-content-wrapper::before {
    display: none;
}

.np-archive-post-content-wrapper .entry-title {
    font-size: 20px;
    margin: 0 0 6px;
}

.np-archive-post-content-wrapper .entry-title a {
    color: #333;
}

.entry-title a:hover {
    color: var(--primary);
}

/* Entry Meta */
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    column-gap: 15px;
}

.entry-meta > span {
    font-size: 13px;
    text-transform: capitalize;
}

.entry-meta span,
.entry-meta span a {
    color: var(--text-muted);
}

.entry-meta span i {
    margin-right: 5px;
}

.entry-meta span a:hover {
    color: var(--primary);
}

.entry-meta .updated {
    display: none;
}

.entry-content {
    margin-top: 15px;
    word-wrap: break-word;
}

.np-archive-post-content-wrapper .entry-content p {
    margin-bottom: 15px;
}

/* Buttons */
.np-button {
    display: inline-block;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 3px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 20px;
}

.np-button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.np-button i {
    margin-right: 8px;
}

.np-archive-more .np-button {
    background: #fafafa;
    border: 1px solid #eeeeee;
    color: #666666;
    padding: 4px 20px;
}

.np-archive-more .np-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ============================================
   Single Post & Page
   ============================================ */
.single .site-main > article,
.page .site-main > article {
    margin-bottom: 30px;
}

.single .np-article-thumb {
    margin-bottom: 15px;
}

.single .post-cats-list {
    margin: 6px 0;
}

article.hentry h1.entry-title {
    color: #353535;
    font-size: 26px;
    line-height: 1.2;
    margin: 10px 0;
    text-transform: capitalize;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin: 0 0 15px;
}

.entry-content h1 { font-size: 32px; }
.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 24px; }
.entry-content h4 { font-size: 20px; }
.entry-content h5 { font-size: 18px; }
.entry-content h6 { font-size: 16px; }

.entry-content ul,
.entry-content ol,
.comment-content ul,
.comment-content ol {
    margin: 0 0 15px 20px;
}

.entry-content ul,
.comment-content ul {
    list-style: disc;
}

.entry-content ol,
.comment-content ol {
    list-style: decimal;
}

.entry-content li > ul,
.entry-content li > ol {
    margin-bottom: 0;
    margin-left: 15px;
}

.entry-content hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin: 0 0 20px;
}

.entry-content hr.wp-block-separator {
    background: none;
    border-top: 2px solid;
    height: 0;
    opacity: 0.4;
    margin: 25px 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary);
    margin: 0 0 20px;
    padding: 5px 0 5px 20px;
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
}

.entry-content pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

.entry-content code {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 14px;
}

.entry-content table {
    width: 100%;
    margin: 0 0 15px;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
}

.entry-content th,
.entry-content td {
    border: 1px solid #ccc;
    padding: 5px 10px;
}

.entry-content img {
    height: auto;
}

.entry-content iframe,
.entry-content embed,
.entry-content video {
    max-width: 100%;
}

.entry-footer {
    margin-top: 10px;
    font-size: 13px;
}

.entry-footer .tags-links i {
    margin-right: 3px;
}

.entry-footer .tags-links a {
    border: 1px solid var(--border-color);
    color: #999;
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 0 10px;
}

.entry-footer a:hover {
    color: var(--primary);
}

.edit-link .post-edit-link {
    background: var(--primary);
    border-radius: 3px;
    color: var(--white) !important;
    font-size: 13px;
    line-height: 1;
    padding: 4px 10px;
}

.page-links {
    clear: both;
    margin: 0 0 15px;
}

/* Post Navigation */
.np-post-navigation {
    margin: 0 0 30px;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    width: 48%;
    min-width: 0;
}

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

.post-navigation a {
    display: block;
}

.post-navigation .nav-subtitle {
    display: block;
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
}

.post-navigation .nav-subtitle i {
    font-size: 10px;
}

.post-navigation .nav-title {
    display: block;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-navigation a:hover .nav-title {
    color: var(--primary);
}

/* Title Bars (widgets, related, archive headers) */
.np-block-title,
.widget-title,
.page-header .page-title,
.np-related-title,
.comments-title.np-block-title,
.widget_block .wp-block-group__inner-container > h1,
.widget_block .wp-block-group__inner-container > h2,
.widget_block .wp-block-group__inner-container > h3,
.widget_block .wp-block-group__inner-container > h4,
.widget_block .wp-block-group__inner-container > h5,
.widget_block .wp-block-group__inner-container > h6,
.widget_block > h2.wp-block-heading {
    background: var(--title-bar-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    margin: 0 0 20px;
    padding: 6px 20px;
    text-align: left;
    text-transform: uppercase;
}

/* Related Posts */
.np-related-posts-wrap {
    margin: 0 0 30px;
}

.np-related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.np-related-thumb a {
    display: block;
    overflow: hidden;
}

.np-related-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.np-related-thumb:hover img {
    transform: scale(1.05);
}

.np-related-post-title {
    font-size: 15px;
    line-height: 1.4;
    margin: 10px 0 5px;
}

.np-related-post-title a {
    color: #333;
}

.np-related-post-title a:hover {
    color: var(--primary);
}

.np-related-meta {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
}

.np-related-meta i {
    margin-right: 4px;
}

/* ============================================
   Sidebar / Widgets
   ============================================ */
.widget {
    margin: 0 0 30px;
}

.widget select {
    max-width: 100%;
}

.widget ul,
.widget ol {
    margin: 0;
}

.widget_archive li,
.widget_categories li,
.widget_recent_entries li,
.widget_meta li,
.widget_recent_comments li,
.widget_rss li,
.widget_pages li,
.widget_nav_menu li,
.wp-block-latest-posts li,
.wp-block-archives li,
.wp-block-categories li,
.wp-block-page-list li,
.wp-block-latest-comments li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.widget_archive li:last-child,
.widget_categories li:last-child,
.widget_recent_entries li:last-child,
.widget_meta li:last-child,
.widget_recent_comments li:last-child,
.widget_rss li:last-child,
.widget_pages li:last-child,
.widget_nav_menu li:last-child,
.wp-block-latest-posts li:last-child,
.wp-block-archives li:last-child,
.wp-block-categories li:last-child,
.wp-block-page-list li:last-child,
.wp-block-latest-comments li:last-child {
    border-bottom: none;
}

.widget_archive a,
.widget_categories a,
.widget_recent_entries a,
.widget_meta a,
.widget_recent_comments li,
.widget_rss li,
.widget_pages li a,
.widget_nav_menu li a,
.wp-block-latest-posts li a,
.wp-block-archives li a,
.wp-block-categories li a,
.wp-block-page-list li a,
.wp-block-latest-comments li {
    color: var(--text-light);
    display: inline-block;
    font-size: 14px;
    line-height: 26px;
    padding-left: 22px;
    position: relative;
}

.widget_recent_comments li a,
.wp-block-latest-comments li a {
    padding-left: 0;
}

.wp-block-latest-comments li a.wp-block-latest-comments__comment-link,
.widget_recent_comments li > a {
    color: var(--primary);
}

.widget a:hover,
.widget a:hover::before,
.widget li:hover::before {
    color: var(--primary);
}

.widget_archive a::before,
.widget_categories a::before,
.widget_recent_entries a::before,
.widget_meta a::before,
.widget_recent_comments li::before,
.widget_rss li::before,
.widget_pages li a::before,
.widget_nav_menu li a::before,
.wp-block-latest-posts li a::before,
.wp-block-archives li a::before,
.wp-block-categories li a::before,
.wp-block-page-list li a::before,
.wp-block-latest-comments li::before {
    color: #9f9f9f;
    content: "\f187";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    left: 0;
    position: absolute;
    top: 0;
    transition: color 0.3s ease;
}

.widget_categories a::before,
.wp-block-categories li a::before {
    content: "\f07b";
}

.widget_recent_entries a::before,
.wp-block-latest-posts li a::before {
    content: "\f101";
}

.widget_meta a::before,
.widget_nav_menu li a::before {
    content: "\f105";
}

.widget_recent_comments li::before,
.wp-block-latest-comments li::before {
    content: "\f086";
}

.widget_rss li::before {
    content: "\f09e";
}

.widget_pages li a::before,
.wp-block-page-list li a::before {
    content: "\f1ea";
}

.wp-block-latest-comments__comment {
    line-height: 26px;
}

.wp-block-latest-comments__comment-meta {
    font-size: 14px;
}

.wp-block-latest-comments__comment article {
    display: inline;
}

.widget_recent_entries .post-date {
    color: #8f8f8f;
    display: block;
    font-size: 11px;
    margin-top: -5px;
    padding-left: 22px;
}

.widget_tag_cloud .tagcloud a,
.wp-block-tag-cloud a {
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    color: #909090;
    display: inline-block;
    font-size: 14px !important;
    margin: 0 5px 10px 0;
    padding: 1px 10px;
}

.widget_tag_cloud .tagcloud a:hover,
.wp-block-tag-cloud a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Block search widget */
.wp-block-search__label {
    display: block;
    font-weight: 400;
    margin-bottom: 4px;
}

.wp-block-search__inside-wrapper {
    display: flex;
}

.wp-block-search__input {
    flex: 1;
    min-width: 0;
    height: 36px;
    padding: 3px 8px;
    border: 1px solid #ccc;
    border-radius: 0;
    color: #666;
}

.wp-block-search .wp-block-search__button {
    background: #333;
    border: none;
    border-radius: 0;
    color: var(--white);
    cursor: pointer;
    height: 36px;
    margin: 0;
    padding: 0 16px;
    width: 80px;
}

.wp-block-search .wp-block-search__button:hover {
    background: var(--primary);
}

/* ============================================
   Page Header (Archive, Search)
   ============================================ */
.page-header {
    margin-bottom: 20px;
}

.archive-description {
    margin-top: -10px;
    color: var(--text-light);
}

/* ============================================
   Comments
   ============================================ */
.comments-area {
    margin-top: 20px;
}

#comments h2.comments-title {
    display: block;
}

.comment-list,
.comment-list ol.children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list ol.children {
    margin-left: 15px;
}

.comment-list .comment-body {
    background: #f9f9f9;
    border-top: 2px solid var(--primary);
    margin-bottom: 20px;
    padding: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-author img {
    border-radius: 50%;
}

.comment-author .fn {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    text-transform: capitalize;
}

.comment-author .fn a {
    color: #333;
}

.comment-author .says {
    display: none;
}

.comment-metadata {
    font-size: 12px;
    padding-left: 62px;
    margin-top: -10px;
}

.comment-metadata a {
    color: #666;
}

.comment-content {
    padding-left: 62px;
    margin-top: 10px;
    word-wrap: break-word;
}

.comment-content p {
    margin-bottom: 10px;
}

.reply {
    padding-left: 62px;
}

.reply .comment-reply-link {
    background: var(--primary);
    border-radius: 3px;
    color: var(--white);
    font-size: 13px;
    line-height: 1;
    padding: 5px 10px;
    display: inline-block;
}

#respond {
    background: #f9f9f9;
    color: #141414;
    margin-top: 30px;
    padding: 20px;
}

#comments h3.comment-reply-title {
    background: none;
    border: none;
    color: #141414;
    font-size: 18px;
    margin: 0 0 10px;
    padding: 0;
    text-transform: none;
}

#cancel-comment-reply-link {
    color: var(--primary);
    font-size: 13px;
    font-style: italic;
    margin-left: 15px;
}

.comment-form p {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 1px solid #ccc;
    color: #666;
    padding: 3px 8px;
    border-radius: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    height: 36px;
}

.comment-form textarea {
    height: 150px;
    resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #aaa;
    outline: none;
}

.comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.comment-form .comment-form-cookies-consent label {
    display: inline;
}

.comment-form .form-submit {
    margin-bottom: 0;
}

.comment-form .form-submit input[type="submit"] {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--white);
    cursor: pointer;
    font-size: 14px;
    padding: 8px 18px;
}

.comment-form .form-submit input[type="submit"]:hover {
    background: var(--primary-dark);
}

/* ============================================
   Pagination
   ============================================ */
.navigation.pagination {
    margin: 0 0 30px;
}

.navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    color: #333;
}

.navigation.pagination a.page-numbers:hover,
.navigation.pagination .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ============================================
   404 & No Results
   ============================================ */
.error404 #primary.content-area {
    padding: 60px 0;
}

.error-404.not-found {
    border: 1px solid var(--border-color);
    margin: 0 auto;
    max-width: 700px;
}

.error-404 .page-header {
    margin: 0;
}

.error-404 .page-header .page-title {
    background: var(--primary);
    border: none;
    color: var(--white);
    font-size: 20px;
    margin: 0;
    padding: 10px 15px;
    text-align: center;
    text-transform: none;
}

.error-404 .page-content {
    padding: 25px 20px 30px;
    text-align: center;
}

.error-404 .search-form {
    max-width: 420px;
    margin: 0 auto;
}

.error-404-actions {
    margin-top: 20px;
}

.no-results .page-content p {
    margin-bottom: 15px;
}

/* ============================================
   Footer
   ============================================ */
#colophon {
    background: #000000;
    margin-top: 40px;
}

.bottom-footer {
    background: rgba(255, 255, 255, 0.1);
    color: #bfbfbf;
    font-size: 12px;
    padding: 10px 0;
}

.bottom-footer .mt-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 20px;
}

.site-info a {
    color: #cfcfcf;
}

.site-info a:hover {
    color: var(--primary);
}

#footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    row-gap: 4px;
}

#footer-navigation ul li a {
    border-left: 2px solid #7f7f7f;
    color: #cfcfcf;
    margin-left: 10px;
    padding-left: 10px;
}

#footer-navigation ul li:first-child a {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
}

#footer-navigation ul li a:hover {
    color: var(--primary);
}

/* ============================================
   Scroll-to-Top
   ============================================ */
#np-scrollup {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--primary);
    border-radius: 3px;
    color: var(--white);
    font-size: 16px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

#np-scrollup.visible {
    opacity: 1;
    visibility: visible;
}

#np-scrollup:hover,
#np-scrollup:focus {
    color: var(--white);
    border-radius: 100%;
}

/* ============================================
   WordPress Defaults
   ============================================ */
.alignleft {
    float: left;
    margin: 0 15px 15px 0;
}

.alignright {
    float: right;
    margin: 0 0 15px 15px;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption,
.wp-block-image {
    max-width: 100%;
    margin-bottom: 15px;
}

.wp-caption-text,
.wp-element-caption {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

.sticky,
.bypostauthor,
.gallery-caption {
    display: block;
}
