/* ==========================================================================
   Dev Dominion — Modern Tenant Theme Design System (Themes 1–12 + Inner Pages)
   ========================================================================== */

:root {
    --dd-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --dd-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --dd-font-serif: 'Playfair Display', Georgia, Cambria, serif;
    --dd-font-mono: 'JetBrains Mono', monospace;

    --dd-bg: #f8fafc;
    --dd-surface: #ffffff;
    --dd-surface-alt: #f1f5f9;
    --dd-border: #e2e8f0;
    --dd-text: #0f172a;
    --dd-text-secondary: #334155;
    --dd-muted: #64748b;
    --dd-radius-sm: 10px;
    --dd-radius: 16px;
    --dd-radius-lg: 24px;
    --dd-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --dd-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.07);
    --dd-shadow-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.13);
}

/* Theme-Specific Surface & Typography Tokens */
body.dd-theme-2 {
    --dd-bg: #fcfbf9;
    --dd-font-display: var(--dd-font-serif);
}

body.dd-theme-3,
body.dd-theme-10 {
    --dd-bg: #faf8f5;
    --dd-surface: #ffffff;
    --dd-surface-alt: #f3f0ea;
    --dd-border: #e7e3da;
    --dd-font-display: var(--dd-font-serif);
    --dd-radius: 12px;
}

body.dd-theme-6,
body.dd-theme-7 {
    --dd-bg: #f4f6f9;
    --dd-surface: #ffffff;
    --dd-surface-alt: #e9eef5;
    --dd-border: #cbd5e1;
    --dd-radius: 10px;
}

body.dd-theme-9 {
    --dd-bg: #f1f5f9;
    --dd-surface: #ffffff;
    --dd-radius: 24px;
    --dd-radius-lg: 28px;
}

body.dd-theme-12 {
    --dd-bg: #fafafa;
    --dd-surface: #ffffff;
    --dd-font-display: var(--dd-font-serif);
    --dd-radius: 20px;
}

body.dd-mode-dark,
body.dd-theme-5,
body.dd-theme-11 {
    --dd-bg: #080c14;
    --dd-surface: #111827;
    --dd-surface-alt: #1e293b;
    --dd-border: rgba(148, 163, 184, 0.16);
    --dd-text: #f8fafc;
    --dd-text-secondary: #cbd5e1;
    --dd-muted: #94a3b8;
    --dd-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
    --dd-shadow: 0 14px 34px -6px rgba(0, 0, 0, 0.5);
    --dd-shadow-hover: 0 22px 45px -8px rgba(0, 0, 0, 0.65);
}

body.dd-theme-11 {
    --dd-bg: #0a0e17;
    --dd-surface: #111726;
    --dd-surface-alt: #172033;
    --dd-border: #23304c;
    --dd-radius: 12px;
}

body.dd-tenant-site {
    background-color: var(--dd-bg) !important;
    color: var(--dd-text) !important;
    font-family: var(--dd-font-sans) !important;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.dd-tenant-site h1,
body.dd-tenant-site h2,
body.dd-tenant-site h3,
body.dd-tenant-site h4,
body.dd-tenant-site h5,
body.dd-tenant-site h6 {
    font-family: var(--dd-font-display);
    color: var(--dd-text);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

body.dd-tenant-site a {
    transition: all 0.22s ease;
    text-decoration: none;
}

/* ==========================================================================
   1. Modern Header & Navigation (dd-site-header)
   ========================================================================== */
.dd-site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: var(--dd-surface);
    border-bottom: 1px solid var(--dd-border);
    box-shadow: var(--dd-shadow-sm);
}

.dd-topbar {
    background: var(--dd-surface-alt);
    border-bottom: 1px solid var(--dd-border);
    font-size: 12.5px;
    padding: 7px 0;
    color: var(--dd-muted);
}

.dd-header-dark .dd-topbar {
    background: #05080f;
}

.dd-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dd-topbar-left,
.dd-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dd-topbar-tagline {
    color: var(--dd-text-secondary);
    font-weight: 600;
}

.dd-lang-select {
    background: var(--dd-surface);
    color: var(--dd-text);
    border: 1px solid var(--dd-border);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.dd-auth-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dd-top-link {
    color: var(--dd-text-secondary);
    font-weight: 600;
}
.dd-top-link:hover {
    color: var(--dd-primary);
}

.dd-top-cta {
    background: var(--dd-primary);
    color: #ffffff !important;
    padding: 3px 11px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 11.5px;
}
.dd-top-cta:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.dd-navbar-wrap {
    padding: 14px 0;
    background: var(--dd-surface);
}

.dd-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dd-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dd-text) !important;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.dd-brand-logo {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.dd-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--dd-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
}

.dd-menu-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dd-menu-item {
    position: relative;
}

.dd-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--dd-text-secondary) !important;
    font-weight: 600;
    font-size: 14.5px;
}

.dd-menu-link:hover {
    color: var(--dd-primary) !important;
    background: var(--dd-primary-soft);
}

.dd-caret {
    font-size: 10px;
    opacity: 0.7;
}

.dd-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--dd-surface);
    border: 1px solid var(--dd-border);
    border-radius: 12px;
    box-shadow: var(--dd-shadow);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.dd-menu-item:hover .dd-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dd-dropdown-link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--dd-text-secondary) !important;
    font-size: 13.5px;
    font-weight: 500;
}
.dd-dropdown-link:hover {
    background: var(--dd-primary-soft);
    color: var(--dd-primary) !important;
}

.dd-search-pill {
    display: flex;
    align-items: center;
    background: var(--dd-surface-alt);
    border: 1px solid var(--dd-border);
    border-radius: 999px;
    padding: 4px 6px 4px 14px;
    transition: border-color 0.2s ease;
}

.dd-search-pill:focus-within {
    border-color: var(--dd-primary);
    box-shadow: 0 0 0 3px var(--dd-primary-soft);
}

.dd-search-pill input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--dd-text);
    font-size: 13.5px;
    width: 170px;
}

.dd-search-pill input::placeholder {
    color: var(--dd-muted);
}

.dd-search-pill button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--dd-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.dd-mobile-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--dd-border);
    background: var(--dd-surface-alt);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.dd-mobile-toggle span {
    width: 18px;
    height: 2px;
    background: var(--dd-text);
    border-radius: 2px;
}

.dd-mobile-drawer {
    display: none;
    background: var(--dd-surface);
    border-top: 1px solid var(--dd-border);
}

.dd-mobile-drawer.is-open {
    display: block;
}

.dd-mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dd-mobile-menu-list li a {
    display: block;
    padding: 10px 8px;
    color: var(--dd-text) !important;
    font-weight: 600;
    border-bottom: 1px solid var(--dd-border);
}

/* ==========================================================================
   2. Reusable Components, Buttons, Badges, Cards & Sidebar
   ========================================================================== */
.dd-section {
    padding: 56px 0;
}

.dd-section-alt {
    background: var(--dd-surface-alt);
}

.dd-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    border-bottom: 1px solid var(--dd-border);
    padding-bottom: 14px;
}

.dd-section-kicker {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dd-primary);
    margin-bottom: 4px;
}

.dd-section-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    color: var(--dd-text);
}

.dd-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dd-primary) !important;
    white-space: nowrap;
}
.dd-link-arrow:hover {
    gap: 10px;
}

.dd-kicker-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--dd-primary-soft);
    color: var(--dd-primary);
    border: 1px solid var(--dd-primary-mid);
}

.dd-cat-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    background: var(--dd-primary);
    color: #ffffff !important;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px var(--dd-primary-glow);
}
.dd-cat-badge:hover {
    opacity: 0.92;
    color: #ffffff !important;
}

.dd-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--dd-primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 24px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--dd-primary-glow);
    transition: all 0.2s ease;
}
.dd-btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    color: #ffffff !important;
}

.dd-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--dd-text) !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--dd-border);
    transition: all 0.2s ease;
}
.dd-btn-outline:hover {
    border-color: var(--dd-primary);
    color: var(--dd-primary) !important;
    background: var(--dd-primary-soft);
}

.dd-meta-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    color: var(--dd-muted);
    font-weight: 500;
}

/* Standard Modern Post Card */
.dd-post-card {
    background: var(--dd-surface);
    border: 1px solid var(--dd-border);
    border-radius: var(--dd-radius);
    overflow: hidden;
    box-shadow: var(--dd-shadow-sm);
    transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dd-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--dd-shadow-hover);
    border-color: var(--dd-primary-mid);
}

.dd-post-card-media {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: #0f172a;
    display: block;
}

.dd-post-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.dd-post-card:hover .dd-post-card-media img {
    transform: scale(1.05);
}

.dd-post-card-floating {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    pointer-events: none;
}

.dd-post-card-floating a {
    pointer-events: auto;
}

.dd-bookmark-pill {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.dd-bookmark-pill:hover,
.dd-bookmark-pill.post-bookmarked {
    background: var(--dd-primary);
    color: #ffffff !important;
}

.dd-post-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dd-post-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.38;
    margin: 8px 0 10px;
}

.dd-post-card-title a {
    color: var(--dd-text) !important;
}
.dd-post-card-title a:hover {
    color: var(--dd-primary) !important;
}

.dd-post-card-excerpt {
    font-size: 14px;
    color: var(--dd-muted);
    margin-bottom: 16px;
    line-height: 1.55;
    flex: 1;
}

.dd-post-card-footer {
    padding-top: 12px;
    border-top: 1px solid var(--dd-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--dd-muted);
}

/* Overlay Spotlight Card */
.dd-overlay-card {
    position: relative;
    border-radius: var(--dd-radius-lg);
    overflow: hidden;
    background: #0f172a;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--dd-shadow);
}

.dd-overlay-card.dd-overlay-sm {
    min-height: 210px;
}

.dd-overlay-card img.dd-overlay-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dd-overlay-card:hover img.dd-overlay-bg {
    transform: scale(1.04);
}

.dd-overlay-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.6) 48%, rgba(15, 23, 42, 0.94) 100%);
}

.dd-overlay-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    width: 100%;
    color: #ffffff;
}

.dd-overlay-sm .dd-overlay-content {
    padding: 20px;
}

.dd-overlay-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.22;
    margin: 10px 0;
}

.dd-overlay-sm .dd-overlay-title {
    font-size: 18px;
    margin: 8px 0 6px;
}

.dd-overlay-title a {
    color: #ffffff !important;
}
.dd-overlay-title a:hover {
    text-decoration: underline;
}

.dd-overlay-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.82);
}

/* Horizontal Stack Card */
.dd-horiz-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: var(--dd-surface);
    border: 1px solid var(--dd-border);
    border-radius: var(--dd-radius);
    transition: all 0.22s ease;
}
.dd-horiz-card:hover {
    border-color: var(--dd-primary-mid);
    box-shadow: var(--dd-shadow);
    transform: translateX(3px);
}

.dd-horiz-thumb {
    width: 115px;
    height: 92px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0f172a;
}
.dd-horiz-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dd-horiz-body {
    flex: 1;
    min-width: 0;
}

.dd-horiz-title {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 6px 0;
}
.dd-horiz-title a {
    color: var(--dd-text) !important;
}
.dd-horiz-title a:hover {
    color: var(--dd-primary) !important;
}

/* Category Pills & Tiles */
.dd-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.dd-category-tile {
    position: relative;
    border-radius: var(--dd-radius);
    overflow: hidden;
    height: 110px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    background: #0f172a;
    border: 1px solid var(--dd-border);
}

.dd-category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: transform 0.35s ease;
}

.dd-category-tile:hover img {
    transform: scale(1.06);
}

.dd-category-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.15) 0%, rgba(15,23,42,0.85) 100%);
}

.dd-category-tile-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
}

.dd-category-tile-content h5 {
    color: #ffffff !important;
    font-size: 15.5px;
    font-weight: 700;
    margin: 0;
}

/* Sidebar Widgets */
.dd-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dd-widget-card {
    background: var(--dd-surface);
    border: 1px solid var(--dd-border);
    border-radius: var(--dd-radius);
    padding: 24px;
    box-shadow: var(--dd-shadow-sm);
}

.dd-widget-head {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dd-border);
}

.dd-widget-title {
    font-size: 17px;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dd-accent-icon {
    color: var(--dd-primary);
}

.dd-author-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.dd-author-avatar,
.dd-author-initials {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--dd-primary);
}

.dd-author-initials {
    background: var(--dd-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}

.dd-author-name {
    font-size: 18px;
    font-weight: 800;
    margin: 4px 0 0;
}

.dd-author-bio {
    font-size: 13.8px;
    color: var(--dd-muted);
    line-height: 1.58;
    margin-bottom: 14px;
}

.dd-social-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dd-social-pill {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dd-surface-alt);
    border: 1px solid var(--dd-border);
    color: var(--dd-text-secondary) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
}
.dd-social-pill:hover {
    background: var(--dd-primary);
    border-color: var(--dd-primary);
    color: #ffffff !important;
    transform: translateY(-2px);
}

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

.dd-trending-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--dd-border);
}
.dd-trending-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.dd-trending-rank {
    font-family: var(--dd-font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--dd-primary);
    width: 24px;
    flex-shrink: 0;
}

.dd-trending-thumb {
    width: 64px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0f172a;
}
.dd-trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dd-trending-item-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
    color: var(--dd-text);
}
.dd-trending-item:hover .dd-trending-item-title {
    color: var(--dd-primary);
}

.dd-topic-pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dd-topic-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--dd-surface-alt);
    color: var(--dd-text) !important;
    font-weight: 600;
    font-size: 13.5px;
    border: 1px solid transparent;
}
.dd-topic-pill:hover {
    border-color: var(--dd-primary);
    color: var(--dd-primary) !important;
    background: var(--dd-primary-soft);
}

.dd-newsletter-widget {
    background: linear-gradient(145deg, var(--dd-surface) 0%, var(--dd-primary-soft) 100%);
    border-color: var(--dd-primary-mid);
}

.dd-newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dd-primary);
}

.dd-newsletter-sub {
    font-size: 13.5px;
    color: var(--dd-muted);
    margin: 8px 0 14px;
}

.dd-input {
    width: 100%;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid var(--dd-border);
    background: var(--dd-surface);
    color: var(--dd-text);
    font-size: 14px;
    outline: none;
}
.dd-input:focus {
    border-color: var(--dd-primary);
    box-shadow: 0 0 0 3px var(--dd-primary-soft);
}

/* Featured Category Columns & Newsletter Banner */
.dd-channel-column {
    background: var(--dd-surface);
    border: 1px solid var(--dd-border);
    border-radius: var(--dd-radius);
    padding: 20px;
    height: 100%;
    box-shadow: var(--dd-shadow-sm);
}

.dd-channel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dd-border);
}

.dd-channel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dd-primary);
}

.dd-channel-name {
    font-size: 17px;
    font-weight: 800;
    margin: 0;
    flex: 1;
}
.dd-channel-name a {
    color: var(--dd-text) !important;
}

.dd-channel-more {
    color: var(--dd-muted) !important;
    font-size: 13px;
}

.dd-channel-lead {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dd-border);
}

.dd-channel-lead-img {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    height: 175px;
    margin-bottom: 12px;
    background: #0f172a;
}
.dd-channel-lead-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dd-channel-lead-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.38;
    margin: 0;
}
.dd-channel-lead-title a {
    color: var(--dd-text) !important;
}
.dd-channel-lead-title a:hover {
    color: var(--dd-primary) !important;
}

.dd-channel-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.dd-channel-mini-thumb {
    width: 68px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0f172a;
}
.dd-channel-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dd-channel-mini-body h5 {
    font-size: 13.8px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 3px;
}
.dd-channel-mini-body h5 a {
    color: var(--dd-text) !important;
}
.dd-channel-mini-body h5 a:hover {
    color: var(--dd-primary) !important;
}

.dd-meta-date {
    font-size: 11.5px;
    color: var(--dd-muted);
}

.dd-newsletter-banner {
    background: var(--dd-surface);
    border: 1.5px solid var(--dd-primary-mid);
    border-radius: var(--dd-radius-lg);
    padding: 40px;
    box-shadow: var(--dd-shadow);
    position: relative;
    overflow: hidden;
}

.dd-newsletter-banner-title {
    font-size: 26px;
    font-weight: 800;
}

.dd-newsletter-banner-desc {
    color: var(--dd-muted);
    font-size: 15px;
}

.dd-banner-input-group {
    display: flex;
    gap: 10px;
}

@media (max-width: 575px) {
    .dd-banner-input-group {
        flex-direction: column;
    }
    .dd-newsletter-banner {
        padding: 24px;
    }
}

/* ==========================================================================
   3. Specialized Theme Archetypes (Themes 3, 6, 9, 10, 11, 12)
   ========================================================================== */

/* Theme 6: FinTech & Macro Terminal */
.dd-terminal-wire-item {
    padding: 12px 0;
    border-bottom: 1px dashed var(--dd-border);
}
.dd-terminal-wire-item:last-child {
    border-bottom: none;
}
.dd-terminal-time {
    font-family: var(--dd-font-mono);
    font-size: 11.5px;
    color: var(--dd-primary);
    font-weight: 600;
}

/* Theme 9: Bento Grid Matrix */
.dd-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.dd-bento-cell {
    background: var(--dd-surface);
    border: 1px solid var(--dd-border);
    border-radius: var(--dd-radius-lg);
    padding: 24px;
    box-shadow: var(--dd-shadow-sm);
    overflow: hidden;
    position: relative;
}

.dd-bento-span-8 { grid-column: span 8; }
.dd-bento-span-4 { grid-column: span 4; }
.dd-bento-span-6 { grid-column: span 6; }
.dd-bento-span-3 { grid-column: span 3; }

@media (max-width: 991px) {
    .dd-bento-span-8,
    .dd-bento-span-4,
    .dd-bento-span-6,
    .dd-bento-span-3 {
        grid-column: span 12;
    }
}

/* Theme 10: Minimalist Newsletter & Essayist */
.dd-essay-hero {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 20px 36px;
}

.dd-essay-stream {
    max-width: 820px;
    margin: 0 auto;
}

.dd-essay-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--dd-border);
}

.dd-essay-row-thumb {
    width: 160px;
    height: 112px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0f172a;
}
.dd-essay-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 575px) {
    .dd-essay-row {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .dd-essay-row-thumb {
        width: 100%;
        height: 180px;
    }
}

/* Theme 11: Midnight Dev Studio */
.dd-terminal-card {
    background: var(--dd-surface);
    border: 1px solid var(--dd-border);
    border-radius: 12px;
    overflow: hidden;
}

.dd-terminal-bar {
    background: #0d1322;
    padding: 10px 16px;
    border-bottom: 1px solid var(--dd-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dd-terminal-dots {
    display: flex;
    gap: 6px;
}
.dd-terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dd-terminal-dots span:nth-child(1) { background: #ef4444; }
.dd-terminal-dots span:nth-child(2) { background: #f59e0b; }
.dd-terminal-dots span:nth-child(3) { background: #10b981; }

.dd-mono-tag {
    font-family: var(--dd-font-mono);
    font-size: 11.5px;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--dd-primary-soft);
    color: var(--dd-primary);
    border: 1px solid var(--dd-primary-mid);
}

/* Theme 12: Visual Lookbook */
.dd-lookbook-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 420px;
    background: #0f172a;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.dd-lookbook-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}
.dd-lookbook-card:hover img {
    transform: scale(1.06);
}

.dd-lookbook-glass {
    position: relative;
    z-index: 2;
    width: 100%;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 18px 20px;
    color: #ffffff;
}

.dd-lookbook-glass h3 {
    color: #ffffff !important;
    font-size: 19px;
    margin: 6px 0 4px;
}
.dd-lookbook-glass h3 a {
    color: #ffffff !important;
}

/* ==========================================================================
   4. Modern Footer (dd-site-footer)
   ========================================================================== */
.dd-site-footer {
    background: var(--dd-surface);
    border-top: 1px solid var(--dd-border);
    margin-top: 60px;
}

.dd-footer-top {
    padding: 64px 0 48px;
}

.dd-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dd-text) !important;
    font-weight: 800;
    font-size: 20px;
}

.dd-footer-logo {
    max-height: 40px;
    width: auto;
}

.dd-footer-desc {
    color: var(--dd-muted);
    font-size: 14px;
    line-height: 1.6;
}

.dd-footer-heading {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dd-text);
    margin-bottom: 18px;
}

.dd-footer-links,
.dd-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dd-footer-links a,
.dd-footer-contact a,
.dd-footer-contact span {
    color: var(--dd-muted) !important;
    font-size: 14px;
    font-weight: 500;
}
.dd-footer-links a:hover,
.dd-footer-contact a:hover {
    color: var(--dd-primary) !important;
}

.dd-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--dd-muted);
    font-size: 14px;
}
.dd-footer-contact li i {
    color: var(--dd-primary);
    margin-top: 4px;
}

.dd-footer-bottom {
    border-top: 1px solid var(--dd-border);
    padding: 20px 0;
    background: var(--dd-surface-alt);
}

.dd-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--dd-muted);
}

.dd-powered-by a {
    color: var(--dd-primary) !important;
    font-weight: 700;
}

/* ==========================================================================
   5. Shared Inner Pages Modernization (Breadcrumbs, Post Details, Archive, etc.)
   ========================================================================== */
.olima_breadcrumb {
    padding: 56px 0 !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    position: relative;
    border-bottom: 1px solid var(--dd-border);
}

.olima_breadcrumb .breadcrumb-title h1 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
}

.olima_breadcrumb .breadcrumb-link ul li,
.olima_breadcrumb .breadcrumb-link ul li a {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.olima_blog_details,
.olima_blog_grid,
.olima_blog_standard,
.olima_blog_masonry,
.olima_about,
.olima_contact,
.olima_faq {
    padding: 60px 0 !important;
    background: var(--dd-bg) !important;
}

.blog_details_wrapper {
    background: var(--dd-surface);
    border: 1px solid var(--dd-border);
    border-radius: var(--dd-radius-lg);
    padding: 36px;
    box-shadow: var(--dd-shadow-sm);
}

@media (max-width: 767px) {
    .blog_details_wrapper {
        padding: 20px;
    }
}

.blog_details_wrapper .olima_img img {
    border-radius: var(--dd-radius);
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.blog_details_wrapper .post_content > h3 {
    font-size: 30px;
    font-weight: 800;
    color: var(--dd-text) !important;
    margin-bottom: 14px;
}

.blog_details_wrapper .summernote-content,
.blog_details_wrapper .summernote-content p,
.blog_details_wrapper .summernote-content li {
    color: var(--dd-text-secondary) !important;
    font-size: 16.5px;
    line-height: 1.8;
}

.blog_details_wrapper .summernote-content h2,
.blog_details_wrapper .summernote-content h3,
.blog_details_wrapper .summernote-content h4 {
    color: var(--dd-text) !important;
    margin-top: 28px;
    margin-bottom: 12px;
}

.olima_sidebar .widget_box {
    background: var(--dd-surface) !important;
    border: 1px solid var(--dd-border) !important;
    border-radius: var(--dd-radius) !important;
    padding: 24px !important;
    box-shadow: var(--dd-shadow-sm) !important;
    color: var(--dd-text) !important;
}

.olima_sidebar .widget_box h4 {
    color: var(--dd-text) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

.olima_blog_grid .grid_item,
.olima_blog_standard .grid_item {
    background: var(--dd-surface);
    border: 1px solid var(--dd-border);
    border-radius: var(--dd-radius);
    overflow: hidden;
    box-shadow: var(--dd-shadow-sm);
    transition: all 0.25s ease;
}

.olima_blog_grid .grid_item:hover {
    transform: translateY(-4px);
    box-shadow: var(--dd-shadow);
}

.olima_blog_grid .grid_item .post_content {
    padding: 20px !important;
    background: var(--dd-surface) !important;
}

.olima_blog_grid .grid_item .post_content h4 a,
.olima_blog_standard .grid_item .post_content h3 a {
    color: var(--dd-text) !important;
    font-weight: 700;
}


/* ==========================================================================
   THEME 8: SIGNATURE RESUME & EXECUTIVE PORTFOLIO STUDIO
   ========================================================================== */
.dd-theme-8 {
    background: var(--dd-bg) !important;
}

.dd-t8-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--dd-bg);
}

.dd-t8-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background: var(--dd-surface);
    border-right: 1px solid var(--dd-border);
    z-index: 100;
}

.dd-t8-sidebar::-webkit-scrollbar {
    width: 5px;
}
.dd-t8-sidebar::-webkit-scrollbar-thumb {
    background: var(--dd-border);
    border-radius: 999px;
}

.dd-t8-sidebar-inner {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.dd-t8-profile-card {
    text-align: center;
    margin-bottom: 1.5rem;
}

.dd-t8-avatar-wrapper {
    position: relative;
    width: 108px;
    height: 108px;
    margin: 0 auto 1.15rem;
}

.dd-t8-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--dd-primary);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.dd-t8-avatar-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 32px;
    background: var(--dd-primary);
    color: #fff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.dd-t8-avatar-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10b981;
    border: 3px solid var(--dd-surface);
    box-shadow: 0 0 10px #10b981;
}

.dd-t8-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--dd-text);
    margin-bottom: 0.25rem;
    line-height: 1.25;
}

.dd-t8-role {
    font-size: 13.5px;
    color: var(--dd-text-muted);
    line-height: 1.4;
    margin-bottom: 0.85rem;
}

.dd-t8-meta-pills {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    margin-bottom: 1.15rem;
}

.dd-t8-meta-pill {
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--dd-card-bg);
    border: 1px solid var(--dd-border);
    color: var(--dd-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dd-t8-status-available {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.dd-t8-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
    animation: ddPulse 2s infinite;
}

.dd-t8-social-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.dd-t8-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dd-card-bg);
    border: 1px solid var(--dd-border);
    color: var(--dd-text-muted) !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dd-t8-social-btn:hover {
    color: var(--dd-primary) !important;
    border-color: var(--dd-primary);
    transform: translateY(-2px);
}

.dd-t8-action-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dd-t8-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--dd-primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px -3px var(--dd-primary);
}

.dd-t8-btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.dd-t8-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid var(--dd-border);
    color: var(--dd-text) !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dd-t8-btn-secondary:hover {
    border-color: var(--dd-primary);
    color: var(--dd-primary) !important;
    background: var(--dd-primary-light);
}

.dd-t8-nav {
    border-top: 1px solid var(--dd-border);
    padding-top: 1.25rem;
    margin-bottom: 1.5rem;
}

.dd-t8-nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--dd-text-muted);
    display: block;
    margin-bottom: 0.65rem;
}

.dd-t8-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dd-t8-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--dd-text-muted);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dd-t8-nav-link:hover,
.dd-t8-nav-link.active {
    color: var(--dd-primary) !important;
    background: var(--dd-primary-light);
    font-weight: 700;
}

.dd-t8-sidebar-footer {
    border-top: 1px solid var(--dd-border);
    padding-top: 1rem;
    margin-top: auto;
    font-size: 11px;
    color: var(--dd-text-muted);
    text-align: center;
}

.dd-t8-mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: var(--dd-surface);
    border-bottom: 1px solid var(--dd-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.dd-t8-canvas {
    flex: 1;
    min-width: 0;
    padding: 48px 56px;
    max-width: 1120px;
    margin: 0 auto;
}

.dd-t8-section {
    margin-bottom: 60px;
    scroll-margin-top: 40px;
}

.dd-t8-hero-section {
    padding: 44px;
    border-radius: 24px;
    background: var(--dd-card-bg);
    border: 1px solid var(--dd-border);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.dd-t8-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 1.25rem;
}

.dd-t8-hero-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--dd-text);
    margin-bottom: 0.65rem;
}

.dd-t8-gradient-text {
    background: linear-gradient(135deg, var(--dd-primary) 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dd-t8-hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--dd-primary);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.dd-t8-hero-bio {
    font-size: 16px;
    color: var(--dd-text-muted);
    line-height: 1.7;
    max-width: 820px;
    margin-bottom: 2rem;
}

.dd-t8-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 2rem;
    padding: 20px;
    border-radius: 16px;
    background: var(--dd-bg);
    border: 1px solid var(--dd-border);
}

.dd-t8-metric-card {
    text-align: center;
}

.dd-t8-metric-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--dd-primary);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.dd-t8-metric-label {
    font-size: 11.5px;
    color: var(--dd-text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dd-t8-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dd-t8-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 12px;
    background: transparent;
    border: 2px solid var(--dd-border);
    color: var(--dd-text) !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dd-t8-btn-outline:hover {
    border-color: var(--dd-primary);
    color: var(--dd-primary) !important;
    background: var(--dd-primary-light);
}

.dd-t8-btn-outline-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--dd-border);
    color: var(--dd-text) !important;
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dd-t8-btn-outline-sm:hover {
    border-color: var(--dd-primary);
    color: var(--dd-primary) !important;
}

.dd-t8-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    color: var(--dd-text-muted) !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dd-t8-btn-ghost:hover {
    color: var(--dd-primary) !important;
}

.dd-t8-section-kicker {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dd-primary);
    margin-bottom: 6px;
    display: block;
}

.dd-t8-section-heading {
    font-size: 26px;
    font-weight: 800;
    color: var(--dd-text);
    margin-bottom: 0.65rem;
}

.dd-t8-section-desc {
    font-size: 15px;
    color: var(--dd-text-muted);
    line-height: 1.6;
    max-width: 720px;
    margin-bottom: 2rem;
}

/* Timeline */
.dd-t8-timeline {
    position: relative;
    padding-left: 36px;
    border-left: 2px solid var(--dd-border);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.dd-t8-timeline-item {
    position: relative;
}

.dd-t8-timeline-marker {
    position: absolute;
    left: -49px;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--dd-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 0 0 5px var(--dd-surface);
}

.dd-t8-timeline-card {
    background: var(--dd-card-bg);
    border: 1px solid var(--dd-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.dd-t8-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
    gap: 8px;
}

.dd-t8-timeline-role {
    font-size: 17px;
    font-weight: 800;
    color: var(--dd-text);
    margin: 0;
}

.dd-t8-timeline-company {
    font-size: 14px;
    font-weight: 600;
    color: var(--dd-primary);
    margin: 2px 0 0;
}

.dd-t8-timeline-period {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--dd-primary-light);
    color: var(--dd-primary);
}

.dd-t8-timeline-desc {
    font-size: 14px;
    color: var(--dd-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Skills */
.dd-t8-skill-card {
    background: var(--dd-card-bg);
    border: 1px solid var(--dd-border);
    border-radius: 14px;
    padding: 18px 20px;
    height: 100%;
}

.dd-t8-skill-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dd-text);
}

.dd-t8-skill-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--dd-primary);
}

.dd-t8-skill-meter {
    height: 7px;
    border-radius: 999px;
    background: var(--dd-border);
    overflow: hidden;
}

.dd-t8-skill-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--dd-primary) 0%, #06b6d4 100%);
    transition: width 0.6s ease;
}

/* Education */
.dd-t8-edu-card {
    background: var(--dd-card-bg);
    border: 1px solid var(--dd-border);
    border-radius: 16px;
    padding: 22px;
    height: 100%;
}

.dd-t8-edu-icon {
    font-size: 20px;
    color: var(--dd-primary);
    margin-bottom: 12px;
}

.dd-t8-edu-degree {
    font-size: 16px;
    font-weight: 800;
    color: var(--dd-text);
    margin-bottom: 4px;
}

.dd-t8-edu-school {
    font-size: 14px;
    font-weight: 600;
    color: var(--dd-primary);
    margin-bottom: 6px;
}

.dd-t8-edu-years {
    font-size: 12px;
    color: var(--dd-text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.dd-t8-edu-desc {
    font-size: 13.5px;
    color: var(--dd-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Publications */
.dd-t8-pub-card {
    background: var(--dd-card-bg);
    border: 1px solid var(--dd-border);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dd-t8-pub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.08);
}

.dd-t8-pub-img-wrap {
    position: relative;
    display: block;
    height: 190px;
    overflow: hidden;
}

.dd-t8-pub-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dd-t8-pub-card:hover .dd-t8-pub-img-wrap img {
    transform: scale(1.05);
}

.dd-t8-pub-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.dd-t8-pub-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dd-t8-pub-meta {
    font-size: 12px;
    color: var(--dd-text-muted);
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.dd-t8-pub-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
}

.dd-t8-pub-title a {
    color: var(--dd-text);
    text-decoration: none;
}

.dd-t8-pub-title a:hover {
    color: var(--dd-primary);
}

.dd-t8-pub-excerpt {
    font-size: 13.5px;
    color: var(--dd-text-muted);
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
}

.dd-t8-pub-read-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--dd-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dd-t8-pub-read-more:hover {
    text-decoration: underline;
}

/* Testimonials */
.dd-t8-testi-card {
    background: var(--dd-card-bg);
    border: 1px solid var(--dd-border);
    border-radius: 16px;
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dd-t8-testi-stars {
    color: #f59e0b;
    font-size: 13px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.dd-t8-testi-quote {
    font-size: 13.5px;
    font-style: italic;
    color: var(--dd-text);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.dd-t8-testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dd-t8-testi-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.dd-t8-testi-initials {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--dd-primary-light);
    color: var(--dd-primary);
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dd-t8-testi-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dd-text);
    margin: 0;
}

.dd-t8-testi-role {
    font-size: 11.5px;
    color: var(--dd-text-muted);
}

/* Contact Card */
.dd-t8-contact-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 44px;
    color: #ffffff;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.35);
}

.dd-t8-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .dd-t8-sidebar {
        position: fixed;
        left: -320px;
        top: 0;
        z-index: 1050;
        transition: left 0.3s ease;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
    }
    .dd-t8-sidebar.show {
        left: 0;
    }
    .dd-t8-canvas {
        padding: 28px 20px;
    }
    .dd-t8-hero-section {
        padding: 28px 20px;
    }
    .dd-t8-hero-title {
        font-size: 28px;
    }
    .dd-t8-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
