Diferencia entre revisiones de «MediaWiki:Common.css»
De DerechoPedia
Ir a la navegaciónIr a la búsqueda
(Fix layout: float:none en column-content) |
(v3: mobile responsive + espaciado sidebar mejorado) |
||
| Línea 4: | Línea 4: | ||
--dp-navy: #1c2e4a; | --dp-navy: #1c2e4a; | ||
--dp-navy2: #243d5f; | --dp-navy2: #243d5f; | ||
--dp-link: #1a56a0; | --dp-link: #1a56a0; | ||
--dp-text: #1a1a1a; | --dp-text: #1a1a1a; | ||
| Línea 10: | Línea 9: | ||
--dp-light: #f4f5f7; | --dp-light: #f4f5f7; | ||
--dp-border: #d6d9de; | --dp-border: #d6d9de; | ||
--dp-white: #ffffff; | --dp-white: #ffffff; | ||
--dp-amber: #c17f24; | --dp-amber: #c17f24; | ||
--dp-amber2: #a56c1a; | --dp-amber2: #a56c1a; | ||
--dp-amber-light: #fdf3e3; | --dp-amber-light: #fdf3e3; | ||
--dp-sw: | --dp-sw: 220px; | ||
--dp-nh: | --dp-nh: 58px; | ||
} | } | ||
body { | body { | ||
background: # | background: #f0f2f5 !important; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important; | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important; | ||
padding-top: var(--dp-nh) !important; | padding-top: var(--dp-nh) !important; | ||
| Línea 27: | Línea 24: | ||
} | } | ||
#p-logo, #column-one CENTER, | |||
#sidebar-toggle, #p-personal-toggle, #globalWrapper-toggle, | |||
#p-personal, #p-cactions-mobile { display: none !important; } | |||
.emptyPortlet { display: none !important; } | |||
#globalWrapper { margin: 0 !important; padding: 0 !important; } | #globalWrapper { margin: 0 !important; padding: 0 !important; } | ||
#column-one { | |||
position: fixed !important; | |||
float: none !important; | |||
top: var(--dp-nh) !important; | |||
left: 0 !important; | |||
width: var(--dp-sw) !important; | |||
height: calc(100vh - var(--dp-nh)) !important; | |||
overflow-y: auto !important; | |||
overflow-x: hidden !important; | |||
background: var(--dp-white) !important; | |||
border-right: 1px solid var(--dp-border) !important; | |||
z-index: 50 !important; | |||
} | |||
#column-content { | #column-content { | ||
float: none !important; | float: none !important; | ||
margin-left: var(--dp-sw) !important; | margin-left: var(--dp-sw) !important; | ||
width: auto !important; | |||
background: var(--dp-white); | background: var(--dp-white); | ||
min-height: calc(100vh - var(--dp-nh)); | min-height: calc(100vh - var(--dp-nh)); | ||
} | } | ||
#content { | #content { | ||
background: var(--dp-white) !important; | background: var(--dp-white) !important; | ||
border: none !important; | border: none !important; | ||
padding: | padding: 20px 28px 48px !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
} | } | ||
#content h1.firstHeading { | |||
font-family: Georgia, serif !important; | |||
# | font-size: 20px !important; | ||
font-weight: normal !important; | |||
color: var(--dp-navy) !important; | |||
border-bottom: 1px solid var(--dp-border) !important; | |||
padding-bottom: 8px !important; | |||
margin-bottom: 16px !important; | |||
} | } | ||
#footer { | #footer { | ||
margin-left: var(--dp-sw) !important; | margin-left: var(--dp-sw) !important; | ||
float: none !important; | |||
border-top: 1px solid var(--dp-border) !important; | border-top: 1px solid var(--dp-border) !important; | ||
padding: | padding: 12px 24px !important; | ||
background: var(--dp-white) !important; | background: var(--dp-white) !important; | ||
font-size: 11.5px !important; | font-size: 11.5px !important; | ||
| Línea 69: | Línea 75: | ||
} | } | ||
#footer a { color: var(--dp-sub) !important; } | #footer a { color: var(--dp-sub) !important; } | ||
#footer a:hover { color: var(--dp-navy) !important; } | #footer a:hover { color: var(--dp-navy) !important; text-decoration: none !important; } | ||
#footer ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 14px; flex-wrap: wrap; } | #footer ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 14px; flex-wrap: wrap; } | ||
#footer li { margin: 0; } | #footer li { margin: 0; } | ||
/* | /* Tabs */ | ||
#p-cactions { background: var(--dp-white) !important; border-bottom: 1px solid var(--dp-border) !important; padding: 0 10px !important; margin: 0 !important; overflow: hidden !important; } | |||
#p-cactions { | |||
} | |||
#p-cactions h3 { display: none !important; } | #p-cactions h3 { display: none !important; } | ||
#p-cactions .pBody { padding: 0 !important; border: none !important; background: none !important; } | #p-cactions .pBody { padding: 0 !important; border: none !important; background: none !important; } | ||
#p-cactions ul { display: flex !important; list-style: none !important; margin: 0 !important; padding: 0 | #p-cactions ul { display: flex !important; list-style: none !important; margin: 0 !important; padding: 0 !important; } | ||
#p-cactions li { margin: 0 !important; } | #p-cactions li { margin: 0 !important; } | ||
#p-cactions li a { | #p-cactions li a { display: block !important; padding: 6px 10px !important; font-size: 11px !important; color: var(--dp-sub) !important; border-bottom: 2px solid transparent !important; white-space: nowrap !important; text-decoration: none !important; } | ||
#p-cactions li a:hover { color: var(--dp-navy) !important; border-bottom-color: var(--dp-border) !important; } | |||
#ca-nstab-main a { color: var(--dp-navy) !important; font-weight: 600 !important; } | |||
#ca-nstab-main.selected a { border-bottom-color: var(--dp-navy) !important; } | |||
#ca-delete a, #ca-protect a, #ca-move a { color: #ccd0d8 !important; font-size: 10px !important; } | |||
} | |||
#p-cactions li a:hover { color: var(--dp-navy) !important; border-bottom-color: var(--dp-border) | |||
#ca-nstab-main | |||
#ca-nstab-main | |||
#ca-delete a, #ca-protect a, #ca-move a { color: # | |||
/* | /* Portlets */ | ||
.portlet { margin: 0 !important; border: none !important; padding: 0 !important; background: none !important; } | .portlet { margin: 0 !important; border: none !important; padding: 0 !important; background: none !important; } | ||
.portlet h3 { | .portlet h3 { font-size: 9.5px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: .1em !important; color: #a0aab6 !important; padding: 12px 14px 5px !important; border: none !important; background: none !important; margin: 0 !important; } | ||
} | |||
.portlet .pBody { padding: 0 !important; border: none !important; background: none !important; } | .portlet .pBody { padding: 0 !important; border: none !important; background: none !important; } | ||
.portlet ul { list-style: none !important; margin: 0 !important; padding: 0 !important; } | .portlet ul { list-style: none !important; margin: 0 !important; padding: 0 !important; } | ||
.portlet ul li { margin: 0 !important; } | .portlet ul li { margin: 0 !important; } | ||
.portlet ul li a { | .portlet ul li a { display: block !important; padding: 7px 14px 7px 22px !important; font-size: 13px !important; color: #2d3a4d !important; border-left: 2px solid transparent !important; line-height: 1.4 !important; text-decoration: none !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; } | ||
.portlet ul li a:hover { background: var(--dp-light) !important; color: var(--dp-navy) !important; border-left-color: var(--dp-navy) !important; text-decoration: none !important; } | |||
} | |||
.portlet ul li a:hover { | |||
} | |||
/* | /* Search */ | ||
#p-search { padding: 8px 10px !important; } | #p-search { padding: 8px 10px !important; } | ||
#p-search h3 { display: none !important; } | #p-search h3 { display: none !important; } | ||
#p-search #searchInput { width: 100% !important; padding: 6px 10px !important; border: 1px solid var(--dp-border) !important; border-radius: 5px !important; font-size: 12.5px !important; font-family: inherit !important; background: var(--dp-light) !important; color: var(--dp-text) !important; outline: none !important; box-sizing: border-box !important; } | |||
#p-search #searchInput { | #p-search #searchInput:focus { border-color: var(--dp-link) !important; background: #fff !important; } | ||
} | |||
#p-search | |||
#searchButton, #mw-searchButton { display: none !important; } | #searchButton, #mw-searchButton { display: none !important; } | ||
/* | /* Sitenotice */ | ||
#siteNotice, #localNotice { text-align: center; padding: 8px 0 0 !important; } | |||
#siteNotice img, #localNotice img { max-width: 300px !important; height: auto !important; } | |||
# | |||
.dp-mainbar { height: | /* ── Elementos inyectados ── */ | ||
.dp-logo-block { | #dp-topnav { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 200 !important; background: var(--dp-navy); box-shadow: 0 2px 10px rgba(0,0,0,.22); height: var(--dp-nh); } | ||
.dp-mainbar { height: 100%; display: flex; align-items: center; } | |||
.dp-logo-block { width: var(--dp-sw); padding: 0 16px; display: flex; align-items: center; gap: 9px; flex-shrink: 0; height: 100%; border-right: 1px solid rgba(255,255,255,.08); text-decoration: none !important; } | |||
.dp-logo-img { width: 30px; height: 30px; object-fit: contain; background: rgba(255,255,255,.1); border-radius: 4px; padding: 3px; flex-shrink: 0; } | |||
.dp-logo-sitename { font-family: Georgia, serif; font-size: 14.5px; color: #fff !important; font-weight: normal; display: block; line-height: 1.1; } | |||
.dp-logo-sub { font-size: 9px; color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: uppercase; display: block; } | |||
.dp-nav-zone { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 20px; height: 100%; } | |||
} | |||
.dp-logo-img { width: | |||
.dp-logo-sitename { font-family: Georgia, serif; font-size: | |||
.dp-logo-sub { font-size: | |||
.dp-nav-zone { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 20px | |||
.dp-nav-links { display: flex; list-style: none; margin: 0; padding: 0; height: 100%; } | .dp-nav-links { display: flex; list-style: none; margin: 0; padding: 0; height: 100%; } | ||
.dp-nav-links li { height: 100%; display: flex; align-items: center; } | .dp-nav-links li { height: 100%; display: flex; align-items: center; } | ||
.dp-nav-links a { | .dp-nav-links a { color: rgba(255,255,255,.62) !important; font-size: 12.5px; padding: 0 10px; height: 100%; display: flex; align-items: center; border-bottom: 2px solid transparent; text-decoration: none !important; white-space: nowrap; } | ||
.dp-nav-links a:hover { color: #fff !important; border-bottom-color: rgba(255,255,255,.3); } | |||
} | |||
.dp-nav-links a:hover { color: #fff !important | |||
.dp-nav-links li.dp-active a { color: #fff !important; border-bottom-color: var(--dp-amber); font-weight: 500; } | .dp-nav-links li.dp-active a { color: #fff !important; border-bottom-color: var(--dp-amber); font-weight: 500; } | ||
.dp-cta-btn { | .dp-cta-btn { background: var(--dp-amber) !important; color: #fff !important; font-size: 12px; font-weight: 600; padding: 7px 13px; border-radius: 5px; display: flex; align-items: center; gap: 6px; text-decoration: none !important; white-space: nowrap; flex-shrink: 0; } | ||
} | |||
.dp-cta-btn:hover { background: var(--dp-amber2) !important; } | .dp-cta-btn:hover { background: var(--dp-amber2) !important; } | ||
.dp-cta-dot { width: 6px; height: 6px; background: rgba(255,255,255,.8); border-radius: 50%; animation: dp-pulse 2s infinite; } | .dp-cta-dot { width: 6px; height: 6px; background: rgba(255,255,255,.8); border-radius: 50%; animation: dp-pulse 2s infinite; flex-shrink: 0; } | ||
@keyframes dp-pulse { 0%,100%{opacity:.75;transform:scale(1)} 50%{opacity:1;transform:scale(1.3)} } | @keyframes dp-pulse { 0%,100%{opacity:.75;transform:scale(1)} 50%{opacity:1;transform:scale(1.3)} } | ||
#dp-firma { background: var(--dp-navy); padding: 14px 14px 12px; } | |||
#dp-firma { background: var(--dp-navy); padding: 14px | .dp-firma-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } | ||
.dp-firma-head { display: flex; align-items: center; gap: | .dp-firma-logo { width: 32px; height: 32px; object-fit: contain; background: rgba(255,255,255,.12); border-radius: 4px; padding: 3px; flex-shrink: 0; } | ||
.dp-firma-logo { width: | .dp-firma-name { font-size: 11.5px; font-weight: 600; color: #fff; line-height: 1.25; } | ||
.dp-firma-name { font-size: | .dp-firma-name small { display: block; font-weight: normal; font-size: 9.5px; color: rgba(255,255,255,.45); margin-top: 1px; } | ||
.dp-firma-name small { display: block; font-weight: normal; font-size: | .dp-firma-lawyers { display: flex; gap: 6px; margin-bottom: 10px; } | ||
.dp-firma-lawyers { display: flex; gap: | .dp-sb-lawyer { display: flex; align-items: center; gap: 6px; flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 4px; padding: 6px 7px; text-decoration: none !important; } | ||
.dp-sb-lawyer { | .dp-sb-lawyer:hover { background: rgba(255,255,255,.15); } | ||
.dp-sb-lawyer img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255,255,255,.2); flex-shrink: 0; } | |||
.dp-sb-lawyer-name { font-size: 9.5px; font-weight: 600; color: rgba(255,255,255,.88); display: block; line-height: 1.2; } | |||
.dp-sb-lawyer-role { font-size: 8.5px; color: rgba(255,255,255,.45); display: block; } | |||
} | .dp-firma-wa { display: flex; align-items: center; justify-content: center; gap: 6px; background: #22c55e; color: #fff !important; font-size: 12px; font-weight: 600; padding: 8px 10px; border-radius: 4px; text-decoration: none !important; width: 100%; box-sizing: border-box; } | ||
.dp-sb-lawyer:hover { background: rgba(255,255,255,. | .dp-firma-wa:hover { background: #16a34a; } | ||
.dp-sb-lawyer img { width: | |||
.dp-sb-lawyer-name { font-size: | |||
.dp-sb-lawyer-role { font-size: | |||
.dp-firma-wa { | |||
} | |||
.dp-firma-wa:hover { background: # | |||
#dp-urgente { margin: 10px 10px 2px; background: var(--dp-amber-light); border: 1px solid #deb96a; border-left: 3px solid var(--dp-amber); border-radius: 5px; padding: 10px 12px; display: block; text-decoration: none !important; } | |||
#dp-urgente { | #dp-urgente:hover { background: #f5e8c4; } | ||
.dp-urg-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--dp-amber2); display: block; margin-bottom: 3px; } | |||
.dp-urg-title { font-size: 12px; font-weight: 600; color: var(--dp-navy); line-height: 1.35; display: block; margin-bottom: 3px; } | |||
.dp-urg-desc { font-size: 10.5px; color: var(--dp-sub); display: block; line-height: 1.4; margin-bottom: 6px; } | |||
.dp-urg-link { font-size: 10.5px; font-weight: 600; color: var(--dp-amber2); display: block; } | |||
} | |||
#dp-urgente:hover { background: # | |||
.dp-urg-label { font-size: | |||
.dp-urg-title { font-size: | |||
.dp-urg-desc { font-size: | |||
.dp-urg-link { font-size: | |||
.dp-sb-hr { border: none !important; border-top: 1px solid var(--dp-border) !important; margin: 8px 0 !important; } | |||
.dp-sb-hr { border: none; border-top: 1px solid var(--dp-border); margin: 6px | .dp-sb-tool { margin: 2px 10px 6px; background: #eef2fa; border: 1px solid #c2d0e8; border-radius: 5px; padding: 9px 12px; display: block; text-decoration: none !important; } | ||
.dp-sb-tool:hover { background: #dde8f5; } | |||
.dp-sb-tool-icon { font-size: 15px; display: block; margin-bottom: 4px; } | |||
.dp-sb-tool-name { font-size: 11.5px; font-weight: 600; color: var(--dp-navy); display: block; margin-bottom: 2px; line-height: 1.3; } | |||
.dp-sb-tool-desc { font-size: 10px; color: var(--dp-sub); display: block; line-height: 1.3; } | |||
/* | /* ═══ MOBILE ═══ */ | ||
@media (max-width: 800px) { | |||
margin: | :root { --dp-sw: 0px; --dp-nh: 54px; } | ||
border- | #column-one { display: none !important; } | ||
#column-content { margin-left: 0 !important; } | |||
#footer { margin-left: 0 !important; padding: 12px 16px !important; } | |||
#content { padding: 14px 16px 40px !important; } | |||
.dp-logo-block { width: auto !important; border-right: none !important; flex: 1; } | |||
.dp-logo-sub { display: none !important; } | |||
.dp-nav-links { display: none !important; } | |||
.dp-nav-zone { padding: 0 12px !important; } | |||
.dp-cta-btn { font-size: 11px !important; padding: 6px 11px !important; } | |||
.dp-cta-dot { display: none !important; } | |||
} | } | ||
Revisión del 18:50 17 abr 2026
/* === DERECHOPEDIA REDESIGN 2025 === */
:root {
--dp-navy: #1c2e4a;
--dp-navy2: #243d5f;
--dp-link: #1a56a0;
--dp-text: #1a1a1a;
--dp-sub: #5a6474;
--dp-light: #f4f5f7;
--dp-border: #d6d9de;
--dp-white: #ffffff;
--dp-amber: #c17f24;
--dp-amber2: #a56c1a;
--dp-amber-light: #fdf3e3;
--dp-sw: 220px;
--dp-nh: 58px;
}
body {
background: #f0f2f5 !important;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
padding-top: var(--dp-nh) !important;
margin: 0 !important;
}
#p-logo, #column-one CENTER,
#sidebar-toggle, #p-personal-toggle, #globalWrapper-toggle,
#p-personal, #p-cactions-mobile { display: none !important; }
.emptyPortlet { display: none !important; }
#globalWrapper { margin: 0 !important; padding: 0 !important; }
#column-one {
position: fixed !important;
float: none !important;
top: var(--dp-nh) !important;
left: 0 !important;
width: var(--dp-sw) !important;
height: calc(100vh - var(--dp-nh)) !important;
overflow-y: auto !important;
overflow-x: hidden !important;
background: var(--dp-white) !important;
border-right: 1px solid var(--dp-border) !important;
z-index: 50 !important;
}
#column-content {
float: none !important;
margin-left: var(--dp-sw) !important;
width: auto !important;
background: var(--dp-white);
min-height: calc(100vh - var(--dp-nh));
}
#content {
background: var(--dp-white) !important;
border: none !important;
padding: 20px 28px 48px !important;
margin: 0 !important;
}
#content h1.firstHeading {
font-family: Georgia, serif !important;
font-size: 20px !important;
font-weight: normal !important;
color: var(--dp-navy) !important;
border-bottom: 1px solid var(--dp-border) !important;
padding-bottom: 8px !important;
margin-bottom: 16px !important;
}
#footer {
margin-left: var(--dp-sw) !important;
float: none !important;
border-top: 1px solid var(--dp-border) !important;
padding: 12px 24px !important;
background: var(--dp-white) !important;
font-size: 11.5px !important;
color: var(--dp-sub) !important;
}
#footer a { color: var(--dp-sub) !important; }
#footer a:hover { color: var(--dp-navy) !important; text-decoration: none !important; }
#footer ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 14px; flex-wrap: wrap; }
#footer li { margin: 0; }
/* Tabs */
#p-cactions { background: var(--dp-white) !important; border-bottom: 1px solid var(--dp-border) !important; padding: 0 10px !important; margin: 0 !important; overflow: hidden !important; }
#p-cactions h3 { display: none !important; }
#p-cactions .pBody { padding: 0 !important; border: none !important; background: none !important; }
#p-cactions ul { display: flex !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
#p-cactions li { margin: 0 !important; }
#p-cactions li a { display: block !important; padding: 6px 10px !important; font-size: 11px !important; color: var(--dp-sub) !important; border-bottom: 2px solid transparent !important; white-space: nowrap !important; text-decoration: none !important; }
#p-cactions li a:hover { color: var(--dp-navy) !important; border-bottom-color: var(--dp-border) !important; }
#ca-nstab-main a { color: var(--dp-navy) !important; font-weight: 600 !important; }
#ca-nstab-main.selected a { border-bottom-color: var(--dp-navy) !important; }
#ca-delete a, #ca-protect a, #ca-move a { color: #ccd0d8 !important; font-size: 10px !important; }
/* Portlets */
.portlet { margin: 0 !important; border: none !important; padding: 0 !important; background: none !important; }
.portlet h3 { font-size: 9.5px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: .1em !important; color: #a0aab6 !important; padding: 12px 14px 5px !important; border: none !important; background: none !important; margin: 0 !important; }
.portlet .pBody { padding: 0 !important; border: none !important; background: none !important; }
.portlet ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.portlet ul li { margin: 0 !important; }
.portlet ul li a { display: block !important; padding: 7px 14px 7px 22px !important; font-size: 13px !important; color: #2d3a4d !important; border-left: 2px solid transparent !important; line-height: 1.4 !important; text-decoration: none !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
.portlet ul li a:hover { background: var(--dp-light) !important; color: var(--dp-navy) !important; border-left-color: var(--dp-navy) !important; text-decoration: none !important; }
/* Search */
#p-search { padding: 8px 10px !important; }
#p-search h3 { display: none !important; }
#p-search #searchInput { width: 100% !important; padding: 6px 10px !important; border: 1px solid var(--dp-border) !important; border-radius: 5px !important; font-size: 12.5px !important; font-family: inherit !important; background: var(--dp-light) !important; color: var(--dp-text) !important; outline: none !important; box-sizing: border-box !important; }
#p-search #searchInput:focus { border-color: var(--dp-link) !important; background: #fff !important; }
#searchButton, #mw-searchButton { display: none !important; }
/* Sitenotice */
#siteNotice, #localNotice { text-align: center; padding: 8px 0 0 !important; }
#siteNotice img, #localNotice img { max-width: 300px !important; height: auto !important; }
/* ── Elementos inyectados ── */
#dp-topnav { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 200 !important; background: var(--dp-navy); box-shadow: 0 2px 10px rgba(0,0,0,.22); height: var(--dp-nh); }
.dp-mainbar { height: 100%; display: flex; align-items: center; }
.dp-logo-block { width: var(--dp-sw); padding: 0 16px; display: flex; align-items: center; gap: 9px; flex-shrink: 0; height: 100%; border-right: 1px solid rgba(255,255,255,.08); text-decoration: none !important; }
.dp-logo-img { width: 30px; height: 30px; object-fit: contain; background: rgba(255,255,255,.1); border-radius: 4px; padding: 3px; flex-shrink: 0; }
.dp-logo-sitename { font-family: Georgia, serif; font-size: 14.5px; color: #fff !important; font-weight: normal; display: block; line-height: 1.1; }
.dp-logo-sub { font-size: 9px; color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: uppercase; display: block; }
.dp-nav-zone { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 20px; height: 100%; }
.dp-nav-links { display: flex; list-style: none; margin: 0; padding: 0; height: 100%; }
.dp-nav-links li { height: 100%; display: flex; align-items: center; }
.dp-nav-links a { color: rgba(255,255,255,.62) !important; font-size: 12.5px; padding: 0 10px; height: 100%; display: flex; align-items: center; border-bottom: 2px solid transparent; text-decoration: none !important; white-space: nowrap; }
.dp-nav-links a:hover { color: #fff !important; border-bottom-color: rgba(255,255,255,.3); }
.dp-nav-links li.dp-active a { color: #fff !important; border-bottom-color: var(--dp-amber); font-weight: 500; }
.dp-cta-btn { background: var(--dp-amber) !important; color: #fff !important; font-size: 12px; font-weight: 600; padding: 7px 13px; border-radius: 5px; display: flex; align-items: center; gap: 6px; text-decoration: none !important; white-space: nowrap; flex-shrink: 0; }
.dp-cta-btn:hover { background: var(--dp-amber2) !important; }
.dp-cta-dot { width: 6px; height: 6px; background: rgba(255,255,255,.8); border-radius: 50%; animation: dp-pulse 2s infinite; flex-shrink: 0; }
@keyframes dp-pulse { 0%,100%{opacity:.75;transform:scale(1)} 50%{opacity:1;transform:scale(1.3)} }
#dp-firma { background: var(--dp-navy); padding: 14px 14px 12px; }
.dp-firma-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.dp-firma-logo { width: 32px; height: 32px; object-fit: contain; background: rgba(255,255,255,.12); border-radius: 4px; padding: 3px; flex-shrink: 0; }
.dp-firma-name { font-size: 11.5px; font-weight: 600; color: #fff; line-height: 1.25; }
.dp-firma-name small { display: block; font-weight: normal; font-size: 9.5px; color: rgba(255,255,255,.45); margin-top: 1px; }
.dp-firma-lawyers { display: flex; gap: 6px; margin-bottom: 10px; }
.dp-sb-lawyer { display: flex; align-items: center; gap: 6px; flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 4px; padding: 6px 7px; text-decoration: none !important; }
.dp-sb-lawyer:hover { background: rgba(255,255,255,.15); }
.dp-sb-lawyer img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255,255,255,.2); flex-shrink: 0; }
.dp-sb-lawyer-name { font-size: 9.5px; font-weight: 600; color: rgba(255,255,255,.88); display: block; line-height: 1.2; }
.dp-sb-lawyer-role { font-size: 8.5px; color: rgba(255,255,255,.45); display: block; }
.dp-firma-wa { display: flex; align-items: center; justify-content: center; gap: 6px; background: #22c55e; color: #fff !important; font-size: 12px; font-weight: 600; padding: 8px 10px; border-radius: 4px; text-decoration: none !important; width: 100%; box-sizing: border-box; }
.dp-firma-wa:hover { background: #16a34a; }
#dp-urgente { margin: 10px 10px 2px; background: var(--dp-amber-light); border: 1px solid #deb96a; border-left: 3px solid var(--dp-amber); border-radius: 5px; padding: 10px 12px; display: block; text-decoration: none !important; }
#dp-urgente:hover { background: #f5e8c4; }
.dp-urg-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--dp-amber2); display: block; margin-bottom: 3px; }
.dp-urg-title { font-size: 12px; font-weight: 600; color: var(--dp-navy); line-height: 1.35; display: block; margin-bottom: 3px; }
.dp-urg-desc { font-size: 10.5px; color: var(--dp-sub); display: block; line-height: 1.4; margin-bottom: 6px; }
.dp-urg-link { font-size: 10.5px; font-weight: 600; color: var(--dp-amber2); display: block; }
.dp-sb-hr { border: none !important; border-top: 1px solid var(--dp-border) !important; margin: 8px 0 !important; }
.dp-sb-tool { margin: 2px 10px 6px; background: #eef2fa; border: 1px solid #c2d0e8; border-radius: 5px; padding: 9px 12px; display: block; text-decoration: none !important; }
.dp-sb-tool:hover { background: #dde8f5; }
.dp-sb-tool-icon { font-size: 15px; display: block; margin-bottom: 4px; }
.dp-sb-tool-name { font-size: 11.5px; font-weight: 600; color: var(--dp-navy); display: block; margin-bottom: 2px; line-height: 1.3; }
.dp-sb-tool-desc { font-size: 10px; color: var(--dp-sub); display: block; line-height: 1.3; }
/* ═══ MOBILE ═══ */
@media (max-width: 800px) {
:root { --dp-sw: 0px; --dp-nh: 54px; }
#column-one { display: none !important; }
#column-content { margin-left: 0 !important; }
#footer { margin-left: 0 !important; padding: 12px 16px !important; }
#content { padding: 14px 16px 40px !important; }
.dp-logo-block { width: auto !important; border-right: none !important; flex: 1; }
.dp-logo-sub { display: none !important; }
.dp-nav-links { display: none !important; }
.dp-nav-zone { padding: 0 12px !important; }
.dp-cta-btn { font-size: 11px !important; padding: 6px 11px !important; }
.dp-cta-dot { display: none !important; }
}
