:root {
    --gnsko-primary: #2A3052;
    --gnsko-primary-hover: #1f2540;
    --gnsko-primary-light: rgba(42, 48, 82, 0.1);
    --gnsko-secondary: #B4A886;
    --gnsko-secondary-hover: #9e926f;
    --gnsko-accent: #10B981;
    --gnsko-accent-hover: #059669;
    --gnsko-danger: #EF4444;
    --gnsko-danger-hover: #DC2626;
    --gnsko-bg: #F9FAFB;
    --gnsko-card-bg: #FFFFFF;
    --gnsko-text: #111827;
    --gnsko-text-muted: #374151;
    --gnsko-border: #E5E7EB;
    --gnsko-radius: 16px;
    --gnsko-shadow: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -2px rgba(0,0,0,0.04);
    --gnsko-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --gnsko-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gnsko-sidebar-w: 260px;
    --gnsko-dash-sidebar-from: #2A3052;
    --gnsko-dash-sidebar-to: #1a1f35;
    --gnsko-dash-topbar-bg: #FFFFFF;
    --gnsko-dash-content-bg: #F9FAFB;
    --gnsko-dash-accent: #B4A886;
    --gnsko-dash-btn-bg: #10B981;
}

/* ==========================================================================
   Dashboard Professional Layout — full width, no rounded corners
   ========================================================================== */
.gnsko-dashboard {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    margin: 0;
    font-family: 'Montserrat', system-ui, sans-serif;
    color: var(--gnsko-text);
    background: var(--gnsko-card-bg);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    border: none;
    opacity: 1;
    transition: opacity 0.5s ease;
    visibility: visible;
}

.gnsko-dashboard.gnsko-dash-loading {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gnsko-dash-sidebar {
    width: var(--gnsko-sidebar-w);
    background: linear-gradient(180deg, var(--gnsko-dash-sidebar-from) 0%, var(--gnsko-dash-sidebar-to) 100%);
    color: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    overflow-y: auto;
}

.gnsko-dash-sidebar-header {
    padding: 1.25rem 1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    flex-shrink: 0;
}

.gnsko-dash-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.gnsko-dash-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    display: block;
    margin: 0 auto;
}

.gnsko-dash-avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px dashed rgba(255,255,255,0.3);
}

.gnsko-dash-avatar-placeholder svg {
    width: 32px;
    height: 32px;
    stroke: rgba(255,255,255,0.5);
    fill: none;
}

.gnsko-dash-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gnsko-dash-accent);
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--gnsko-transition);
    padding: 0;
}

.gnsko-dash-avatar-btn:hover {
    transform: scale(1.1);
    background: var(--gnsko-secondary-hover);
}

.gnsko-dash-avatar-btn svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    fill: none;
}

.gnsko-dash-sidebar-header h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    word-break: break-word;
}

.gnsko-dash-sidebar-header small {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
}

.gnsko-dash-nav {
    list-style: none;
    margin: 0;
    padding: 0.75rem 0;
    flex: 1;
}

.gnsko-dash-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.65rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--gnsko-dash-nav-text-color, rgba(255,255,255,0.65));
    font-size: var(--gnsko-dash-nav-font-size, 0.9rem);
    font-weight: 500;
    cursor: pointer;
    transition: var(--gnsko-transition);
    text-align: left;
    border-left: 3px solid transparent;
}

.gnsko-dash-nav-btn:hover {
    background: rgba(255,255,255,0.08);
    color: var(--gnsko-dash-nav-text-hover, #fff);
}

.gnsko-dash-nav-btn.active {
    background: rgba(255,255,255,0.12);
    color: var(--gnsko-dash-nav-text-active, #fff);
    border-left-color: var(--gnsko-dash-accent);
    font-weight: 600;
}

.gnsko-dash-nav-btn svg {
    width: var(--gnsko-dash-nav-icon-size, 20px);
    height: var(--gnsko-dash-nav-icon-size, 20px);
    flex-shrink: 0;
    stroke: var(--gnsko-dash-icon-color, currentColor);
    fill: none;
    opacity: 0.8;
}

.gnsko-dash-nav-btn.active svg {
    opacity: 1;
}

.gnsko-dash-sidebar-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
}

.gnsko-dash-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--gnsko-transition);
    letter-spacing: 0.02em;
}

.gnsko-dash-view-btn:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
}

.gnsko-dash-view-btn svg {
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
}

.gnsko-dash-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--gnsko-dash-content-bg);
    min-height: 100vh;
}

.gnsko-dash-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--gnsko-border);
    background: var(--gnsko-dash-topbar-bg);
}

.gnsko-dash-topbar h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gnsko-text);
}

.gnsko-dash-content {
    flex: 1;
    padding: 1.5rem 2rem 0;
    overflow-y: auto;
    background: var(--gnsko-dash-content-bg);
    display: flex;
    flex-direction: column;
}

.gnsko-dash-footer-bar {
    position: sticky;
    bottom: 0;
    background: var(--gnsko-card-bg);
    border-top: 1px solid var(--gnsko-border);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 50;
    flex-shrink: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.gnsko-dash-save-btn {
    width: auto !important;
    padding: 0.7rem 2.5rem !important;
    font-size: 0.95rem !important;
    border-radius: 10px;
    white-space: nowrap;
}

.gnsko-dash-footer-bar .gnsko-form-messages {
    flex: 1;
    margin: 0;
}

.gnsko-dash-section {
    display: none;
    contain: content;
}

.gnsko-dash-section.active {
    display: block;
    animation: gnsko-fadeIn 0.3s ease;
}

@keyframes gnsko-fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.gnsko-dash-mobile-toggle {
    display: none;
    background: var(--gnsko-primary);
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 860px) {
    .gnsko-dashboard { flex-direction: column; min-height: auto; height: auto; }
    .gnsko-dash-sidebar { width: 100%; display: none; }
    .gnsko-dash-sidebar.open { display: flex; }
    .gnsko-dash-mobile-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
    .gnsko-dash-nav-btn { padding: 0.65rem 1.25rem; font-size: 0.85rem; }
    .gnsko-dash-content { padding: 1rem; }
    .gnsko-dash-topbar { padding: 0.75rem 1rem; }
    .gnsko-dash-topbar h2 { font-size: 1.1rem; }
    .gnsko-dash-footer-bar { padding: 0.6rem 1rem; flex-wrap: wrap; }
    .gnsko-dash-save-btn { width: 100% !important; }
    .gnsko-fieldset { padding: 1rem; }
}

@media (max-width: 480px) {
    .gnsko-dash-content { padding: 0.75rem; }
    .gnsko-dash-avatar { width: 60px; height: 60px; }
    .gnsko-dash-avatar-placeholder { width: 60px; height: 60px; }
    .gnsko-dash-sidebar-header h3 { font-size: 0.9rem; }
    .gnsko-form-group label { font-size: 0.82rem; }
    .gnsko-fieldset legend { font-size: 0.95rem; }
    .gnsko-file-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 0.5rem; }
    .gnsko-file-item img { height: 80px; }
}

@media (min-height: 900px) {
    .gnsko-dashboard { height: 100vh; }
}

@media (max-height: 700px) {
    .gnsko-dashboard { min-height: auto; height: auto; }
    .gnsko-dash-sidebar-header { padding: 1rem 1rem 0.75rem; }
    .gnsko-dash-avatar { width: 56px; height: 56px; }
    .gnsko-dash-avatar-placeholder { width: 56px; height: 56px; }
    .gnsko-dash-nav-btn { padding: 0.6rem 1.25rem; font-size: 0.82rem; }
}

/* ==========================================================================
   Formularios
   ========================================================================== */
.gnsko-form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--gnsko-card-bg);
    padding: 2.5rem;
    border-radius: var(--gnsko-radius);
    box-shadow: var(--gnsko-shadow);
    font-family: 'Montserrat', system-ui, sans-serif;
}

.gnsko-form-container h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--gnsko-text);
    font-weight: 700;
}

.gnsko-form-group { margin-bottom: 1.5rem; }

.gnsko-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gnsko-text);
    font-size: 0.9rem;
}

.gnsko-form-group input[type="text"],
.gnsko-form-group input[type="email"],
.gnsko-form-group input[type="password"],
.gnsko-form-group input[type="url"],
.gnsko-form-group input[type="date"],
.gnsko-form-group input[type="time"],
.gnsko-form-group textarea,
.gnsko-form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gnsko-border);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--gnsko-transition);
    background-color: var(--gnsko-bg);
    box-sizing: border-box;
}

.gnsko-form-group input:focus,
.gnsko-form-group textarea:focus,
.gnsko-form-group select:focus {
    outline: none;
    border-color: var(--gnsko-primary);
    box-shadow: 0 0 0 3px rgba(42, 48, 82, 0.18);
    background: #fff;
}

.gnsko-form-group input[type="file"] { padding: 0.5rem; font-size: 0.9rem; }
.gnsko-form-group small { display: block; margin-top: 0.35rem; color: var(--gnsko-text-muted); font-size: 0.8rem; }

.gnsko-fieldset {
    border: 1px solid var(--gnsko-border);
    border-radius: var(--gnsko-radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.gnsko-fieldset legend { font-size: 1.1rem; font-weight: 700; color: var(--gnsko-primary); padding: 0 0.75rem; }

.gnsko-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: var(--gnsko-primary);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--gnsko-transition);
    gap: 0.5rem;
}

.gnsko-btn:hover {
    background-color: var(--gnsko-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 48, 82, 0.28);
}

.gnsko-btn-success { background-color: var(--gnsko-dash-btn-bg); }
.gnsko-btn-success:hover { background-color: var(--gnsko-accent-hover); box-shadow: 0 4px 12px rgba(16,185,129,0.3); }
.gnsko-btn-danger { background-color: var(--gnsko-danger); }
.gnsko-btn-danger:hover { background-color: var(--gnsko-danger-hover); }

#gnsko-pensamientos-editor-wrap { min-height: 400px; background: #f8fafc; border-radius: 8px; overflow: hidden; }

.gnsko-form-messages { margin: 1rem 0; padding: 1rem; border-radius: 10px; display: none; font-weight: 500; transition: all 0.3s ease; }
.gnsko-form-messages.error { background:#FEF2F2; color:#991B1B; border:1px solid #FECACA; display:block; }
.gnsko-form-messages.success { background:#F0FDF4; color:#065F46; border:1px solid #BBF7D0; display:block; }

/* ==========================================================================
   Perfil Individual (Single)
   ========================================================================== */
.gnsko-profile-wrapper { background-color: var(--gnsko-bg); min-height: 100vh; font-family: 'Montserrat', system-ui, sans-serif; color: var(--gnsko-text); padding-bottom: 4rem; }
.gnsko-header-split { display: flex; min-height: 380px; width: 100%; }
.gnsko-header-info { width: 25%; background: var(--gnsko-hdr-bg); display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; flex-shrink: 0; position: relative; overflow: hidden; }
.gnsko-header-info::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.12) 0%, transparent 60%), radial-gradient(ellipse at 70% 100%, rgba(255,255,255,0.08) 0%, transparent 50%); pointer-events:none; }
.gnsko-header-info::after { content:''; position:absolute; bottom:0; left:0; right:0; height:1px; background:linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); }
.gnsko-header-info-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; max-width: 100%; position: relative; z-index: 2; }
.gnsko-header-logo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,0.35); box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 8px rgba(255,255,255,0.06); flex-shrink: 0; transition: transform 0.4s ease; }
.gnsko-header-logo:hover { transform: scale(1.05); }
.gnsko-header-logo-placeholder { width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; border: 4px dashed rgba(255,255,255,0.25); flex-shrink: 0; box-shadow: 0 0 0 8px rgba(255,255,255,0.04); }
.gnsko-header-logo-placeholder svg { width: 48px; height: 48px; stroke: rgba(255,255,255,0.4); }
.gnsko-header-title { color: var(--gnsko-hdr-text); font-size: 1.6rem; font-weight: 800; margin: 0; line-height: 1.2; word-break: break-word; text-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.gnsko-header-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.gnsko-badge {
    display: inline-block;
    background: var(--gnsko-hdr-accent, #B4A886);
    color: #111827;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(17, 24, 39, 0.12);
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.gnsko-header-leader { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 0.5rem; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.12); width: 100%; }
.gnsko-header-leader-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gnsko-hdr-text); opacity: 0.5; font-weight: 600; }
.gnsko-header-leader-name { font-size: 1.05rem; font-weight: 700; color: var(--gnsko-hdr-text); }
.gnsko-header-cover { width: 75%; background-size: cover; background-position: center; position: relative; background-color: var(--gnsko-primary); }
.gnsko-cover-overlay { position: absolute; inset: 0; }
.gnsko-container { max-width: 1400px; margin: 2rem auto 0; padding: 0 1.5rem; position: relative; z-index: 20; }
.gnsko-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

/* Perfil público: Acerca y Calendario misma altura en escritorio; móvil: Acerca → Póster → Actividades */
.gnsko-profile-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.gnsko-profile-grid .gnsko-grid-about { order: 1; }
.gnsko-profile-grid .gnsko-grid-poster { order: 2; }
.gnsko-profile-grid .gnsko-grid-aside { order: 3; }
.gnsko-profile-grid > .gnsko-card,
.gnsko-profile-grid > .gnsko-sidebar > .gnsko-card {
    margin-bottom: 0;
}
.gnsko-card-calendar {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.gnsko-calendar-mount {
    position: relative;
    flex: 1;
    min-height: 400px;
    width: 100%;
}
.gnsko-profile-grid #gnsko-calendar {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    min-height: 380px;
}
@media (max-width: 979px) {
    .gnsko-profile-grid #gnsko-calendar {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        min-height: 400px;
        height: 420px;
    }
    .gnsko-calendar-mount {
        flex: none;
        min-height: 420px;
        height: 420px;
    }
}
@media (min-width: 980px) {
    .gnsko-profile-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
        grid-template-areas:
            "about sidebar"
            "poster poster";
        grid-template-rows: auto auto;
        align-items: stretch;
        gap: 1.5rem;
    }
    .gnsko-profile-grid:not(:has(.gnsko-grid-poster)) {
        grid-template-areas: "about sidebar";
        grid-template-rows: auto;
    }
    .gnsko-profile-grid .gnsko-grid-about {
        grid-area: about;
        order: unset;
        align-self: stretch;
        height: auto;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
    .gnsko-profile-grid .gnsko-grid-aside {
        grid-area: sidebar;
        order: unset;
        align-self: stretch;
        display: flex;
        flex-direction: column;
        min-height: 100%;
        height: auto;
    }
    .gnsko-profile-grid .gnsko-grid-poster {
        grid-area: poster;
        grid-column: 1 / -1;
        order: unset;
        width: 100%;
        max-width: 100%;
    }
    .gnsko-sidebar.gnsko-grid-aside > .gnsko-card-calendar {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 100%;
        height: 100%;
    }
}
.gnsko-card { background: var(--gnsko-card-bg); border-radius: var(--gnsko-radius); padding: 1.75rem; box-shadow: var(--gnsko-shadow); margin-bottom: 1.5rem; }
.gnsko-card h2 { font-size: 1.35rem; font-weight: 700; margin-top: 0; margin-bottom: 1.25rem; color: var(--gnsko-text); display: flex; align-items: center; gap: 0.5rem; }
.gnsko-card h2::before { content: ''; display: inline-block; width: 4px; height: 1.2em; background: var(--gnsko-primary); border-radius: 2px; flex-shrink: 0; }
.gnsko-info-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.gnsko-info-item { display: flex; flex-direction: column; padding: 0.75rem 1rem; background: var(--gnsko-bg); border-radius: 10px; }
.gnsko-label { font-size: 0.8rem; color: var(--gnsko-text-muted); font-weight: 500; margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.gnsko-value { font-size: 1.05rem; font-weight: 600; }
.gnsko-value a { color: var(--gnsko-primary); text-decoration: none; }
.gnsko-value a:hover { text-decoration: underline; }

/* Socials */
.gnsko-social-section-title { font-size: 0.9rem; color: var(--gnsko-text-muted); font-weight: 600; margin-bottom: 0.75rem; margin-top: 1rem; }
.gnsko-social-icons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.gnsko-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; text-decoration: none; transition: var(--gnsko-transition); }
button.gnsko-social-icon { appearance: none; -webkit-appearance: none; border: none; padding: 0; margin: 0; font: inherit; cursor: pointer; color: #fff; }
.gnsko-social-icon:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.gnsko-social-icon svg { width: 22px; height: 22px; fill: #fff; }
.gnsko-social-share { background: var(--gnsko-primary); }
.gnsko-social-share svg { fill: none; stroke: #fff; }
.gnsko-social-share:hover { background: var(--gnsko-primary-hover); }
.gnsko-social-icon.wp { background: #25D366; }
.gnsko-social-icon.fb { background: #1877F2; }
.gnsko-social-icon.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.gnsko-social-icon.tw { background: #000; }
.gnsko-social-icon.yt { background: #FF0000; }
.gnsko-social-icon.tk { background: #000; }

/* Póster: sin hueco lateral (fila completa); marco ajustado a la imagen real */
.gnsko-poster { margin-bottom: 0; }
.gnsko-grid-poster {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gnsko-grid-poster > h2 {
    align-self: stretch;
}
.gnsko-poster-frame {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gnsko-bg, #f8fafc);
    border-radius: 12px;
    padding: 0.35rem;
    box-sizing: border-box;
    min-height: 0;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.gnsko-poster-img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: block;
}
@media (min-width: 980px) {
    /* Límite suave solo en pantallas grandes (evita imágenes extremadamente altas); móvil respeta el alto natural */
    .gnsko-poster-img {
        max-height: min(88vh, 2400px);
    }
}

/* Map */
.gnsko-map-container { border-radius: 12px; overflow: hidden; position: relative; padding-bottom: 56.25%; height: 0; }
.gnsko-map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Gallery */
.gnsko-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
.gnsko-gallery-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; cursor: pointer; }
.gnsko-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--gnsko-transition); }
.gnsko-gallery-item:hover img { transform: scale(1.08); }
.gnsko-gallery-item::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,0); transition:var(--gnsko-transition); border-radius:10px; }
.gnsko-gallery-item:hover::after { background:rgba(0,0,0,0.1); }

/* Galería móvil: lightbox a pantalla completa */
.gnsko-mgl-root {
    position: fixed;
    inset: 0;
    z-index: 99998;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}
.gnsko-mgl-root.gnsko-mgl-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.gnsko-mgl-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.gnsko-mgl-close {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 5;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.2s ease;
}
.gnsko-mgl-close:active { transform: scale(0.92); background: rgba(255,255,255,0.28); }
.gnsko-mgl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}
.gnsko-mgl-prev { left: max(8px, env(safe-area-inset-left)); }
.gnsko-mgl-next { right: max(8px, env(safe-area-inset-right)); }
.gnsko-mgl-nav:disabled { opacity: 0.25; pointer-events: none; }
.gnsko-mgl-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px max(12px, env(safe-area-inset-left)) 72px max(12px, env(safe-area-inset-right));
    box-sizing: border-box;
}
.gnsko-mgl-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
    transform: scale(0.88);
    opacity: 0;
    transition: transform 0.42s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.32s ease;
}
.gnsko-mgl-root.gnsko-mgl-open .gnsko-mgl-img {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.04s;
}
.gnsko-mgl-counter {
    position: absolute;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Gallery Viewer — hidden on mobile */
.gnsko-gallery-viewer { margin-top:1.5rem; background:var(--gnsko-text); border-radius:14px; overflow:hidden; }
.gnsko-gallery-viewer-header { display:flex; align-items:center; justify-content:space-between; padding:0.75rem 1.25rem; background:rgba(0,0,0,0.3); color:#fff; }
.gnsko-gallery-viewer-title { font-weight:600; font-size:0.95rem; }
.gnsko-gallery-viewer-counter { font-size:0.85rem; opacity:0.7; }
.gnsko-gallery-viewer-close { background:rgba(255,255,255,0.15); border:none; color:#fff; font-size:1.3rem; cursor:pointer; width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; transition:var(--gnsko-transition); }
.gnsko-gallery-viewer-close:hover { background:rgba(255,255,255,0.3); }
.gnsko-gallery-viewer-body { display:flex; align-items:center; justify-content:center; padding:1.5rem; gap:1rem; min-height:450px; }
.gnsko-gallery-viewer-img { max-width:calc(100% - 80px); max-height:800px; border-radius:10px; object-fit:contain; width: 100%; height: auto; }
.gnsko-gallery-viewer-prev, .gnsko-gallery-viewer-next { background:rgba(255,255,255,0.15); color:#fff; border:none; border-radius:50%; width:44px; height:44px; font-size:1.25rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:var(--gnsko-transition); flex-shrink:0; }
.gnsko-gallery-viewer-prev:hover, .gnsko-gallery-viewer-next:hover { background:rgba(255,255,255,0.3); transform:scale(1.1); }

/* Calendar Premium */
#gnsko-calendar { font-family: 'Montserrat', system-ui, sans-serif; overflow-x: auto; }
.fc { --fc-border-color:#E5E7EB; --fc-today-bg-color:rgba(42,48,82,0.07); --fc-event-bg-color:var(--gnsko-primary); --fc-event-border-color:var(--gnsko-primary); font-size:0.85rem; }
.fc .fc-toolbar.fc-header-toolbar { margin-bottom:1rem !important; flex-wrap:wrap; gap:0.5rem; justify-content:space-between !important; align-items:center; }
.fc .fc-toolbar-title { font-size:1.05rem !important; font-weight:700 !important; color:var(--gnsko-text) !important; text-transform:capitalize; text-align:left !important; margin:0 !important; }
.fc .fc-toolbar-chunk { display:flex; align-items:center; gap:0.35rem; justify-content:flex-start !important; }
.fc .fc-toolbar-chunk:last-child { justify-content:flex-end !important; }
.fc .fc-button { background-color:var(--gnsko-bg) !important; border:1px solid var(--gnsko-border) !important; color:var(--gnsko-text) !important; border-radius:8px !important; font-weight:600 !important; font-size:0.75rem !important; padding:0.35rem 0.65rem !important; transition:all 0.2s !important; box-shadow:none !important; }
.fc .fc-button:hover { background-color:var(--gnsko-primary) !important; color:#fff !important; border-color:var(--gnsko-primary) !important; }
.fc .fc-button-active, .fc .fc-button:active { background-color:var(--gnsko-primary) !important; color:#fff !important; border-color:var(--gnsko-primary) !important; }
.fc .fc-button-group { gap:3px; }
.fc .fc-button-group > .fc-button { border-radius:8px !important; }
.fc .fc-col-header-cell { background:var(--gnsko-bg); padding:0.5rem 0.35rem !important; text-align:left !important; vertical-align:top; }
.fc .fc-col-header-cell-cushion { font-size:0.7rem !important; font-weight:700 !important; text-transform:uppercase !important; color:var(--gnsko-text-muted) !important; letter-spacing:0.06em; text-decoration:none !important; display:block; text-align:left !important; }
.fc .fc-daygrid-day-top { flex-direction:row !important; justify-content:flex-start !important; align-items:flex-start !important; }
.fc .fc-daygrid-day-number { font-size:0.8rem !important; font-weight:600 !important; color:var(--gnsko-text) !important; padding:0.35rem 0.45rem 0.2rem !important; text-decoration:none !important; text-align:left !important; margin:0 !important; }
.fc .fc-day-today .fc-daygrid-day-number { background:var(--gnsko-primary); color:#fff !important; border-radius:50%; width:26px; height:26px; display:inline-flex; align-items:center; justify-content:center; padding:0 !important; }
.fc .fc-daygrid-day-frame { min-height:4.5rem; overflow:hidden; }
.fc .fc-daygrid-day-events { margin-top:0 !important; display:flex; flex-wrap:wrap; gap:4px 5px; align-content:flex-start; justify-content:flex-start; align-items:flex-start; max-width:100%; position:relative; }
.fc .fc-daygrid-event-harness { margin-top:0 !important; max-width:100%; }
.fc .fc-daygrid-day-events .fc-daygrid-event-harness-abs { position:relative !important; top:auto !important; left:auto !important; right:auto !important; bottom:auto !important; }
.fc-theme-standard .fc-scrollgrid { border-radius:12px; overflow:hidden; border:1px solid var(--gnsko-border) !important; }
.fc-theme-standard td, .fc-theme-standard th { border-color:#F3F4F6 !important; }
.fc .fc-daygrid-event { background:transparent !important; border:none !important; padding:0 !important; margin:0 !important; box-shadow:none !important; }
.fc .fc-daygrid-body-natural .fc-daygrid-day-events { margin-bottom:0.25rem; }
.gnsko-fc-day-dot { display:block; width:8px; height:8px; border-radius:50%; background:var(--fc-event-bg-color, var(--gnsko-primary)); flex-shrink:0; }
.fc .fc-more-link { color:var(--gnsko-primary) !important; font-weight:700 !important; font-size:0.7rem !important; }
.fc .fc-scroller { overflow:auto !important; }

/* Modal listado de eventos del día (calendario público) */
.gnsko-fc-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.78); z-index:99999; display:flex; align-items:center; justify-content:center; padding:1rem; box-sizing:border-box; }
.gnsko-fc-modal { background:#fff; border-radius:16px; max-width:520px; width:100%; max-height:90vh; overflow:hidden; display:flex; flex-direction:column; position:relative; box-shadow:0 20px 50px rgba(0,0,0,0.25); }
.gnsko-fc-close { position:absolute; top:10px; right:14px; border:none; background:transparent; font-size:1.75rem; line-height:1; cursor:pointer; color:#64748B; padding:0.25rem; z-index:2; }
.gnsko-fc-close:hover { color:var(--gnsko-text); }
.gnsko-fc-modal-heading { margin:0 2.25rem 0.25rem 0; padding:1.25rem 1.25rem 0; font-size:1.15rem; font-weight:700; color:var(--gnsko-primary); text-align:left; }
.gnsko-fc-modal-sub { margin:0; padding:0 1.25rem 0.75rem; font-size:0.9rem; color:var(--gnsko-text-muted); text-align:left; font-weight:500; }
.gnsko-fc-modal-body { overflow-y:auto; padding:0 1.25rem 1.25rem; text-align:left; }
.gnsko-fc-modal-event { padding:0.75rem 0; }
.gnsko-fc-modal-sep { height:1px; background:var(--gnsko-border); margin:0; }
.gnsko-fc-modal-title { margin:0 0 0.35rem; font-size:1rem; font-weight:700; color:var(--gnsko-text); text-align:left; }
.gnsko-fc-modal-when { margin:0 0 0.5rem; font-size:0.88rem; font-weight:600; color:var(--gnsko-text-muted); }
.gnsko-fc-modal-img { max-width:100%; border-radius:10px; margin-bottom:0.65rem; display:block; }
.gnsko-fc-modal-desc { margin:0 0 0.85rem; font-size:0.9rem; line-height:1.55; color:#475569; }
.gnsko-fc-modal-actions { display:flex; flex-wrap:wrap; align-items:center; gap:0.6rem; margin-top:0.75rem; }
.gnsko-fc-share-btn {
    display:inline-flex; align-items:center; gap:0.4rem;
    padding:0.5rem 0.95rem; border-radius:10px; border:1px solid var(--gnsko-border, #e2e8f0);
    background:#f8fafc; color:var(--gnsko-text, #0f172a) !important; font-weight:600; font-size:0.82rem;
    cursor:pointer; transition:background 0.2s, border-color 0.2s;
}
.gnsko-fc-share-btn:hover { background:#e2e8f0; border-color:#cbd5e1; }
.gnsko-fc-share-svg { flex-shrink:0; color:var(--gnsko-primary); }

/* Modal Compartir Personalizado */
.gnsko-share-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(4px); }
.gnsko-share-modal { background: #fff; border-radius: 20px; width: 100%; max-width: 400px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); overflow: hidden; animation: gnskoScaleUp 0.3s ease; }
@keyframes gnskoScaleUp { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.gnsko-share-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; }
.gnsko-share-header h3 { margin: 0; font-size: 1.25rem; font-weight: 700; color: #1e293b; }
.gnsko-share-header button { background: #f1f5f9; border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; color: #64748b; transition: all 0.2s; }
.gnsko-share-header button:hover { background: #e2e8f0; color: #1e293b; }
.gnsko-share-body { padding: 1.5rem; }
.gnsko-share-body p { margin: 0 0 1.25rem 0; color: #64748b; font-size: 0.95rem; text-align: center; }
.gnsko-share-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.gnsko-share-item { display: flex; align-items: center; justify-content: center; padding: 0.85rem; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.2s; border: none; cursor: pointer; font-family: inherit; width: 100%; }
.gnsko-share-item.wa { background: #25D366; color: #fff; }
.gnsko-share-item.fb { background: #1877F2; color: #fff; }
.gnsko-share-item.tw { background: #000; color: #fff; }
.gnsko-share-item.tg { background: #0088cc; color: #fff; }
.gnsko-share-item.cp { background: #f1f5f9; color: #1e293b; border: 1px solid #e2e8f0; }
.gnsko-share-item:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.gnsko-fc-gcal-btn { display:inline-block; padding:0.55rem 1.1rem; background:var(--gnsko-primary); color:#fff !important; text-decoration:none !important; border-radius:10px; font-weight:700; font-size:0.85rem; transition:opacity 0.2s; }
.gnsko-fc-gcal-btn:hover { opacity:0.92; color:#fff !important; }

/* Logo (legacy, kept for compatibility) */
.gnsko-logo-img { width:90px; height:90px; border-radius:50%; object-fit:cover; border:3px solid rgba(255,255,255,0.9); box-shadow:0 4px 16px rgba(0,0,0,0.3); flex-shrink:0; }

/* Events Manager */
.gnsko-events-list { margin-top:2rem; }
.gnsko-events-list h4 { margin-bottom:1rem; font-size:1.1rem; font-weight:700; }
.gnsko-events-list ul { list-style:none; padding:0; margin:0; }
.gnsko-events-list li { background:#fff; padding:1rem 1.25rem; border-radius:10px; margin-bottom:0.5rem; display:flex; justify-content:space-between; align-items:center; border:1px solid var(--gnsko-border); transition:var(--gnsko-transition); }
.gnsko-events-list li:hover { border-color:var(--gnsko-primary); }
.gnsko-no-events { color:var(--gnsko-text-muted); font-style:italic; background:transparent !important; border:none !important; }
.gnsko-delete-event-btn { background:var(--gnsko-danger); color:#fff; border:none; border-radius:6px; padding:0.3rem 0.85rem; cursor:pointer; font-size:0.8rem; font-weight:600; transition:var(--gnsko-transition); white-space:nowrap; }
.gnsko-delete-event-btn:hover { background:var(--gnsko-danger-hover); }

/* File Manager */
.gnsko-file-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(100px, 1fr)); gap:0.75rem; }
.gnsko-file-item { position:relative; border-radius:10px; overflow:hidden; border:2px solid transparent; transition:var(--gnsko-transition); }
.gnsko-file-item:hover { border-color:var(--gnsko-primary); }
.gnsko-file-item img { width:100%; height:100px; object-fit:cover; display:block; }
.gnsko-file-delete { position:absolute; top:4px; right:4px; background:var(--gnsko-danger); color:#fff; border:none; border-radius:50%; width:24px; height:24px; font-size:14px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:var(--gnsko-transition); opacity:0; line-height:1; }
.gnsko-file-item:hover .gnsko-file-delete { opacity:1; }
.gnsko-file-label { position:absolute; bottom:0; left:0; right:0; background:rgba(0,0,0,0.6); color:#fff; font-size:0.65rem; font-weight:600; text-align:center; padding:2px 4px; letter-spacing:0.03em; }

/* Pending Badge */
.gnsko-pending-badge { display:inline-flex; align-items:center; gap:0.35rem; background:#FEF3C7; color:#92400E; padding:0.3rem 0.8rem; border-radius:9999px; font-size:0.75rem; font-weight:700; border:1px solid #FDE68A; }

/* ==========================================================================
   Responsividad — Perfil Público
   ========================================================================== */
@media (max-width: 768px) {
    .gnsko-header-split { flex-direction: column; min-height: auto; }
    .gnsko-header-info { width: 100%; padding: 2rem 1.5rem; }
    .gnsko-header-cover { width: 100%; min-height: 200px; }
    .gnsko-header-logo { width: 100px; height: 100px; box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 5px rgba(255,255,255,0.05); }
    .gnsko-header-logo-placeholder { width: 100px; height: 100px; }
    .gnsko-header-title { font-size: 1.35rem; }
    .gnsko-container { margin-top: 1rem; padding: 0 0.75rem; }
    .gnsko-card { padding: 1rem; }
    .gnsko-card h2 { font-size: 1.1rem; }
    .gnsko-gallery {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.85rem;
        padding: 0.25rem 0 0.75rem;
        margin: 0 -0.25rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .gnsko-gallery::-webkit-scrollbar { height: 4px; }
    .gnsko-gallery::-webkit-scrollbar-thumb { background: var(--gnsko-border); border-radius: 4px; }
    .gnsko-gallery-item {
        flex: 0 0 82%;
        max-width: 82vw;
        width: 82%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        cursor: pointer;
        aspect-ratio: 4 / 3;
    }
    .gnsko-gallery-item:hover img { transform: none; }
    .gnsko-gallery-item::after { display: none; }
    .gnsko-gallery-viewer { display: none !important; }
    .fc .fc-toolbar.fc-header-toolbar { flex-direction: column; align-items: stretch; }
    .fc .fc-toolbar-chunk { display: flex; justify-content: flex-start !important; flex-wrap: wrap; }
    .fc .fc-toolbar-chunk:last-child { justify-content: flex-start !important; }
    .fc .fc-toolbar-title { font-size: 0.95rem !important; text-align: left !important; width: 100%; }
    .fc .fc-button { font-size: 0.7rem !important; padding: 0.3rem 0.5rem !important; }
}
@media (min-width: 769px) { .gnsko-info-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
    .gnsko-profile-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .gnsko-header-split { min-height: 420px; }
    .gnsko-header-title { font-size: 1.8rem; }
    .gnsko-header-logo { width: 140px; height: 140px; }
}
@media (min-width: 1280px) {
    .gnsko-container { max-width: 1400px; }
    .gnsko-card { padding: 2rem; }
    .gnsko-profile-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .gnsko-header-split { min-height: 450px; }
    .gnsko-header-title { font-size: 2rem; }
    .gnsko-header-logo { width: 160px; height: 160px; }
}
@media (min-width: 1600px) {
    .gnsko-container { max-width: 1500px; }
}
@media (min-width: 2560px) {
    .gnsko-container { max-width: 1800px; }
    .gnsko-header-split { min-height: 550px; }
    .gnsko-header-title { font-size: 2.5rem; }
    .gnsko-header-logo { width: 180px; height: 180px; }
}

/* Biblioteca de pensamientos (dashboard) */
#gnsko-pensamientos-list .gnsko-pens-item {
    display: block; width: 100%; text-align: left; padding: 0.5rem 0.65rem;
    border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; cursor: pointer;
    font-size: 0.8rem; line-height: 1.35; transition: border-color 0.15s, box-shadow 0.15s;
}
#gnsko-pensamientos-list .gnsko-pens-item:hover { border-color: rgba(180, 168, 134, 0.65); box-shadow: 0 1px 4px rgba(42, 48, 82, 0.1); }
#gnsko-pensamientos-list .gnsko-pens-item.is-active { border-color: var(--gnsko-primary); box-shadow: 0 0 0 2px rgba(42, 48, 82, 0.2); }
.gnsko-pens-badge-pub { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #047857; background: #d1fae5; padding: 0.12rem 0.4rem; border-radius: 4px; margin-bottom: 0.25rem; }
.gnsko-pens-badge-draft { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #92400e; background: #fef3c7; padding: 0.12rem 0.4rem; border-radius: 4px; margin-bottom: 0.25rem; }
.gnsko-pens-preview { color: #334155; word-break: break-word; }
.gnsko-pens-meta { font-size: 0.7rem; color: #94a3b8; margin-top: 0.25rem; }

/* Regala un pensamiento — contenido enriquecido (perfil público) */
.gnsko-pensamiento-pdf-root,
.gnsko-pensamiento-pdf-root * {
    color: #1e293b;
}
.gnsko-pensamiento-pdf-root a { color: var(--gnsko-primary) !important; }

/* Botones del módulo pensamiento (misma línea visual que antes) */
.gnsko-pensamiento-actions {
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}
.gnsko-pensamiento-actions .gnsko-pensamiento-btn-primary {
    padding: 0.6rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
    font-size: 1rem;
    text-decoration: none;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    line-height: 1.2;
}
/* Imprimir desde el navegador (Ctrl/Cmd+P): solo el bloque «Regala un pensamiento» */
@media print {
    @page {
        margin: 14mm;
        size: A4;
    }
    html, body {
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }
    body * {
        visibility: hidden !important;
    }
    #gnsko-pensamiento-print-root,
    #gnsko-pensamiento-print-root * {
        visibility: visible !important;
    }
    #gnsko-pensamiento-print-root {
        position: static !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: #fff !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }
    #gnsko-pensamiento-print-root .gnsko-no-print {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    #gnsko-pensamiento-print-root .gnsko-pensamiento-content {
        color: #0f172a !important;
        padding: 0.5rem 0 0 !important;
    }
    #gnsko-pensamiento-print-root .gnsko-pensamiento-content a {
        color: #1d4ed8 !important;
        text-decoration: underline;
    }
}

.gnsko-pensamiento-content h2,
.gnsko-pensamiento-content h3,
.gnsko-pensamiento-content h4 { margin-top: 1.25em; margin-bottom: 0.5em; line-height: 1.25; color: var(--gnsko-text); }
.gnsko-pensamiento-content h2 { font-size: 1.5rem; }
.gnsko-pensamiento-content h3 { font-size: 1.25rem; }
.gnsko-pensamiento-content p { margin: 0 0 1em; }
.gnsko-pensamiento-content ul,
.gnsko-pensamiento-content ol { margin: 0 0 1em 1.25em; padding-left: 0.25em; }
.gnsko-pensamiento-content a { color: var(--gnsko-primary); text-decoration: underline; word-break: break-word; }
.gnsko-pensamiento-content blockquote { margin: 1em 0; padding: 0 0 0 1.5rem; border: none; background: transparent; font-style: italic; color: var(--gnsko-text-muted); }
.gnsko-pensamiento-content img { max-width: 100%; height: auto; border-radius: 8px; }
