/*
Theme Name: ToolSpark Modern Theme
Theme URI: https://toolspark.ai
Author: ToolSpark Team
Author URI: https://toolspark.ai
Description: Fast, lightweight, SEO-optimized modern theme matching the clean, responsive utility directory design.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toolspark-theme
*/

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-subtle: #eff6ff;
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --border-subtle: #f1f5f9;
    --surface: #ffffff;
    --bg: #f8fafc;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-card-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.site-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Color & Pastel Utility Classes */
.text-blue { color: #2563eb; }
.bg-blue-subtle { background-color: #eff6ff; }
.text-indigo { color: #4f46e5; }
.bg-indigo-subtle { background-color: #eef2ff; }
.text-emerald { color: #059669; }
.bg-emerald-subtle { background-color: #ecfdf5; }
.text-purple { color: #9333ea; }
.bg-purple-subtle { background-color: #faf5ff; }
.text-amber { color: #d97706; }
.bg-amber-subtle { background-color: #fffbeb; }
.text-rose { color: #e11d48; }
.bg-rose-subtle { background-color: #fff1f2; }
.text-cyan { color: #0891b2; }
.bg-cyan-subtle { background-color: #ecfeff; }
.text-violet { color: #7c3aed; }
.bg-violet-subtle { background-color: #f5f3ff; }
.text-slate { color: #475569; }
.bg-slate-subtle { background-color: #f1f5f9; }
.text-red { color: #dc2626; }

/* Sticky Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header Dropdowns */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger,
.nav-direct-link {
    background: transparent;
    border: none;
    padding: 8px 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: #1e293b !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-direct-link:hover {
    background: #f1f5f9;
    color: var(--primary) !important;
}

.nav-arrow {
    font-size: 11px;
    color: #94a3b8;
    transition: transform 0.2s;
}

.nav-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 290px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    display: none;
    z-index: 1001;
    animation: fadeInDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

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

.dropdown-group-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    padding: 6px 12px 4px 12px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s;
}

.dropdown-item:hover {
    background: #f8fafc;
}

.dropdown-item i {
    font-size: 18px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.item-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
}

.item-desc {
    font-size: 11.5px;
    color: #64748b;
}

.dropdown-footer {
    border-top: 1px solid #f1f5f9;
    margin-top: 6px;
    padding: 8px 12px 4px 12px;
}

.dropdown-footer a {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-search-wrapper {
    position: relative;
    width: 230px;
}

.header-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
}

.header-search-input {
    width: 100%;
    padding: 8px 14px 8px 36px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 13.5px;
    color: var(--text-heading);
    outline: none;
    transition: border-color 0.2s, background 0.2s, width 0.2s;
}

.header-search-input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-top-cta {
    background: #2563eb;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn-top-cta:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #334155;
    cursor: pointer;
    padding: 6px;
}

/* Sub-Navigation Pill Bar */
.subnav-bar {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 8px 0;
}

.subnav-scroll-container {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.subnav-scroll-container::-webkit-scrollbar {
    display: none;
}

.subnav-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.subnav-pill:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.subnav-pill.is-active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-link {
    font-size: 14.5px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 6px 0;
}

.mobile-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

/* Hero Section */
.hero-landing {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 68px 0 56px 0;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    margin-bottom: 22px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.hero-title span {
    color: var(--text-heading);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 660px;
    margin: 0 auto 34px auto;
    line-height: 1.6;
}

/* Big Search Form */
.hero-search-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.hero-search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 6px 8px 6px 22px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search-form:focus-within {
    border-color: #2563eb;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.hero-search-icon {
    color: #94a3b8;
    font-size: 18px;
    margin-right: 6px;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15.5px;
    color: var(--text-heading);
    padding: 12px 10px;
    background: transparent;
}

.hero-search-submit {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.hero-search-submit:hover {
    background: #2563eb;
    transform: scale(1.04);
}

/* Search Autocomplete Dropdown */
.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    z-index: 1000;
    max-height: 380px;
    overflow-y: auto;
    text-align: left;
    padding: 8px;
    display: none;
}

.search-item-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #0f172a;
    transition: background 0.15s;
}

.search-item-result:hover {
    background: #f1f5f9;
}

.search-item-title {
    font-size: 14px;
    font-weight: 600;
}

.search-item-cat {
    font-size: 12px;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 600;
}

/* Popular Search Tags */
.hero-popular-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.popular-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.tag-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px 13px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-pill:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    transform: translateY(-1px);
}

/* Trust Badges Row */
.hero-trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
}

.trust-icon {
    font-size: 16px;
}

/* Section Common Layouts */
.landing-section {
    margin: 64px 0;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header-with-icon {
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-title-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
}

.section-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
}

.section-link:hover {
    color: var(--primary-hover);
    gap: 10px;
}

/* Section 1: 4 Category Action Cards Grid */
.category-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.action-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.action-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.action-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.action-count-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.action-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.action-card-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
}

.action-card-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    transition: gap 0.2s;
}

.action-card:hover .action-card-link {
    gap: 10px;
}

/* Sections 2, 3, 4, 5: 4x2 Tool Cards Grid */
.tool-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tool-card-modern {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.tool-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
    flex: 1;
}

.card-external-icon {
    font-size: 12px;
    color: #cbd5e1;
    transition: color 0.2s, transform 0.2s;
}

.tool-card-modern:hover .card-external-icon {
    color: var(--primary);
    transform: translate(2px, -2px);
}

.card-description {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 14px;
    flex: 1;
}

.card-badge-row {
    margin-top: auto;
}

.card-pill {
    display: inline-block;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
}

/* Platforms Directory Chips Grid */
.platforms-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.platform-chip-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.platform-chip-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

.platform-chip-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.platform-chip-info {
    flex: 1;
}

.platform-chip-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 2px;
}

.platform-chip-count {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.platform-chip-arrow {
    font-size: 12px;
    color: #cbd5e1;
}

/* Section 7: "Instant tools, zero friction" Banner */
.banner-frictionless {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 48px 40px;
    color: #ffffff;
    margin: 64px 0;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.25);
}

.banner-inner {
    max-width: 1040px;
    margin: 0 auto;
}

.banner-header {
    text-align: center;
    margin-bottom: 40px;
}

.banner-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.banner-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.banner-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.banner-feature-item {
    text-align: center;
}

.feature-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px auto;
}

.feature-heading {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.feature-description {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.55;
}

/* Light Modern Footer */
.site-footer-modern {
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 64px 0 28px 0;
    color: #475569;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 14px;
    text-decoration: none;
}

.footer-brand-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.footer-socials a:hover {
    background: var(--primary);
    color: #ffffff;
}

.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-list a {
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

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

.footer-view-all {
    font-weight: 700;
    color: var(--primary) !important;
}

.footer-bottom-bar {
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #10b981;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Tool Single Template & Inner Page Styles */
.tool-section-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px;
    margin: 32px 0;
    box-shadow: var(--shadow-sm);
}

.tool-section-title {
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tool-section-title i {
    color: var(--primary);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin: 20px 0 0 0;
}

.breadcrumbs a {
    color: var(--text-muted);
}

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

.breadcrumbs span.current {
    color: var(--text-heading);
    font-weight: 600;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 14px;
}

.step-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.feature-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    transition: background 0.2s;
    user-select: none;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-icon {
    font-size: 14px;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px 24px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .tool-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .category-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-columns-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .tool-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .banner-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 640px) {
    .tool-cards-grid {
        grid-template-columns: 1fr;
    }
    .category-action-grid {
        grid-template-columns: 1fr;
    }
    .footer-columns-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-search-input {
        font-size: 14px;
    }
    .hero-trust-row {
        gap: 16px;
        flex-direction: column;
    }
    .header-search-wrapper {
        display: none;
    }
}

/* ========================================================
   Category / Taxonomy Page Specific Styles
   ======================================================== */
.category-page-main {
    padding: 36px 0 64px 0;
}

.category-breadcrumbs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.category-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 13.5px;
    color: var(--text-muted);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.category-breadcrumbs a {
    color: var(--text-muted);
    font-weight: 500;
}

.category-breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumb-sep {
    color: #cbd5e1;
    font-size: 12px;
}

.breadcrumb-current {
    color: var(--text-heading);
    font-weight: 700;
}

.category-page-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 36px auto;
}

.category-badge-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.badge-pill-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.badge-pill-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.badge-dot {
    font-size: 8px;
}

.category-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 14px;
}

.category-main-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 660px;
    margin: 0 auto 28px auto;
    line-height: 1.6;
}

.category-search-bar {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.category-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
}

.category-search-input {
    width: 100%;
    padding: 13px 20px 13px 48px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 14.5px;
    color: var(--text-heading);
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.category-search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.archive-filter-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.archive-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.archive-pill:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.archive-pill.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.category-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 36px 0 24px 0;
}

.category-tool-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.category-tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.tool-card-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}

.tool-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
    line-height: 1.35;
}

.tool-card-snippet {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.tool-card-launch {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    transition: color 0.15s;
}

.tool-card-launch i {
    font-size: 12px;
    transition: transform 0.2s;
}

.category-tool-card:hover .tool-card-launch i {
    transform: translateX(4px);
}

.tool-card-hidden {
    display: none !important;
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 28px 0 48px 0;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    padding: 11px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-load-more:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.category-about-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px 40px;
    margin: 48px 0 32px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.category-about-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 14px;
}

.category-about-text {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.7;
}

.category-about-text p {
    margin-bottom: 12px;
}

.category-about-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .category-tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .category-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-main-title {
        font-size: 2.5rem;
    }
    .category-about-card {
        padding: 28px 24px;
    }
}

@media (max-width: 640px) {
    .category-tools-grid {
        grid-template-columns: 1fr;
    }
    .category-main-title {
        font-size: 2.1rem;
    }
    .category-search-input {
        font-size: 14px;
        padding: 11px 16px 11px 44px;
    }
}

/* ========================================================
   Single Tool Preview Page Specific Styles
   ======================================================== */
.tool-preview-page {
    padding: 24px 0 64px 0;
}

.tool-breadcrumbs-wrap {
    margin-bottom: 24px;
}

.tool-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 13.5px;
    color: var(--text-muted);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.tool-breadcrumbs a {
    color: var(--text-muted);
    font-weight: 500;
}

.tool-breadcrumbs a:hover {
    color: var(--primary);
}

/* Top Tool Hero Card */
.tool-hero-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    margin-bottom: 28px;
}

.tool-hero-main-info {
    flex: 1;
}

.tool-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.tool-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.tool-hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 660px;
    margin-bottom: 24px;
}

.tool-hero-trust-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-trust-badge i {
    font-size: 18px;
}

.hero-trust-badge .badge-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
}

.hero-trust-badge .badge-sub {
    font-size: 11.5px;
    color: var(--text-muted);
}

.tool-hero-illustration-box {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.illustration-graphic {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.floating-particle {
    position: absolute;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #2563eb;
    font-weight: bold;
}

.particle-1 { top: -6px; right: 0; }
.particle-2 { bottom: 4px; left: -8px; }
.particle-3 { top: 14px; left: -6px; color: #f59e0b; }

/* 2-Column Grid */
.tool-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
    margin-bottom: 64px;
}

.tool-main-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* Tool Interactive Workspace Card */
.tool-workspace-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.workspace-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.workspace-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.workspace-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 2px;
}

.workspace-sub {
    font-size: 13.5px;
    color: var(--text-muted);
}

.workspace-popular-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: 12px;
}

.popular-pills-label {
    font-weight: 700;
    color: var(--text-muted);
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.preset-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.preset-pill:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

/* Feature & Trust Strip */
.tool-features-strip {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.strip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.strip-item i {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.strip-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.3;
    margin-bottom: 3px;
}

.strip-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* About Card & Quick Tip */
.tool-about-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.about-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.about-card-head h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
}

.about-card-body {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.65;
}

.quick-tip-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.quick-tip-icon {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.quick-tip-title {
    font-size: 14px;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 4px;
}

.quick-tip-text {
    font-size: 13px;
    color: #166534;
    line-height: 1.5;
}

/* FAQ Card */
.tool-faq-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.faq-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.faq-badge {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
}

.faq-card-head h2,
.faq-card-head h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
}

/* Sidebar Column & Widgets */
.tool-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.widget-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.widget-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
}

.sidebar-related-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-related-item:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    transform: translateX(2px);
}

.related-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.related-info-box {
    flex: 1;
    min-width: 0;
}

.related-item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-item-launch {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.sidebar-view-all-link {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 14px;
    text-decoration: none;
}

/* Privacy Security Card */
.sidebar-privacy-card {
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-radius: 16px;
    padding: 22px;
}

.privacy-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.privacy-card-head h4 {
    font-size: 15px;
    font-weight: 700;
    color: #581c87;
}

.privacy-card-desc {
    font-size: 12.5px;
    color: #7e22ce;
    line-height: 1.5;
    margin-bottom: 14px;
}

.privacy-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #581c87;
}

/* Sidebar Search Form */
.sidebar-search-form {
    display: flex;
    gap: 8px;
}

.sidebar-search-input {
    flex: 1;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    font-size: 13.5px;
    outline: none;
    background: #f8fafc;
}

.sidebar-search-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
}

/* Categories List */
.sidebar-categories-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.sidebar-cat-link:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.cat-chevron {
    font-size: 11px;
    color: #cbd5e1;
}

/* Sidebar CTA Card */
.sidebar-cta-card {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 22px;
    text-align: center;
}

.cta-card-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cta-card-head h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e3a8a;
}

.cta-card-desc {
    font-size: 12.5px;
    color: #3b82f6;
    line-height: 1.5;
    margin-bottom: 14px;
}

.btn-sidebar-browse {
    background: #2563eb;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-sidebar-browse:hover {
    background: #1d4ed8;
}

@media (max-width: 1024px) {
    .tool-layout-grid {
        grid-template-columns: 1fr;
    }
    .tool-features-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .tool-hero-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .tool-hero-trust-row {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .tool-hero-illustration-box {
        display: none;
    }
    .tool-features-strip {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Tool Rich Content Typography & Formulas
   ========================================================================== */
.tool-rich-content {
    font-size: 15px;
    color: #334155;
    line-height: 1.75;
    margin-top: 24px;
}
.tool-rich-content h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-top: 28px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}
.tool-rich-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 20px;
    margin-bottom: 8px;
}
.tool-rich-content p {
    margin-bottom: 16px;
}
.tool-rich-content ul, .tool-rich-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}
.tool-rich-content li {
    margin-bottom: 6px;
}
.tool-rich-content code {
    background: #f1f5f9;
    color: #0f172a;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13.5px;
    font-family: monospace;
}
.formula-box {
    background: #0f172a;
    color: #38bdf8;
    padding: 16px 20px;
    border-radius: 12px;
    overflow-x: auto;
    font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
    font-size: 14px;
    line-height: 1.6;
    margin: 16px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}
.formula-box code {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
}

/* ==========================================================================
   Google UGC & Community Reviews Card
   ========================================================================== */
.tool-comments-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.comments-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}
.comments-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ugc-badge {
    background: #f0fdf4;
    color: #166534;
    font-weight: 800;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.comments-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
}
.community-rating-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    padding: 6px 14px;
    border-radius: 20px;
}
.rating-stars {
    font-size: 13px;
    display: flex;
    gap: 2px;
}
.rating-val {
    font-weight: 800;
    color: #b45309;
    font-size: 13.5px;
}
.rating-sub {
    font-size: 12px;
    color: #92400e;
}

/* Google UGC Notice Box */
.google-ugc-notice-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}
.ugc-notice-icon {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.ugc-notice-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}
.ugc-notice-text {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
}

/* Comment Item */
.tool-comments-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}
.tool-comment-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
}
.comment-author-avatar img {
    border-radius: 50%;
    object-fit: cover;
}
.comment-body-wrap {
    flex: 1;
}
.comment-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.comment-author-name {
    font-weight: 700;
    color: var(--text-heading);
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.verified-user-pill {
    font-size: 11px;
    background: #eff6ff;
    color: #2563eb;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.comment-date {
    font-size: 12px;
    color: var(--text-muted);
}
.comment-user-rating {
    font-size: 12px;
    margin-bottom: 8px;
}
.comment-text-content {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}
.empty-comments-state {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 14px;
    margin-bottom: 24px;
    color: var(--text-muted);
}
.empty-comments-state i {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

/* Comment Form */
.tool-comment-form-wrap {
    background: #f8fafc;
    padding: 22px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
}
.comment-reply-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-heading);
}
.comment-notes {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.comment-form-field {
    margin-bottom: 14px;
}
.comment-form-field label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.comment-form-field textarea,
.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.2s;
}
.comment-form-field textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.btn-submit-review {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit-review:hover {
    background: #1d4ed8;
}

/* ==========================================================================
   Tool Details Card (Directly After Tool Workspace)
   ========================================================================== */
.tool-details-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    margin-top: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.tool-details-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}
.details-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.details-badge {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 800;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tool-details-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0;
}
.details-meta-pill {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pill-dot {
    color: #10b981;
    font-size: 10px;
}
.tool-details-card-body {
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
}

/* ==========================================================================
   Why Choose Our [Tool] Section (Matches Screenshot Exactly)
   ========================================================================== */
.why-choose-section {
    margin-top: 32px;
}
.why-choose-heading {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.why-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(15, 23, 42, 0.06);
}
.why-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
    background: #eff6ff;
    color: #2563eb;
}
.why-card-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}
.why-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 640px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Standard Pages Styling (About, Contact, Privacy, Terms, FAQ)
   ========================================================================== */
.standard-page-wrap {
    padding: 36px 0 60px;
}
.standard-page-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    margin-top: 24px;
}
.standard-page-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 24px;
    margin-bottom: 32px;
}
.page-badge-pill {
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.standard-page-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin: 0;
}
.standard-page-body {
    font-size: 15.5px;
    line-height: 1.8;
    color: #334155;
}
.standard-page-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-top: 36px;
    margin-bottom: 14px;
}
.standard-page-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 28px;
    margin-bottom: 12px;
}
.standard-page-body p {
    margin-bottom: 18px;
}
.standard-page-body ul, .standard-page-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.standard-page-body li {
    margin-bottom: 8px;
}
@media (max-width: 640px) {
    .standard-page-card {
        padding: 24px 18px;
    }
    .standard-page-title {
        font-size: 1.7rem;
    }
}

/* ==========================================================================
   ToolSpark Blog & Tutorials Architecture (Matches Exact Reference Spec)
   ========================================================================== */

.blog-archive-main {
    padding: 24px 0 64px 0;
}

/* Breadcrumbs */
.blog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 22px;
}

.blog-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s ease;
}

.blog-breadcrumbs a:hover {
    color: #2563eb;
}

.blog-breadcrumbs .bc-sep {
    color: #cbd5e1;
    font-size: 12px;
}

.blog-breadcrumbs .bc-current {
    color: #0f172a;
    font-weight: 600;
}

/* Left-Aligned Page Header */
.blog-page-header {
    text-align: left;
    max-width: 860px;
    margin: 0 0 28px 0;
}

.blog-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e0edff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 14px;
}

.blog-badge-pill i {
    font-size: 12px;
}

.blog-main-title {
    font-size: 2.45rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 0 12px 0;
}

.blog-main-desc {
    font-size: 15.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Filter Bar & Search */
.blog-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.blog-filter-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    border-color: #cbd5e1;
    color: #0f172a;
}

.filter-pill.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}

.blog-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.blog-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.blog-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
}

.blog-search-input {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-full);
    padding: 8px 16px 8px 36px;
    font-size: 13.5px;
    color: #1e293b;
    width: 220px;
    outline: none;
    transition: all 0.2s ease;
}

.blog-search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    width: 250px;
}

/* Featured Article Card (2-Column Hero Split) */
.blog-featured-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 34px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.featured-card-visual {
    background: #eef4ff;
    min-height: 290px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-visual-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.featured-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-featured-card:hover .featured-visual-img {
    transform: scale(1.03);
}

.featured-visual-feather {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 290px;
}

.featured-visual-feather i {
    font-size: 44px;
    color: #2563eb;
    transform: rotate(-15deg);
    transition: transform 0.3s ease;
}

.blog-featured-card:hover .featured-visual-feather i {
    transform: rotate(-5deg) scale(1.1);
}

.featured-card-body {
    padding: 34px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-card-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.featured-card-badge:hover {
    background: #dbeafe;
}

.featured-card-badge i {
    font-size: 10px;
}

.featured-card-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.featured-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.featured-card-title a:hover {
    color: #2563eb;
}

.featured-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    color: #334155;
}

.author-avatar-round {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.meta-sep-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.featured-card-excerpt {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 22px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-action {
    display: flex;
    align-items: center;
}

.btn-featured-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-featured-read:hover {
    background: #1d4ed8;
    transform: translateX(2px);
    color: #ffffff;
}

/* 3-Column Responsive Blog Cards Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.blog-card-thumb-wrap {
    position: relative;
    height: 180px;
    background: #eef4ff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-thumb-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.blog-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb-img {
    transform: scale(1.04);
}

.blog-card-pastel-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #eef4ff;
}

.blog-card-pastel-thumb i {
    font-size: 34px;
    color: #2563eb;
    opacity: 0.9;
    transition: transform 0.25s ease;
}

.blog-card:hover .blog-card-pastel-thumb i {
    transform: scale(1.08);
}

.blog-card-cat-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffffff;
    color: #2563eb;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    z-index: 2;
    transition: all 0.15s ease;
}

.blog-card-cat-pill:hover {
    background: #2563eb;
    color: #ffffff;
}

.blog-card-body {
    padding: 20px 22px 18px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.blog-card-title a:hover {
    color: #2563eb;
}

.blog-card-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 18px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.65em;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
}

.blog-card-read-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease, color 0.15s ease;
}

.blog-card:hover .blog-card-read-link {
    color: #1d4ed8;
    transform: translateX(3px);
}

/* Pagination */
.blog-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.blog-pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-pagination-wrap .page-numbers.current,
.blog-pagination-wrap .page-numbers:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

/* Empty State */
.blog-empty-state {
    padding: 60px 24px;
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin: 36px 0;
}

.blog-empty-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.blog-empty-title {
    font-size: 1.6rem;
    color: #0f172a;
    margin-bottom: 10px;
}

.blog-empty-desc {
    color: #64748b;
    max-width: 500px;
    margin: 0 auto 24px auto;
    font-size: 15px;
    line-height: 1.6;
}

/* Bottom Tools Callout */
.blog-bottom-tools-cta {
    margin: 56px 0 20px;
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.blog-bottom-tools-cta .cta-content-col {
    max-width: 650px;
}

.blog-bottom-tools-cta .cta-heading {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 8px 0 10px;
}

.blog-bottom-tools-cta .cta-subheading {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

.blog-bottom-tools-cta .btn-cta-tools {
    padding: 14px 28px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-featured-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    .blog-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .blog-search-box, .blog-search-input {
        width: 100%;
    }
}

/* ==========================================================================
   Single Blog Article Layout & Typography
   ========================================================================== */

.blog-single-main {
    padding: 32px 0 64px 0;
}

.blog-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 40px;
    align-items: start;
}

.blog-article-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 44px 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.blog-single-header {
    margin-bottom: 28px;
}

.blog-header-meta-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.meta-pill-cat {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.meta-pill-cat:hover {
    background: #c7d2fe;
    color: #3730a3;
}

.meta-pill-item {
    background: #f1f5f9;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-updated {
    background: #ecfdf5;
    color: #047857;
}

.blog-single-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.025em;
    line-height: 1.25;
    margin: 16px 0 14px 0;
}

.blog-lead-subtitle {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 450;
}

.blog-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 0;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.blog-author-avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
}

.blog-author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-author-name {
    font-weight: 800;
    font-size: 15px;
    color: #0f172a;
}

.author-badge {
    font-size: 11px;
    font-weight: 700;
    background: #e0e7ff;
    color: #4338ca;
    padding: 2px 8px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.author-role {
    font-size: 12.5px;
    color: #64748b;
}

.blog-share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-right: 4px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.share-btn-twitter:hover { background: #000000; }
.share-btn-linkedin:hover { background: #0a66c2; }
.share-btn-facebook:hover { background: #1877f2; }
.share-btn-whatsapp:hover { background: #25d366; }

/* Featured Media (Contained & Framed with Studio Elegance) */
.blog-featured-media,
.blog-single-featured-media {
    margin: 20px 0 32px 0;
    border-radius: 14px;
    overflow: hidden;
    max-height: 440px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.blog-main-hero-img,
.blog-single-featured-img {
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    display: block;
}

.blog-featured-media .wp-caption-text,
.blog-single-featured-media .wp-caption-text {
    font-size: 13px;
    color: #94a3b8;
    margin: 8px 0 0;
    text-align: center;
    padding: 0 12px 10px;
}

/* Key Takeaways Card */
.blog-takeaways-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 26px 0 34px 0;
}

.takeaways-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 15px;
    color: #166534;
    margin-bottom: 8px;
}

.takeaways-icon {
    font-size: 16px;
    color: #15803d;
}

.takeaways-content p {
    margin: 0;
    font-size: 15px;
    color: #166534;
    line-height: 1.6;
}

/* Rich Prose Typography for Article Body */
.blog-content-body {
    font-size: 17.5px;
    line-height: 1.82;
    color: #334155;
}

.blog-content-body p {
    margin-bottom: 22px;
}

.blog-content-body h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-heading);
    margin: 44px 0 18px 0;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    line-height: 1.3;
}

.blog-content-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 32px 0 14px 0;
    line-height: 1.35;
}

.blog-content-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 24px 0 10px 0;
}

.blog-content-body ul,
.blog-content-body ol {
    margin: 0 0 24px 28px;
    font-size: 16.5px;
}

.blog-content-body li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.blog-content-body blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 30px 0;
    font-style: italic;
    color: #1e293b;
    font-size: 16.5px;
    line-height: 1.7;
}

.blog-content-body pre {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 12px;
    padding: 20px 24px;
    font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
    margin: 28px 0;
}

.blog-content-body code:not(pre code) {
    background: #f1f5f9;
    color: #0f172a;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 14px;
    font-family: monospace;
}

.blog-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.blog-content-body th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    text-align: left;
    padding: 12px 18px;
    border: 1px solid var(--border);
}

.blog-content-body td {
    padding: 12px 18px;
    border: 1px solid var(--border);
    color: #334155;
}

.blog-content-body tr:nth-child(even) td {
    background: #f8fafc;
}

/* Article Tags Row */
.blog-tags-row {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-tags-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-tags-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-tag-item {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-tag-item:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Bottom Share Strip */
.blog-bottom-share-strip {
    margin-top: 28px;
    padding: 20px 26px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.share-strip-text strong {
    display: block;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 2px;
}

.share-strip-text span {
    font-size: 13.5px;
    color: #64748b;
}

/* Author Box */
.blog-author-box {
    margin-top: 36px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.blog-author-avatar-large {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #ffffff;
    box-shadow: var(--shadow-sm);
}

.blog-author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-author-bio-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bio-name-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bio-name-line h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.bio-tag {
    font-size: 11px;
    font-weight: 700;
    background: #ecfdf5;
    color: #047857;
    padding: 2px 8px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bio-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.bio-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 4px 0 0;
}

/* Post Navigation (Prev / Next) */
.blog-post-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}

.blog-post-nav-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 22px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.blog-post-nav-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.nav-card-next .blog-nav-dir {
    justify-content: flex-end;
}

.nav-card-placeholder {
    background: #f8fafc;
    border-style: dashed;
}

.blog-nav-dir {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-nav-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

/* Sidebar Widgets */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 90px;
}

.blog-widget {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px 28px;
    box-shadow: var(--shadow-sm);
}

.blog-widget-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.blog-widget-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-tool-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-tool-links-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.2s;
}

.widget-tool-links-list a:hover {
    background: #f1f5f9;
    color: var(--primary);
    transform: translateX(3px);
}

.widget-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.widget-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.widget-cat-list a:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.cat-pill-count {
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
}

.widget-recent-articles {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.recent-article-item {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.recent-article-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.recent-article-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.recent-article-title:hover {
    color: var(--primary);
}

.recent-article-date {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.widget-tools-cta {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    text-align: center;
    padding: 32px 24px;
}

.widget-tools-cta h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.widget-tools-cta p {
    color: #bfdbfe;
    font-size: 13.5px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.widget-tools-cta .btn-cta-tools {
    display: inline-block;
    background: #ffffff;
    color: #1e40af;
    font-weight: 800;
    font-size: 13.5px;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.widget-tools-cta .btn-cta-tools:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Related Posts Below Article */
.blog-related-section {
    margin-top: 54px;
}

.blog-related-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Rules for Blog */
@media (max-width: 991px) {
    .blog-single-layout {
        grid-template-columns: 1fr;
    }
    .blog-article-card {
        padding: 32px 24px;
    }
    .blog-single-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .blog-main-title {
        font-size: 2.1rem;
    }
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    .blog-post-nav-grid {
        grid-template-columns: 1fr;
    }
    .blog-author-box {
        flex-direction: column;
        text-align: center;
    }
}



