/* Guide articles: summary box, comparison table, FAQ */
.dk-summary {
	margin: 1.5em 0 2em;
	padding: 1.25em 1.5em;
	border-left: 4px solid var(--cs-color-primary, #1a73e8);
	background: rgba(127, 127, 127, 0.08);
	border-radius: 4px;
}
.dk-summary > p:first-child { margin-top: 0; }
.dk-summary ul { margin-bottom: 0.5em; }
.dk-summary .dk-note { font-size: 0.85em; opacity: 0.8; margin-bottom: 0; }

.dk-table { margin: 1.5em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dk-table table { width: 100%; border-collapse: collapse; font-size: 0.8em; line-height: 1.4; }
.dk-table th, .dk-table td { padding: 0.5em 0.6em; border: 1px solid rgba(127, 127, 127, 0.3); text-align: left; vertical-align: top;
	word-break: normal; overflow-wrap: normal; hyphens: none; }
/* Short cells (dates, types, law numbers) stay on one line: class set by dse-tables.js */
.dk-table .dk-nowrap { white-space: nowrap; }
.dk-table thead th { background: rgba(127, 127, 127, 0.12); font-weight: 700; white-space: nowrap; }
.dk-table tbody tr { transition: background-color 0.15s ease; }
.dk-table tbody tr:hover { background: rgba(127, 127, 127, 0.14); background: color-mix(in srgb, var(--cs-color-primary, #1a73e8) 13%, transparent); }
@media (max-width: 600px) { .dk-table table { font-size: 0.72em; } .dk-table th, .dk-table td { padding: 0.45em 0.5em; } }

.dk-faq h3 { margin-top: 1.25em; font-size: 1.1em; }
.dk-sources { font-size: 0.9em; }

/* Front page: "Guías prácticas" */
.dse-guides { padding: 48px 0 56px; border-top: 1px solid rgba(127, 127, 127, 0.2); }
.dse-guides__inner { max-width: var(--cs-width-container, 1200px); margin: 0 auto; padding: 0 20px; }
.dse-guides__heading { margin: 0 0 24px; font-size: 1.6rem; }
.dse-guides__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .dse-guides__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dse-guides__grid { grid-template-columns: 1fr; } }
.dse-guide { border: 1px solid rgba(127, 127, 127, 0.2); border-radius: 8px; overflow: hidden; transition: box-shadow 0.2s; }
.dse-guide:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }
.dse-guide__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.dse-guide__img { width: 100%; height: 170px; object-fit: cover; display: block; }
.dse-guide__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.dse-guide__title { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.3; }
.dse-guide__desc { margin: 0 0 12px; font-size: 0.9rem; opacity: 0.8; flex: 1; }
.dse-guide__cta { font-size: 0.9rem; font-weight: 600; color: var(--cs-color-primary, #1a73e8); }
@media (max-width: 600px) {
	.dse-guides { padding: 32px 0 40px; }
	.dse-guides__inner { padding: 0 16px; }
}

/* "Actualizado / Fuentes" box under articles */
.dse-meta-box { margin: 2.5em 0 1em; padding: 1em 1.25em; border-top: 1px solid rgba(127, 127, 127, 0.25); font-size: 0.9em; }
.dse-meta-box p { margin: 0 0 0.4em; }
.dse-meta-box__title { margin-top: 0.8em !important; }
.dse-src { margin: 0; padding-left: 1.2em; }
.dse-src li { margin: 0.2em 0; }
.dse-src__host { opacity: 0.65; font-size: 0.9em; }
