/*
   Blog Build theme by Noor Alam
    --------------------------------------------->>>
    TABLE OF CONTENTS:
    --------------------------------------------->>>
    # Base
      - Colors
      - Typography
    # Layout
      - Header
      - Sidebar
      - Search Bar
*/

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Colors
--------------------------------------------- */
:root {
    --color-primary: #a61a07;
    --color-primary-40: #ffe8e5;
    --color-primary-50: #ffd1cb;
    --color-primary-60: #ffc1b9;
    --color-primary-70: #ef8071;
    --color-primary-80: #ff6752;
    --color-primary-100: #ea3118;
    --color-primary-110: #e2240a;
    --color-primary-120: #a61a07;
    --color-primary-130: #7c1001;
    --color-secondary: #0D0C22;
    --color-desc-two: #F6F6F6;
    --color-desc-one: #595959;
    --color-border: #EAECEE;
    --color-section-bg: #F7F8F9;
    --color-white: #FFFFFF;
    --color-black: #000000;  
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

body.dark-mode {
    --color-primary: #3F51B5;
    --color-primary-40: #1A1A2E;
    --color-primary-50: #222244;
    --color-primary-60: #2A2A52;
    --color-primary-70: #3D3D7D;
    --color-primary-80: #5151A8;
    --color-primary-100: #6C7AE0;
    --color-primary-110: #8794E8;
    --color-primary-120: #A2AEEF;
    --color-primary-130: #BDC7F6;
    --color-secondary: #F0F0F0;
    --color-desc-two: #E0E0E0;
    --color-desc-one: #BBBBBB;
    --color-border: #333344;
    --color-section-bg: #121212;
    --color-white: #1E1E1E;
    --color-black: #F5F5F5;
}

/* Typography
--------------------------------------------- */
html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: var(--page-height, 100%);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    color: #404040;
    font-family: "Oxygen", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    background-color: var(--color-white);
}

.buildkit-animation{
    overflow: hidden !important;
}

@keyframes blog-build-pro-gradient {
			0% {
				background: linear-gradient(-45deg, 
					rgba(253, 205, 213, 0.7),  /* Light pink */
					rgba(223, 247, 255, 0.7),  /* Light blue */
					rgba(204, 255, 204, 0.7),  /* Light green */
					rgba(255, 231, 210, 0.7)   /* Peach */
				);
			}
			25% {
				background: linear-gradient(-45deg, 
					rgba(231, 249, 255, 0.7),  /* Light blue */
					rgba(208, 255, 208, 0.7),  /* Light green */
					rgba(255, 240, 227, 0.7),  /* Peach */
					rgba(255, 214, 255, 0.7)   /* Plum */
				);
			}
			50% {
				background: linear-gradient(-45deg, 
					rgba(179, 255, 179, 0.7),  /* Light green */
					rgba(232, 210, 190, 0.7),  /* Peach */
					rgba(255, 194, 255, 0.7),  /* Plum */
					rgba(234, 234, 223, 0.7)   /* Light yellow */
				);
			}
			75% {
				background: linear-gradient(-45deg, 
					rgba(236, 203, 236, 0.7),  /* Plum */
					rgba(233, 233, 213, 0.7),  /* Light yellow */
					rgba(230, 230, 250, 0.7),  /* Lavender */
					rgba(255, 220, 225, 0.7)   /* Light pink */
				);
			}
			100% {
				background: linear-gradient(-45deg, 
					rgba(255, 211, 218, 0.7),  /* Light pink */
					rgba(206, 243, 255, 0.7),  /* Light blue */
					rgba(202, 255, 202, 0.7),  /* Light green */
					rgba(248, 227, 209, 0.7)   /* Peach */
				);
			}
		}
		
		body.blog-build-gradient-animation:not(.dark-mode) {
			background: linear-gradient(-45deg, 
				rgba(255, 210, 216, 0.7),  /* Light pink - more visible */
				rgba(212, 244, 255, 0.7),  /* Light blue - more visible */
				rgba(144, 238, 144, 0.7),  /* Light green - more visible */
				rgba(255, 232, 211, 0.7),  /* Peach - more visible */
				rgba(255, 203, 255, 0.7),  /* Plum - more visible */
				rgba(255, 255, 223, 0.7),  /* Light yellow - more visible */
				rgba(230, 230, 238, 0.7)   /* Lavender - more visible */
			);
			background-size: cover;
			background-attachment: fixed !important;
			animation: blog-build-pro-gradient 20s ease-in-out infinite;
			transition: background 0.5s ease;
		}



button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: "Oxygen", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    color: var(--color-black);
}

h1 {
    font-size: clamp(32px, 5vw, 64px);
    line-height: clamp(40px, 6vw, 76px);
}

h2 {
    font-size: clamp(24px, 4vw, 40px);
    line-height: clamp(32px, 5vw, 48px);
}

h3 {
    font-size: clamp(20px, 3vw, 32px);
    line-height: clamp(28px, 4vw, 40px);
}

h4 {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: clamp(22px, 3vw, 26px);
}

p {
    margin-bottom: 1em;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--color-desc-one);
}

a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.desc-light {
    color: #4C4C4C;
}

.stv-link {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    color: var(--color-black);
    text-decoration: none;
}

button,
.button {
    background-color: var(--color-primary-100);
    color: var(--color-white);
    border: none;
    padding: 15px 25px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: inline-block;
}

button:hover,
.button:hover {
    background: var(--color-primary-130);
    color: var(--color-white);
    border: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

.stv-main-menu a,
.widget-sidebar a,
.entry-title a,
.stv-grid-meta a,
.stv-main-menu a:hover {
    text-decoration: none !important;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
header.stv-header,
footer.site-footer {
    background: var(--color-section-bg);
}

.stv-menubar-icons {
    display: flex;
    align-items: center;
}

/* Site Branding */
.site-branding .site-title {
    font-size: clamp(24px, 4vw, 48px);
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}

.site-title a {
    color: inherit;
    text-decoration: inherit;
}

.site-description {
    font-size: clamp(16px, 2vw, 20px);
}

/* Header Top Section */
.stv-header-top {
    border-bottom: 1px solid var(--color-border);
}

.stv-header-top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.stv-header-top .row {
    align-items: center;
}

/* Toggle Buttons */
button.blogbuild-toggle-button,
button.search-toggle-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 5px;
}

/*--------------------------------------------------------------
## Sidebar
--------------------------------------------------------------*/

/* Sidebar Toggle Button */
.stv-sidebar-toggle-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
}

.stv-sidebar-toggle-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.stv-sidebar-toggle-button:focus {
    outline: 2px solid var(--color-primary-100);
    outline-offset: 2px;
}

/* Off-Canvas Sidebar Menu */
.stv-sidebar-menu-container::-webkit-scrollbar {
    width: 5px;
}

.stv-sidebar-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: var(--color-white);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.stv-sidebar-menu-container.is-hidden {
    transform: translateX(-100%);
}

.stv-sidebar-menu-container.is-active {
    transform: translateX(0);
}

.admin-bar .stv-sidebar-menu-container {
    top: 32px;
    height: calc(100% - 32px);
}

.stv-sidebar-menu-inner {
    padding: 20px;
}

/* Sidebar Header */
.stv-sidebar-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.close-search,
.stv-sidebar-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--color-desc-one);
    transition: all 0.3s ease;
    transform: rotate(0deg);
    line-height: 1;
}

.close-search:hover,
.stv-sidebar-close:hover {
    transform: rotate(180deg);
    background: transparent;
    border: none;
    box-shadow: inherit;
}

/* Sidebar Sections */
.stv-sidebar-section {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
}

.stv-sidebar-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.stv-sidebar-section-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

/* Sidebar Navigation */
.stv-sidebar-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stv-sidebar-navigation li {
    margin-bottom: 10px;
}

.stv-sidebar-navigation a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.stv-sidebar-navigation a:hover {
    color: var(--color-primary-100);
}

/* Sidebar Categories */
.stv-sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stv-sidebar-categories li {
    margin-bottom: 10px;
}

.stv-sidebar-categories a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
}

.stv-sidebar-categories a:hover {
    color: var(--color-primary-100);
}

/* Sidebar Tags */
.stv-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stv-sidebar-tag-link {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--color-section-bg);
    color: var(--color-secondary);
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.stv-sidebar-tag-link:hover {
    background-color: var(--color-primary-100);
    color: var(--color-white);
}

/* Sidebar Overlay */
.stv-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.stv-sidebar-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/*--------------------------------------------------------------
## Search Bar
--------------------------------------------------------------*/

/* Search Bar Container */
.search-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px 0;
    box-sizing: border-box;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.admin-bar .search-bar-container {
    top: 32px;
}

.search-bar-container.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.search-bar-container.is-active {
    transform: translateY(0);
    opacity: 1;
}

.search-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

/* Search Form */
.stv-search-top-form {
    margin-bottom: 3.2rem;
}

.search-bar-container .search-form,
.stv-search-top-form .search-form {
    display: flex;
    width: 100%;
    position: relative;
}

.stv-search-top-form label,
.search-bar-inner label {
    display: block;
    width: 100%;
}

.stv-search-top-form .search-field,
.search-bar-container .search-field {
    flex: 1;
    border: none;
    border-bottom: 2px solid var(--color-desc-one);
    border-radius: 0;
    padding: 15px 50px 15px 15px;
    font-size: 18px;
    background-color: transparent;
    transition: all 0.3s ease;
    width: 100%;
}

.stv-search-top-form .search-field:focus,
.search-bar-container .search-field:focus {
    outline: none;
    border-color: var(--color-primary-100);
    box-shadow: none;
}

.stv-search-top-form .search-submit,
.search-bar-container .search-submit {
    background-color: var(--color-primary-100);
    border: none;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 30px;
    transform: translateY(-50%);
    padding: 10px 30px;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.stv-search-top-form .search-submit:hover,
.search-bar-container .search-submit:hover {
    color: var(--color-white);
    background-color: var(--color-primary-110);
}

/* Close Button */
.close-search {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 15px;
    color: var(--color-desc-one);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.close-search:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-primary-100);
}

/* Search icon inside input styling */
.search-bar-container .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-desc-one);
    pointer-events: none;
}

/* header bottom style */
.stv-header-bottom {
    padding: 25px 0;
}

.stv-header-bottom-middle {
    text-align: center;
}

/* Header style two */
.stv-header-wrapper.stv-header-style2 {
    padding: 20px;
}

.stv-header-style2 .stv-menubar-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stv-menubar-logo {
    min-width: 220px;
}

.stv-header-style2 .site-branding .site-title {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.5;
}

.stv-header-style2 .site-description {
    font-size: 16px;
    margin-bottom: 0;
}
.stv-header.stv-header-style3 div.stv-menubar-items {
    flex-flow: row-reverse;
    text-align: right;
}
/* Main Menu style */

.mobile-menu-bar {
    display: none;
}

.menu-bar {
    position: relative;
    -webkit-box-shadow: 0 0 5px rgb(0 0 0 / 12%);
    box-shadow: 0 0 5px rgb(0 0 0 / 12%);
    margin: 5px 0;
}

div#ai-blog-menu ul {
    margin: 0;
}

.main-navigation ul {
    list-style: outside none none;
    padding: 0;
    margin-bottom: 0;
}

.main-navigation ul ul {
    margin: 0;
}

.main-navigation ul li {
    display: inline-block;
    position: relative;
}

.main-navigation ul li a {
    color: var(--color-desc-one);
    display: block;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation ul li a::after {
    content: attr(data-text);
    display: block;
    font-weight: 700;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    position: absolute;
}

.main-navigation ul li:last-child:after {
    display: none;
}

.main-navigation ul li:first-child a {
    padding-left: 0;
}

/*dropdown menu*/

.main-navigation ul li ul {
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 9999;
    background: var(--color-white);
    width: 250px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    visibility: hidden;
    text-align: left;
    box-shadow: 0px 5px 42px -6px rgb(92 91 92);
}

.main-navigation ul li ul li {
    display: block;
}

.main-navigation ul li li a,
.main-navigation ul li li:first-child a,
.main-navigation ul li li:last-child a,
.main-navigation ul li:first-child li a {
    padding: 15px;
    text-transform: none;
}

.main-navigation ul li li:after {
    bottom: auto;
    width: 100%;
    height: 1px;
    top: auto;
    margin-top: 0;
    opacity: 0.1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
}

.main-navigation ul li li:hover>a,
.main-navigation ul li li.hover>a {
    background: transparent;
    color: var(--color-desc-one);
}

.main-navigation ul li:hover>a,
.main-navigation ul li:focus>a {
    text-shadow: 0 0 0.01px var(--color-black), 0 0 0.01px var(--color-black);
    color: var(--color-black);
    text-decoration: none;
}

.main-navigation ul li:hover ul,
.main-navigation ul li.hover ul {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    visibility: visible;
    top: 50px;
}

.main-navigation ul li ul ul {
    left: 250px;
}

.main-navigation ul li:hover ul li ul {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    visibility: hidden;
}

.main-navigation ul li:hover ul li:hover>ul {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    visibility: visible;
    top: 20px;
}

.main-navigation ul ul ul ul ul {
    right: 250px;
    left: auto;
}

.main-navigation ul ul ul ul ul ul ul {
    right: auto;
    left: 250px;
}

.main-navigation ul ul ul ul ul ul ul ul ul {
    left: auto;
    right: 250px;
}

.main-navigation ul ul ul ul ul ul ul ul ul ul ul {
    right: auto;
    left: 250px;
}

.main-navigation ul>li.menu-item.menu-item-has-children {
    padding-right: 15px;
}

.main-navigation ul ul li.menu-item.menu-item-has-children {
    padding-right: 0;
}

.main-navigation ul li.menu-item.menu-item-has-children>a {
    position: relative;
    z-index: 0;
}

.main-navigation ul li.menu-item.menu-item-has-children>a:after {
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--color-desc-one);
    z-index: 99999;
    transition: all 0.3s ease;
    visibility: visible;
}

.main-navigation ul ul li.menu-item.menu-item-has-children>a:after {
    right: 12px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid var(--color-desc-one);
    border-right: none;
    z-index: 99999;
    transition: all 0.3s ease;
}

/* Hover states for dropdown arrows */
.main-navigation ul li.menu-item.menu-item-has-children:hover>a:after,
.main-navigation ul li.menu-item.menu-item-has-children.hover>a:after {
    border-top-color: var(--color-black);
}

/* Submenu arrow hover state */
.main-navigation ul ul li.menu-item.menu-item-has-children:hover>a:after,
.main-navigation ul ul li.menu-item.menu-item-has-children.hover>a:after {
    border-left-color: var(--color-black);
}

/* Focus states for accessibility */
.main-navigation ul li.menu-item.menu-item-has-children a:focus:after {
    border-top-color: var(--color-black);
}

.main-navigation ul ul li.menu-item.menu-item-has-children a:focus:after {
    border-left-color: var(--color-black);
}

/* Content style */
.stv-breadcroumb {
    padding: 5px 0;
    background: var(--color-section-bg);
    border-top: 1px solid var(--color-border);
}
.stv-single-content {
    padding: 10px 40px;
}
.stv-single-content .stv-grid-meta {
    margin-bottom: 18px
}
h1.entry-title {
    font-size: 32px;
    line-height: 40px;
    color: var(--color-black);
}

.stvsingle-post .post-thumbnail {
    border-radius: 24px;
    overflow: hidden;
}
.stv-classic-post {
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
}
.stv-single-content a.stv-category-badge {
    margin-top: 1rem;
    display: inline-block;
}
.stv-category-badge-wrap {
    display: flex;
    gap: 15px;
    flex-flow: row wrap;
}
h1.page-title {
    font-size: clamp(28px, 5vw, 40px);
    line-height: clamp(34px, 6vw, 48px);
    margin-bottom: 2.8rem;
}

/* content grid style */
.stv-grid-item {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
    background: var(--color-white);
}

.stv-grid-content {
    padding: 22px;
}

.stv-grid-content h2.entry-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
}

/*Content meta*/
.stv-grid-meta {
    display: flex;
    flex-flow: row wrap;
}

.stv-grid-meta>span {
    margin-right: 10px;
}

.stv-grid-meta .posted-on {
    display: flex;
    align-items: center;
}

.stv-grid-meta .date-with-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-desc-one);
    font-size: 14px;
}

.stv-grid-meta .date-icon {
    margin-right: 4px;
}

.stv-grid-meta .comments-link {
    display: inline-flex;
    align-items: center;
}

.stv-grid-meta .comment-count-with-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-desc-one);
    font-size: 14px;
}

.stv-grid-meta .comment-count-with-icon a {
    text-decoration: none;
    color: var(--color-desc-one);
}

.stv-grid-meta .comment-count-with-icon a:hover {
    color: var(--color-secondary);
}
nav.navigation.post-navigation .nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.author-with-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-desc-one);
    font-size: 14px;
}

.author-with-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--color-desc-one);
}

.author-with-icon a {
    text-decoration: none;
    color: var(--color-desc-one);
    transition: color 0.3s ease;
}

.author-with-icon a:hover {
    color: var(--color-primary);
}
/* Container for tags section */
.stv-tags-container {
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Label styling */
.tags-label {
    font-weight: 600;
    margin-right: 0.5rem;
    color: #666;
}

/* Wrapper for all tag items */
.stv-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Individual tag item */
.stv-tag-item {
    display: inline-block;
    background-color: #f5f5f5;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.stv-tag-item a {
    display: block;
    padding: 0.3rem 0.8rem;
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
}

/* Hash symbol styling */
.tag-hash {
    color: #999;
    font-weight: 600;
    margin-right: 0.1rem;
}

/* Hover effects */
.stv-tag-item:hover {
    background-color: #e9e9e9;
    transform: translateY(-2px);
}

.stv-tag-item:hover a {
    color: #333;
}

.stv-tag-item:hover .tag-hash {
    color: #777;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stv-tags-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tags-label {
        margin-bottom: 0.5rem;
    }
}
.stv-related-posts .post-thumbnail {
    border-radius: 0;
}

/* 404 style */
a.button.button-404 {
    border-radius: 100px;
    padding: 15px 30px;
}

h1.title-404 {
    margin-bottom: 0.5rem;
    font-size: 44px;
}

.error-404-img {
    margin-bottom: 2.2rem;
}


/* Pagination Styling */
.blog-build-pagination {
    margin-top: 60px;
}

.navigation.pagination {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background-color: var(--color-section-bg);
    color: var(--color-desc-one);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.page-numbers.current {
    background-color: var(--color-primary-80);
    color: var(--color-white);
}

.page-numbers.prev,
.page-numbers.next {
    background-color: var(--color-section-bg);
    color: var(--color-desc-one);
    padding: 0 1rem;
    font-weight: 500;
}

.page-numbers:not(.current):hover {
    background-color: var(--color-primary-50);
    color: var(--color-primary-120);
    text-decoration: inherit;
}

.page-numbers.dots {
    background-color: transparent;
    color: var(--color-desc-one);
}

@media (max-width: 768px) {
    .page-numbers {
        min-width: 2rem;
        height: 2rem;
        padding: 0 0.5rem;
        font-size: 0.875rem;
    }

    .page-numbers.prev,
    .page-numbers.next {
        padding: 0 0.75rem;
    }
}

/* Footer style */
.site-footer {
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
    background: var(--color-section-bg);
}

.site-info {
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    text-align: center;
    background: var(--color-section-bg);
    width: 100%;
}

#page {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Back to Top Button */
#back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
}

#back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top-btn:hover {
    background-color: var(--color-primary-120);
    transform: translateY(-3px);
}

#back-to-top-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 768px) {
    #back-to-top-btn {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    #back-to-top-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Author Card Styles */
.stv-author-card {
    background: var(--color-section-bg);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 65px;
    margin-bottom: 85px;
}

.stv-author-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.stv-author-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 24px;
    object-fit: cover;
}

.stv-author-content {
    flex: 1;
    padding: 0 50px;
}

.stv-author-header {
    margin-bottom: 1.5rem;
}

.stv-author-header .author-title {
    font-size: 28px;
    margin: 0 0 5px;
    color: var(--color-black);
    line-height: 1;
}

.author-username {
    color: var(--color-desc-one);
    font-size: 16px;
    font-weight: normal;
}

.stv-author-bio {
    color: var(--color-desc-one);
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.6;
}

.stv-author-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.stv-author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--color-section-bg);
    color: var(--color-desc-one);
    transition: all 0.3s ease;
}

.stv-author-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    transform: translateY(-2px);
}

.stv-author-social svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 767px) {
    .stv-author-info {
        flex-direction: column;
        text-align: center;
    }

    .stv-author-avatar {
        margin: 0 auto 20px;
    }

    .stv-author-social {
        justify-content: center;
    }
}

/* List View Style */

.cat-bg-1 {
    background: #FF9326;
}
.cat-bg-2 {
    background: #50BB03;
}
.cat-bg-3 {
    background: #026F4D;
}
.cat-bg-4 {
    background: #2F97FF;
}
.cat-bg-5 {
    background: #2F80C6;
}
.cat-bg-6 {
    background: #FF4F4F;
}

.stv-list-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    background: var(--color-white);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.stv-list-thumb {
    flex: 0 0 400px;
    position: relative;
}
.stv-list-item .stv-list-thumb {
    border-radius: 12px;
    overflow: hidden;
}
.stv-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stv-list-content {
    flex: 1;
    padding: 30px 30px 30px 0;
}

a.stv-category-badge {
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    color: #fff;
    padding: 6px 17px;
    border-radius: 6px;
    text-decoration: inherit;
}
a.stv-category-badge:hover {
    opacity: 0.8;
}

.stv-list-content .entry-title {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.stv-list-content .entry-title a {
    color: var(--color-black);
    text-decoration: none;
}

.stv-list-excerpt {
    color: var(--color-desc-one);
    margin-bottom: 20px;
    line-height: 1.6;
}

.stv-list-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: var(--color-desc-one);
    font-size: 14px;
    gap: 10px;
    align-items: center;
}
.stv-list-meta span {
    display: flex;
    gap: 5px;
    align-items: center;
}

@media (max-width: 767px) {
    .stv-list-item {
        flex-direction: column;
        gap: 0;
    }
    
    .stv-list-thumb {
        flex: 0 0 auto;
        height: 200px;
    }
    
    .stv-list-content {
        padding: 20px;
    }
    
    .stv-list-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}
