/* ============================================
   GLOBAL TYPOGRAPHY FALLBACKS (DYNAMICALLY MANAGED BY THEME OPTIONS / WP FONT LIBRARY)
   ============================================ */
:root {
    --font-display: 'Figtree', system-ui, -apple-system, sans-serif;
    --font-body: 'Barlow', system-ui, -apple-system, sans-serif;
    --font-remark: 'Madimi One', cursive, sans-serif;
}


/* ==========================================================================
   ESSENTIAL APP & SCREEN CONTAINERS
   ========================================================================== */
#app, #dynamic-themes-app {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.screen {
    width: 100%;
}

.view-placeholder-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    padding: 40px 24px;
    text-align: center;
}

/* ==========================================================================
   UNIVERSAL PREMIUM SVG ICONS SYSTEM (.tc-icon)
   ========================================================================== */
.tc-icon {
    width: 1.42em;
    height: 1.42em;
    display: inline-block;
    vertical-align: middle;
    stroke: currentColor;
    stroke-width: 2.2px;
    fill: none;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), stroke 0.3s ease, filter 0.3s ease;
    flex-shrink: 0;
}

/* Hover micro-animations */
a:hover .tc-icon,
button:hover .tc-icon,
.control-btn:hover .tc-icon,
.selector-card:hover .tc-icon,
.hero-service-badge:hover .tc-icon {
    transform: scale(1.15) rotate(3deg);
    filter: drop-shadow(0 0 5px currentColor);
}

.hero-pill .tc-icon {
    margin-right: 6px;
}

.section-eyebrow .tc-icon {
    margin-right: 8px;
    font-size: 14px;
}

.selector-icon .tc-icon {
    font-size: 32px;
}

/* Blueprint panel cards floating keyframe animations */
.web-blueprint-panel-fused {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 3;
    background: transparent;
    pointer-events: none;
}

.web-blueprint-panel-fused .web-geom-box {
    pointer-events: auto;
}

.geom-float-1 {
    animation: floatGeom1 6s ease-in-out infinite alternate;
}
.geom-float-2 {
    animation: floatGeom2 7s ease-in-out infinite alternate;
}
.geom-float-3 {
    animation: floatGeom3 5.5s ease-in-out infinite alternate;
}

@keyframes floatGeom1 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(1deg); }
}
@keyframes floatGeom2 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(-1.5deg); }
}
@keyframes floatGeom3 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-6px) rotate(0.8deg); }
}


/* =========================================================================
   WORDPRESS EDITORIAL STANDARDS & PUBLICATION SUITE (BLOG, SINGLE, COMMENTS, GUTENBERG)
   ========================================================================= */

/* --- 1. Blog & Archive Grid --- */
.dt-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin: 32px 0;
}

.dt-blog-card {
    background: rgba(10, 18, 36, 0.65);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.dt-blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(34, 211, 255, 0.15);
}

.theme-seo .dt-blog-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(35, 58, 46, 0.08);
    box-shadow: 0 10px 30px rgba(35, 58, 46, 0.05);
}

.theme-seo .dt-blog-card:hover {
    box-shadow: 0 20px 40px rgba(35, 58, 46, 0.12);
    border-color: var(--accent, #f97316);
}

.dt-blog-card.is-sticky {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(34, 211, 255, 0.08) 0%, rgba(10, 18, 36, 0.7) 100%);
}

.dt-blog-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: #080f1d;
}

.dt-blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dt-blog-card:hover .dt-blog-card-thumb img {
    transform: scale(1.06);
}

.dt-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 211, 255, 0.1) 0%, rgba(217, 70, 239, 0.1) 100%);
}

.dt-placeholder-pattern {
    padding: 24px;
    text-align: center;
    color: var(--text-main);
    font-family: var(--font-display, sans-serif);
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 0.7;
}

.dt-blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dt-blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.dt-card-date {
    color: #94a3b8;
    font-size: 0.82rem;
}

.theme-seo .dt-card-date {
    color: #64748b;
}

.dt-card-category {
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(34, 211, 255, 0.12);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(34, 211, 255, 0.2);
}

.theme-seo .dt-card-category {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.25);
}

.theme-cinematic .dt-card-category {
    background: rgba(217, 70, 239, 0.12);
    border-color: rgba(217, 70, 239, 0.25);
}

.dt-blog-card-title {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-family: var(--font-display, sans-serif);
    line-height: 1.35;
    font-weight: 700;
}

.dt-blog-card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dt-blog-card-title a:hover {
    color: var(--accent);
}

.dt-blog-card-excerpt {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.theme-seo .dt-blog-card-excerpt {
    color: #475569;
}

/* Category Filter Pills in Blog/Archive Header */
.blog-categories-pills-wrap {
    margin: 22px 0 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pills-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    opacity: 0.85;
}

.dt-categories-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.dt-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.dt-cat-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
    background: rgba(34, 211, 255, 0.08);
}

.dt-cat-pill.active {
    background: var(--accent);
    color: #050d1a !important;
    border-color: var(--accent);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(34, 211, 255, 0.35);
}

.cat-pill-count {
    font-size: 0.72rem;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    color: inherit;
    font-weight: 700;
}

.dt-cat-pill.active .cat-pill-count {
    background: rgba(5, 13, 26, 0.3);
    color: #050d1a;
}

/* Sticky Badge */
.dt-sticky-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, #0284c7 100%);
    color: #050d1a;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.dt-blog-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.06));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dt-card-author-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar-mini {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    object-fit: cover;
}

.author-name-mini {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    opacity: 0.9;
}

.dt-card-reading-time {
    font-size: 0.78rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.06));
    font-weight: 600;
}

.dt-card-readmore {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.dt-card-readmore:hover {
    gap: 10px;
    color: #fff;
}

/* --- 2. Single Post Structure & Hero --- */
.single-post-glass-card {
    padding: clamp(24px, 5vw, 54px);
}

.single-post-hero {
    margin-bottom: 36px;
}

.single-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.dt-category-badge {
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(34, 211, 255, 0.12);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(34, 211, 255, 0.25);
    transition: all 0.25s ease;
}

.dt-category-badge:hover {
    background: var(--accent);
    color: #050d1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 211, 255, 0.3);
}

.single-post-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    font-family: var(--font-display, 'Clash Display', sans-serif);
    line-height: 1.18;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    font-size: 0.9rem;
    color: #94a3b8;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar-img {
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
    width: 40px;
    height: 40px;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name a {
    color: var(--text-main);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-name a:hover {
    color: var(--accent);
}

.author-role {
    font-size: 0.72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-divider {
    width: 1px;
    height: 24px;
    background: var(--card-border, rgba(255, 255, 255, 0.1));
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #94a3b8;
}

.comments-link-meta {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.comments-link-meta:hover {
    color: var(--accent);
}

.single-post-thumbnail-wrap {
    margin: 32px 0 44px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    background: #050d1a;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.single-featured-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

.single-featured-caption {
    padding: 12px 20px;
    font-size: 0.84rem;
    color: #94a3b8;
    text-align: center;
    font-style: italic;
    background: rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* --- 3. Social Share Bar, Tags & Page Links --- */
.dt-social-share-wrap {
    margin: 36px 0 24px;
    padding: 22px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.share-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dt-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.share-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.25);
}

.share-whatsapp:hover {
    background: #25d366;
    color: #050d1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.share-twitter {
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.12);
}

.share-twitter:hover {
    background: #ffffff;
    color: #050d1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.share-linkedin {
    background: rgba(10, 102, 194, 0.12);
    color: #38bdf8;
    border-color: rgba(10, 102, 194, 0.25);
}

.share-linkedin:hover {
    background: #0a66c2;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(10, 102, 194, 0.35);
}

.share-facebook {
    background: rgba(24, 119, 242, 0.12);
    color: #60a5fa;
    border-color: rgba(24, 119, 242, 0.25);
}

.share-facebook:hover {
    background: #1877f2;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.single-post-tags-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 32px;
    padding: 20px 0;
    border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
}

.tags-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.dt-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dt-tag-badge {
    padding: 5px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    transition: all 0.2s ease;
}

.dt-tag-badge:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(34, 211, 255, 0.08);
}

.page-links {
    margin: 32px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-links-title {
    font-weight: 700;
    color: var(--text-main);
}

.page-links .page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    color: var(--text-main);
    font-weight: 700;
}

/* --- 4. Author Bio Box --- */
.dt-author-bio-box {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    margin: 40px 0;
}

.author-bio-avatar img {
    border-radius: 18px;
    border: 2px solid var(--accent);
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.author-bio-content {
    flex-grow: 1;
}

.author-bio-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    font-weight: 700;
}

.author-bio-name {
    font-size: 1.25rem;
    font-family: var(--font-display, sans-serif);
    margin: 4px 0 8px;
    color: var(--text-main);
}

.author-bio-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 12px;
}

.author-more-posts {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.author-more-posts:hover {
    text-decoration: underline;
}

/* --- 5. Post Navigation (Prev / Next) --- */
.single-post-navigation {
    margin: 40px 0;
}

.nav-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-card {
    padding: 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.25s ease;
}

.nav-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
}

.next-card {
    text-align: right;
}

.nav-subtitle {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
}

/* --- 6. Related Posts Section --- */
.dt-related-posts-section {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
}

.related-section-title {
    font-size: 1.5rem;
    font-family: var(--font-display, sans-serif);
    margin-bottom: 24px;
    color: var(--text-main);
}

/* --- 7. Comments System --- */
.comments-area {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
}

.comments-title {
    font-size: 1.6rem;
    font-family: var(--font-display, sans-serif);
    margin-bottom: 32px;
    color: var(--text-main);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 44px;
}

.comment-list li.comment {
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.07));
    margin-bottom: 22px;
}

.comment-list .children {
    list-style: none;
    margin-top: 20px;
    padding-left: 28px;
    border-left: 2px solid rgba(34, 211, 255, 0.25);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-author .avatar {
    border-radius: 50%;
    border: 2px solid var(--accent);
    width: 48px;
    height: 48px;
}

.comment-author .fn {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.comment-metadata {
    margin-bottom: 12px;
}

.comment-metadata a {
    color: #94a3b8;
    font-size: 0.82rem;
    text-decoration: none;
}

.comment-content {
    color: #cbd5e1;
    font-size: 0.96rem;
    line-height: 1.65;
}

.theme-seo .comment-content {
    color: #334155;
}

.reply {
    margin-top: 14px;
}

.reply a {
    display: inline-flex;
    align-items: center;
    padding: 5px 16px;
    border-radius: 8px;
    background: rgba(34, 211, 255, 0.08);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.reply a:hover {
    background: var(--accent);
    color: #050d1a;
}

.comment-respond {
    margin-top: 40px;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
}

.comment-reply-title {
    font-size: 1.35rem;
    font-family: var(--font-display, sans-serif);
    margin: 0 0 16px;
    color: var(--text-main);
}

.comment-notes {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

.comment-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.comment-respond label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(10, 18, 36, 0.7);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12));
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.theme-seo .comment-respond input[type="text"],
.theme-seo .comment-respond input[type="email"],
.theme-seo .comment-respond input[type="url"],
.theme-seo .comment-respond textarea {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(35, 58, 46, 0.15);
}

.comment-respond input:focus,
.comment-respond textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(34, 211, 255, 0.25);
}

.dt-btn-comment {
    padding: 14px 34px;
    border-radius: 12px;
    background: var(--accent);
    color: #050d1a;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(34, 211, 255, 0.3);
}

.dt-btn-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(34, 211, 255, 0.45);
}

/* --- 8. Search Form & Header --- */
.dt-search-form {
    position: relative;
    max-width: 580px;
    width: 100%;
}

.dt-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.dt-search-field {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border-radius: 14px;
    background: rgba(10, 18, 36, 0.7);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12));
    color: var(--text-main);
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.theme-seo .dt-search-field {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(35, 58, 46, 0.15);
}

.dt-search-field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 18px rgba(34, 211, 255, 0.25);
}

.dt-search-submit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.dt-search-submit:hover {
    transform: translateY(-50%) scale(1.15);
}

.search-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.search-count-subtitle {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 8px 0 0;
}

.blog-header-search-wrap {
    margin-top: 24px;
}

.dt-empty-search-state {
    padding: 48px 24px;
    text-align: center;
}

.dt-empty-search-state .empty-icon {
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0.8;
}

.empty-search-form-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

/* --- 9. Pagination --- */
.dt-pagination-wrapper {
    margin: 48px 0 20px;
    display: flex;
    justify-content: center;
}

.dt-pagination-wrapper .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.dt-pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.dt-pagination-wrapper .page-numbers.current {
    background: var(--accent);
    color: #050d1a;
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(34, 211, 255, 0.3);
}

.dt-pagination-wrapper .page-numbers:hover:not(.current) {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(34, 211, 255, 0.08);
}

/* --- 10. Gutenberg Core Blocks & Responsive Galleries --- */
.wp-block-gallery,
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin: 36px 0;
    list-style: none;
    padding: 0;
}

.wp-block-gallery .wp-block-image,
.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    margin: 0;
    position: relative;
    background: #080f1d;
}

.wp-block-gallery img,
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.wp-block-gallery .wp-block-image:hover img,
.gallery-item:hover img {
    transform: scale(1.06);
}

figcaption,
.wp-block-image figcaption {
    font-size: 0.84rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.wp-block-image {
    margin: 32px 0;
    border-radius: 18px;
    overflow: hidden;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.wp-block-quote,
blockquote {
    margin: 36px 0;
    padding: 24px 32px;
    border-left: 4px solid var(--accent);
    background: rgba(34, 211, 255, 0.04);
    border-radius: 0 18px 18px 0;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-main);
}

.wp-block-quote cite,
blockquote cite {
    display: block;
    font-size: 0.88rem;
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
    margin-top: 12px;
}

.wp-block-table,
table {
    width: 100%;
    border-collapse: collapse;
    margin: 36px 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
}

table th {
    background: rgba(255, 255, 255, 0.06);
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    color: var(--accent);
}

table td {
    padding: 14px 20px;
    border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.05));
    color: #cbd5e1;
}

.wp-block-embed,
.wp-block-embed-youtube {
    margin: 36px 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
}

.wp-block-code,
pre {
    padding: 22px;
    border-radius: 14px;
    background: rgba(5, 13, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    color: #38bdf8;
    font-family: monospace;
    font-size: 0.92rem;
    line-height: 1.6;
}

.alignwide {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
}

/* Full Width Template Support */
.fullwidth-page-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.fullwidth-page-content {
    width: 100%;
}

.fullwidth-body-content {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links-grid {
        grid-template-columns: 1fr;
    }
    .dt-author-bio-box {
        flex-direction: column;
        text-align: center;
    }
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .meta-divider {
        display: none;
    }
}

