/*
Theme Name: My Prompt Theme
Theme URI: https://promptyaari.com/
Author: Prompt Yaari
Author URI: https://promptyaari.com/
Description: A high-performance, ultra-lightweight WordPress theme engineered for AI prompt directories and showcase blogs. Features pure vanilla CSS/JS, auto-scrolling story carousel, live modal search, responsive View Prompt popup, standardized 5-button prompt actions, auto-TOC, numbered section badges, colorful callout boxes, and smooth animated FAQ accordions.
Version: 1.2.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-prompt-theme
Tags: grid-layout, two-columns, three-columns, right-sidebar, custom-colors, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   0. Design Tokens & Custom Properties
   ========================================================================== */

:root {
    --color-primary: #ff6a00;
    --color-primary-hover: #e05d00;
    --color-primary-light: #fff7ed;
    --color-primary-border: #fed7aa;
    --color-primary-text: #9a3412;

    --color-secondary: #0284c7;
    --color-secondary-light: #f0f9ff;

    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-subtle-hover: #e2e8f0;
    --bg-dark: #0b0f19;
    --bg-dark-surface: #131b2e;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    --text-dark-muted: #94a3b8;

    --border-light: #e2e8f0;
    --border-subtle: #f1f5f9;

    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 36px;
    --space-xxl: 56px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 999px;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 14px 36px rgba(15, 23, 42, 0.10);
    --shadow-hover: 0 16px 38px rgba(15, 23, 42, 0.11);

    --container-width: 1240px;
    --sidebar-width: 315px;
}

/* ==========================================================================
   1. CSS Reset & Base Typography
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-page);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.96rem;
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

[hidden] {
    display: none !important;
}

main.site-main {
    flex: 1 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    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: var(--bg-surface);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    height: auto;
    left: 8px;
    top: 8px;
    padding: 10px 16px;
    width: auto;
    z-index: 100000;
}

.site-container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

/* Two-Column Main + Right Sidebar Grid (Single, Archive, Search, Page) */
.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
    gap: 28px;
    align-items: start;
}

.primary-content-column {
    min-width: 0;
}

/* ==========================================================================
   2. Header & Single Unified Navigation
   ========================================================================== */

.site-header {
    background-color: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e8eef5;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.03);
    position: sticky;
    top: 0;
    z-index: 200;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
}

.site-header-inner {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo,
.site-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

/* Tablet & Desktop Sleek Header & Logo Sizing (769px+ and 1024px+) */
@media (min-width: 769px) {
    .site-header-inner {
        height: 56px;
    }

    .site-logo img,
    .custom-logo {
        height: 34px !important;
        max-height: 34px !important;
        width: auto !important;
        object-fit: contain;
    }

    .site-title-link {
        font-size: 1.3rem;
        gap: 8px;
    }

    .site-logo-icon {
        width: 30px;
        height: 30px;
    }
}

@media (min-width: 1024px) {
    .site-header-inner {
        height: 58px;
    }

    .site-logo img,
    .custom-logo {
        height: 36px !important;
        max-height: 36px !important;
        width: auto !important;
        object-fit: contain;
    }

    .site-title-link {
        font-size: 1.36rem;
    }
}

.site-title-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.36rem;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.site-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
    color: var(--text-inverse);
    box-shadow: 0 3px 10px rgba(255, 106, 0, 0.25);
}

.main-navigation {
    margin-left: auto;
}

.main-navigation .nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation .nav-menu>li {
    position: relative;
}

.main-navigation .nav-menu>li>a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    font-size: 0.83rem;
    font-weight: 700;
    color: #1e293b;
    border-radius: var(--radius-pill);
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    transition: all 0.16s ease;
    white-space: nowrap;
}

.main-navigation .nav-menu>li>a:hover,
.main-navigation .nav-menu>li.menu-item-has-children:hover>a,
.main-navigation .nav-menu>li.menu-item-has-children:focus-within>a,
.main-navigation .nav-menu>li.is-submenu-open>a {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    border-color: #fb923c;
    color: #7c2d12;
}

.main-navigation .nav-menu>.current-menu-item>a,
.main-navigation .nav-menu>.current-menu-ancestor>a {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fdba74;
    color: #ea580c;
    box-shadow: 0 2px 6px rgba(255, 106, 0, 0.10);
}

.main-navigation .nav-arrow {
    font-size: 0.72rem;
    line-height: 1;
    display: inline-block;
    transition: transform 0.2s ease;
    opacity: 0.85;
}

.main-navigation .menu-item-has-children:hover>a .nav-arrow,
.main-navigation .menu-item-has-children:focus-within>a .nav-arrow,
.main-navigation .menu-item-has-children.is-submenu-open>a .nav-arrow {
    transform: rotate(180deg);
}

/* Invisible hover bridge so cursor travels smoothly from pill to dropdown */
@media (min-width: 961px) {
    .main-navigation .nav-menu>li.menu-item-has-children::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 12px;
        display: block;
    }

    .main-navigation .nav-menu .sub-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        min-width: 214px;
        background-color: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.11), 0 2px 6px rgba(15, 23, 42, 0.04);
        padding: 8px;
        margin: 0;
        list-style: none;
        display: none;
        flex-direction: column;
        gap: 2px;
        z-index: 9999;
    }

    .main-navigation .nav-menu>li.menu-item-has-children:hover>.sub-menu,
    .main-navigation .nav-menu>li.menu-item-has-children:focus-within>.sub-menu,
    .main-navigation .nav-menu>li.menu-item-has-children.is-submenu-open>.sub-menu {
        display: flex;
        animation: navSubmenuIn 0.15s ease-out;
    }

    @keyframes navSubmenuIn {
        from {
            opacity: 0;
            transform: translateY(4px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .main-navigation .nav-menu .sub-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .main-navigation .nav-menu .sub-menu a {
        display: block;
        width: 100%;
        padding: 9px 14px;
        font-size: 0.87rem;
        font-weight: 600;
        color: #1e293b;
        background: transparent;
        border: none;
        border-radius: 10px;
        box-shadow: none;
        white-space: nowrap;
        text-align: left;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

    .main-navigation .nav-menu .sub-menu a:hover,
    .main-navigation .nav-menu .sub-menu .current-menu-item>a {
        background-color: #fff7ed;
        color: var(--color-primary);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-search-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.16s ease;
}

.header-search-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.25);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    padding: 2px 0;
}

.hamburger-bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-primary);
    border-radius: var(--radius-pill);
}

/* ==========================================================================
   3. Centered Popup Modals: "View Prompt" Modal (Fix 1) & Search Modal (Fix 3)
   ========================================================================== */

.theme-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.60);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9995;
}

.theme-modal-box {
    width: 100%;
    max-width: 650px;
    background-color: var(--bg-surface);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 88vh;
    animation: modalPopIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.theme-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.modal-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modal-title-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-modal-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.theme-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--bg-subtle);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.theme-modal-close:hover {
    background-color: #fee2e2;
    color: #dc2626;
}

/* View Prompt Modal Content & Scroll Area (Fix 1) */
.view-prompt-modal-scroll {
    padding: 20px 22px;
    overflow-y: auto;
    max-height: 44vh;
    background-color: var(--bg-surface);
}

.view-prompt-modal-code {
    font-family: var(--font-mono);
    font-size: 0.92rem;
    line-height: 1.68;
    color: var(--text-primary);
    background-color: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px 18px;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

.view-prompt-modal-footer {
    padding: 16px 22px 20px;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-page);
    flex-shrink: 0;
}

/* Header Search Modal Specific Styles (Fix 3) */
.search-modal-box {
    max-width: 640px;
}

.search-modal-top-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.search-modal-lens {
    color: var(--color-primary);
    flex-shrink: 0;
}

.search-modal-input {
    flex: 1 1 auto;
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.02rem;
    color: var(--text-primary);
}

.search-modal-input::placeholder {
    color: var(--text-muted);
}

.search-modal-popular-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-subtle);
    background-color: #fcfcfd;
    flex-shrink: 0;
}

.search-popular-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark-muted);
    margin-right: 2px;
}

.search-popular-pill {
    display: inline-block;
    padding: 5px 13px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    background-color: var(--bg-subtle);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    transition: all 0.15s ease;
}

.search-popular-pill:hover,
.search-popular-pill.is-active {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-border);
    color: var(--color-primary);
}

.search-modal-results {
    padding: 12px 14px 16px;
    overflow-y: auto;
    max-height: 390px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 10px;
    border-radius: 12px;
    transition: background-color 0.14s ease;
}

.search-result-item:hover {
    background-color: var(--bg-page);
}

.search-result-thumb {
    width: 54px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: var(--bg-subtle);
}

.search-result-thumb-fallback {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
}

.search-result-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-result-title {
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-item:hover .search-result-title {
    color: var(--color-primary);
}

.search-result-cat {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--color-primary);
}

.search-modal-empty {
    padding: 32px 16px;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* ==========================================================================
   4. Hero Section & Continuously Auto-Scrolling Story Carousel (Fix 8)
   ========================================================================== */

.hero-section {
    background: radial-gradient(circle at 50% 0%, #fff7ed 0%, #ffffff 55%, var(--bg-page) 100%);
    padding: 44px 0 18px;
    text-align: center;
}

.hero-container {
    max-width: 860px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-primary-border);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.hero-title {
    font-size: 2.45rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.hero-title-accent {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.02rem;
    color: var(--text-secondary);
    max-width: 690px;
    margin: 0 auto 26px;
}

.hero-search-wrapper {
    max-width: 680px;
    margin: 0 auto 10px;
}

.hero-search-input-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-surface);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 6px 7px 6px 18px;
    box-shadow: var(--shadow-md);
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.hero-search-input-box:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.search-lens-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-right: 10px;
}

.hero-search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.hero-search-input::placeholder {
    color: var(--text-muted);
}

.hero-search-clear {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-subtle);
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.hero-search-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
    color: var(--text-inverse);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.25);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.hero-search-submit:hover {
    opacity: 0.94;
    transform: translateY(-1px);
}

/* Story-Style Auto-Scrolling Horizontal Strip (Fix 8) */
.hero-story-strip-section {
    padding: 10px 0 26px;
}

.hero-story-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    border-radius: 18px;
}

.hero-story-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: max-content;
    padding: 4px 0 8px;
    will-change: transform;
    backface-visibility: hidden;
}

.hero-story-track.is-animated {
    animation: storyMarqueeScroll 16.5s linear infinite;
}

.js-enabled .hero-story-track.is-animated,
.hero-story-track.is-animated.js-raf-ready {
    animation: none !important;
}

.hero-story-marquee:hover .hero-story-track.is-animated:not(.js-raf-ready),
.hero-story-marquee:focus-within .hero-story-track.is-animated:not(.js-raf-ready) {
    animation-play-state: paused;
}

@keyframes storyMarqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.hero-story-card {
    flex: 0 0 152px;
    width: 152px;
    height: 218px;
    margin-right: 14px;
    border-radius: 18px;
    overflow: hidden;
    background-color: var(--bg-subtle);
    box-shadow: var(--shadow-md);
    display: block;
    contain: layout paint;
    transition: box-shadow 0.2s ease;
}

.hero-story-card:hover {
    box-shadow: var(--shadow-lg);
}

.hero-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.25s ease;
}

.hero-story-card:hover .hero-story-img {
    transform: scale(1.04);
}

/* Category Filter Pills */
.category-pills-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.home-pills-bar {
    margin-bottom: 28px;
}

.pill-chip {
    display: inline-block;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    transition: all 0.16s ease;
}

.pill-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.pill-chip-active {
    background-color: var(--text-primary);
    color: var(--text-inverse) !important;
    border-color: var(--text-primary);
}

/* ==========================================================================
   5. Post Preview Cards Grid (Fix 6 & Fix 7)
   ========================================================================== */

.prompt-grid-section {
    padding-bottom: var(--space-xxl);
}

/* Full-width 3-column homepage grid (Fix 4 + Elementor conflict protection) */
.prompt-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 2-column grid when paired beside sidebar on archive/search/related */
.prompt-cards-grid-sidebar,
.prompt-cards-grid-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.prompt-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex !important;
    flex-direction: column;
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.prompt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.prompt-card-media {
    position: relative;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 228px !important;
    background-color: var(--bg-subtle);
    overflow: hidden !important;
}

.prompt-card-thumb-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.prompt-card-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 228px !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center center !important;
    transition: transform 0.32s ease;
}

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

.prompt-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e2e8f0;
    color: #64748b;
}

/* Top-Left Overlaid 1-2 Small Orange/Dark Category Badge Pills (Fix 7) */
.prompt-card-badges-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
}

.prompt-card-badge-pill {
    pointer-events: auto;
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    line-height: 1.2;
}

.badge-pill-orange {
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
    color: var(--text-inverse) !important;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.35);
}

.badge-pill-dark {
    background-color: rgba(15, 23, 42, 0.84);
    backdrop-filter: blur(4px);
    color: var(--text-inverse) !important;
}

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

.prompt-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.38;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.prompt-card-excerpt {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Simplified Card Footer: "[Author Name] • [Date]" left + "Read →" right (Fix 6) */
.prompt-card-footer {
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.prompt-card-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prompt-card-read-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.prompt-card-read-link:hover {
    color: var(--color-primary);
}

/* Styled Empty State Card */
.no-prompts-found {
    grid-column: 1 / -1;
    background-color: var(--bg-surface);
    border: 1.5px dashed #cbd5e1;
    border-radius: var(--radius-xl);
    padding: 52px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.empty-state-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-primary-border);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 20px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
    color: var(--text-inverse) !important;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.25);
}

/* ==========================================================================
   6. Standardized 2-Row, 5-Button Prompt Action Group (Fix 2)
   ========================================================================== */

.prompt-std-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-prompt-box .prompt-std-actions {
    padding: 0 20px 20px;
}

.prompt-std-row-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.prompt-std-row-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.btn-prompt-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
    color: var(--text-inverse) !important;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 11px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.22);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-prompt-orange:hover {
    opacity: 0.93;
    transform: translateY(-1px);
}

.btn-copy-prompt.is-copied {
    background: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.ai-launch-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.83rem;
    font-weight: 800;
    color: var(--text-inverse) !important;
    text-align: center;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.ai-launch-pill:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.launch-chatgpt {
    background-color: #10a37f;
}

.launch-gemini {
    background-color: #1a73e8;
}

.launch-grok {
    background-color: #0f172a;
}

/* ==========================================================================
   7. Right Sidebar Widgets (Single Post, Archive, Page)
   ========================================================================== */

.site-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sidebar-widget-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: var(--radius-pill);
    background-color: var(--color-primary);
}

.author-widget-body {
    text-align: center;
}

.author-avatar-wrap {
    width: 86px;
    height: 86px;
    margin: 0 auto 12px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #fed7aa 0%, #ff6a00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar-wrap img,
.author-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.author-display-name {
    font-size: 1.06rem;
    font-weight: 800;
    color: var(--text-primary);
}

.author-verified-badge {
    display: inline-flex;
    align-items: center;
}

.author-bio-text {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.58;
    margin-bottom: 16px;
}

.btn-author-guides {
    display: inline-block;
    background-color: var(--color-primary-light);
    color: var(--color-primary-text);
    border: 1px solid var(--color-primary-border);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
}

.btn-author-guides:hover {
    background-color: var(--color-primary);
    color: var(--text-inverse);
    border-color: var(--color-primary);
}

.trending-widget-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trending-widget-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trending-item-thumb {
    width: 68px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--bg-subtle);
}

.trending-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

.trending-item-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.trending-item-title {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-item-title:hover {
    color: var(--color-primary);
}

.trending-item-date {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.sidebar-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-tag-chip {
    display: inline-block;
    padding: 5px 13px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
}

.sidebar-tag-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.sidebar-categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background-color: var(--bg-page);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.sidebar-cat-count {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-muted);
    background-color: var(--bg-surface);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
}

/* Style any custom WordPress Gutenberg Block Widgets added in Sidebar (e.g. headings & lists) */
.sidebar-widget-card .wp-block-heading,
.sidebar-widget-card h2:not(.author-display-name) {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 18px 0;
    padding-bottom: 10px;
    position: relative;
}

.sidebar-widget-card .wp-block-heading::after,
.sidebar-widget-card h2:not(.author-display-name)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: var(--radius-pill);
    background-color: var(--color-primary);
}

.sidebar-widget-card ul:not(.trending-widget-list):not(.sidebar-categories-list) {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-widget-card ul:not(.trending-widget-list):not(.sidebar-categories-list) li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background-color: var(--bg-page);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sidebar-widget-card ul:not(.trending-widget-list):not(.sidebar-categories-list) li a:hover {
    border-color: var(--color-primary-border);
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

/* ==========================================================================
   8. Single Post Page, Auto TOC & Numbered H2 Badges
   ========================================================================== */

.single-page-outer,
.page-outer-container {
    padding-top: 24px;
    padding-bottom: var(--space-xxl);
}

.breadcrumbs-bar {
    margin-bottom: 16px;
}

.breadcrumbs-pill-box {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 10px 0 !important;
    box-shadow: none !important;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--color-secondary);
    font-weight: 600;
}

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

.single-article-header-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 16px 0 !important;
    margin-bottom: 20px !important;
    box-shadow: none !important;
}

.single-category-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-primary-text);
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-primary-border);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.single-article-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.24;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.single-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.meta-author-avatar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.single-featured-block {
    margin: 0 0 24px 0;
    width: 100%;
}

.single-featured-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 495px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: var(--bg-subtle);
    box-shadow: var(--shadow-md);
}

.single-featured-img,
.single-featured-media img,
img.single-featured-img.wp-post-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 495px !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: var(--radius-xl) !important;
}

/* Primary Prompt Box (Unboxed, flows directly on page) */
.single-prompt-box {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
}

.prompt-box-header {
    background: transparent !important;
    padding: 0 0 8px 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none !important;
}

.prompt-box-model-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--text-primary);
}

.prompt-box-model-tag svg {
    color: var(--color-primary);
}

.prompt-verified-pill {
    font-size: 0.72rem;
    font-weight: 700;
    color: #047857;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.prompt-box-content {
    padding: 0 0 12px 0 !important;
}

.prompt-code-display {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--text-primary);
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.62;
    max-height: 140px;
    overflow: hidden;
    position: relative;
}

/* In-Post Prompt Showcase Card (<figure> + <pre> + 5-button group) */
.prompt-media-block {
    margin: 1.6rem 0 2rem;
}

.prompt-media-figure figure {
    display: block !important;
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto 14px !important;
    text-align: center;
}

.prompt-media-figure img {
    display: block !important;
    width: 100% !important;
    max-width: 460px !important;
    height: auto !important;
    margin: 0 auto !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

/* Unboxed In-Post Prompt Block — Flows directly on normal page background */
.prompt-inline-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 1.25rem 0 1.75rem !important;
}

.prompt-inline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 6px !important;
    margin-bottom: 8px !important;
    border-bottom: none !important;
}

.prompt-inline-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-primary);
}

.prompt-inline-preview {
    position: relative;
    max-height: 118px;
    overflow: hidden;
    margin-bottom: 12px !important;
}

.prompt-inline-preview::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, var(--bg-page) 100%);
    pointer-events: none;
}

.prompt-code-snippet {
    font-family: var(--font-mono) !important;
    font-size: 0.86rem !important;
    line-height: 1.6 !important;
    color: var(--text-primary) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: pre-wrap;
}

/* Auto-Generated Table of Contents (Unboxed, flows directly on page) */
.toc-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 24px 0 32px !important;
    box-shadow: none !important;
}

.toc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--border-light);
    margin-bottom: 16px;
}

.toc-card.is-collapsed .toc-card-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.toc-card.is-collapsed .toc-card-body {
    display: none;
}

.toc-card-body {
    padding: 0 !important;
}

.toc-card-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.toc-card-title svg {
    color: var(--color-primary);
}

.toc-toggle-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-secondary);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    cursor: pointer;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}

.toc-item-h3 {
    padding-left: 14px;
}

.toc-link {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1d4ed8;
    line-height: 1.45;
}

.toc-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.toc-num {
    color: var(--text-muted);
    font-weight: 700;
}

/* Main Post & Page Body (Unboxed, flows directly on page) */
.single-content-body {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: none !important;
}

.entry-content p {
    margin-bottom: 1.25rem;
}

.entry-content a:not(.ai-launch-pill):not(.toc-link) {
    color: var(--color-secondary);
    font-weight: 600;
}

.entry-content ul,
.entry-content ol:not(.toc-list) {
    margin: 0 0 1.35rem 1.35rem;
}

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

.entry-content ol:not(.toc-list) {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: 0.55rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--text-primary);
    scroll-margin-top: 90px;
}

/* FIX 7: Strengthen H2 — High Contrast, Vivid Orange Border, Soft Tint Bar & Bold Badge */
.entry-content h2.numbered-section-heading,
.single-prompt-article h2.numbered-section-heading,
h2.numbered-section-heading,
.single-content-body h2:not(.related-section-title):not(.community-cta-title):not(.prompt-card-title):not(.contact-panel-title),
.single-prompt-article h2:not(.related-section-title):not(.community-cta-title):not(.prompt-card-title):not(.contact-panel-title),
.entry-content h2:not(.related-section-title):not(.community-cta-title):not(.prompt-card-title):not(.contact-panel-title) {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.44rem;
    font-weight: 900;
    line-height: 1.32;
    color: #050811 !important;
    letter-spacing: -0.022em;
    margin: 2.3rem 0 1.1rem;
    padding: 8px 14px 8px 12px;
    border-left: 6px solid #ff5500 !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(90deg, rgba(255, 85, 0, 0.08) 0%, rgba(255, 85, 0, 0.015) 75%, transparent 100%) !important;
    border-radius: 4px 14px 14px 4px;
}

.heading-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5500 0%, #ea580c 100%);
    color: #ffffff !important;
    font-size: 0.92rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.38);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.heading-text-wrap {
    color: #050811 !important;
    font-weight: 900;
}

/* FIX 7: Distinct H3 Sub-level Heading (Secondary Blue Left-Border + Tint) */
.entry-content h3.sub-section-h3,
.single-prompt-article h3.sub-section-h3,
h3.sub-section-h3,
.single-content-body h3:not(.sidebar-widget-title):not(.footer-col-title):not(.theme-modal-title),
.single-prompt-article h3:not(.sidebar-widget-title):not(.footer-col-title):not(.theme-modal-title),
.entry-content h3:not(.sidebar-widget-title):not(.footer-col-title):not(.theme-modal-title) {
    display: block;
    font-size: 1.24rem;
    font-weight: 800;
    color: #0f172a !important;
    line-height: 1.38;
    margin: 1.85rem 0 0.9rem;
    padding: 8px 14px;
    border-left: 4px solid #0284c7 !important;
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.07) 0%, rgba(2, 132, 199, 0.015) 75%, transparent 100%) !important;
    border-radius: 3px 10px 10px 3px;
}

/* FIX 7: Distinct H4 Heading (Used for Prompt Showcase Titles — Accent Dot, No Border) */
.entry-content h4.prompt-title-h4,
.single-prompt-article h4.prompt-title-h4,
h4.prompt-title-h4,
.single-content-body h4:not(.author-display-name):not(.callout-box h4),
.single-prompt-article h4:not(.author-display-name):not(.callout-box h4),
.entry-content h4:not(.author-display-name):not(.callout-box h4) {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #1e293b !important;
    line-height: 1.4;
    margin: 1.5rem 0 0.65rem;
    padding: 0;
    border: none !important;
    background: none !important;
}

.entry-content h4.prompt-title-h4::before,
.single-prompt-article h4.prompt-title-h4::before,
h4.prompt-title-h4::before,
.single-content-body h4:not(.author-display-name):not(.callout-box h4)::before,
.single-prompt-article h4:not(.author-display-name):not(.callout-box h4)::before,
.entry-content h4:not(.author-display-name):not(.callout-box h4)::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(255, 106, 0, 0.35);
}

/* Post Content Images — Uniform 460px Centered Width on Desktop/Tablet, Rounded Corners */
.entry-content .wp-block-image,
.single-content-body .wp-block-image {
    display: block !important;
    width: 100% !important;
    margin: 1.35rem auto 1.6rem !important;
    text-align: center;
}

.entry-content figure:not(.wp-block-table):not(.wp-block-embed),
.single-content-body figure:not(.wp-block-table):not(.wp-block-embed),
.entry-content .wp-block-image figure,
.entry-content figure.wp-block-image {
    display: block !important;
    width: 100% !important;
    max-width: 460px !important;
    margin: 1.35rem auto 1.6rem !important;
    text-align: center;
}

.entry-content .wp-block-image>figure,
.single-content-body .wp-block-image>figure {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.entry-content img:not(.emoji):not(.wp-smiley),
.entry-content figure img:not(.emoji):not(.wp-smiley),
.single-content-body img:not(.emoji):not(.wp-smiley),
.prompt-media-figure img,
.entry-content .wp-block-image img,
.entry-content .wp-block-image figure img,
.entry-content figure.wp-block-image img {
    display: block !important;
    width: 100% !important;
    max-width: 460px !important;
    height: auto !important;
    margin: 0 auto !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.entry-content figcaption,
.single-content-body figcaption,
.entry-content .wp-block-image figcaption,
.entry-content .wp-block-image .aligncenter>figcaption,
.wp-block-image .aligncenter>figcaption {
    display: block !important;
    width: 100% !important;
    margin: 8px auto 0 !important;
    font-size: 0.86rem;
    color: var(--text-muted);
    text-align: center !important;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.entry-content th,
.entry-content td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.entry-content th {
    background-color: var(--bg-subtle);
    color: var(--text-primary);
    font-weight: 800;
}

.single-tags-section {
    background: transparent !important;
    border: none !important;
    border-top: 1px solid var(--border-light) !important;
    border-radius: 0 !important;
    padding: 16px 0 !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    box-shadow: none !important;
}

.tags-title {
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-subtle);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.tag-pill:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

.related-prompts-section {
    margin-top: 28px;
}

.related-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 18px;
}

/* ==========================================================================
   9. Static Pages & Callout Boxes (.callout-box)
   ========================================================================== */

.static-page-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 22px;
    padding: 34px 36px;
    box-shadow: var(--shadow-sm);
}

.page-breadcrumbs {
    background-color: var(--bg-page);
    margin-bottom: 22px;
}

.page-header {
    margin-bottom: 24px;
}

.page-title {
    font-size: 2.15rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 10px;
}

.page-trust-pill {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary-text);
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-primary-border);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
}

/* Prompt Yaari Legal Pages UI System (Privacy Policy, Terms, Disclaimer) */
.legal-doc-wrapper {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.96rem;
}

.legal-lead {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.72;
    margin-bottom: 20px !important;
}

.legal-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    background: linear-gradient(180deg, #fffaf5 0%, #f8fafc 100%);
    border: 1px solid var(--border-light);
    border-top: 3.5px solid var(--color-primary);
    border-radius: 14px;
    padding: 18px 22px;
    margin: 20px 0 28px;
}

.legal-meta-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.legal-meta-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.legal-meta-value {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-word;
}

.legal-meta-value a {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.callout-box .legal-box-title {
    font-size: 1.06rem;
    font-weight: 800;
    margin: 0 0 12px 0 !important;
    line-height: 1.35;
}

.callout-box.legal-summary-green {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 1px solid #86efac;
    border-left: 5px solid #059669;
    border-radius: 16px;
    padding: 22px 26px;
    margin: 24px 0 30px;
    color: #064e3b;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.05);
}

.callout-box.legal-summary-green .legal-box-title {
    color: #065f46;
}

.callout-box.legal-summary-orange {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    border: 1px solid #fed7aa;
    border-left: 5px solid var(--color-primary);
    border-radius: 16px;
    padding: 22px 26px;
    margin: 24px 0 30px;
    color: #7c2d12;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.06);
}

.callout-box.legal-summary-orange .legal-box-title {
    color: #9a3412;
}

.callout-box.legal-summary-orange ul li::before {
    content: "✓";
    background-color: var(--color-primary);
}

.callout-box.legal-adsense-box {
    background: linear-gradient(135deg, #fffaf5 0%, #fff7ed 100%);
    border: 1px solid #fdba74;
    border-left: 5px solid #ea580c;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 20px 0 24px;
    color: #431407;
}

.callout-box.legal-adsense-box .legal-box-title {
    color: #9a3412;
}

.callout-box.legal-adsense-box ul li::before {
    content: "•";
    background-color: #ea580c;
    font-size: 0.9rem;
}

.callout-box.legal-adsense-box a {
    color: #c2410c !important;
    text-decoration: underline;
    font-weight: 700 !important;
}

.static-page-card .toc-card {
    background-color: #f8fafc !important;
    border: 1px solid var(--border-light) !important;
    border-left: 4px solid var(--color-primary) !important;
    border-radius: 14px !important;
    padding: 18px 22px !important;
    margin: 24px 0 32px !important;
}

.legal-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0 26px;
    border-radius: 14px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.legal-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 !important;
    border: none !important;
    font-size: 0.9rem;
    min-width: 540px;
}

.legal-data-table thead th {
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    padding: 13px 16px;
    border-bottom: 3px solid var(--color-primary) !important;
    text-align: left;
}

.legal-data-table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    vertical-align: top;
    line-height: 1.55;
}

.legal-data-table tbody tr:nth-child(even) td {
    background-color: #f8fafc;
}

.legal-data-table tbody tr:last-child td {
    border-bottom: none;
}

.legal-data-table tbody td strong {
    color: var(--text-primary);
}

.legal-data-table a {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-data-table a:hover {
    color: var(--color-primary-hover) !important;
}

.callout-box.callout-dark.legal-contact-card {
    background: linear-gradient(135deg, #0f172a 0%, #0b0f19 100%);
    border: 1px solid #1e293b;
    border-left: 5px solid var(--color-primary);
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 22px;
}

.callout-box.callout-dark.legal-contact-card .legal-box-title {
    color: #ffffff;
    font-size: 1.14rem;
    margin-bottom: 12px !important;
}

.callout-box.callout-dark.legal-contact-card p {
    margin-bottom: 8px;
    color: #cbd5e1;
}

.callout-box.callout-dark.legal-contact-card a {
    color: #ff8c38 !important;
    font-weight: 700 !important;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .legal-meta-grid {
        grid-template-columns: 1fr;
        padding: 15px 16px;
        gap: 10px;
    }

    .callout-box.legal-summary-green,
    .callout-box.legal-summary-orange,
    .callout-box.legal-adsense-box,
    .callout-box.callout-dark.legal-contact-card {
        padding: 18px 18px;
    }

    .static-page-card .toc-card {
        padding: 14px 16px !important;
    }
}

.callout-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #a7f3d0;
    border-left: 5px solid #10b981;
    border-radius: 16px;
    padding: 22px 26px;
    margin: 22px 0;
    color: #064e3b;
}

.callout-box h3,
.callout-box h4 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #065f46;
    margin: 0 0 12px;
}

.callout-box p:last-child,
.callout-box ul:last-child {
    margin-bottom: 0;
}

.callout-box ul {
    list-style: none !important;
    margin-left: 0 !important;
}

.callout-box ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.callout-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background-color: #10b981;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.callout-box.callout-amber,
.callout-box.callout-warning {
    background: #fffbeb;
    border-color: #fde68a;
    border-left-color: #f59e0b;
    color: #78350f;
}

.callout-box.callout-amber h3,
.callout-box.callout-amber h4 {
    color: #92400e;
}

.callout-box.callout-amber ul li::before {
    content: "!";
    background-color: #f59e0b;
}

.callout-box.callout-blue,
.callout-box.callout-info {
    background: #f8fafc;
    border-color: #dbeafe;
    border-left-color: #0284c7;
    color: var(--text-secondary);
}

.callout-box.callout-dark {
    background: var(--bg-dark);
    border-color: #1e293b;
    border-left-color: var(--color-primary);
    color: #cbd5e1;
}

.callout-box.callout-dark h3,
.callout-box.callout-dark h4,
.callout-box.callout-dark strong {
    color: var(--text-inverse);
}

.callout-box.callout-dark a {
    color: #38bdf8 !important;
}

/* ==========================================================================
   9b. Clean & Simple Contact Us Page + Contact Form 7 Styling
   ========================================================================== */

.contact-page-clean {
    color: var(--text-secondary);
}

.contact-lead-text {
    font-size: 0.98rem;
    line-height: 1.72;
    color: var(--text-secondary);
    margin: 0 0 22px 0 !important;
}

.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.contact-mini-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
}

.contact-mini-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background-color: #fff7ed;
    border: 1px solid #fed7aa;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.contact-mini-icon.contact-mini-icon-blue {
    background-color: #f0f9ff;
    border-color: #bae6fd;
    color: #0284c7;
}

.contact-mini-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-mini-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.contact-mini-email,
.contact-mini-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    word-break: break-word;
}

.contact-mini-email:hover {
    color: var(--color-primary) !important;
    text-decoration: underline;
}

.contact-mini-note {
    font-size: 0.83rem;
    line-height: 1.48;
    color: var(--text-muted);
}

.contact-form-panel {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.contact-form-panel-head {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.contact-panel-title {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
    line-height: 1.3 !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.contact-panel-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0 !important;
}

/* Contact Form 7 Clean Form Controls */
.wpcf7 form.wpcf7-form p {
    margin: 0 0 16px 0 !important;
}

.wpcf7 form.wpcf7-form p:last-of-type {
    margin-bottom: 0 !important;
}

.wpcf7 form.wpcf7-form label {
    display: block;
    font-size: 0.87rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

.wpcf7 form.wpcf7-form label br {
    display: none;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-top: 6px;
}

.wpcf7 form.wpcf7-form input[type="text"],
.wpcf7 form.wpcf7-form input[type="email"],
.wpcf7 form.wpcf7-form input[type="tel"],
.wpcf7 form.wpcf7-form input[type="url"],
.wpcf7 form.wpcf7-form textarea,
.wpcf7 form.wpcf7-form select {
    width: 100%;
    display: block;
    padding: 11px 14px;
    font-size: 0.94rem;
    line-height: 1.5;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.wpcf7 form.wpcf7-form input[type="text"]:focus,
.wpcf7 form.wpcf7-form input[type="email"]:focus,
.wpcf7 form.wpcf7-form input[type="tel"]:focus,
.wpcf7 form.wpcf7-form input[type="url"]:focus,
.wpcf7 form.wpcf7-form textarea:focus,
.wpcf7 form.wpcf7-form select:focus {
    background-color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.wpcf7 form.wpcf7-form textarea {
    min-height: 128px;
    max-height: 260px;
    resize: vertical;
}

.wpcf7 form.wpcf7-form input[type="submit"],
.wpcf7 form.wpcf7-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    font-size: 0.93rem;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.24);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.wpcf7 form.wpcf7-form input[type="submit"]:hover,
.wpcf7 form.wpcf7-form .wpcf7-submit:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 106, 0, 0.32);
}

.wpcf7 form .wpcf7-not-valid-tip {
    font-size: 0.8rem;
    font-weight: 600;
    color: #dc2626;
    margin-top: 5px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 16px 0 0 0 !important;
    padding: 11px 15px !important;
    border-radius: 10px !important;
    font-size: 0.88rem;
    font-weight: 600;
}

.contact-mailto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
    color: #ffffff !important;
    font-weight: 700 !important;
}

@media (max-width: 640px) {
    .contact-cards-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-form-panel {
        padding: 18px 16px;
    }
}

/* ==========================================================================
   10. Homepage Info Hub, Smooth FAQ, Community CTA & Centered Author Box (Fix 4)
   ========================================================================== */

.home-info-section {
    padding-bottom: 32px;
}

.home-hub-card {
    max-width: 1040px;
    margin: 0 auto;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 44px 38px;
    box-shadow: var(--shadow-sm);
}

.hub-intro-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 34px;
}

.hub-intro-title {
    font-size: 1.82rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.28;
    margin-bottom: 14px;
}

.hub-intro-desc {
    font-size: 0.96rem;
    line-height: 1.72;
    color: var(--text-secondary);
}

.hub-intro-desc+.hub-intro-desc {
    margin-top: 12px;
}

.hub-intro-desc strong {
    color: var(--text-primary);
    font-weight: 700;
}

.hub-intro-desc code,
.home-faq-answer code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background-color: var(--bg-subtle);
    color: var(--color-primary-text);
    padding: 2px 6px;
    border-radius: 5px;
}

.info-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 36px;
}

.feature-card {
    background-color: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 24px;
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-primary-border);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.feature-card-title {
    font-size: 1.06rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.feature-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.hub-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 0 0 34px;
}

.home-faq-wrapper {
    max-width: 920px;
    margin: 0 auto;
}

.faq-section-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* Individual Card-Styled Homepage FAQs (Open, SEO-friendly, subtle border) */
.home-faq-cards-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-faq-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 20px 24px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-faq-card:hover {
    border-color: var(--color-primary-border);
    box-shadow: var(--shadow-sm);
}

.home-faq-question {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.home-faq-answer {
    font-size: 0.92rem;
    line-height: 1.68;
    color: var(--text-secondary);
    margin: 0;
}

.home-faq-answer strong {
    color: var(--text-primary);
    font-weight: 700;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: var(--color-primary-border);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    font-weight: 800;
    font-size: 0.98rem;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-chevron {
    transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    color: var(--text-muted);
}

details[open]:not(.is-closing) .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    overflow: hidden;
    transition: max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease;
}

.faq-answer-inner {
    padding: 0 22px 18px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Join Our Community */
.home-community-wrap {
    margin-bottom: 32px;
}

.community-cta-section {
    margin: 28px 0;
}

.community-cta-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 22px;
    padding: 36px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.community-cta-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.community-cta-subtitle {
    font-size: 0.94rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.community-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.community-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 16px;
    color: var(--text-inverse) !important;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.community-btn:hover {
    transform: translateY(-3px);
}

.community-btn-facebook {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
}

.community-btn-telegram {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}

.community-btn-instagram {
    background: linear-gradient(135deg, #9333ea 0%, #ec4899 52%, #f97316 100%);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.28);
}

.community-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.community-btn-text small {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.9;
}

.community-btn-text strong {
    font-size: 0.98rem;
    font-weight: 800;
}

/* Centered Homepage Author Box Section (Fix 4) */
.home-author-box-section {
    padding: 4px 0 54px;
}

.home-author-card {
    max-width: 820px;
    margin: 0 auto;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 22px;
    padding: 38px 36px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.home-author-avatar-ring {
    width: 92px;
    height: 92px;
    margin: 0 auto 16px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
    box-shadow: 0 6px 18px rgba(255, 106, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-author-avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--bg-surface);
}

.home-author-role-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.home-author-role-pill {
    display: inline-block;
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-primary-border);
    color: var(--color-primary-text);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
}

.home-author-verified {
    display: inline-flex;
    align-items: center;
}

.home-author-name {
    font-size: 1.32rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.home-author-bio {
    font-size: 0.90rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto 22px;
}

.home-author-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-primary-border);
    color: var(--color-primary-text);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    transition: all 0.16s ease;
}

.home-author-cta-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--text-inverse);
}

/* ==========================================================================
   11. Archive, Search, 404 & Pagination
   ========================================================================== */

.archive-page-container,
.search-page-container,
.index-page-container {
    padding-top: 24px;
    padding-bottom: var(--space-xxl);
}

.archive-header-banner,
.search-header-banner {
    text-align: center;
    max-width: 840px;
    margin: 12px auto 34px;
}

.search-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-primary);
    background-color: var(--color-primary-light);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}

.archive-title,
.search-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 10px;
}

.archive-description {
    font-size: 0.98rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 22px;
}

.archive-search-wrap {
    max-width: 620px;
    margin: 0 auto 20px;
}

.error-404-container {
    padding: var(--space-xxl) var(--space-md);
    text-align: center;
    max-width: 640px;
}

.error-code {
    font-size: 5rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
}

.error-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 10px 0;
}

.error-search-box {
    margin: 24px 0;
}

.prompt-pagination {
    margin-top: 34px;
}

.prompt-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.prompt-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 10px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.prompt-pagination .page-numbers.current {
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
    color: var(--text-inverse);
    border-color: var(--color-primary);
}

.prompt-pagination .page-numbers:hover:not(.current) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ==========================================================================
   12. Dark Footer with Horizontally Centered Copyright (Fix 5) & Toast
   ========================================================================== */

.site-footer {
    background: linear-gradient(180deg, #0d1322 0%, #080c16 100%);
    color: #94a3b8;
    padding: 62px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: 1.35fr 1.45fr 0.9fr;
    gap: 46px;
    margin-bottom: 44px;
}

.footer-col-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0 0 10px 0;
    padding: 0;
}

.footer-heading-line {
    width: 38px;
    height: 3.5px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #ff7a00 0%, #ea580c 100%);
    margin-bottom: 18px;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.72;
    color: #94a3b8;
    margin-bottom: 18px;
}

.footer-brand-inline-link {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 122, 0, 0.65);
    text-underline-offset: 3px;
}

.footer-brand-inline-link:hover {
    color: var(--color-primary);
}

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

.badge-tag {
    font-size: 0.74rem;
    font-weight: 700;
    color: #f1f5f9;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.13);
    padding: 5px 13px;
    border-radius: var(--radius-pill);
}

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

.footer-links-list li {
    margin: 0;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links-list li:first-child {
    padding-top: 0;
}

.footer-links-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.footer-links-list a {
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    display: inline-block;
    transition: color 0.16s ease, transform 0.16s ease;
}

.footer-links-list a:hover {
    color: #ff7a00;
    transform: translateX(3px);
}

/* Horizontally Centered Footer Copyright Bar */
.footer-bottom-bar {
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0 auto;
    line-height: 1.6;
}

/* Floating Back-to-Top & Copy Toast */
.back-to-top-floating {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--bg-dark-surface);
    color: var(--text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 9980;
}

.back-to-top-floating.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-floating:hover {
    background-color: var(--color-primary);
}

.copy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    background-color: var(--text-primary);
    color: var(--text-inverse);
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 9999;
}

.copy-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.toast-icon {
    color: #10b981;
}

/* ==========================================================================
   13. Responsive Breakpoints (Mobile Modal 92% Width, Responsive Grids)
   ========================================================================== */

@media (max-width: 992px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .prompt-cards-grid,
    .prompt-cards-grid-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-features-grid,
    .community-buttons-grid,
    .footer-columns-grid {
        grid-template-columns: 1fr;
    }

    .toc-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        background-color: var(--bg-surface);
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
        padding: 16px;
        z-index: 999;
        max-height: calc(100vh - 58px);
        overflow-y: auto;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .main-navigation .nav-menu>li>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 14px;
        border-radius: 10px;
    }

    .main-navigation .nav-menu .sub-menu {
        display: none;
        flex-direction: column;
        gap: 4px;
        list-style: none;
        margin: 6px 0 2px 12px;
        padding: 4px 0 4px 12px;
        border-left: 2px solid #fed7aa;
    }

    .main-navigation .nav-menu>li.is-submenu-open>.sub-menu {
        display: flex;
    }

    .main-navigation .nav-menu .sub-menu a {
        display: block;
        width: 100%;
        padding: 8px 12px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #334155;
        border-radius: 8px;
        background: transparent;
        border: none;
    }

    .main-navigation .nav-menu .sub-menu a:hover,
    .main-navigation .nav-menu .sub-menu .current-menu-item>a {
        background-color: #fff7ed;
        color: var(--color-primary);
    }

    .mobile-menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 10px 7px;
    }
}

@media (max-width: 768px) {

    /* FIX 3: Mobile header responsive layout */
    .site-header-inner {
        height: 58px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-branding {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .site-logo img,
    .custom-logo {
        max-height: 36px !important;
        width: auto !important;
        height: auto !important;
    }

    .site-title-link {
        font-size: 1.05rem;
        gap: 7px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-logo-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        border-radius: 8px;
    }

    .site-logo-icon svg {
        width: 17px;
        height: 17px;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 58px;
        left: 0;
        width: 100%;
        background-color: var(--bg-surface);
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
        padding: 16px;
        z-index: 999;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .main-navigation .nav-menu a {
        display: block;
        padding: 10px 14px;
        border-radius: 10px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions {
        gap: 6px;
        flex-shrink: 0;
    }

    /* Ensure adequate tap targets (min 44x44px) */
    .header-search-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 11px 7px;
    }

    /* Mobile Modal: 92% width with proper padding, never breaks viewport (Fix 1 & Fix 3) */
    .theme-modal-overlay {
        padding: 0;
    }

    .theme-modal-box {
        width: 92%;
        max-width: 92%;
        max-height: 86vh;
        border-radius: 18px;
    }

    .theme-modal-header,
    .view-prompt-modal-scroll,
    .view-prompt-modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-title,
    .archive-title,
    .page-title,
    .single-article-title {
        font-size: 1.75rem;
    }

    .prompt-cards-grid,
    .prompt-cards-grid-sidebar,
    .prompt-cards-grid-2col {
        grid-template-columns: 1fr;
    }

    .prompt-std-row-top {
        grid-template-columns: 1fr 1fr;
    }

    .prompt-std-row-bottom {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .ai-launch-pill {
        font-size: 0.76rem;
        padding: 9px 6px;
    }

    .single-article-header-card,
    .single-content-body {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .static-page-card,
    .home-hub-card,
    .community-cta-card,
    .home-author-card {
        padding: 22px 18px;
    }

    .hero-story-card {
        flex: 0 0 132px;
        width: 132px;
        height: 188px;
    }
}

/* FIX 3 & FIX 4: Extra-narrow mobile breakpoint (375px-480px) */
@media (max-width: 480px) {

    /* FIX 3: Tight mobile header */
    .site-header-inner {
        height: 52px;
        gap: 4px;
    }

    .site-title-link {
        font-size: 0.95rem;
        gap: 6px;
    }

    .site-title {
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        vertical-align: middle;
    }

    .site-logo-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-radius: 7px;
    }

    .site-logo-icon svg {
        width: 15px;
        height: 15px;
    }

    .site-logo img,
    .custom-logo {
        max-height: 30px !important;
    }

    .header-search-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 10px 6px;
    }

    .main-navigation {
        top: 52px;
    }

    /* FIX 4: Prompt box section — Unboxed, smaller on mobile */
    .prompt-inline-card,
    .single-prompt-box {
        padding: 0 !important;
        margin: 1rem 0 1.4rem !important;
        border-radius: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .prompt-inline-header {
        gap: 6px;
        padding-bottom: 4px !important;
        margin-bottom: 6px !important;
        border-bottom: none !important;
    }

    .prompt-inline-title {
        font-size: 0.82rem;
    }

    .prompt-verified-pill {
        font-size: 0.64rem;
        padding: 2px 8px;
    }

    .prompt-inline-preview {
        max-height: 90px;
        margin-bottom: 8px !important;
    }

    .prompt-code-snippet {
        font-size: 0.78rem !important;
        line-height: 1.5 !important;
    }

    .prompt-code-display {
        font-size: 0.8rem;
        padding: 0 !important;
        max-height: 110px;
        background: transparent !important;
        border: none !important;
    }

    .prompt-std-actions {
        gap: 6px;
    }

    .single-prompt-box .prompt-std-actions {
        padding: 0 !important;
    }

    .prompt-std-row-top {
        gap: 6px;
    }

    .prompt-std-row-bottom {
        gap: 4px;
    }

    .btn-prompt-orange {
        font-size: 0.78rem;
        padding: 9px 10px;
        border-radius: 8px;
        gap: 5px;
    }

    .btn-prompt-orange svg {
        width: 14px;
        height: 14px;
    }

    .ai-launch-pill {
        font-size: 0.72rem;
        padding: 8px 6px;
        border-radius: 8px;
        gap: 4px;
    }

    .ai-launch-pill svg {
        width: 12px;
        height: 12px;
    }

    /* Prompt box header */
    .prompt-box-header {
        padding: 10px 12px;
    }

    .prompt-box-model-tag {
        font-size: 0.78rem;
        gap: 5px;
    }

    .prompt-box-content {
        padding: 12px 12px 10px;
    }

    /* Hero section mobile tightening */
    .hero-title {
        font-size: 1.45rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .hero-search-input-box {
        padding: 4px 5px 4px 12px;
    }

    .hero-search-submit {
        font-size: 0.82rem;
        padding: 8px 14px;
    }

    .hero-search-input {
        font-size: 0.85rem;
    }

    .hero-story-card {
        flex: 0 0 110px;
        width: 110px;
        height: 158px;
        margin-right: 10px;
        border-radius: 14px;
    }

    /* Community CTA & Homepage Hub/FAQ mobile */
    .hub-intro-title {
        font-size: 1.4rem;
    }

    .home-faq-card {
        padding: 16px 16px;
        border-radius: 12px;
    }

    .home-faq-question {
        font-size: 0.96rem;
    }

    .community-cta-card {
        padding: 22px 14px;
    }

    .community-cta-title {
        font-size: 1.3rem;
    }

    .community-btn {
        padding: 12px 10px;
        gap: 8px;
        border-radius: 12px;
    }

    .community-btn-text strong {
        font-size: 0.86rem;
    }

    /* Single post header mobile */
    .single-article-title {
        font-size: 1.4rem;
    }

    .single-article-header-card {
        padding: 0 0 12px 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .single-article-meta {
        font-size: 0.78rem;
        gap: 6px;
    }

    /* Single post top featured hero image on mobile (<= 480px): proportionate 16:10, capped at 340px */
    .single-featured-media {
        aspect-ratio: 16 / 10 !important;
        max-height: 340px !important;
        border-radius: 14px !important;
    }

    .single-featured-img,
    .single-featured-media img,
    img.single-featured-img.wp-post-image {
        aspect-ratio: 16 / 10 !important;
        max-height: 340px !important;
        height: 100% !important;
        border-radius: 14px !important;
    }

    /* Entry content images - fluid 100% width & rounded on mobile (<= 480px) */
    .entry-content figure:not(.wp-block-table):not(.wp-block-embed),
    .single-content-body figure:not(.wp-block-table):not(.wp-block-embed),
    .entry-content .wp-block-image figure,
    .entry-content figure.wp-block-image,
    .prompt-media-figure figure {
        max-width: 100% !important;
        width: 100% !important;
        margin: 1rem auto 1.25rem !important;
    }

    .entry-content .wp-block-image>figure,
    .single-content-body .wp-block-image>figure {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .entry-content img:not(.emoji):not(.wp-smiley),
    .entry-content figure img:not(.emoji):not(.wp-smiley),
    .single-content-body img:not(.emoji):not(.wp-smiley),
    .prompt-media-figure img,
    .entry-content .wp-block-image img,
    .entry-content .wp-block-image figure img,
    .entry-content figure.wp-block-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
        border-radius: 12px !important;
    }

    /* TOC tighter on mobile */
    .toc-card {
        padding: 0 !important;
        margin: 16px 0 22px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .toc-card-title {
        font-size: 0.92rem;
    }

    .toc-link {
        font-size: 0.82rem;
    }

    /* Numbered heading badges smaller */
    .heading-num-badge {
        min-width: 28px;
        height: 28px;
        font-size: 0.82rem;
        padding: 0 6px;
    }

    .entry-content h2.numbered-section-heading,
    .single-prompt-article h2.numbered-section-heading,
    h2.numbered-section-heading,
    .single-content-body h2:not(.related-section-title):not(.community-cta-title):not(.prompt-card-title),
    .single-prompt-article h2:not(.related-section-title):not(.community-cta-title):not(.prompt-card-title),
    .entry-content h2:not(.related-section-title):not(.community-cta-title):not(.prompt-card-title) {
        font-size: 1.22rem;
        gap: 9px;
        margin: 1.8rem 0 0.9rem;
        padding: 6px 10px 6px 10px;
        border-left: 5px solid #ff5500 !important;
    }

    .entry-content h3.sub-section-h3,
    .single-prompt-article h3.sub-section-h3,
    h3.sub-section-h3,
    .single-content-body h3:not(.sidebar-widget-title):not(.footer-col-title):not(.theme-modal-title),
    .single-prompt-article h3:not(.sidebar-widget-title):not(.footer-col-title):not(.theme-modal-title),
    .entry-content h3:not(.sidebar-widget-title):not(.footer-col-title):not(.theme-modal-title) {
        font-size: 1.10rem;
        padding: 6px 10px;
        margin: 1.5rem 0 0.8rem;
        border-left: 4px solid #0284c7 !important;
    }

    .entry-content h4.prompt-title-h4,
    .single-prompt-article h4.prompt-title-h4,
    h4.prompt-title-h4,
    .single-content-body h4:not(.author-display-name):not(.callout-box h4),
    .single-prompt-article h4:not(.author-display-name):not(.callout-box h4),
    .entry-content h4:not(.author-display-name):not(.callout-box h4) {
        font-size: 0.98rem;
        margin: 1.2rem 0 0.5rem;
    }
}