/* PromptDeck AI - Master Design System
   Exact PromptHero Header + Clean Sub-Nav + Edge-to-Edge Image Grid + Prompt Modal
   Brand Palette: The Prompt Deck Signature Hot Pink (#fd447c / #ff2a6d) */

:root {
    --primary: #fd447c;
    --primary-hover: #e52d67;
    --primary-light: #fff1f5;
    --primary-border: #fecdd6;
    --primary-glow: rgba(253, 68, 124, 0.22);
    --primary-gradient: linear-gradient(135deg, #ff2a6d 0%, #fd447c 100%);
    --pink-gradient: linear-gradient(90deg, #ff2a6d 0%, #fd447c 100%);
    
    --slate-950: #030712;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-sans);
    background-color: #ffffff;
    color: var(--slate-900);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   PromptHero EXACT Sticky Header with Brand Logo
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    height: 64px;
    transition: all 0.25s ease;
}

.site-header.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 100%;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Brand Logo Image */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 38px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.header-left,
.header-inner > div:first-child {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Nav Menu */
.main-nav,
.desktop-nav,
.nav-links {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 4px !important;
    margin-left: 14px !important;
}

.header-left,
.header-inner > div:first-child {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-shrink: 0 !important;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.nav-link svg {
    color: #64748b;
    transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
    color: #000000;
    background: #fdf2f5;
}

.nav-link:hover svg, .nav-link.active svg {
    color: var(--primary);
}

.nav-link .caret {
    font-size: 10px;
    margin-left: 2px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

/* Nav Item Dropdown */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.nav-item-dropdown:hover .nav-link .caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
}

/* Invisible bridge so mouse does not leave hover area */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(2px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    border-radius: 8px;
    transition: all 0.15s ease;
    text-decoration: none;
}

.dropdown-item svg {
    color: #64748b;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: #fdf2f5;
    color: var(--primary);
    transform: translateX(2px);
}

.dropdown-item:hover svg {
    color: var(--primary);
}

.dropdown-menu-right {
    left: auto;
    right: 0;
}

.dropdown-menu-right::before {
    left: auto;
    right: 0;
}

/* Header Right Actions */
.header-actions,
.header-right-nav,
.header-right-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.nav-item-dropdown,
.nav-dropdown-wrap,
.header-dropdown-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.top-announcement-bar {
    display: none !important;
}

.btn-contact-header {
    background: var(--primary);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(253, 68, 124, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-contact-header:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(253, 68, 124, 0.4);
    color: #ffffff;
}

.btn-contact-header svg {
    color: #ffffff;
}

.btn-promo-gradient {
    background: var(--pink-gradient);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(253, 68, 124, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-promo-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(253, 68, 124, 0.45);
}

.btn-dark {
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.btn-dark:hover {
    background: #000000;
}

/* ==========================================================================
   Mobile Navigation Button & Drawer Styles
   ========================================================================== */
.mobile-menu-btn {
    display: none !important;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    padding: 7px 10px;
    border-radius: 8px;
    color: #0f172a;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: #e2e8f0;
}

.mobile-menu-btn svg {
    color: #0f172a;
    display: block;
}

@media (min-width: 861px) {
    .mobile-menu-btn {
        display: none !important;
    }
    .mobile-menu-overlay,
    .mobile-menu-drawer {
        display: none !important;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: #ffffff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.14);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    transition: right 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-menu-drawer.active {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-drawer-close {
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mobile-drawer-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.mobile-drawer-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-nav-group-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.mobile-nav-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.mobile-nav-item.active {
    background: #fff1f4;
    color: var(--primary);
    font-weight: 600;
}

.mobile-nav-item svg {
    color: inherit;
    flex-shrink: 0;
}

.mobile-drawer-footer {
    padding: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(253, 68, 124, 0.25);
    transition: all 0.2s ease;
}

.mobile-drawer-cta:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

.mobile-drawer-brand-note {
    font-size: 11.5px;
    color: #94a3b8;
    text-align: center;
}

/* ==========================================================================
   PromptHero EXACT Sub-Navbar Filter Strip
   ========================================================================== */
.subnav-bar {
    position: sticky;
    top: 64px;
    z-index: 999;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 9px 20px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.subnav-bar.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.subnav-bar::-webkit-scrollbar {
    display: none;
}

.subnav-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.subnav-item {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    padding: 2px 0;
    transition: color 0.15s ease;
    position: relative;
    user-select: none;
}

.subnav-item:hover {
    color: #000000;
}

.subnav-item.active {
    color: #000000;
    font-weight: 700;
}

.subnav-item.active::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.prompt-hero-wrap {
    padding: 38px 20px 24px 20px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.prompt-hero-title {
    font-size: 38px;
    font-weight: 600;
    letter-spacing: -1px;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.15;
}

.prompt-hero-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prompt-hero-sub {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 22px;
}

.hero-search-box {
    position: relative;
    max-width: 640px;
    margin: 0 auto 16px auto;
}

.hero-search-input {
    width: 100%;
    height: 50px;
    padding: 0 110px 0 46px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 15px;
    outline: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.hero-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(253, 68, 124, 0.15);
}

.hero-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.hero-search-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    height: 38px;
    padding: 0 20px;
    border-radius: 9999px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.hero-search-btn:hover {
    background: var(--primary);
}

/* ==========================================================================
   Edge-to-Edge Masonry Gallery Grid
   ========================================================================== */
.gallery-container {
    width: 100%;
    padding: 10px 14px 60px 14px;
}

.prompt-masonry-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid-item.aspect-portrait {
    aspect-ratio: 3 / 4;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.grid-item:hover img {
    transform: scale(1.03);
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.grid-item:hover .item-overlay {
    opacity: 1;
}

.overlay-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.badge-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-tag.model-flux {
    background: var(--primary);
}

.badge-tag.model-mj {
    background: #3b82f6;
}

.overlay-heart {
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    transition: transform 0.15s ease;
}

.overlay-heart:hover {
    transform: scale(1.15);
    color: var(--primary);
}

.overlay-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.overlay-prompt-text {
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}

.overlay-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-card-copy {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.btn-card-copy:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-1px);
}

.view-count {
    font-size: 11px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Prompt Detail Modal
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-container {
    background: #ffffff;
    border-radius: 16px;
    max-width: 960px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    position: relative;
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    z-index: 20;
    transition: all 0.15s ease;
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: #000000;
}

.modal-image-col,
.modal-img-wrap {
    background: #0b0f19;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-height: 90vh;
    min-width: 0;
}

.modal-image-col img,
.modal-img-wrap img {
    width: 100%;
    height: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
}

.modal-content-col,
.modal-content {
    padding: 32px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.modal-badge-row {
    display: flex;
    gap: 8px;
}

.modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.modal-prompt-box {
    background: #fdf2f5;
    border: 1px solid var(--primary-border);
    border-radius: 10px;
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: #1e293b;
    line-height: 1.6;
    user-select: all;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 13px;
    color: #0f172a;
    padding-top: 8px;
}

.modal-meta-item .meta-label {
    color: #64748b;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.modal-copy-btn {
    background: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(253, 68, 124, 0.3);
    transition: all 0.2s ease;
    margin-top: auto;
}

.modal-copy-btn:hover {
    background: var(--primary-hover);
}

/* ==========================================================================
   Editorial & Category Hub Pages
   ========================================================================== */
.content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-400);
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: var(--slate-600);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.category-hero {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.category-hero-text h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-stats-badge {
    background: var(--primary-light);
    border: 1px solid var(--primary-border);
    border-radius: 12px;
    padding: 16px 22px;
    text-align: center;
    flex-shrink: 0;
}

.category-stats-num {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
}

.category-stats-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--slate-600);
    text-transform: uppercase;
}

.article-wrap {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.article-header {
    margin-bottom: 32px;
}

.article-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--slate-900);
    letter-spacing: -0.8px;
    margin-bottom: 10px;
}

.article-subtitle {
    font-size: 15px;
    color: var(--slate-500);
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--slate-700);
}

.article-body h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--slate-900);
    margin: 32px 0 14px 0;
}

.feature-callout {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    padding: 18px 22px;
    margin: 24px 0;
}

/* Founder Profile Card */
.founder-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.founder-img-wrap {
    width: 240px;
    height: 240px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    flex-shrink: 0;
}

.founder-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.founder-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.founder-role {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.office-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
    padding: 24px;
    background: #fdf2f5;
    border: 1px solid var(--primary-border);
    border-radius: 14px;
}

.office-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.office-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.office-val {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(253, 68, 124, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(253, 68, 124, 0.25);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

/* ==========================================================================
   Footer (PromptHero Minimal Light Theme)
   ========================================================================== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #eef2f6;
    color: #64748b;
    padding: 64px 24px 36px 24px;
    margin-top: 60px;
}

.footer-inner-grid {
    max-width: 1300px;
    margin: 0 auto 48px auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr 0.9fr;
    gap: 48px;
}

.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.footer-title-accent {
    display: none;
}

.footer-col-desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: #64748b;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links-list li a {
    color: #4b5563;
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.5;
    transition: color 0.15s ease;
    display: inline-block;
}

.footer-links-list li a:hover {
    color: #000000;
}

.footer-popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-popular-list li a {
    color: #4b5563;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    transition: color 0.15s ease;
    display: block;
}

.footer-popular-list li a:hover {
    color: #000000;
}

.footer-bottom-row {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    font-size: 12.5px;
    color: #94a3b8;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 1024px) {
    .footer-inner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .footer-inner-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1440px) {
    .prompt-masonry-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1100px) {
    .prompt-masonry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 860px) {
    .content-wrap {
        padding: 28px 16px;
    }
    .article-wrap {
        padding: 32px 20px;
    }
    .article-title {
        font-size: 28px;
    }
    .founder-card {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 24px 20px !important;
        text-align: center !important;
    }
    .founder-img-wrap {
        width: 140px !important;
        height: 140px !important;
        margin: 0 auto 12px auto !important;
    }
    .founder-info {
        text-align: center !important;
    }
    .founder-info h3 {
        font-size: 22px !important;
    }
    .founder-role {
        font-size: 12.5px !important;
        margin-bottom: 12px !important;
    }
    .founder-info p {
        font-size: 14.5px !important;
        text-align: center !important;
    }
    .office-info-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 20px 16px !important;
    }
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .post-card-horizontal {
        grid-template-columns: 1fr !important;
    }
    .post-card-thumb-wrap {
        height: 220px !important;
    }
    .modal-backdrop {
        padding: 12px;
    }
    .modal-container {
        grid-template-columns: 1fr !important;
        max-height: 92vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .modal-image-col,
    .modal-img-wrap {
        max-height: 280px !important;
        min-height: 200px;
        width: 100%;
    }
    .modal-image-col img,
    .modal-img-wrap img {
        max-height: 280px !important;
        height: 280px;
        width: 100%;
        object-fit: cover;
    }
    .modal-content-col,
    .modal-content {
        padding: 22px 18px 26px 18px !important;
        overflow-y: visible !important;
        gap: 14px;
    }
    .main-nav {
        display: none !important;
    }
    .header-actions,
    .header-right-nav {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex !important;
    }
    .header-inner {
        padding: 0 16px;
    }
    .brand-logo-img {
        height: 32px;
    }
    .site-header {
        height: 56px;
    }
    .subnav-bar {
        top: 56px;
    }
}

@media (max-width: 600px) {
    .content-wrap {
        padding: 16px 12px !important;
    }
    .article-wrap {
        padding: 20px 14px !important;
        border-radius: 12px !important;
    }
    .article-title {
        font-size: 24px !important;
        letter-spacing: -0.4px !important;
        line-height: 1.25 !important;
    }
    .article-subtitle {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    .founder-card {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 20px 14px !important;
        margin: 20px 0 !important;
        border-radius: 12px !important;
        text-align: center !important;
    }
    .founder-img-wrap {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto 10px auto !important;
        border-radius: 12px !important;
    }
    .founder-info {
        text-align: center !important;
    }
    .founder-info h3 {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }
    .founder-role {
        font-size: 11.5px !important;
        margin-bottom: 8px !important;
    }
    .founder-info p {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        text-align: center !important;
    }
    .office-info-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 16px 14px !important;
        border-radius: 12px !important;
    }
    .office-val {
        font-size: 13.5px !important;
        word-break: break-word !important;
    }
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .support-guarantee-box {
        flex-direction: column !important;
        text-align: center !important;
        padding: 18px 14px !important;
        gap: 12px !important;
    }
    .support-guarantee-box > div:first-child {
        margin: 0 auto !important;
    }
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    .prompt-masonry-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .gallery-container {
        padding: 6px;
    }
    .prompt-hero-wrap {
        padding: 26px 16px 18px 16px;
    }
    .prompt-hero-title {
        font-size: 26px;
        letter-spacing: -0.5px;
    }
    .prompt-hero-sub {
        font-size: 14px;
        margin-bottom: 18px;
    }
    .hero-search-box {
        margin-bottom: 12px;
    }
    .hero-search-input {
        height: 46px;
        font-size: 14px;
        padding: 0 88px 0 40px;
    }
    .hero-search-btn {
        height: 36px;
        padding: 0 14px;
        font-size: 13px;
        right: 5px;
        top: 5px;
    }
    .hero-search-icon {
        left: 14px;
        width: 16px;
        height: 16px;
    }
    .articles-feed-wrap {
        padding: 0 14px;
        margin: 20px auto 40px auto;
    }
    .feed-header-row {
        margin-bottom: 16px;
    }
    .feed-title {
        font-size: 20px;
    }
    .prompt-grid-4col {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .card-thumb-collage {
        height: 180px;
    }
    .card-body-vertical {
        padding: 16px;
    }
    .card-title-vertical {
        font-size: 15px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .article-wrap {
        padding: 20px 14px;
    }
    .footer-inner-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .site-footer {
        padding: 40px 16px 28px 16px;
        margin-top: 40px;
    }
    .post-layout-container {
        padding: 0 14px;
        margin-top: 16px;
    }
    .single-post-title {
        font-size: 23px;
        line-height: 1.25;
    }
    .single-post-subtitle {
        font-size: 14.5px;
    }
    .prompt-card-full {
        border-radius: 12px;
    }
    .prompt-card-body {
        padding: 16px;
    }
    .prompt-actions-row {
        gap: 8px;
    }
    .btn-view-prompt,
    .btn-copy-prompt {
        flex: 1;
        justify-content: center;
        padding: 9px 12px;
        font-size: 12.5px;
    }
    .prompt-launch-tools {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .btn-tool-launch {
        justify-content: center;
        padding: 6px 8px;
        font-size: 11.5px;
    }
    .table-of-contents-box {
        padding: 16px;
    }
}


/* ==========================================================================
   Horizontal Article Cards Feed (Homepage SEO Authority Layout)
   ========================================================================== */
.articles-feed-wrap {
    max-width: 1340px;
    margin: 30px auto 80px auto;
    padding: 0 24px;
}

.feed-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.feed-title {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
}

.feed-count {
    font-size: 13.5px;
    color: #64748b;
}

/* User Reference Filter Pills Bar (Centered rounded buttons) */
.filter-pills-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 28px auto 36px auto;
    padding: 0 16px;
    max-width: 1100px;
}

.pill-btn {
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    user-select: none;
}

.pill-btn:hover {
    border-color: #cbd5e1;
    color: #0f172a;
    background: #f8fafc;
}

.pill-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.22);
}

/* 4-Column Grid (User Reference: 4 in a row, 6 rows down) */
.prompt-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .prompt-grid-4col {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .prompt-grid-4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .prompt-grid-4col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Vertical Post Card (User Reference Card Design) */
.post-card-vertical {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
}

.post-card-vertical:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* 3-Panel Side-by-Side Thumbnail Collage (User Reference) */
.card-thumb-collage {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2px;
    height: 195px;
    overflow: hidden;
    background: #090d16;
    position: relative;
}

.card-thumb-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.post-card-vertical:hover .card-thumb-collage img {
    transform: scale(1.05);
}

/* Card Body */
.card-body-vertical {
    padding: 18px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Black & White Category & Model Tag Badges (Matches User Request) */
.card-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.tag-badge-soft {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    display: inline-block;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    transition: all 0.15s ease;
}

.tag-badge-soft:first-child {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
}

.tag-badge-soft:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.tag-badge-soft:first-child:hover {
    background: #334155;
    border-color: #334155;
}

/* Card Title */
.card-title-vertical {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.15s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-vertical:hover .card-title-vertical {
    color: var(--primary);
}

/* Card Excerpt */
.card-excerpt-vertical {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer Meta */
.card-footer-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 11.5px;
    color: #94a3b8;
}

.card-author-info {
    display: flex;
    align-items: center;
    gap: 7px;
}

.card-author-info img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.card-prompt-count,
.card-read-time {
    background: #f1f5f9;
    color: #475569;
    font-weight: 500;
    padding: 2.5px 8px;
    border-radius: 4px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-cat {
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

.badge-model {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Prompt Cards Grid System (3 Columns Desktop, 2 Columns Tablet, 1 Column Mobile) */
.prompt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .prompt-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .prompt-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Individual Prompt Card */
.prompt-card {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.prompt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.card-thumb-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

.card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.prompt-card:hover .card-thumb {
    transform: scale(1.05);
}

.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.card-badges .badge-model {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    border: none;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
    letter-spacing: 0.2px;
}

.card-badges .badge-cat {
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
    letter-spacing: 0.2px;
}

.card-body {
    padding: 18px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 10px;
}

.card-prompt-preview {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: #475569;
    line-height: 1.6;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    user-select: text;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #94a3b8;
}

.stat-item {
    display: inline-flex;
    align-items: center;
}

.btn-copy {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 7px 13px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
    box-shadow: 0 2px 6px rgba(253, 68, 124, 0.2);
}

.btn-copy:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.post-card-horizontal {
    display: grid;
    grid-template-columns: 360px 1fr;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
}

.post-card-horizontal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.post-thumb-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 230px;
    overflow: hidden;
    background: #0f172a;
}

.post-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.post-card-horizontal:hover .post-thumb-img {
    transform: scale(1.03);
}

.post-badge-float {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.post-content-wrap {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-meta-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.badge-pill-cat {
    background: #0f172a;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #0f172a;
}

.badge-pill-model {
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 6px;
}

.post-title {
    font-size: 21px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 10px;
    transition: color 0.15s ease;
}

.post-card-horizontal:hover .post-title {
    color: var(--primary);
}

.post-excerpt {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
}

.post-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    margin-top: auto;
}

.post-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-author-row img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.post-btn-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary);
    transition: transform 0.15s ease;
}

.post-card-horizontal:hover .post-btn-read {
    transform: translateX(4px);
}


/* ==========================================================================
   Single Post with Sidebar & Full Vertical Image & Action Buttons
   ========================================================================== */
.post-layout-container {
    max-width: 1240px;
    margin: 20px auto 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: flex-start;
}

.post-main-column {
    min-width: 0;
}

.post-sidebar-column {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.single-post-title {
    font-size: 34px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.single-post-subtitle {
    display: none !important;
}

/* Featured Image (Google Discover / SEO 16:9 1200px Ratio) */
.single-featured-wrap {
    width: 100%;
    margin: 20px 0 32px 0;
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.single-featured-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.featured-img-caption {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    padding: 9px 16px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: right;
    font-style: italic;
}

/* Table of Contents Box (SEO & User Navigation) */
.table-of-contents-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 26px;
    margin: 32px 0 36px 0;
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #0f172a;
}

.toc-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.toc-list li {
    font-size: 14px;
    line-height: 1.5;
}

.toc-list li a {
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.toc-list li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.toc-num-bullet {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toc-list li a:hover .toc-num-bullet {
    background: var(--primary);
    color: #ffffff;
}

/* Prompt Card with Full Vertical Image */
.prompt-card-full {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
    margin: 36px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease;
}

.prompt-card-full:hover {
    border-color: #cbd5e1;
}

.prompt-img-container {
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    padding: 24px 24px 8px 24px;
}

.prompt-full-img {
    max-width: 580px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    display: block;
    margin: 0 auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.prompt-img-container:hover .prompt-full-img {
    transform: scale(1.012);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}

.prompt-card-body {
    padding: 24px 26px;
}

.prompt-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.prompt-card-title {
    font-size: 19px;
    font-weight: 600;
    color: #0f172a;
}

.prompt-model-badge {
    font-size: 12px;
    font-weight: 600;
    background: #fdf2f5;
    color: var(--primary);
    border: 1px solid var(--primary-border);
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.prompt-card-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.prompt-code-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    color: #1e293b;
    line-height: 1.65;
    margin-bottom: 16px;
    word-break: break-word;
    user-select: all;
}

/* Action Buttons Row with View, Copy & Tool Launchers */
.prompt-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.prompt-btn-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-view-prompt {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.btn-view-prompt:hover {
    background: #1e293b;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-copy-prompt {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(253, 68, 124, 0.25);
}

.btn-copy-prompt:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.prompt-launch-tools {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.launch-tag-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    margin-right: 2px;
}

.btn-tool-launch {
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 11px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
    border: 1px solid #e2e8f0;
}

.btn-tool-launch:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #cbd5e1;
}

.prompt-technical-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    margin-top: 12px;
}


/* Sidebar Widgets */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.sidebar-widget-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Author Widget Master Styling */
.sidebar-author-card,
.sidebar-author-box,
.sidebar-author-widget {
    text-align: center;
}

.sidebar-widget:has(.sidebar-author-img),
.sidebar-widget:has(.sidebar-author-box),
.sidebar-widget:has(.author-avatar-img),
.sidebar-author-widget {
    text-align: center;
}

.sidebar-author-card {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 22px 24px 22px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-author-card:hover {
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.12), 0 6px 16px -2px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.sidebar-author-img,
.author-avatar-img,
.author-avatar-wrap img {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 auto 14px auto !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    display: block !important;
}

.author-avatar-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4px;
}

.sidebar-author-name,
.author-name {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 4px !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
}

.sidebar-author-badge,
.sidebar-author-role,
.author-role {
    font-size: 12px !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    display: inline-block !important;
    background: #fff1f5 !important;
    padding: 4px 12px !important;
    border-radius: 9999px !important;
    border: 1px solid #ffd4e1 !important;
    text-align: center !important;
}

.sidebar-author-bio,
.author-bio {
    font-size: 13.5px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
    text-align: center !important;
}

.sidebar-author-link {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 9px 20px !important;
    background: #fff1f5 !important;
    border: 1px solid #ffd4e1 !important;
    border-radius: 9999px !important;
    transition: all 0.18s ease !important;
    margin: 0 auto !important;
}

.sidebar-author-link:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(253, 68, 124, 0.25) !important;
    text-decoration: none !important;
}

/* Latest Prompts Widget */
.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-post-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.sidebar-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.sidebar-post-item:hover .sidebar-post-title {
    color: var(--primary);
}

.sidebar-post-title {
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.sidebar-post-date {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 3px;
}

/* Categories Widget */
.sidebar-cat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: #334155;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f8fafc;
    transition: all 0.15s ease;
}

.sidebar-cat-item:hover {
    background: #fdf2f5;
    color: var(--primary);
}

.sidebar-cat-count {
    font-size: 11.5px;
    color: #94a3b8;
    background: #ffffff;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

/* Tags Widget */
.sidebar-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-tag-pill {
    font-size: 12px;
    color: #475569;
    background: #f1f5f9;
    padding: 5px 11px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.sidebar-tag-pill:hover {
    background: #fdf2f5;
    color: var(--primary);
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 56px;
    padding-top: 16px;
}

.related-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.related-pill-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: #fdf2f5;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 6px;
}

.related-section-title {
    font-size: 21px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.related-view-all-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

.related-view-all-link:hover {
    color: var(--primary);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 480px));
    gap: 24px;
}

.related-card {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.related-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.related-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-card-body {
    padding: 14px 16px;
}

.related-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 6px;
}

.related-card-meta {
    font-size: 12px;
    color: #94a3b8;
}

@media (max-width: 1180px) {
    .post-layout-container {
        grid-template-columns: 1fr 300px;
        gap: 28px;
        padding: 0 16px;
    }
}

@media (max-width: 992px) {
    .post-layout-container {
        grid-template-columns: 1fr;
    }
    .post-sidebar-column {
        position: static;
        margin-top: 40px;
    }
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}


/* Eye View Counter Badges - Disabled per user request */
.card-view-count,
.article-view-badge {
    display: none !important;
}


/* ==========================================================================
   Post Content Paragraph Spacing & Formatting
   ========================================================================== */
.post-content-body p {
    font-size: 16px;
    line-height: 1.75;
    color: #334155;
    margin-top: 0;
    margin-bottom: 22px;
}

/* ==========================================================================
   Compact & Sleek Table of Contents
   ========================================================================== */
.table-of-contents-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 28px 0 36px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
}

.toc-list.toc-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px 20px;
    margin-top: 14px;
}

.toc-list.toc-compact li {
    margin-bottom: 0;
}

.toc-list.toc-compact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

.toc-list.toc-compact a:hover {
    background: #fee2e8;
    color: var(--primary);
    border-color: #fecdd6;
}

/* ==========================================================================
   Revamped Prompt Box (Matching User Reference Image 2 with Theme Colors)
   ========================================================================== */
.prompt-showcase-item {
    margin: 44px 0 56px 0;
}

.prompt-item-title {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    letter-spacing: -0.3px;
    line-height: 1.35;
}

.prompt-item-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 18px 0;
}

/* Floating Clean Image */
.prompt-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 16px 0;
}

.prompt-display-image {
    max-width: 520px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    display: block;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.prompt-display-image:hover {
    transform: scale(1.012);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

/* Prompt Sample Figure & Images (Strict 3:4 Vertical Aspect Ratio & Anti-Stretch) */
.prompt-sample-figure,
.wp-block-image.prompt-sample-figure {
    width: 100%;
    max-width: 540px;
    margin: 16px auto 20px auto !important;
    text-align: center;
}

.prompt-sample-figure img,
.wp-block-image.prompt-sample-figure img {
    width: 100% !important;
    max-width: 540px !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    display: block;
}

/* Prompt Box Card - Smooth 4-corner rounded border like mobile reference */
.prompt-box-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    max-width: 620px;
    margin: 0 auto;
}

.prompt-text-display {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0 0 16px 0;
    word-break: break-word;
}

/* Row 1: 50% - 50% Main Action Buttons (Side by Side) */
.prompt-action-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
}

.btn-prompt-main {
    flex: 1 1 0;
    min-width: 0;
    background: var(--primary);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 11px 12px;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 2px 10px rgba(253, 68, 124, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-prompt-main:hover {
    background: #e02868;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(253, 68, 124, 0.35);
}

.btn-prompt-main:active {
    transform: translateY(0);
}

/* Row 2: 3 Tool Launch Chips (Side by Side) */
.prompt-tools-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
}

.btn-tool-chip {
    flex: 1 1 0;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 6px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-chip-mj {
    background: #0f172a;
    color: #ffffff;
}
.btn-chip-mj:hover {
    background: #1e293b;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-chip-chatgpt {
    background: #10a37f;
    color: #ffffff;
}
.btn-chip-chatgpt:hover {
    background: #0d8a6b;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-chip-gemini {
    background: #2563eb;
    color: #ffffff;
}
.btn-chip-gemini:hover {
    background: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-chip-grok {
    background: #0f172a;
    color: #ffffff;
}
.btn-chip-grok:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .prompt-display-image,
    .prompt-sample-figure,
    .wp-block-image.prompt-sample-figure {
        border-radius: 14px;
        width: 100% !important;
        max-width: 100% !important;
    }
    .prompt-sample-figure img,
    .wp-block-image.prompt-sample-figure img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 4 !important;
        object-fit: cover !important;
    }
    .prompt-box-card {
        padding: 14px;
        border-radius: 16px;
    }
    .prompt-text-display {
        font-size: 13px;
        line-height: 1.55;
        margin: 0 0 12px 0;
    }
    .prompt-action-buttons {
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin-bottom: 8px;
        width: 100%;
    }
    .btn-prompt-main {
        flex: 1 1 0;
        min-width: 0;
        padding: 10px 4px;
        font-size: 12.5px;
        border-radius: 8px;
        white-space: nowrap;
        justify-content: center;
        gap: 5px;
    }
    .btn-prompt-main svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }
    .prompt-tools-row {
        display: flex;
        flex-direction: row;
        gap: 6px;
        width: 100%;
    }
    .btn-tool-chip {
        flex: 1 1 0;
        min-width: 0;
        padding: 8px 2px;
        font-size: 11px;
        border-radius: 7px;
        white-space: nowrap;
        justify-content: center;
        gap: 4px;
    }
    .btn-tool-chip svg {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }
    .toc-list.toc-compact {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Responsive Tables with Crisp Grid Lines & Header Styling
   ========================================================================== */
.responsive-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 28px 0 36px 0;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.responsive-table-wrap table,
.post-content-body table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
    color: #334155;
    min-width: 620px;
    border: none;
}

.responsive-table-wrap thead,
.post-content-body table thead {
    background-color: #f1f5f9;
    border-bottom: 2px solid #cbd5e1;
}

.responsive-table-wrap th,
.post-content-body table th {
    padding: 14px 18px;
    font-weight: 700;
    color: #0f172a;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #cbd5e1;
    border-right: 1px solid #e2e8f0;
    white-space: nowrap;
    vertical-align: middle;
}

.responsive-table-wrap th:last-child,
.post-content-body table th:last-child {
    border-right: none;
}

.responsive-table-wrap td,
.post-content-body table td {
    padding: 13px 18px;
    line-height: 1.6;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    vertical-align: top;
    color: #334155;
    font-size: 14px;
}

.responsive-table-wrap td:last-child,
.post-content-body table td:last-child {
    border-right: none;
}

.responsive-table-wrap tbody tr:last-child td,
.post-content-body table tbody tr:last-child td {
    border-bottom: none;
}

.responsive-table-wrap tbody tr:nth-child(even),
.post-content-body table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.responsive-table-wrap tbody tr:hover,
.post-content-body table tbody tr:hover {
    background-color: #f1f5f9;
    transition: background-color 0.15s ease;
}

.responsive-table-wrap tbody td:first-child,
.post-content-body table tbody td:first-child {
    font-weight: 600;
    color: #0f172a;
}

@media (max-width: 768px) {
    .responsive-table-wrap th,
    .post-content-body table th {
        padding: 10px 12px;
        font-size: 12px;
    }
    .responsive-table-wrap td,
    .post-content-body table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}



/* ==========================================================================
   Interactive Image to Prompt Studio Tool (Clean Creative SaaS Aesthetic)
   ========================================================================== */
.i2p-studio-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 32px;
    margin: 28px auto 40px auto;
    max-width: 1060px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    color: #0f172a;
    position: relative;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .i2p-studio-container {
        padding: 24px 16px;
        margin: 20px auto 32px auto;
        border-radius: 16px;
    }
}

.i2p-studio-header {
    text-align: center;
    margin-bottom: 24px;
}

.i2p-studio-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.i2p-studio-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.i2p-studio-subtitle {
    font-size: 14.5px;
    color: #64748b;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Upload Dropzone */
.i2p-dropzone {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 16px;
    padding: 38px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 22px;
}

.i2p-dropzone:hover,
.i2p-dropzone.drag-over {
    border-color: #4f46e5;
    background: #f5f3ff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.08);
}

.i2p-dropzone-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.i2p-dropzone-heading {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.i2p-browse-link {
    color: #4f46e5;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
}

.i2p-dropzone-info {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 16px;
}

.i2p-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 7px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.15s ease;
}

.i2p-browse-btn:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

/* Sample Presets Section */
.i2p-presets-section {
    margin-top: 4px;
    margin-bottom: 8px;
}

.i2p-presets-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 10px;
    text-align: center;
}

.i2p-presets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .i2p-presets-grid {
        grid-template-columns: 1fr;
    }
}

.i2p-preset-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.i2p-preset-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.i2p-preset-thumb {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.i2p-preset-meta {
    flex: 1;
    min-width: 0;
}

.i2p-preset-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.i2p-preset-desc {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.i2p-preset-arrow {
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.i2p-preset-card:hover .i2p-preset-arrow {
    transform: translateX(2px);
    color: #4f46e5;
}

/* Studio Loading Bar */
.i2p-loading-wrap {
    text-align: center;
    padding: 40px 20px;
}

.i2p-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top-color: #4f46e5;
    border-radius: 50%;
    margin: 0 auto 14px auto;
    animation: i2pSpin 0.75s linear infinite;
}

@keyframes i2pSpin {
    to { transform: rotate(360deg); }
}

.i2p-loading-text {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 12px;
}

.i2p-progress-track {
    background: #e2e8f0;
    height: 5px;
    border-radius: 10px;
    overflow: hidden;
    width: 240px;
    margin: 0 auto;
}

.i2p-progress-fill {
    background: #4f46e5;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

/* Studio Results Workspace */
.i2p-workspace-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.i2p-workspace-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.i2p-btn-change-image {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 6px 13px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.i2p-btn-change-image:hover {
    border-color: #94a3b8;
    color: #0f172a;
    background: #f8fafc;
}

.i2p-grid-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

@media (max-width: 860px) {
    .i2p-grid-layout {
        grid-template-columns: 1fr;
    }
}

/* Left Column */
.i2p-preview-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.i2p-preview-img-wrap {
    position: relative;
    width: 100%;
}

.i2p-preview-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.i2p-aspect-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    backdrop-filter: blur(4px);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

.i2p-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-top: 14px;
}

.i2p-card-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

/* Palette Chips */
.i2p-palette-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.i2p-palette-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    position: relative;
}

.i2p-palette-chip:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.i2p-chip-swatch {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.i2p-chip-hex {
    font-size: 11px;
}

.i2p-palette-chip.copied {
    border-color: #10b981;
    background: #ecfdf5;
    color: #047857;
}

.i2p-palette-hint {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 8px;
}

/* Specs Breakdown */
.i2p-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 12.5px;
}

.i2p-spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.i2p-spec-key {
    color: #64748b;
    font-weight: 500;
}

.i2p-spec-val {
    color: #0f172a;
    font-weight: 700;
}

/* Right Column: Output Card */
.i2p-output-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Segmented Model Switcher Tabs */
.i2p-tab-bar {
    display: inline-flex;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 16px;
    width: 100%;
}

.i2p-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.i2p-tab-btn:hover {
    color: #0f172a;
}

.i2p-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* Style Tuning Row */
.i2p-style-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.i2p-style-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
}

.i2p-style-select {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    color: #0f172a;
    outline: none;
    cursor: pointer;
    transition: border 0.15s ease;
}

.i2p-style-select:focus {
    border-color: #4f46e5;
}

/* Prompt Box */
.i2p-prompt-wrapper {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
}

.i2p-prompt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 11.5px;
}

.i2p-prompt-label {
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.i2p-char-count {
    color: #64748b;
    font-family: ui-monospace, monospace;
}

.i2p-prompt-text {
    padding: 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13.5px;
    line-height: 1.65;
    color: #0f172a;
    min-height: 110px;
    word-break: break-word;
    user-select: all;
}

/* Actions Row */
.i2p-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.i2p-btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
}

.i2p-btn-copy:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.16);
}

.i2p-btn-copy.copied {
    background: #059669;
}

.i2p-engine-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.i2p-engine-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.i2p-btn-engine {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.i2p-btn-engine:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}


/* ==========================================================================
   Multi-Prompt Engine Variations & Subject Archetypes
   ========================================================================== */
.i2p-archetype-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.i2p-archetype-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.i2p-archetype-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.i2p-archetype-btn:hover {
    border-color: #94a3b8;
    color: #0f172a;
}

.i2p-archetype-btn.active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
}

.i2p-variations-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.i2p-variations-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.i2p-variations-count {
    background: #eef2ff;
    color: #4f46e5;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.i2p-btn-copy-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.i2p-btn-copy-all:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #f5f3ff;
}

.i2p-btn-copy-all.copied {
    background: #ecfdf5;
    border-color: #10b981;
    color: #047857;
}

.i2p-variations-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.i2p-variation-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    transition: all 0.2s ease;
}

.i2p-variation-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.i2p-var-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.i2p-var-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.i2p-var-badge-pill {
    background: #0f172a;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.i2p-var-meta {
    font-size: 11.5px;
    color: #64748b;
    font-family: ui-monospace, monospace;
}

.i2p-var-prompt-text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
    word-break: break-word;
    user-select: all;
    min-height: 54px;
}

.i2p-var-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.i2p-btn-var-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.i2p-btn-var-copy:hover {
    background: #1e293b;
}

.i2p-btn-var-copy.copied {
    background: #059669;
}

.i2p-negative-wrap {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 16px;
}

.i2p-negative-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.i2p-negative-title {
    font-size: 12px;
    font-weight: 700;
    color: #9f1239;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.i2p-btn-neg-copy {
    background: #ffffff;
    border: 1px solid #fda4af;
    color: #9f1239;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.i2p-btn-neg-copy:hover {
    background: #ffe4e6;
}

.i2p-btn-neg-copy.copied {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

.i2p-negative-text {
    font-family: ui-monospace, monospace;
    font-size: 12px;
    color: #881337;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    padding: 8px 10px;
}

/* ==========================================================================
   PromptDeck AI - Cookie Consent & GDPR / CCPA Banner (Google AdSense Compliant)
   ========================================================================== */
.promptdeck-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 520px;
    margin: 0 auto;
    background: #0f172a;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: pdSlideUp 0.35s ease-out;
}

@keyframes pdSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.promptdeck-cookie-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promptdeck-cookie-icon {
    width: 22px;
    height: 22px;
    color: #38bdf8;
    flex-shrink: 0;
}

.promptdeck-cookie-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.promptdeck-cookie-body {
    font-size: 13px;
    line-height: 1.55;
    color: #94a3b8;
    margin: 0;
}

.promptdeck-cookie-body a {
    color: #38bdf8;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.15s;
}

.promptdeck-cookie-body a:hover {
    color: #7dd3fc;
}

.promptdeck-cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.promptdeck-cookie-btn-accept {
    flex: 1;
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-align: center;
}

.promptdeck-cookie-btn-accept:hover {
    background: #0369a1;
}

.promptdeck-cookie-btn-decline {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.promptdeck-cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

@media (max-width: 640px) {
    .promptdeck-cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 16px 18px;
    }
}

/* ==========================================================================
   Collapsible Table of Contents (Hidden by Default)
   ========================================================================== */
.toc-box > ul,
.toc-box > ol,
.table-of-contents > ul,
.table-of-contents > ol,
.toc-box .toc-list,
.table-of-contents .toc-list {
    display: none;
}

.toc-box.toc-expanded > ul,
.toc-box.toc-expanded > ol,
.table-of-contents.toc-expanded > ul,
.table-of-contents.toc-expanded > ol,
.toc-box.toc-expanded .toc-list,
.table-of-contents.toc-expanded .toc-list {
    display: block !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #e2e8f0;
}

.toc-toggle-btn:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}
