/* Main styles for Ai WorkFlow theme */

/* Sticky Post */
.sticky .aiworkflow-grid-item,
.sticky .post-card,
.sticky .aiworkflow-classic-item {
    border-left: 3px solid var(--aiworkflow-primary);
}

/* CSS Variables */
:root {
    --aiworkflow-primary: #FF4500;
    --aiworkflow-primary-hover: #E03D00;
    --aiworkflow-primary-light: rgba(255, 69, 0, 0.1);
    --aiworkflow-text: #1A1A1B;
    --aiworkflow-text-secondary: #787C7E;
    --aiworkflow-border: #EDEFF1;
    --aiworkflow-bg: #DAE0E6;
    --aiworkflow-card-bg: #FFFFFF;
    --aiworkflow-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --aiworkflow-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
    --aiworkflow-radius: 4px;
    --aiworkflow-radius-lg: 8px;
}

/* Base Body Styles */
body {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    color: var(--aiworkflow-text);
    background-color: var(--aiworkflow-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--aiworkflow-text);
}

/* Grid System */
.mg-flex {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.mg-grid-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.mg-grid-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.mg-grid-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Layout */
.mg-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mg-wrapper-full {
    width: 100%;
    padding: 0 20px;
}

.mg-main-blog,
.mg-main-page {
    padding: 4rem 0 3rem;
}

/* Header */
.aiworkflow-header {
    background-color: var(--aiworkflow-card-bg);
    border-bottom: 1px solid var(--aiworkflow-border);
    position: relative;
    z-index: 999;
    transition: box-shadow 0.3s ease;
}
.aiworkflow-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    animation: aiworkflowSlideDown 0.35s ease;
}
@keyframes aiworkflowSlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.aiworkflow-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    min-height: 56px;
}

/* Logo */
.aiworkflow-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    max-height: 40px;
}

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

.site-title a {
    color: var(--aiworkflow-text);
}

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

.site-description {
    font-size: 12px;
    color: var(--aiworkflow-text-secondary);
    margin: 0;
}

/* Navigation */
.aiworkflow-desktop-nav {
    display: flex;
    align-items: center;
}
.aiworkflow-desktop-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.aiworkflow-desktop-nav ul li {
    position: relative;
    margin-bottom: 0;
}
.aiworkflow-desktop-nav ul li a {
    display: block;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--aiworkflow-text);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}
.aiworkflow-desktop-nav ul li a:hover,
.aiworkflow-desktop-nav ul li:hover > a,
.aiworkflow-desktop-nav ul li.hover > a {
    color: var(--aiworkflow-primary);
    background-color: var(--aiworkflow-primary-light);
    text-decoration: none;
}
.aiworkflow-desktop-nav ul li a:focus-visible {
    outline: 2px solid var(--aiworkflow-primary);
    outline-offset: -2px;
}
.aiworkflow-desktop-nav ul li a:focus:not(:focus-visible) {
    outline: none;
}
.aiworkflow-desktop-nav > ul > li > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--aiworkflow-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.aiworkflow-desktop-nav > ul > li:hover > a::after {
    transform: scaleX(1);
}
.aiworkflow-desktop-nav ul > li.menu-item-has-children {
    padding-right: 8px;
}
.aiworkflow-desktop-nav ul > li.menu-item-has-children > a::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.3em;
    vertical-align: 0.2em;
    content: "";
    border-top: 0.25em solid;
    border-right: 0.25em solid transparent;
    border-left: 0.25em solid transparent;
}

/* Dropdown Menu */
.aiworkflow-desktop-nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    background: #fff;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    padding: 0.5rem 0;
    display: block;
    list-style: none;
}
.aiworkflow-desktop-nav ul li:hover > ul,
.aiworkflow-desktop-nav ul li.hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.aiworkflow-desktop-nav ul li ul li {
    display: block;
    margin-bottom: 0;
}
.aiworkflow-desktop-nav ul li ul li a {
    padding: 0.55rem 1.25rem;
    font-size: 16px;
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
    border-radius: 0;
    background-color: transparent;
}
.aiworkflow-desktop-nav ul li ul li a:hover {
    background: var(--aiworkflow-primary-light);
    color: var(--aiworkflow-primary);
}
.aiworkflow-desktop-nav ul li ul ul {
    left: 100%;
    top: 0;
}
.aiworkflow-desktop-nav ul ul li.menu-item-has-children > a::before {
    border-top: 0.25em solid transparent;
    border-bottom: 0.25em solid transparent;
    border-left: 0.25em solid;
    border-right: 0;
    float: right;
    margin-top: 0.35em;
    margin-left: 0;
}

/* Mobile Menu */
.aiworkflow-mobile-menu-bar {
    display: none;
}

.aiworkflow-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--aiworkflow-text);
    border-radius: var(--aiworkflow-radius);
    transition: background-color 0.2s;
}

.aiworkflow-menu-btn:hover {
    background-color: var(--aiworkflow-primary-light);
}

.aiworkflow-mobile-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Mobile Panel - hidden by default, styles in responsive.css */
.aiworkflow-mobile-panel {
    display: none;
}
.aiworkflow-mobile-overlay {
    display: none;
}
.aiworkflow-mobile-navigation {
    display: none;
}
.aiworkflow-mobile-menu-list {
    display: none;
}

.aiworkflow-mobile-menu-list li a {
    display: block;
    padding: 14px 20px;
    color: var(--aiworkflow-text);
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.aiworkflow-mobile-menu-list li a:hover {
    background-color: var(--aiworkflow-primary-light);
    color: var(--aiworkflow-primary);
}

/* Blog Grid Layout */
.aiworkflow-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Grid Card */
.aiworkflow-grid-item {
    background: var(--aiworkflow-card-bg);
    border-radius: var(--aiworkflow-radius);
    border: 1px solid var(--aiworkflow-border);
    overflow: hidden;
    transition: border-color 0.2s;
}

.aiworkflow-grid-item:hover {
    border-color: var(--aiworkflow-primary);
}

.aiworkflow-grid-thumb {
    position: relative;
    overflow: hidden;
}

.aiworkflow-grid-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s;
}

.aiworkflow-grid-item:hover .aiworkflow-grid-thumb img {
    transform: scale(1.03);
}

.aiworkflow-grid-content {
    padding: 16px;
}

.aiworkflow-grid-cat {
    display: inline-block;
    width: fit-content;
    background: var(--aiworkflow-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.aiworkflow-grid-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.aiworkflow-grid-title a {
    color: var(--aiworkflow-text);
}

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

.aiworkflow-grid-excerpt {
    font-size: 16px;
    line-height: 1.5;
    color: var(--aiworkflow-text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aiworkflow-grid-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--aiworkflow-border);
}

.aiworkflow-grid-meta img {
    border-radius: 50%;
    width: 28px;
    height: 28px;
}

.aiworkflow-grid-meta-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.3;
}

.aiworkflow-grid-author {
    font-weight: 600;
    color: var(--aiworkflow-text);
}

.aiworkflow-grid-date {
    color: var(--aiworkflow-text-secondary);
}

/* List Card */
.aiworkflow-list-item {
    background: var(--aiworkflow-card-bg);
    border-radius: var(--aiworkflow-radius);
    border: 1px solid var(--aiworkflow-border);
    overflow: hidden;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.aiworkflow-list-item:hover {
    border-color: var(--aiworkflow-primary);
}

.aiworkflow-list-card {
    display: flex;
}

.aiworkflow-list-thumb {
    flex: 0 0 280px;
    overflow: hidden;
}

.aiworkflow-list-thumb img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

.aiworkflow-list-item:hover .aiworkflow-list-thumb img {
    transform: scale(1.03);
}

.aiworkflow-list-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aiworkflow-list-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.aiworkflow-list-title a {
    color: var(--aiworkflow-text);
}

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

.aiworkflow-list-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--aiworkflow-text-secondary);
    margin-bottom: 12px;
}

/* Classic Card */
.aiworkflow-classic-item {
    background: var(--aiworkflow-card-bg);
    border-radius: var(--aiworkflow-radius);
    border: 1px solid var(--aiworkflow-border);
    overflow: hidden;
    margin-bottom: 20px;
    transition: border-color 0.2s;
}

.aiworkflow-classic-item:hover {
    border-color: var(--aiworkflow-primary);
}

.aiworkflow-classic-card {
    display: flex;
    flex-direction: column;
}

.aiworkflow-classic-thumb {
    width: 100%;
    overflow: hidden;
}

.aiworkflow-classic-thumb img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.aiworkflow-classic-item:hover .aiworkflow-classic-thumb img {
    transform: scale(1.03);
}

.aiworkflow-classic-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aiworkflow-classic-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.aiworkflow-classic-title a {
    color: var(--aiworkflow-text);
}

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

.aiworkflow-classic-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--aiworkflow-text-secondary);
    margin-bottom: 16px;
}

/* Post Card */
.post-card {
    background: var(--aiworkflow-card-bg);
    border-radius: var(--aiworkflow-radius);
    border: 1px solid var(--aiworkflow-border);
    overflow: hidden;
    transition: border-color 0.2s;
}

.post-card:hover {
    border-color: var(--aiworkflow-primary);
}

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

.post-content {
    padding: 20px;
}

.entry-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.entry-title a {
    color: var(--aiworkflow-text);
}

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

.entry-meta {
    font-size: 13px;
    color: var(--aiworkflow-text-secondary);
    margin-bottom: 10px;
}

.entry-summary {
    font-size: 14px;
    color: var(--aiworkflow-text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: var(--aiworkflow-primary);
    font-weight: 600;
    font-size: 16px;
}

.read-more:hover {
    color: var(--aiworkflow-primary-hover);
}

/* Single Post */
.nxsingle-post .site-main {
    background: var(--aiworkflow-card-bg);
    border-radius: var(--aiworkflow-radius);
    border: 1px solid var(--aiworkflow-border);
    overflow: hidden;
}

.nxsingle-post .site-main > .aiworkflow-single-post {
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.aiworkflow-single-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.aiworkflow-single-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    vertical-align: top;
}

.aiworkflow-single-inner {
    padding: 30px;
}

.aiworkflow-single-header {
    margin-bottom: 24px;
}

.aiworkflow-single-header .aiworkflow-grid-cat {
    margin-bottom: 12px;
}

.aiworkflow-single-title {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--aiworkflow-text);
}

.aiworkflow-single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aiworkflow-single-meta img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.aiworkflow-single-meta-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.aiworkflow-single-author {
    font-weight: 600;
    color: var(--aiworkflow-text);
}

.aiworkflow-single-date {
    font-size: 13px;
    color: var(--aiworkflow-text-secondary);
}

.aiworkflow-single-sep {
    margin: 0 6px;
}

.aiworkflow-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--aiworkflow-text);
}

.aiworkflow-single-content p {
    margin-bottom: 1.5em;
}

.aiworkflow-single-content h2,
.aiworkflow-single-content h3,
.aiworkflow-single-content h4,
.aiworkflow-single-content h5,
.aiworkflow-single-content h6 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: var(--aiworkflow-text);
}

.aiworkflow-single-content a {
    color: var(--aiworkflow-primary);
    text-decoration: underline;
}

.aiworkflow-single-content a:hover {
    color: var(--aiworkflow-primary-hover);
}

.aiworkflow-single-content img {
    border-radius: var(--aiworkflow-radius);
    margin: 1.5em 0;
}

.aiworkflow-single-content blockquote {
    border-left: 4px solid var(--aiworkflow-primary);
    margin: 1.5em 0;
    padding: 16px 24px;
    background: var(--aiworkflow-primary-light);
    border-radius: 0 var(--aiworkflow-radius) var(--aiworkflow-radius) 0;
    font-style: italic;
}

.aiworkflow-single-content ul,
.aiworkflow-single-content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.aiworkflow-single-content li {
    margin-bottom: 0.5em;
}

.aiworkflow-single-content code {
    background: var(--aiworkflow-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.aiworkflow-single-content pre {
    background: var(--aiworkflow-text);
    color: #fff;
    padding: 20px;
    border-radius: var(--aiworkflow-radius);
    overflow-x: auto;
    margin: 1.5em 0;
}

.aiworkflow-single-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.aiworkflow-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.aiworkflow-single-content th,
.aiworkflow-single-content td {
    padding: 12px 16px;
    border: 1px solid var(--aiworkflow-border);
    text-align: left;
}

.aiworkflow-single-content th {
    background: var(--aiworkflow-bg);
    font-weight: 600;
}

/* Single Post Tags */
.aiworkflow-single-tags {
    padding: 20px 30px;
    border-top: 1px solid var(--aiworkflow-border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.aiworkflow-single-tags-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--aiworkflow-text);
}

.aiworkflow-single-tags a {
    display: inline-block;
    background: var(--aiworkflow-bg);
    color: var(--aiworkflow-text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.aiworkflow-single-tags a:hover {
    background: var(--aiworkflow-primary);
    color: #fff;
}

/* Single Post Author Box */
.aiworkflow-single-author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    margin: 0 0 20px;
    background: var(--aiworkflow-card-bg);
    border: 1px solid var(--aiworkflow-border);
    border-radius: var(--aiworkflow-radius);
}

.aiworkflow-single-author-box img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.aiworkflow-single-author-info h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.aiworkflow-single-author-info h4 a {
    color: var(--aiworkflow-text);
}

.aiworkflow-single-author-info h4 a:hover {
    color: var(--aiworkflow-primary);
}

.aiworkflow-single-author-info p {
    font-size: 14px;
    color: var(--aiworkflow-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation */
.post-navigation {
    padding: 20px 30px;
    border-top: 1px solid var(--aiworkflow-border);
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--aiworkflow-text-secondary);
    margin-bottom: 4px;
}

.post-navigation .nav-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--aiworkflow-text);
}

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

/* Comments */
.comments-area {
    margin: 0 30px 30px;
    padding: 24px;
    background: var(--aiworkflow-bg);
    border-radius: var(--aiworkflow-radius-lg);
}

.comments-title {
    font-size: 20px;
    margin-bottom: 24px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--aiworkflow-border);
}

.comment-body:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.comment-body img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.comment-meta {
    margin-bottom: 8px;
}

.comment-meta .comment-author {
    font-weight: 600;
    font-size: 14px;
}

.comment-meta .comment-author a {
    color: var(--aiworkflow-text);
}

.comment-meta .comment-metadata {
    font-size: 12px;
    color: var(--aiworkflow-text-secondary);
}

.comment-meta .comment-metadata a {
    color: var(--aiworkflow-text-secondary);
}

.comment-meta .comment-metadata a:hover {
    color: var(--aiworkflow-primary);
}

.comment-content {
    font-size: 14px;
    line-height: 1.6;
}

.comment-reply-title {
    font-size: 18px;
    margin: 24px 0 16px;
}

.comment-respond {
    margin-top: 24px;
}

.comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--aiworkflow-border);
    border-radius: var(--aiworkflow-radius);
    font-size: 14px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--aiworkflow-primary);
}

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

.comment-form .form-submit input {
    background: var(--aiworkflow-primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--aiworkflow-radius);
    cursor: pointer;
    transition: background-color 0.2s;
}

.comment-form .form-submit input:hover {
    background: var(--aiworkflow-primary-hover);
}

/* Pagination */
.aiworkflow-pagination,
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 40px 0 20px;
}

.aiworkflow-pagination .nav-links,
.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.navigation.pagination .nav-links {
    justify-content: center;
}
.aiworkflow-pagination .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--aiworkflow-card-bg);
    color: var(--aiworkflow-text);
    border: 1px solid var(--aiworkflow-border);
    border-radius: var(--aiworkflow-radius);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.aiworkflow-pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
    border-color: var(--aiworkflow-primary);
    color: var(--aiworkflow-primary);
}

.aiworkflow-pagination .page-numbers.current,
.nav-links .page-numbers.current {
    background: var(--aiworkflow-primary);
    border-color: var(--aiworkflow-primary);
    color: #fff;
}

.aiworkflow-pagination .page-numbers.prev,
.aiworkflow-pagination .page-numbers.next,
.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
    padding: 0 16px;
    font-weight: 600;
}

/* Sidebar */
.widget-area {
    background: var(--aiworkflow-card-bg);
    border: 1px solid var(--aiworkflow-border);
    border-radius: var(--aiworkflow-radius);
    padding: 24px;
}

.widget {
    margin-bottom: 24px;
}

.widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--aiworkflow-primary);
    color: var(--aiworkflow-text);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--aiworkflow-border);
    font-size: 14px;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--aiworkflow-text);
    transition: color 0.2s;
}

.widget ul li a:hover {
    color: var(--aiworkflow-primary);
}

.widget_search .search-form {
    display: flex;
}

.widget_search .search-field {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--aiworkflow-border);
    border-radius: var(--aiworkflow-radius) 0 0 var(--aiworkflow-radius);
    font-size: 14px;
}

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

.widget_search .search-submit {
    background: var(--aiworkflow-primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 0 var(--aiworkflow-radius) var(--aiworkflow-radius) 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.widget_search .search-submit:hover {
    background: var(--aiworkflow-primary-hover);
}

/* Footer */
.site-footer {
    background-color: var(--aiworkflow-text);
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: var(--aiworkflow-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--aiworkflow-primary);
}

.footer-bottom a:hover {
    color: #fff;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Alignments */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.aiworkflow-header-image {
    max-width: 100%;
    overflow: hidden;
}

.aiworkflow-header-image img {
    display: block;
    width: 100%;
    height: auto;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* WordPress Core */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--aiworkflow-text-secondary);
    text-align: center;
    padding: 8px 0;
}

.gallery-caption {
    display: block;
}

/* Block Styles */
.is-style-aiworkflow-outline .wp-block-button__link {
    background: transparent !important;
    border: 2px solid currentColor;
    color: inherit;
}

.is-style-aiworkflow-outline .wp-block-button__link:hover {
    background: currentColor !important;
}

.is-style-aiworkflow-accent {
    border-left: 4px solid var(--aiworkflow-primary);
    padding-left: 16px;
}

.is-style-aiworkflow-rounded img {
    border-radius: 12px;
}
footer .info-news a {
    color: inherit;
}