@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;800&display=swap');

@font-face {
    font-family: 'Gabriel Sans';
    src: local('Gabriel Sans'), local('Arial');
}

@font-face {
    font-family: 'Gabriel Sans Cond';
    src: local('Gabriel Sans Cond'), local('Arial Narrow');
}

@font-face {
    font-family: 'Denton';
    src: local('Denton'), local('Georgia');
}

:root {
    --bg-paper: #FFFFFF;
    --bg-off: #F4F5F7;
    /* More dashboard-like light gray */
    --text-main: #141414;
    --text-muted: #5B6B7C;
    --text-light: #8E9BAE;

    --brand-primary: #FAFA32;
    --brand-accent: #FAFA32;
    --link-color: #133122;

    /* Semantic Colors */
    --border-main: #E5E9F0;
    --bg-light: #f8fafc;

    --status-active: #48D1B5;
    --status-success: #22c55e;
    --status-warning: #FFAD4D;
    --status-danger: #FF6B6B;
    --status-error: #ef4444;

    --brand-accent-glow: rgba(250, 250, 50, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 1);
    --glass-blur: blur(24px);

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);

    --border-radius: 16px;
    --sidebar-width: 280px;

    /* Typography */
    --font-primary: 'Gabriel Sans', sans-serif;
    --font-heading: 'Gabriel Sans Cond', sans-serif;
    --font-display: 'Denton', serif;

    --text-h1: clamp(2rem, 5vw, 2.5rem);
    --text-h2: clamp(1.5rem, 3vw, 1.8rem);
    --text-body: 15px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-off);
    color: var(--text-main);
    font-family: var(--font-primary);
    font-size: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

h1,
.h1,
h2,
.h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gradient-text {
    background: linear-gradient(to right, #10b981, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- 1. DASHBOARD LAYOUT --- */
#page {
    position: relative;
    min-height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
    opacity: 0; /* Hidden by default for transitions */
}



#page,
#page * {
    box-sizing: border-box;
}

.site-sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-paper);
    position: fixed;
    top: 0;
    left: 0;
    border-right: 1px solid var(--border-main);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.site-main {
    min-width: 0;
    margin-left: var(--sidebar-width);
    padding: 20px 40px 40px 40px;
    transition: margin-left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-x: hidden;
    position: relative;
    width: auto;
}



body.sidebar-collapsed .site-main {
    margin-left: 0;
}

.global-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

/* WP Admin Bar Fixes */
.admin-bar .site-sidebar {
    top: 32px;
    height: calc(100vh - 32px);
}

.admin-bar .universal-toggle {
    top: 55px !important;
}

.admin-bar .mobile-sidebar-overlay {
    top: 32px;
}



/* --- 2. SIDEBAR CONTENT --- */
.sidebar-header {
    padding: 30px 20px;
}

.user-profile-link {
    text-decoration: none;
    display: block;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 8px;
}

.user-profile-link:hover {
    background: rgba(0, 0, 0, 0.03);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    display: block;
    font-weight: 800;
    font-size: 16px;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--status-active);

    border-radius: 50%;
}

.main-navigation {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.nav-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.main-navigation ul,
.account-main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tax-pill {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-off);
    padding: 4px 10px;
    border-radius: 8px;
    justify-self: start;
    font-weight: 600;
}

.main-navigation li a,
.account-main-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.main-navigation li a:hover,
.main-navigation li.current-menu-item a,
.account-main-nav li a:hover,
.account-main-nav li.active a {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-main);
    border-color: #000;
}

.sidebar-bottom-promo {
    margin-top: auto;
    background: linear-gradient(135deg, rgba(250, 250, 50, 0.2), rgba(250, 250, 50, 0.05));
    border-radius: var(--border-radius);
    padding: 24px;
    border: 1px solid var(--brand-primary);
}

.sidebar-bottom-promo h4 {
    margin-bottom: 5px;
}

.sidebar-bottom-promo p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.btn-promo {
    display: block;
    text-align: center;
    background: #FFF;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Base Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 40px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-primary {
    background: var(--text-main);
    color: #FFF;
}

.btn-primary:hover {
    background: var(--brand-primary);
    color: var(--text-main);
}

.btn-outline {
    border: 1px solid #DDE2EC;
    background: #FFF;
}

.btn-outline:hover {
    border-color: var(--text-main);
}

/* --- 3. DASHBOARD TOPBAR --- */
.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.topbar-date {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.topbar-welcome h1 {
    font-size: var(--text-h1);
    margin-bottom: 25px;
}

.topbar-welcome h1 span {
    color: #888;
}

.topbar-welcome h2 {
    font-size: 20px;
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--text-muted);
}

.topbar-actions {
    display: flex;
    gap: 15px;
}

/* --- 4. BENTO DASHBOARD GRID --- */
.dashboard-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
}



.bento-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-main);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.card-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 .dashicons {
    color: var(--text-muted);
}

.card-add-btn {
    display: inline-block;
    margin-top: 15px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-light);
}

.ver-todos {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ver-todos:hover {
    color: var(--text-main);
}

.ver-todos .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.ver-todos:hover .dashicons {
    transform: translateX(4px);
}

/* Removed Old Dashboard Cards (Prompts, Tools, KPI, Moodboards) */

/* --- 5. RESPONSIVE FIXES & SIDEBAR TOGGLE --- */
/* Universal toggle stays fixed */
.universal-toggle {
    display: block;
    position: fixed;
    top: 20px;
    left: calc(var(--sidebar-width) - 20px);
    z-index: 1002;
    background: #FFF;
    border: 1px solid var(--border-main);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1), transform 0.2s;
    width: 40px;
    height: 40px;
}

.universal-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

.universal-toggle:hover {
    transform: scale(1.05);
}

/* Base Dashboard is Open on Desktop */
body:not(.sidebar-collapsed) .universal-toggle .icon-menu {
    opacity: 0;
    pointer-events: none;
}

body:not(.sidebar-collapsed) .universal-toggle .icon-close {
    opacity: 1;
    pointer-events: auto;
}

body.sidebar-collapsed .universal-toggle {
    left: 20px;
}

body.sidebar-collapsed .universal-toggle .icon-menu {
    opacity: 1;
    pointer-events: auto;
}

body.sidebar-collapsed .universal-toggle .icon-close {
    opacity: 0;
    pointer-events: none;
}

.site-sidebar {
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

body.sidebar-collapsed .site-sidebar {
    transform: translateX(-100%) !important;
}

.site-main {
    display: flex;
    flex-direction: column;
    transition: margin-left 0.4s ease;
}

body.sidebar-collapsed .site-main {
    margin-left: 0;
}

/* Footer bottom alignment */
.site-footer {
    margin-top: auto;
    text-align: center;
    padding: 50px 0 0;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px dashed var(--border-main);
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Mobile sidebar + layout responsive styles moved to responsive.css */

/* --- 6. ARCHIVE / SINGLE OVERRIDES (SaaS Style) --- */
.dashboard-global-header {
    text-align: center;
    padding: 20px;
    font-size: 24px;
    font-weight: 800;
}

.site-logo-text {
    color: var(--text-main);
}

.site-logo-text:hover {
    color: var(--brand-primary);
}

.dashboard-global-header img {
    max-height: 40px;
    width: auto;
    display: inline-block;
}

.single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.single-breadcrumb a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.single-breadcrumb a:hover {
    color: var(--text-main);
}

.single-breadcrumb .bread-home svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

.single-breadcrumb .sep {
    font-size: 10px;
    color: #CCC;
}

.tool-header-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.tool-title-meta {
    flex: 1;
}

.cpt-pill-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.card-type-pill {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 20px;
    background: rgba(250, 250, 50, 0.2);
    color: var(--text-main);
    border: 1px solid rgba(250, 250, 50, 0.4);
}

.archive-layout,
.single-layout {
    background: var(--bg-paper);
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-main);
    margin-bottom: 40px;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: relative;
}

.archive-layout h1.page-title,
.single-layout h1 {
    font-size: var(--text-h1);
    margin-bottom: 15px;
    padding-bottom: 0px;
    border-bottom: none;
    line-height: 1.1;
}

.archive-description {
    max-width: 75ch;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 20px;

}



/* Tool Detail Styles */
.tool-specs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
    align-items: center;
}

.spec-tile {
    flex: 1;
    min-width: 140px;
    background: #FFF;
    border: 1px solid var(--border-main);
    padding: 15px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.spec-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-off);
    color: var(--text-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-data label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.spec-data strong {
    font-size: 16px;
    color: var(--text-main);
}

.tool-primary-btn {
    flex: 1.5;
    min-width: 200px;
    background: var(--text-main);
    color: #FFF;
    padding: 15px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tool-primary-btn:hover {
    background: var(--brand-primary);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(250, 250, 50, 0.4);
}

.tool-primary-btn.full-width {
    width: 100%;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    font-size: 16px;
}

/* New Header Layout */
.tool-header-flex {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 30px;
    width: 100%;
}

.entry-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.tool-logo-wrap {
    width: 100px;
    height: 100px;
    min-width: 100px;
    background: #FFF;
    border: 2px solid #FFF;
    border-radius: 20px;
    padding: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Liquid glass shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tool-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.tool-title-meta {
    flex: 1;
}

/* Tutorial Section */
.tutorial-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-main);
}

.tutorial-section h3 {
    margin-bottom: 25px;
    font-size: 20px;
}

.tutorial-section iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-main);
}

.bottom-cta-wrap {
    margin-top: 60px;
    padding: 30px;
    background: var(--bg-off);
    border-radius: 24px;
    border: 1px dashed #D1D5DB;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Case Detail Styles */
.single-featured-image-wide {
    margin: 30px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.single-featured-image-wide img {
    width: 100%;
    height: auto;
    display: block;
}

.caso-details-wrapper {
    margin: 40px 0;
    background: #FFF;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--border-main);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.caso-details-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 20px;
}

.caso-full-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}



.caso-spec-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-off);
    border-radius: 18px;
    border: 1px solid var(--border-main);
}

.caso-spec-icon {
    width: 48px;
    height: 48px;
    background: #FFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.caso-spec-info label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.caso-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main);
}

.caso-kpis-box {
    padding: 24px;
    background: var(--text-main);
    border-radius: 18px;
    color: #FFF;
}

.kpi-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.kpi-values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kpi-result-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    backdrop-filter: blur(5px);
}

.kpi-result-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}



/* Single Page Favorite Button Overrides */
.single-layout article>.favorite-button-container {
    position: absolute;
    top: 30px;
    right: 30px;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 100;
}

.single-layout article>.favorite-button-container .favorite-label {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.single-layout article>.favorite-button-container .favorite-label:hover {
    background: #FEFED6;
    border-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.single-layout article>.favorite-button-container .favorite-label:hover .favorite-icon {
    fill: #FF0088 !important;
    stroke: #FF0088 !important;
}

.single-layout article>.favorite-button-container.is-favorite .favorite-label {
    background: #fff;
    border-color: #fee2e2;
}



/* Prompt Specific Dark Glass */
.dark-glass-code {
    background: #111;
    color: #FFF;
    padding: 50px 25px 25px 25px;
    border-radius: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.dark-glass-code pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    line-height: 1.6;
    color: var(--border-main);
}

.dark-glass-code .var-highlight {
    color: var(--brand-primary);
    font-weight: bold;
    background: rgba(250, 250, 50, 0.1);
    padding: 0 4px;
    border-radius: 4px;
}

.copy-prompt-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.copy-prompt-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.copy-prompt-btn svg {
    width: 14px;
    height: 14px;
}

.copy-prompt-btn.copied {
    background: var(--status-active);
    color: #FFF;
    border-color: var(--status-active);
}

.prompt-variables-section {
    background: var(--bg-off);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.variables-pill-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.var-pill {
    background: #FFF;
    border: 1px solid var(--border-main);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.prompt-notes {
    border-left: 4px solid var(--brand-primary);
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

/* --- ARCHIVE FILTERS --- */
.archive-filters-bar {
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-group.filter-dropdown-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.filter-select-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align children of select wrap to start */
}

/* Masonry Styles (Home) */
.masonry-style {
    column-count: 3;
    column-gap: 20px;
    padding: 10px 0;
}

/* Specificity for Showroom (2 columns) */
.card-cases .masonry-style {
    column-count: 2;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    background: #FFF;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-main);
    transition: all 0.3s ease;
    text-decoration: none;
    break-inside: avoid;
}

.masonry-item:hover {
    transform: translateY(-5px);
    border-color: var(--text-main);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.masonry-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.masonry-info {
    padding: 15px;
}

.masonry-info h4 {
    font-size: 14px;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
    font-weight: 700;
}

/* Files Button */
.caso-files-wrap {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px dashed var(--border-main);
}

.btn-caso-files {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-off);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--border-main);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.btn-caso-files:hover {
    background: var(--text-main);
    color: #FFF;
    border-color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.archive-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-main);
}

.results-count {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.results-count span {
    color: var(--text-main);
    font-weight: 800;
}

.results-config {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.ajax-entries-selector {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-main);
    font-weight: 800;
    color: var(--text-main);
    background: #FFF;
    cursor: pointer;
    outline: none;
}

.ajax-entries-selector:focus {
    border-color: var(--brand-primary);
}

.filter-label {
    font-weight: 800;
    font-size: 14px;
    color: var(--text-main);
    white-space: nowrap;
}

.filter-pills-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.filter-pills {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    width: 100%;
    user-select: none;
    -webkit-user-drag: none;
}

.filter-pills::-webkit-scrollbar {
    display: none;
}

.filter-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    background: #FFF;
    border: 1px solid var(--border-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
}

.filter-pills-container:hover .filter-nav.visible {
    opacity: 1;
    pointer-events: auto;
}

.filter-nav.prev {
    left: -16px;
}

.filter-nav.next {
    right: -16px;
}

.filter-nav:hover {
    background: var(--text-main);
    color: #FFF;
    border-color: var(--text-main);
}

.filter-select-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.filter-select-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
}

.filter-dropdown-select {
    padding: 8px 32px 8px 16px;
    background-color: #FFF;
    border: 1px solid var(--border-main);
    border-radius: 40px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.filter-dropdown-select:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

.filter-dropdown-select:focus,
.filter-dropdown-select.active {
    border-color: var(--text-main);
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.filter-dropdown-select.active {
    border-width: 2px;
}

.filter-pill {
    white-space: nowrap;
    padding: 8px 18px;
    background: #FFF;
    border: 1px solid var(--border-main);
    border-radius: 40px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.filter-pill:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

.filter-pill.active {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
    font-weight: 800;
}

/* --- MODERN PAGINATION --- */
.posts-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.posts-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.posts-pagination a,
.posts-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    color: var(--text-muted);
    background: #FFF;
    border: 1px solid var(--border-main);
    transition: all 0.3s;
}

.posts-pagination a:hover {
    border-color: var(--text-main);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.posts-pagination .current {
    background: var(--text-main);
    color: #FFF;
    border-color: var(--text-main);
}

.posts-pagination .prev,
.posts-pagination .next {
    padding: 0 20px;
    background: var(--bg-off);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

@media (max-width: 1040px) {
    .post-grid {
        gap: 20px;
    }
}

@media (max-width: 1400px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
}

.grid-card {
    position: relative;
    background: var(--bg-paper);
    border: 1px solid var(--border-main);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    margin: 0;
    will-change: transform, opacity;
}

.grid-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-primary);
}

.tool-archive-card:hover,
.showroom-card:hover,
.moodboard-card:hover,
.formacion-card:hover {
    border-color: #000 !important;
}


.card-image-wrap {
    aspect-ratio: 16/9;
    background: #F4F5F7;
    overflow: hidden;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card-footer {
    margin-top: auto;
}

.card-type-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    background: var(--brand-primary);
    color: #000;
}

.read-more {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    border-bottom: 2px solid var(--brand-primary);
    padding-bottom: 2px;
}

.read-more:hover {
    color: var(--brand-primary);
}

/* Greeting Wave Animation */
.wave-emoji {
    display: inline-block;
    animation: wave-animation 2.5s infinite;
    transform-origin: 70% 70%;
}

/* Tool Archive Special Layout */
.tool-archive-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 768px) {
    .tool-archive-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Showroom (Case Studies) Archive Cards */
.showroom-card .card-image-wrap {
    aspect-ratio: 16/11;
    position: relative;
    background: #111;
}

.showroom-card .card-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.showroom-card .card-image-link img {
    transition: transform 0.5s ease;
}

.showroom-card:hover .card-image-link img {
    transform: scale(1.05);
}

.showroom-card .card-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 30px 20px 15px;
    pointer-events: none;
}

.showroom-card .card-taxonomies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.showroom-card .tax-pill-overlay {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.showroom-card .entry-title {
    font-size: 20px !important;
    font-weight: 700;
    margin-bottom: 12px !important;
}

.showroom-card .entry-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.showroom-card:hover .entry-title a {
    color: var(--text-main);
}

.showroom-card .entry-summary {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 0;
    /* Space from title removed */
    margin-bottom: 25px;
}

@media (max-width: 1040px) {
    .tool-archive-grid {
        grid-template-columns: 1fr !important;
    }
}

.tool-archive-card {
    position: relative;
    padding: 30px;
    text-decoration: none !important;
}

.tool-card-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.tool-icon-wrap {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: #FFF;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.tool-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    border-radius: 12px;
}

.tool-card-meta {
    flex: 1;
}

.tool-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 2px;
    color: var(--text-main);
}

.tool-card-category {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.8px;
}

.tool-card-body p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.view-tool-link {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tool-archive-card:hover .view-tool-link,
.showroom-card:hover .view-tool-link {
    color: var(--text-main);
}

.view-tool-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.tool-archive-card:hover .view-tool-link .dashicons,
.showroom-card:hover .view-tool-link .dashicons,
.prompt-glass-card:hover .view-tool-link .dashicons {
    transform: translateX(4px);
}

@keyframes wave-animation {
    0% {
        transform: rotate(0.0deg)
    }

    10% {
        transform: rotate(14.0deg)
    }

    20% {
        transform: rotate(-8.0deg)
    }

    30% {
        transform: rotate(14.0deg)
    }

    40% {
        transform: rotate(-4.0deg)
    }

    50% {
        transform: rotate(10.0deg)
    }

    60% {
        transform: rotate(0.0deg)
    }

    100% {
        transform: rotate(0.0deg)
    }
}

/* Removed Formacion styles */

/* Cultura Card Styles (Base/Home = Compact) */
.cultura-card {
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none;
    text-align: center;
    overflow: hidden;
    background: #ffffff !important;
    border-radius: var(--border-radius, 16px);
    background-clip: padding-box;
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cultura-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover, 0 12px 40px rgba(0, 0, 0, 0.15));
    border-color: inherit;
}

.cultura-card .card-image-wrap {
    height: 80px;
    width: 100%;
    padding: 10px;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cultura-card .card-body {
    padding: 0 15px 10px 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-height: 50px;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
}

.cultura-card .entry-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-align: center;
    width: 100%;
    line-height: 1.2;
}

/* Specificity for Archive (Full Size - but more compact) */
.cultura-archive .cultura-card .card-image-wrap {
    height: 120px;
    padding: 20px 15px;
}

.cultura-archive .cultura-card .card-body {
    padding: 10px 15px 20px 15px;
    min-height: 70px;
}

.cultura-archive .cultura-card .entry-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
}

/* Cultura Archive Grid Specificity */
@media (min-width: 1200px) {
    .cultura-archive .post-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Removed Formacion slider and meta styles */

.slide-info {
    padding: 15px;
}

.slide-cat {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.slide-info h4 {
    font-size: 15px;
    margin: 0;
    color: var(--text-main);
    line-height: 1.3;
}

/* Custom Navigation arrows */
.swiper-nav-prev,
.swiper-nav-next {
    position: absolute;
    top: 40%;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--text-main);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swiper-nav-prev.swiper-button-disabled,
.swiper-nav-next.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

.swiper-nav-prev.swiper-button-lock,
.swiper-nav-next.swiper-button-lock {
    display: none !important;
}

.swiper-nav-prev:hover,
.swiper-nav-next:hover {
    background: #fff !important;
    border: 2px solid #000 !important;
    color: #000 !important;
}

.swiper-nav-prev {
    left: -15px;
}

.swiper-nav-next {
    right: -15px;
}

.swiper-nav-prev svg,
.swiper-nav-next svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 900px) {
    .span-2 {
        grid-column: span 1;
    }

    .swiper-nav-prev,
    .swiper-nav-next {
        display: flex;
        background: #000 !important;
        color: #ECD812 !important;
        top: 50%;
        transform: translateY(-50%);
    }

    .swiper-nav-prev {
        left: 0 !important;
    }

    .swiper-nav-next {
        right: 0 !important;
    }

    .swiper-container-wrapper {
        padding: 0 10px;
    }
}

/* --- Front-end Submission --- */
.header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;

}

.btn-add-frontend {
    background: #000 !important;
    color: #fff !important;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-add-frontend svg,
.btn-add-frontend .icon {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
}

.btn-add-frontend:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--brand-accent-glow);
    color: var(--text-main);
}

/* --- Front-end Submission Premium Overhaul --- */
.submission-page {
    max-width: 1000px !important;
    margin: 0 auto;
    padding-bottom: 50px;
}

.submission-page .page-header {
    text-align: center;

}

.submission-page .archive-description {
    max-width: 600px;
    margin: 10px auto 0;
}

.submission-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}


.submission-card .card-content {
    padding: 50px;
}

.agencia-frontend-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.agencia-frontend-form input[type="text"],
.agencia-frontend-form input[type="url"],
.agencia-frontend-form select,
.agencia-frontend-form textarea {
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    padding: 18px 22px;
    border-radius: 16px;
    font-size: 15px;
    color: var(--text-main);
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.agencia-frontend-form input:focus,
.agencia-frontend-form select:focus,
.agencia-frontend-form textarea:focus {
    background: #fff;
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(0, 0, 0, 0.03);
    transform: translateY(-1px);
}

/* Taxonomy Modern Checklist */
.form-taxonomies {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.taxonomy-checklist-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #f1f5f9;
    padding: 20px;
    border-radius: 16px;
}

.taxonomy-item {
    position: relative;
}

.taxonomy-item>label {
    font-size: 12px !important;
}

.modern-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.taxonomy-pill-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
}

.modern-checkbox:checked+.taxonomy-pill-label {
    background: #fff;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.taxonomy-pill-label:hover {
    background: #e2e8f0;
}

.modern-upload-zone {
    position: relative;
    border: 2px dashed #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    background: var(--bg-light);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    width: 100%;
}

.modern-upload-zone.dragover {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: scale(1.01);
}

.hidden-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.upload-content .upload-icon {
    width: 120px;
    /* Tripled from ~40px */
    height: 120px;
    color: #94a3b8;
    margin-bottom: 20px;
    opacity: 0.5;
}

.upload-text {
    font-size: 16px;
    color: #475569;
    margin: 0;
}

.upload-hint {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

/* Upload Preview State */
.upload-preview {
    position: relative;
    z-index: 3;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* Taxonomy Add New Term */
.btn-add-tax-term {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 6px 16px !important;
    background: #000 !important;
    border: 2px solid #000 !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
    line-height: normal !important;
    height: auto !important;
}

.btn-add-tax-term:hover {
    background: #222 !important;
    border-color: #222 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

.btn-add-tax-term .icon-plus {
    width: 10px;
    height: 10px;
    stroke-width: 4px;
}

.new-tax-input {
    display: inline-block !important;
    padding: 6px 22px !important;
    background: #f1f5f9 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    outline: none !important;
    width: 180px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    height: auto !important;
    line-height: normal !important;
}

.new-tax-input:focus {
    background: #fff !important;
    border-color: #3b82f6 !important;
    width: 240px !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}

.hidden {
    display: none !important;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.file-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remove-file {
    background: #fee2e2;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.1);
}

.remove-file .icon-x {
    width: 14px;
    height: 14px;
    color: var(--status-error);
    stroke-width: 3;
    /* If it's a stroke-based SVG */
}

.remove-file:hover {
    background: var(--status-error);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.remove-file:hover .icon-x {
    color: #fff;
}

/* Loading Bar Animation */
.preview-progress {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.preview-status {
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Restore Submission Button Styles */
.btn-submit-frontend {
    background: linear-gradient(135deg, #10b981, #3b82f6) !important;
    color: white !important;
    border: none !important;
    padding: 22px 40px !important;
    border-radius: 20px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    width: 100% !important;
    margin-top: 20px !important;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3) !important;
    display: block !important;
}

.btn-submit-frontend:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4) !important;
    filter: brightness(1.1) !important;
}

.btn-submit-frontend:active {
    transform: translateY(-2px) scale(0.98) !important;
}

@media (max-width: 768px) {
    .submission-card .card-content {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.entry-author-info {
    margin-top: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.03);
    padding: 8px 15px;
    border-radius: 30px;
    width: fit-content;
}

.author-label {
    color: var(--text-muted);
    font-weight: 600;
}

.author-name {
    color: var(--brand-accent);
    font-weight: 800;
}

/* ==========================================================================
   WP EDITOR (TINYMCE) MODERN SKIN - FINAL REFINED
   ========================================================================== */

/* Outer Wrap */
.wp-core-ui .wp-editor-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 10px !important;
}

/* Tools Area (Media only) */
.wp-editor-tools {
    background: transparent !important;
    padding: 0 0 12px 0 !important;
    border: none !important;
}

/* Hide Visual / Code Tabs */
.wp-editor-tabs {
    display: none !important;
}

/* Add Media Button - Premium Black Style */
.wp-media-buttons .insert-media {
    background: #000 !important;
    border: none !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 12px 24px !important;
    height: auto !important;
    line-height: normal !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease !important;
}

.wp-media-buttons .insert-media:hover {
    background: #222 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
}

/* Forced Input-like Iframe Styling */
#post_content_ifr,
#prompt_base_ifr,
#prompt_notas_ifr {
    background: var(--bg-light) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 18px 22px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
    color: var(--text-main) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    height: 300px !important;
    /* Base height */
    display: block !important;
}

#post_content_ifr:focus-within,
#prompt_base_ifr:focus-within,
#prompt_notas_ifr:focus-within {
    background: #fff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

/* Hide Quicktags (Text Mode Toolbar) */
.quicktags-toolbar {
    display: none !important;
}

/* TinyMCE Internal UI clean up */
.mce-tinymce.mce-container {
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mce-toolbar-grp {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-bottom: none !important;

    padding: 8px 12px !important;
    margin-bottom: -1px !important;
    /* Connect to iframe */
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Adjust Iframe Border Radius when toolbar is present */
.mce-tinymce .mce-edit-area {
    border: none !important;
}

#post_content_ifr,
#prompt_base_ifr,
#prompt_notas_ifr {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

/* Toolbar Buttons */
.mce-btn {
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
}

.mce-btn:hover {
    background: #f1f5f9 !important;
}

.mce-ico {
    color: #475569 !important;
}

/* Status Bar Hide (Cleaner Look) */
.mce-statusbar {
    display: none !important;
}

/* Editor Container */
.wp-editor-container {
    border: none !important;
}


/* Author Pill */
.author-pill-wrap {
    margin-top: 8px;
    margin-bottom: 24px;
}

.author-pill {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
}

/* Required field asterisk */
.agencia-frontend-form .required {
    color: #ff5a1f;
    font-weight: 900;
    margin-left: 2px;
}

/* ========================
   Prompt Template Dark Editor
   ======================== */

/* Wrapper del editor de prompt_base */
#wp-prompt_base-editor-container,
#wp-prompt_base-wrap {
    border: 1px solid #374151 !important;
    border-radius: 12px !important;
    overflow: hidden;
    background-color: #111827;
}

/* Barra de herramientas (toolbar de TinyMCE) en dark */
#wp-prompt_base-editor-container .mce-toolbar,
#wp-prompt_base-editor-container .mce-top-part,
#wp-prompt_base-editor-container .mce-menubar,
#wp-prompt_base-editor-container .mce-container,
#wp-prompt_base-editor-container .mce-panel {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
}

#wp-prompt_base-editor-container .mce-btn button,
#wp-prompt_base-editor-container .mce-ico {
    color: #9ca3af !important;
}

#wp-prompt_base-editor-container .mce-btn:hover {
    background-color: #374151 !important;
}

/* Tab de Visual / Texto */
#wp-prompt_base-editor-tools .wp-editor-tabs a {
    background: #1f2937 !important;
    color: #9ca3af !important;
    border-color: #374151 !important;
}

#wp-prompt_base-editor-tools .wp-editor-tabs a.active {
    background: #111827 !important;
    color: #f3f4f6 !important;
}

/* Textarea del modo Texto (quicktags) */
#prompt_base {
    background-color: #111827 !important;
    color: #f3f4f6 !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace !important;
    font-size: 14px !important;
    border: none !important;
    padding: 16px !important;
    min-height: 200px;
}

/* Barra de quicktags */
#qt_prompt_base_toolbar {
    background-color: #1f2937 !important;
    border-bottom: 1px solid #374151 !important;
    padding: 4px 8px;
}

#qt_prompt_base_toolbar .ed_button {
    background: #374151 !important;
    color: #d1d5db !important;
    border: 1px solid #4b5563 !important;
    border-radius: 4px;
    margin: 2px;
}

#qt_prompt_base_toolbar .ed_button:hover {
    background: #4b5563 !important;
    color: #f3f4f6 !important;
}
/* Removed Prompt archive styles */

/* --- Single Post Top Actions --- */
.entry-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

.author-actions {
    display: flex;
    gap: 12px;
}

.btn-action-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid;
}

.btn-edit {
    border-color: #000;
    color: #000;
}

.btn-edit:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-delete {
    border-color: #dc2626;
    color: #dc2626;
}

.btn-delete:hover {
    background: #dc2626;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.btn-action-ghost svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .entry-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* --- Single Content Modern Styling --- */
.entry-content {
    margin-top: 40px;
}

.main-text-content {
    max-width: 768px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-muted);
}

.main-text-content p {
    margin-bottom: 2em;
}

.main-text-content h1,
.main-text-content h2,
.main-text-content h3,
.main-text-content h4,
.main-text-content h5,
.main-text-content h6 {
    color: var(--text-main);
    margin-top: 2.2em;
    margin-bottom: 0.7em;
    line-height: 1.3;
}

.main-text-content h2 {
    font-size: 32px;
    letter-spacing: -0.02em;
}

.main-text-content h3 {
    font-size: 26px;
    letter-spacing: -0.01em;
}

.main-text-content h4 {
    font-size: 20px;
    font-weight: 700;
}

.main-text-content a {
    color: var(--text-main);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.cpt-meta-box h3 {
    margin-bottom: 12px;
}

.main-text-content a:hover {
    color: var(--brand-accent);
    text-decoration-color: var(--brand-accent);
}

.main-text-content figure {
    margin: 3.5em 0;
    width: 100% !important;
}

.main-text-content figure img,
.main-text-content figure video {
    border-radius: 24px;
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.main-text-content figure figcaption {
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* Wrapper for videos (Vimeo/YouTube) */
.main-text-content div.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.main-text-content div.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.main-text-content blockquote {
    margin: 3em 0;
    padding-left: 30px;
    border-left: 4px solid var(--brand-accent);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    color: var(--text-main);
    line-height: 1.5;
}

.main-text-content ul,
.main-text-content ol {
    margin-bottom: 2.5em;
    padding-left: 20px;
}

.main-text-content li {
    margin-bottom: 0.8em;
}

.main-text-content strong,
.main-text-content b {
    color: var(--text-main);
    font-weight: 700;
}

/* Specific handles for symbols like '>' used in the example */
.main-text-content p strong:first-child:contains('>') {
    color: var(--brand-accent);
    font-family: ui-monospace, monospace;
}

@media (max-width: 900px) {
    .main-text-content {
        padding: 0 20px;
        font-size: 16px;
    }

    .main-text-content h2 {
        font-size: 28px;
    }

    .main-text-content h3 {
        font-size: 24px;
    }

    .main-text-content figure {
        margin: 2.5em 0;
    }
}

/* ========================
   Global Login Wall â€” Forced Access
   ======================== */

.login-wall-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background-color: var(--bg-light);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(250, 250, 50, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(250, 250, 50, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}


.login-wall-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    width: 100%;
    max-width: 440px;
    padding: 50px 45px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    text-align: center;
    position: relative;
    z-index: 10;
}


/* Ensure the login card stays centered and legible */
.login-wall-logo {

    display: flex;
    justify-content: center;
}

.login-wall-logo img,
.login-wall-logo .site-logo-text {
    max-width: 180px;
    height: auto !important;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
}




.login-wall-card h2 {
    margin-bottom: 12px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #000;
}

.login-wall-icon {
    display: flex;
    justify-content: center;

    color: #64748b;
}

.login-wall-icon svg {
    width: 54px;
    height: 54px;
    opacity: 0.9;
}


.login-wall-card p.subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 30px;
}

/* --- WP Login Form Internal Styling --- */
.login-wall-card form {
    text-align: left;
}

.login-wall-card label {
    display: block;
    font-size: 12px;
    width: 100%;
    text-align: center;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-wall-card input[type="text"],
.login-wall-card input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 15px !important;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.login-wall-card input:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.login-wall-card .login-remember {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.login-wall-card .login-remember label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
}

.login-wall-card .login-remember input {
    margin: 0 !important;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.login-wall-card input[type="submit"] {
    width: 100%;
    background: transparent;
    color: #000;
    border: 2px solid #000;
    padding: 14px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;

}

.login-wall-card input[type="submit"]:hover {
    background: #000;
    color: #fff;
    transform: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


/* Google Login Customization â€” Premium Black Pill (Solo Mode) */
.login-wall-card .login-social-only-container,
.login-wall-card .login-form-social,
.login-wall-card .wp_google_login__button-container,
.login-wall-card #google-login-button {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    position: relative;
    border: none !important;
    /* Remove separator border */
}

/* Remove text separator as it is no longer needed */
.login-wall-card .login-form-social::before {
    display: none !important;
}


.login-wall-card .wp_google_login__button,
.login-wall-card .nsl-button-google {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #000 !important;
    border: 1px solid #000 !important;
    border-radius: 100px !important;
    padding: 10px 28px !important;
    color: #fff !important;
    font-size: 0 !important;
    /* TRICK: Hide real text node */
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.login-wall-card .wp_google_login__button:hover,
.login-wall-card .nsl-button-google:hover {
    background: #1e293b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
}

/* Force Google Icon + Text via Pseudo-elements if necessary */
.login-wall-card .wp_google_login__button::before,
.login-wall-card .nsl-button-google::before {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%23EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"/><path fill="%234285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"/><path fill="%23FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"/><path fill="%2334A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"/><path fill="none" d="M0 0h48v48H0z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

/* Hide any original plugin spans to avoid double icons or text */
.login-wall-card .wp_google_login__button span,
.login-wall-card .nsl-button-google span {
    display: none !important;
}

/* Show the new translated text nodes */
.login-wall-card .wp_google_login__button::after,
.login-wall-card .nsl-button-google::after {
    content: 'Continuar con Google';
    font-size: 18px !important;
    /* Restore font size for translated text */
}




.login-extra-links {
    margin-top: 20px;
    text-align: center;
}

.login-extra-links a {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-extra-links a:hover {
    color: #000;
}



/* --- MI CUENTA: ACCOUNT PAGE STYLES --- */
.account-page-wrapper {

    min-height: 80vh;

}

.account-header {
    text-align: center;
    margin-bottom: 50px;
}

.account-header .page-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #0f172a;
}

.account-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    min-height: 600px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Sidebar Nav */
.account-sidebar {
    width: 30%;
    background: #fafafa;
    border-right: 1px solid #f1f5f9;
    padding: 40px 20px;
}

/* Sidebar Nav - Desktop (Matches main sidebar look) */
.page-mi-cuenta .account-main-nav {
    padding: 0;
    background: transparent;
}

.page-mi-cuenta .account-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-mi-cuenta .account-nav .nav-item a {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 2px solid #E2E8F0;
    padding: 10px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: normal;
    font-family: var(--font-primary);
    width: 100%;
}

.page-mi-cuenta .account-nav .nav-item a svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.page-mi-cuenta .account-nav .nav-item:hover a {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-main);
}

.account-nav .nav-item.active a {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    font-weight: 800 !important;
}

/* Logout Item Styling - Desktop */
.page-mi-cuenta .account-nav .nav-item.logout-item {
    margin-top: 20px;
    border-top: 1px solid var(--border-main);
    padding-top: 10px;
}

.page-mi-cuenta .account-nav .nav-item.logout-item .logout-link {
    color: var(--status-danger) !important;
}

.page-mi-cuenta .account-nav .nav-item.logout-item .logout-link svg {
    color: var(--status-danger) !important;
    stroke: var(--status-danger) !important;
    display: block !important;
    /* Ensure visibility */
    opacity: 1 !important;
}

.page-mi-cuenta .logout-link span {
    color: var(--status-danger) !important;
}

/* Hover States */
.page-mi-cuenta .account-nav .nav-item.logout-item:hover a {
    background: #fef2f2 !important;
}

.page-mi-cuenta .account-nav .nav-item.logout-item .logout-link:hover {
    color: #dc2626 !important;
    border-color: #fee2e2 !important;
}

.logout-link svg {
    color: #ef4444 !important;
    stroke: #ef4444 !important;
}

.logout-link span {
    color: #ef4444 !important;
}


/* Hide arrows on desktop */
.account-nav-arrow {
    display: none !important;
}

/* Content Area */
.account-content {
    flex: 1;
    padding: 60px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #0f172a;
}

/* Profile Form Styles */
.avatar-edit-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f1f5f9;
}

.avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    border: 3px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-info .help-text {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 10px;
}

.agencia-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.agencia-form .form-group {
    margin-bottom: 25px;
}

.agencia-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.agencia-form input[type="text"] {
    width: 100%;
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.agencia-form input[type="text"]:focus {
    background: #fff;
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.03);
    outline: none;
}

.agencia-form .button-primary {
    background: #000;
    color: #fff;
    padding: 18px 40px;
    border: none;
    border-radius: 100px;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.agencia-form .button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.agencia-form .button-outline {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.agencia-form .button-outline:hover {
    background: var(--bg-light);
    border-color: #94a3b8;
}

/* User Posts List */
.user-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-item {
    background: var(--bg-light);
    padding: 0;
    /* Changed to handle internal link padding */
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    overflow: hidden;
}

.post-item-link {
    flex: 1;
    padding: 20px 30px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.post-item:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.post-item-link:hover .post-title {
    color: #000;
}

.post-item .post-title {
    font-weight: 600;
    color: #475569;
    /* Slightly softer base color */
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.post-actions {
    padding-right: 20px;
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn svg {
    width: 18px;
    height: 18px;
}

.action-btn.edit:hover {
    background: #f1f5f9;
    color: #000;
    border-color: #000;
}

.action-btn.delete:hover {
    background: #fef2f2;
    color: var(--status-error);
    border-color: var(--status-error);
}

/* Responsiveness */


/* Account Menu Carousel Mobile + 1040px responsive styles moved to responsive.css */

/* --- CUSTOM MODAL STYLES --- */
.agencia-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.agencia-modal-card {
    background: #fff;
    width: 100%;
    max-width: 450px;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: modalAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #0f172a;
}

.modal-content p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-btn {
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.modal-btn.btn-ghost {
    background: #f1f5f9;
    color: #64748b;
}

.modal-btn.btn-ghost:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.modal-btn.btn-primary {
    background: #000;
    color: #fff;
}

.modal-btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- FAVORITES SYSTEM --- */
.favorite-button-container {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.favorite-checkbox {
    display: none;
}

.favorite-label {
    position: relative;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.favorite-label:hover {
    background: rgba(15, 23, 42, 0.8);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Visibility Logic for Archive Cards */
.grid-card:hover .favorite-button-container,
.prompt-glass-card:hover .favorite-button-container,
.tool-archive-card:hover .favorite-button-container,
.formacion-card:hover .favorite-button-container {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Always show if favorited */
.favorite-button-container.is-favorite {
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
}

.favorite-button-container.is-favorite .favorite-label {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.favorite-button-container.is-favorite .favorite-label:hover {
    background: rgba(255, 255, 255, 0.9);
}

.favorite-icon {
    width: 24px;
    height: 24px;
    z-index: 1;
}

.favorite-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    overflow: visible;
}

/* Favorites List in Account */
.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.favorites-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-main);
}

.favorites-header-bar h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.favorites-list .posts-pagination {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.favorites-list .posts-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: #f8fafc;
    color: #475569;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.favorites-list .posts-pagination .page-numbers.current {
    background: #000;
    color: #fff;
}

.favorites-list .posts-pagination .page-numbers:hover:not(.current) {
    background: #e2e8f0;
    color: #000;
}

.favorite-item {
    background: #fff;
    padding: 12px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.favorite-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
    border-color: #e2e8f0;
}

.favorite-item-link {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    text-decoration: none;
    min-width: 0;
}

.favorite-item .cpt-icon-box {
    width: 42px;
    height: 42px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.favorite-item:hover .cpt-icon-box {
    background: #000;
    color: var(--brand-primary);
}

.favorite-item .cpt-label {
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.favorite-item:hover .cpt-label {
    background: #e2e8f0;
    color: #000;
}

.favorite-item .post-title {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.favorite-item .favorite-button-container {
    position: relative;
    top: auto;
    right: auto;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.favorite-item .favorite-label {
    width: 36px;
    height: 36px;
    background: transparent;
    box-shadow: none;
    border: 1px solid #e2e8f0;
}

.favorite-item .favorite-label:hover {
    background: #fef2f2;
    border-color: #fee2e2;
}

/* Single Page Favorite Button */
.entry-top-bar .favorite-button-container {
    position: relative;
    top: auto;
    right: auto;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}


/* --- 6. CULTURA SIROPE: PROFILES GRID --- */
.profiles-grid-container {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.profiles-grid-container .section-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.profile-item-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 40px 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    /* Initial shadow */
}

.profile-item-card:hover {
    transform: translateY(4px);
    /* Pushes the card down */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    /* Decreased shadow depth */
    border-color: rgba(0, 0, 0, 0.02);
}

.profile-card-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s;
}

.profile-item-card:hover .profile-card-icon-box {
    transform: scale(0.95);
    /* Icon shrinks slightly as if being pressed */
}


.profile-card-svg,
.profile-card-img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 8px;
    /* Slightly rounded for the image */
}

.profile-card-svg {
    color: #1e293b;
    opacity: 0.8;
}


.profile-card-content {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0f172a;
    line-height: 1.3;
}



/* --- 6.1. CULTURA SIROPE: CONTENT MODERN PASTEL GLASSMORPHISM --- */
.single-cultura_sirope .tool-header-flex {
    justify-content: center;
    margin-bottom: 40px;
}

.single-cultura_sirope .tool-title-meta {
    text-align: center;
    flex: 1;
}

.single-cultura_sirope .cpt-pill-wrap {
    justify-content: center;
}

.single-cultura_sirope .main-text-content {
    color: #334155;
    /* Slate-700 */
    line-height: 1.8;
}

/* Glassmorphic Tables with Pastel Accents */
.single-cultura_sirope .wp-block-table {
    margin: 3.5rem 0;
    border: none !important;
    overflow-x: auto;
    padding: 5px;
}

.single-cultura_sirope .wp-block-table table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 2px solid #fff !important;
    border-radius: 20px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.single-cultura_sirope .wp-block-table table *,
.single-cultura_sirope .wp-block-table table tr,
.single-cultura_sirope .wp-block-table table th,
.single-cultura_sirope .wp-block-table table td {
    border-color: #fff !important;
    border-width: 2px !important;
    border-style: solid !important;
}

.single-cultura_sirope .wp-block-table td,
.single-cultura_sirope .wp-block-table th {
    padding: 22px 30px !important;
    background: var(--bg-light) !important;
    /* Light gray/slate background */
    border: 2px solid #fff !important;
    font-size: 15px;
    color: #475569;
    text-align: left;
}

/* Modern Pastel Header - Adjusting border to white */
.single-cultura_sirope .wp-block-table thead th,
.single-cultura_sirope .wp-block-table th[colspan],
.single-cultura_sirope .wp-block-table tr:first-child td[colspan] {
    background: rgba(186, 230, 253, 0.25) !important;
    /* Pastel Blue */
    color: #0369a1 !important;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    border: 2px solid #fff !important;
}

/* Highlighting Labels */
.single-cultura_sirope .wp-block-table td strong {
    color: #1e293b;
    /* Slate-800 */
    font-weight: 700;
}

/* Glassmorphic Blockquotes - Clean Modern Glass */
.single-cultura_sirope blockquote {
    margin: 3rem 0;
    padding: 50px;
    background:
        radial-gradient(circle at 10% 10%, rgba(244, 114, 182, 0.25), transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(253, 164, 175, 0.25), transparent 50%),
        rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    text-align: center;
    /* Back to centered for elegance */
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.single-cultura_sirope blockquote p {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #1e293b;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.single-cultura_sirope blockquote cite {
    display: block;
    margin-top: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #64748b;
    opacity: 0.8;
}


/* Sub-headings and other elements integration */
.single-cultura_sirope .wp-block-heading {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #1e293b;
}

.single-cultura_sirope .wp-block-separator {
    margin: 4rem 0;
    opacity: 0.1;
}

/* --- SUPER EQUIPO GRID --- */
.team-grid-container {
    padding-top: 60px;
    margin-top: 80px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    width: 100%;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    gap: 40px;
    text-align: left;
}

.team-box-card {
    background: #fff;
    border-radius: 32px;
    padding: 15px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.team-box-card:hover {
    transform: translateY(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.team-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-box-card:hover .team-member-img {
    transform: scale(1.05);
}

.team-member-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.team-member-placeholder svg {
    width: 60px;
    height: 60px;
}

.team-glass-pill {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    border-radius: 16px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.team-info {
    padding: 0 10px 10px;
    text-align: center;
}

.team-member-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    text-transform: none;
}



/* --- 7. FRONT-END SUBMISSION FORM --- */
.agencia-frontend-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.agencia-frontend-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agencia-frontend-form label {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agencia-frontend-form .required {
    color: var(--status-error);
}

.agencia-frontend-form input[type="text"],
.agencia-frontend-form input[type="url"],
.agencia-frontend-form select,
.agencia-frontend-form textarea {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: var(--bg-light);
    font-size: 15px;
    transition: all 0.3s ease;
}

.agencia-frontend-form input:focus,
.agencia-frontend-form select:focus,
.agencia-frontend-form textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(235, 214, 19, 0.1);
}

/* --- MOODBOARD / TENDENCIAS --- */
.moodboard-archive .moodboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.moodboard-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
}

.moodboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.moodboard-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.moodboard-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.moodboard-card:hover .moodboard-card-image img {
    transform: scale(1.05);
}

.moodboard-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.moodboard-card:hover .moodboard-card-overlay {
    opacity: 1;
}

.moodboard-card-overlay .view-label {
    background: #fff;
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.moodboard-card:hover .moodboard-card-overlay .view-label {
    transform: translateY(0);
}

.moodboard-card-content {
    padding: 24px;
}

.moodboard-card-meta {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.moodboard-card-cat,
.moodboard-card-date {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.moodboard-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1e293b;
    line-height: 1.3;
}

.moodboard-card-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* Single Moodboard Styles */
.single-moodboard-layout .entry-header {
    margin-bottom: 40px;
}

.single-moodboard-layout .entry-title {
    margin-top: 10px;
}

.moodboard-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.moodboard-tag {
    padding: 6px 14px;
    background: var(--bg-paper-alt);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-main);
    transition: all 0.2s;
    text-decoration: none;
}

.moodboard-tag:hover {
    background: var(--bg-paper);
    border-color: var(--text-main);
    color: var(--text-main);
}

.btn-source {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--text-main);
    color: var(--bg-main);
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-source:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* PINTEREST MASONRY */
.moodboard-gallery-section {
    margin-top: 40px;
}

.pinterest-masonry {
    column-count: 3;
    column-gap: 24px;
    width: 100%;
}

.pinterest-masonry .masonry-item {
    break-inside: avoid;
    margin-bottom: 24px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-paper-alt);
    border: 1px solid var(--border-main);
    transform: translateZ(0);
    /* Fix for backdrop-filter overflow in some browsers */
}

.pinterest-masonry .moodboard-lightbox-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.pinterest-masonry .masonry-img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    border-radius: 12px;
}

.pinterest-masonry .masonry-item:hover .masonry-img {
    transform: scale(1.03);
}

.pinterest-masonry .masonry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
}

.pinterest-masonry .masonry-item:hover .masonry-overlay {
    opacity: 1;
}

/* Glassmorphism Search Circle */
.search-circle {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.pinterest-masonry .masonry-item:hover .search-circle {
    transform: scale(1);
}

.search-circle svg {
    color: #000000;
    width: 24px;
    height: 24px;
}

.search-circle svg path,
.search-circle svg g {
    fill: #000000 !important;
}

/* LIGHTBOX MODAL */
.agencia-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.agencia-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.agencia-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 900px) {
    .pinterest-masonry {}
}

@media (max-width: 600px) {
    .pinterest-masonry {
        column-count: 1;
    }

    .moodboard-title {
        font-size: 2rem;
    }
}

/* GALLERY UPLOADER (Submission Form) */
.agencia-gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 640px) {
    .agencia-gallery-preview-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-preview-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-off);
    cursor: move;
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-preview-item .item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-preview-item:hover .item-overlay {
    opacity: 1;
}

.remove-gallery-img {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.remove-gallery-img:hover {
    background: #fff;
    border-color: #ff4d4d;
    transform: scale(1.1);
}

.remove-gallery-img:hover svg {
    color: #ff4d4d !important;
    stroke: #ff4d4d !important;
}

.remove-gallery-img svg {
    width: 20px;
    height: 20px;
    color: #333;
}

/* Featured Image Controls (Split View) */
.featured-image-controls {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    align-items: stretch;
}

.modern-upload-zone.split-upload {
    flex: 1;
    min-width: 0;
    padding: 20px;
}

.modern-upload-zone.split-upload .upload-icon {
    width: 64px;
    height: 64px;
}

.modern-upload-zone.split-upload .upload-text {
    font-size: 14px;
}

.single-preview-item {
    flex: 1;
    min-width: 0;
}

.gallery-preview-item.featured-only {
    cursor: default;
    height: 100%;
}

.item-overlay.always-visible {
    opacity: 1 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none;
}

.item-overlay.always-visible .remove-gallery-img,
.item-overlay.always-visible .remove-featured-img {
    pointer-events: auto;
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.remove-featured-img {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.remove-featured-img:hover {
    background: #fff;
    border-color: #ff4d4d;
    transform: scale(1.1);
}

.remove-featured-img svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.remove-featured-img:hover svg {
    color: #ff4d4d !important;
    stroke: #ff4d4d !important;
}

@media (max-width: 768px) {
    .featured-image-controls {
        flex-direction: column;
    }
}

.gallery-preview-item.uploading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

.gallery-preview-item .upload-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--brand-primary);
    z-index: 20;
    transition: width 0.3s;
}

/* Homepage Moodboard Bento Styles */
.moodboard-bento-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

.moodboard-bento-item .masonry-thumb {
    width: 100%;
    line-height: 0;
}

.moodboard-bento-item .masonry-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.moodboard-bento-item .masonry-info {
    position: absolute;
    bottom: -10px;
    /* Extend below to prevent white gap on hover transform */
    left: 0;
    right: 0;
    padding: 30px 15px 25px;
    /* Offset bottom padding to compensate for -10px bottom */
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff !important;
    opacity: 1;
    /* Always visible */
    transition: transform 0.3s ease;
}

.moodboard-bento-item:hover .masonry-info {
    transform: translateY(-3px);
}

.moodboard-bento-item .item-tag {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
    display: inline-block;
}

.moodboard-bento-item h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff !important;
}

/* Single Moodboard Navigation */
.moodboard-navigation.posts-pagination {
    border-top: 1px solid var(--border-main);
    padding-top: 30px;
    margin-top: 50px;
    justify-content: stretch;
}

.moodboard-navigation.posts-pagination .nav-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.moodboard-navigation.posts-pagination .nav-prev a,
.moodboard-navigation.posts-pagination .nav-next a {
    padding: 0 25px;
    background: var(--bg-off);
    border: 1px solid var(--border-main);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.moodboard-navigation.posts-pagination .nav-prev a:hover,
.moodboard-navigation.posts-pagination .nav-next a:hover {
    background: var(--bg-paper);
    border-color: var(--text-main);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
/* --- CONTROL DE ACCESOS STYLES --- */
.access-description {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.access-control-wrapper {
    background: var(--bg-paper);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-main);
}

.access-control-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-main);
}

.access-control-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.access-control-table thead {
    background: var(--bg-off);
}

.access-control-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 2px solid var(--border-main);
    white-space: nowrap;
}

.access-control-table th.user-column {
    min-width: 200px;
}

.access-control-table th.tipologia-column {
    text-align: center;
    min-width: 100px;
}

.tipologia-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-off);
    color: var(--text-muted);
}

.access-control-table tbody tr {
    border-bottom: 1px solid var(--border-main);
    transition: background 0.2s ease;
}

.access-control-table tbody tr:last-child {
    border-bottom: none;
}

.access-control-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.access-control-table td {
    padding: 16px 20px;
    vertical-align: middle;
}

.user-name-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-display-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 14px;
}

.user-email {
    font-size: 12px;
    color: var(--text-muted);
}

.checkbox-cell {
    text-align: center;
}

.access-checkbox {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.access-checkbox input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

.access-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--bg-off);
    border: 2px solid var(--border-main);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.access-checkbox input:checked + .checkmark {
    background: var(--status-success);
    border-color: var(--status-success);
}

.access-checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.access-checkbox:hover .checkmark {
    border-color: var(--status-success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.access-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

#save-access-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

#save-access-btn.saving {
    opacity: 0.7;
    pointer-events: none;
}

#save-access-btn .icon {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .access-control-wrapper {
        padding: 16px;
    }

    .access-control-table th,
    .access-control-table td {
        padding: 12px 10px;
    }

    .access-control-table th.tipologia-column {
        min-width: 80px;
    }

    .tipologia-badge {
        padding: 4px 8px;
        font-size: 10px;
    }

    .access-actions {
        justify-content: center;
    }

    #save-access-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Exception Modal */
.exception-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exception-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.exception-modal-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.exception-item:hover {
    background: var(--bg-off);
}

.exception-item input:checked + div {
    font-weight: 700;
}

.exception-count {
    background: #d1fae5;
    color: #065f46;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
}

.exception-btn {
    background: var(--bg-off);
    border: 1px solid var(--border-main);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
}

.exception-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.access-control-table th.exceptions-column {
    min-width: 150px;
}

.exception-cell {
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   EXTRACTED INLINE STYLES — Clean Code Refactor
   ═══════════════════════════════════════════════════════════ */

/* --- Thank You Page (from page-gracias.php) --- */
.thank-you-page {
    padding: 80px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.thank-you-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 600px;
    width: 100%;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.thank-you-card .video-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.thank-you-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thank-you-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.thank-you-message {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 40px;
}

.new-post-preview {
    background: #f1f5f9;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.preview-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.preview-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 25px;
}

.btn-view-post {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 16px 32px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-post:hover {
    background: #222;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.thank-you-footer {
    margin-top: 20px;
}

.link-back {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.link-back:hover {
    color: #000;
}

/* --- Single.php: Tutorial section video margin --- */
.tutorial-section--video {
    margin-bottom: 30px;
}

/* --- Single.php: Recursos box --- */
.recursos-box {
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px dashed rgba(255,255,255,0.1);
}

/* --- Mi Cuenta: Favorites header --- */
.favorites-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.favorites-title-wrap h3 {
    margin: 0;
}

#pw-btn-export {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
    height: auto;
}

/* --- Mi Cuenta: Access actions --- */
.access-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

/* --- Mi Cuenta: Exception Modal (fully extracted) --- */
#exception-modal {
    display: none;
}

.exception-modal-content {
    background: var(--bg-paper);
    border-radius: 16px;
    padding: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.exception-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.exception-modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.exception-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.exception-modal-description {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.exception-search {
    margin-bottom: 16px;
}

#exception-search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-main);
    border-radius: 8px;
    font-size: 14px;
}

.exception-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border-main);
    border-radius: 8px;
}

.exception-modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* --- Mi Cuenta: User Permissions (non-admin view) --- */
.user-permissions-box {
    padding: 24px;
    background: var(--bg-paper);
    border-radius: 16px;
    border: 1px solid var(--border-main);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.user-permissions-box h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.user-permissions-box > p {
    margin: 0 0 16px 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.user-permissions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.user-tipologia-pill {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- Header: Login wall video --- */
.login-wall-icon video {
    display: block;
    margin: 0 auto;
}

/* --- Header: Sidebar overrides --- */
.pw-sidebar-header--filter {
    border-bottom: none;
    padding: 0 12px 20px;
}

.pw-sidebar-add-wrapper {
    padding: 40px 0 0 0;
    border-top: 1px solid var(--border-main);
}

/* --- Front-end Submission Form --- */
.form-section-title {
    margin-top: 40px;
    font-weight: 700;
    color: #EBD613;
    letter-spacing: 0.05em;
    font-size: 14px;
}

.form-group--spaced {
    margin-top: 25px;
}

.form-group--mt {
    margin-top: 20px;
}

.agencia-frontend-form input[type="url"],
.agencia-frontend-form input[type="text"],
.agencia-frontend-form select,
.agencia-frontend-form textarea {
    width: 100%;
}

.prompt-textarea-code {
    width: 100%;
    background: #111827;
    color: #f3f4f6;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Courier New', monospace;
    font-size: 14px;
    padding: 16px;
    border: 1px solid #374151;
    border-radius: 12px;
    resize: vertical;
    line-height: 1.7;
}

/* --- Admin Thumbnail Column (post-tweaks.php) --- */
.admin-thumb-img {
    border-radius: 8px;
    border: 1px solid #ddd;
}

.admin-no-thumb {
    color: #ccc;
    font-size: 11px;
}
