/* Ley y Reglamento de Auditoría CSS */
.ley-reglamento-page {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ley-reglamento-hero {
  background-color: var(--base-white, #ffffff);
  padding-top: 64px;
  padding-bottom: 28px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.ley-reglamento-hero__container {
  width: 100%;
  max-width: 1280px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ley-reglamento-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ley-reglamento-breadcrumb__item {
  color: var(--base-muted-foreground, #525252);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.ley-reglamento-breadcrumb__item:hover {
  text-decoration: underline;
}

.ley-reglamento-breadcrumb__item--active {
  color: var(--base-foreground, #0a0a0a);
  font-weight: 500;
}

.ley-reglamento-breadcrumb__sep {
  color: var(--base-muted-foreground, #525252);
  display: flex;
  align-items: center;
}

.ley-reglamento-hero__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--base-foreground, #0a0a0a);
  margin: 0;
  line-height: 1.2;
}

.ley-reglamento-main {
  background-color: var(--base-background, #ffffff);
  padding-bottom: 64px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.ley-reglamento-main__container {
  width: 100%;
  max-width: 1280px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ley-reglamento-actions {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--base-border, #e5e5e5);
}

.ley-reglamento-btn-ghost {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--base-foreground, #0a0a0a);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.ley-reglamento-btn-ghost:hover {
  background-color: var(--base-muted, #f5f5f5);
}

.ley-reglamento-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ley-reglamento-sidebar {
  width: 305px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ley-reglamento-filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ley-reglamento-filter-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--base-foreground, #0a0a0a);
  margin: 0;
}

.ley-reglamento-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--base-border, #e5e5e5);
  padding: 12px;
  height: 48px;
}

.ley-reglamento-input {
  border: none;
  background: transparent;
  flex: 1;
  font-size: 14px;
  color: var(--base-foreground, #0a0a0a);
  outline: none;
}

.ley-reglamento-input::placeholder {
  color: var(--base-muted-foreground, #525252);
}

.ley-reglamento-select-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ley-reglamento-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--base-foreground, #0a0a0a);
}

.ley-reglamento-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  height: 36px;
  background-color: #ffffff;
  border: 1px solid var(--base-input, #e5e5e5);
  border-radius: 8px;
  font-size: 14px;
  color: var(--base-foreground, #0a0a0a);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.ley-reglamento-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  background-color: var(--base-primary, #b91c1c);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: background-color 0.2s;
}

.ley-reglamento-btn-primary:hover {
  background-color: #991b1b;
}



.ley-reglamento-results {
  flex: 1;
  background-color: var(--slate-50, #f8fafc);
  border: 1px solid var(--slate-200, #e2e8f0);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.ley-reglamento-table {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ley-reglamento-tr {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--base-border, #e5e5e5);
}

.ley-reglamento-th {
  font-size: 14px;
  font-weight: 500;
  color: var(--base-muted-foreground, #525252);
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.ley-reglamento-td {
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.ley-reglamento-col-consulta {
  flex: 1;
}

.ley-reglamento-col-idioma {
  width: 116px;
  flex-shrink: 0;
}

.ley-reglamento-col-acciones {
  width: 194px;
  flex-shrink: 0;
  justify-content: flex-end;
}

.ley-reglamento-th.ley-reglamento-col-acciones {
  justify-content: flex-end;
}

.ley-reglamento-row-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--base-foreground, #0a0a0a);
  line-height: 1.4;
}

.ley-reglamento-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background-color: #ffffff;
  border: 1px solid var(--base-border, #e5e5e5);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--base-foreground, #0a0a0a);
}

.ley-reglamento-actions-group {
  display: flex;
  gap: 4px;
  align-items: center;
}

.ley-reglamento-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  border: 1px solid var(--base-input, #e5e5e5);
  border-radius: 8px;
  color: var(--base-foreground, #0a0a0a);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: background-color 0.2s;
  text-decoration: none;
}

.ley-reglamento-btn-icon:hover {
  background-color: var(--base-muted, #f5f5f5);
}

#normas-tecnicas-grid-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ley-reglamento-card-new {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background-color: #ffffff;
  border: 1px solid var(--base-border, #e5e5e5);
  border-radius: 16px;
  padding: 16px;
  gap: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ley-reglamento-card-image {
  background-color: #f3f4f6;
  border-radius: 10px;
  width: 194px;
  min-height: 194px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  flex-shrink: 0;
}

.ley-reglamento-card-type {
  width: 100%;
  text-align: left;
}

.ley-reglamento-card-type span {
  font-size: 16px;
  font-weight: 500;
  color: #0a0a0a;
}

.ley-reglamento-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1;
  padding: 8px 0;
}

.ley-reglamento-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.ley-reglamento-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
}

.ley-reglamento-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 0;
}

.ley-reglamento-btn-ghost-small {
  height: 32px;
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  font-size: 12px;
  font-weight: 500;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.ley-reglamento-btn-ghost-small:hover {
  background-color: #f9fafb;
}

.ley-reglamento-page--figma {
  background: #ffffff;
  font-family: Inter, Arial, sans-serif;
}

.ley-reglamento-page--figma .ley-reglamento-hero {
  padding-top: 64px;
  padding-bottom: 28px;
}

.ley-reglamento-page--figma .ley-reglamento-hero__container,
.ley-reglamento-page--figma .ley-reglamento-main__container {
  max-width: 1280px;
  padding-left: 0;
  padding-right: 0;
}

.ley-reglamento-page--figma .ley-reglamento-hero__container {
  gap: 8px;
}

.ley-reglamento-page--figma .ley-reglamento-breadcrumb {
  gap: 10px;
}

.ley-reglamento-page--figma .ley-reglamento-breadcrumb__item,
.ley-reglamento-page--figma .ley-reglamento-breadcrumb__sep {
  color: #525252;
  font-size: 14px;
  line-height: 20px;
}

.ley-reglamento-page--figma .ley-reglamento-breadcrumb__item--active {
  color: #525252;
  font-weight: 400;
}

.ley-reglamento-page--figma .ley-reglamento-hero__title {
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: 0;
}

.ley-reglamento-page--figma .ley-reglamento-main {
  padding-top: 48px;
  padding-bottom: 64px;
}

.ley-reglamento-page--figma .ley-reglamento-main__container {
  align-items: flex-end;
  gap: 16px;
}

.ley-reglamento-page--figma .ley-reglamento-actions {
  width: 100%;
  justify-content: flex-end;
  padding: 0 0 16px;
  border-bottom: 1px solid #e5e5e5;
}

.ley-reglamento-page--figma .ley-reglamento-actions--with-sort {
  gap: 8px;
}

.ley-reglamento-page--figma .ley-reglamento-btn-ghost {
  height: 36px;
  padding: 8px 16px;
  gap: 8px;
  border-radius: 8px;
  color: #0a0a0a;
  line-height: 20px;
}

.ley-reglamento-page--figma .ley-reglamento-sort-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  color: #525252;
  font-size: 14px;
  line-height: 20px;
}

.ley-reglamento-page--figma .ley-reglamento-sort-select {
  height: 36px;
  padding: 8px 36px 8px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #525252;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.ley-reglamento-page--figma .ley-reglamento-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.ley-reglamento-page--figma .ley-reglamento-sidebar {
  width: 305px;
  gap: 16px;
  align-items: flex-end;
}

.ley-reglamento-page--figma .ley-reglamento-sidebar__box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ley-reglamento-page--figma .ley-reglamento-search-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ley-reglamento-page--figma .ley-reglamento-filter-title {
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.ley-reglamento-page--figma .ley-reglamento-input-wrapper {
  width: 100%;
  height: 48px;
  padding: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.ley-reglamento-page--figma .ley-reglamento-input {
  height: 24px;
  line-height: 20px;
}

.ley-reglamento-page--figma .ley-reglamento-label {
  line-height: 14px;
}

.ley-reglamento-page--figma .ley-reglamento-select {
  width: 100%;
  height: 36px;
  border-color: #e5e5e5;
  color: #0a0a0a;
}

.ley-reglamento-page--figma .ley-reglamento-btn-primary {
  width: 100%;
  height: 36px;
  background: #b91c1c;
  color: #fafafa;
}

.ley-reglamento-page--figma .ley-reglamento-content {
  flex: 1 1 auto;
  min-width: 0;
}

.ley-reglamento-page--figma .ley-reglamento-results {
  width: 100%;
  min-height: 468px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-sizing: border-box;
}

.ley-reglamento-page--figma .ley-reglamento-table {
  width: 100%;
}

.ley-reglamento-page--figma .ley-reglamento-tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px 194px;
  border-bottom: 0;
}

.ley-reglamento-page--figma .ley-reglamento-th,
.ley-reglamento-page--figma .ley-reglamento-td {
  border-bottom: 1px solid #e5e5e5;
  padding: 8px;
}

.ley-reglamento-page--figma .ley-reglamento-th {
  height: 40px;
  color: #525252;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.ley-reglamento-page--figma .ley-reglamento-td {
  height: 72px;
}

.ley-reglamento-page--figma .ley-reglamento-col-consulta,
.ley-reglamento-page--figma .ley-reglamento-col-idioma,
.ley-reglamento-page--figma .ley-reglamento-col-acciones {
  width: auto;
  min-width: 0;
}

.ley-reglamento-page--figma .ley-reglamento-col-acciones {
  justify-content: flex-end;
}

.ley-reglamento-page--figma .ley-reglamento-row-title {
  display: block;
  overflow: hidden;
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ley-reglamento-page--figma .ley-reglamento-badge {
  height: 22px;
  padding: 2px 8px;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.ley-reglamento-page--figma .ley-reglamento-flag {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 1px;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.ley-reglamento-page--figma .ley-reglamento-actions-group {
  gap: 4px;
}

.ley-reglamento-page--figma .ley-reglamento-btn-icon {
  width: 36px;
  height: 36px;
  padding: 10px 8px;
  color: #0a0a0a;
}

.ley-reglamento-page--normas .ley-reglamento-table-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px 194px;
  width: 100%;
}

.ley-reglamento-page--normas .ley-reglamento-table-head > div {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 8px;
  border-bottom: 1px solid #e5e5e5;
  color: #525252;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.ley-reglamento-page--normas .ley-reglamento-table-head > div:last-child {
  justify-content: flex-end;
}

.ley-reglamento-page--normas #normas-tecnicas-grid-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.ley-reglamento-page--normas .ley-reglamento-card-new {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px 194px;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
  height: 72px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ley-reglamento-page--normas .ley-reglamento-card-image {
  display: none;
}

.ley-reglamento-page--normas .ley-reglamento-card-content {
  display: contents;
}

.ley-reglamento-page--normas .ley-reglamento-card-title {
  grid-column: 1;
  grid-row: 1;
  display: block;
  box-sizing: border-box;
  height: 72px;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border-bottom: 1px solid #e5e5e5;
  overflow: hidden;
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 500;
  line-height: 56px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ley-reglamento-page--normas .ley-reglamento-card-type {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 8px;
  border-bottom: 1px solid #e5e5e5;
}

.ley-reglamento-page--normas .ley-reglamento-card-type .ley-reglamento-badge {
  display: none;
}

.ley-reglamento-page--normas:not(.view-mode--cards) .ley-reglamento-card-type:not(:has(.ley-reglamento-badge-lang))::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: url('/themes/custom/icac_theme/images/flags/flag-spain.webp') no-repeat center center;
  background-size: contain;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  margin-right: 6px;
}

.ley-reglamento-page--normas:not(.view-mode--cards) .ley-reglamento-card-type:not(:has(.ley-reglamento-badge-lang))::after {
  content: "Español";
  font-size: 12px;
  font-weight: 500;
  color: #0a0a0a;
}

.ley-reglamento-page--normas .ley-reglamento-card-type .ley-reglamento-badge-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 2px 8px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #0a0a0a;
  white-space: nowrap;
}

.ley-reglamento-page--normas .ley-reglamento-card-type .ley-reglamento-badge-lang .ley-reglamento-flag {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.ley-reglamento-page--normas .ley-reglamento-card-footer {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  height: 72px;
  margin: 0;
  padding: 8px;
  border-bottom: 1px solid #e5e5e5;
}

/* Botón descargar: cuadrado 36x36 solo icono (Figma) */
.ley-reglamento-page--normas .ley-reglamento-btn-ghost-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  color: #0a0a0a;
  text-decoration: none;
  transition: background 0.15s;
  cursor: pointer;
  flex-shrink: 0;
}

.ley-reglamento-page--normas .ley-reglamento-btn-ghost-small:hover {
  background: #f5f5f5;
}

.ley-reglamento-page--normas .ley-reglamento-btn-ghost-small svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

/* Botón abrir enlace externo */
.ley-reglamento-page--normas .ley-reglamento-btn-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  color: #0a0a0a;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.15s;
  flex-shrink: 0;
}

.ley-reglamento-page--normas .ley-reglamento-btn-open:hover {
  background: #f5f5f5;
}

/* ---- Limpiar filtros button ---- */
.ley-reglamento-btn-limpiar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  cursor: pointer;
  transition: background-color 0.2s;
}

.ley-reglamento-btn-limpiar:hover {
  background-color: #f5f5f5;
}

/* ---- Tarjeta Destacada (Figma: Glosario de términos) ---- */
.normas-featured-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}

.normas-featured-card__image {
  flex-shrink: 0;
  width: 194px;
  height: 194px;
  background-color: #f3f4f6;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  box-sizing: border-box;
}

.normas-featured-card__image-title {
  width: 100%;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 0;
  line-height: 1.5;
}

.normas-featured-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.normas-featured-card__label {
  font-size: 14px;
  font-weight: 500;
  color: #b91c1c;
  line-height: 1;
}

.normas-featured-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.33;
  margin: 0;
}

.normas-featured-card__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  font-size: 12px;
  font-weight: 500;
  color: #0a0a0a;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
  transition: background 0.15s;
}

.normas-featured-card__download:hover {
  background: #f5f5f5;
}

@media (max-width: 640px) {
  .ley-reglamento-card-new {
    flex-direction: column;
    gap: 16px;
  }
  
  .ley-reglamento-card-image {
    width: 100%;
    min-height: 140px;
    height: auto;
  }
}


@media (max-width: 768px) {
  .ley-reglamento-content {
    flex-direction: column;
  }
  
  .ley-reglamento-sidebar {
    width: 100%;
  }
  
  .ley-reglamento-results {
    width: 100%;
    overflow-x: auto;
  }
  
  .ley-reglamento-table {
    min-width: 600px;
  }
}

@media (max-width: 1320px) {
  .ley-reglamento-page--figma .ley-reglamento-hero__container,
  .ley-reglamento-page--figma .ley-reglamento-main__container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .ley-reglamento-page--figma .ley-reglamento-actions {
    justify-content: flex-start;
    overflow: hidden;
  }

  .ley-reglamento-page--figma .ley-reglamento-actions--with-sort {
    align-items: flex-start;
    flex-direction: column;
  }

  .ley-reglamento-page--figma .ley-reglamento-btn-ghost {
    max-width: 100%;
  }

  .ley-reglamento-page--figma .ley-reglamento-breadcrumb__item {
    white-space: normal;
  }

  .ley-reglamento-page--figma .ley-reglamento-layout {
    flex-direction: column;
  }

  .ley-reglamento-page--figma .ley-reglamento-sidebar {
    width: 100%;
  }

  .ley-reglamento-page--figma .ley-reglamento-content {
    width: 100%;
  }
}

/* -----------------------------------------------
   Compendio Banner (full-width above sidebar layout)
----------------------------------------------- */
.compendio-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
}

.compendio-banner__thumb {
  background-color: #f3f4f6;
  border-radius: 10px;
  width: 240px;
  height: 240px;
  flex-shrink: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
}

.compendio-banner__label {
  font-size: 16px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1.5;
}

.compendio-banner__slashes-wrap {
  align-self: flex-end;
  display: flex;
  align-items: flex-end;
}

.compendio-banner__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.compendio-banner__tag {
  font-size: 16px;
  font-weight: 500;
  color: #b91c1c;
  line-height: 24px;
}

.compendio-banner__title {
  font-size: 30px;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 36px;
  margin: 0;
}

.compendio-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 8px 16px;
  background-color: #172554;
  color: #fafafa;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: background-color 0.2s;
  width: fit-content;
}

.compendio-banner__btn:hover {
  background-color: #1e3a8a;
  color: #fafafa;
}

/* Fix content column direction inside figma layout */
.ley-reglamento-page--figma .ley-reglamento-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (max-width: 768px) {
  .compendio-banner {
    flex-direction: column;
  }
  .compendio-banner__thumb {
    width: 100%;
    height: 160px;
  }
}

/* -----------------------------------------------
   Normas Técnicas: Barra de paginación
----------------------------------------------- */
.normas-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px 8px;
  border-top: 1px solid #e5e5e5;
  margin-top: 8px;
  gap: 12px;
  flex-wrap: wrap;
}

.normas-pagination-showing {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #0a0a0a;
  font-weight: 500;
  flex-shrink: 0;
}

.normas-per-page-select {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.normas-per-page-select select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 6px 28px 6px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  cursor: pointer;
  height: 36px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  outline: none;
}

.normas-per-page-select svg {
  position: absolute;
  right: 8px;
  pointer-events: none;
  color: #525252;
}

.normas-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}

.normas-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: background-color 0.15s, border-color 0.15s;
}

.normas-page-btn:hover:not(:disabled) {
  background-color: #f5f5f5;
}

.normas-page-btn:disabled,
.normas-page-btn[disabled] {
  opacity: 0.4;
  cursor: default;
}

.normas-page-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
}

.normas-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 4px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #525252;
  cursor: pointer;
  transition: all 0.15s;
}

.normas-page-num:hover {
  background-color: #f5f5f5;
  color: #0a0a0a;
}

.normas-page-num.active {
  background-color: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
  font-weight: 600;
}

.normas-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  font-size: 14px;
  color: #525252;
  cursor: default;
}

/* ===== Vista de Tarjetas para Normas Técnicas ===== */
.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-table-head,
.ley-reglamento-page--normas.view-mode--cards #ley-reglamento-table {
  display: none !important;
}

.ley-reglamento-page--normas.view-mode--cards #normas-tecnicas-grid-container,
.ley-reglamento-page--normas.view-mode--cards #normativa-europea-grid-container,
.ley-reglamento-page--normas.view-mode--cards #normativa-otros-grid-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
}

@media (max-width: 1024px) {
  .ley-reglamento-page--normas.view-mode--cards #normas-tecnicas-grid-container,
  .ley-reglamento-page--normas.view-mode--cards #normativa-europea-grid-container,
  .ley-reglamento-page--normas.view-mode--cards #normativa-otros-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .ley-reglamento-page--normas.view-mode--cards #normas-tecnicas-grid-container,
  .ley-reglamento-page--normas.view-mode--cards #normativa-europea-grid-container,
  .ley-reglamento-page--normas.view-mode--cards #normativa-otros-grid-container {
    grid-template-columns: 1fr !important;
  }
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-new {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 20px !important;
  background-color: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 12px !important;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
  height: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-new:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px) !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-image {
  display: none !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-content {
  display: contents !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-type {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  margin-bottom: 0 !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-type .ley-reglamento-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
  border-radius: 999px !important;
  border: none !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  line-height: 16px !important;
  text-transform: none !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-type .ley-reglamento-flag,
.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-type .ley-reglamento-badge-lang {
  display: none !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-title {
  grid-column: auto !important;
  grid-row: auto !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  height: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #0a0a0a !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 22px !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  flex-grow: 1 !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-footer {
  grid-column: auto !important;
  grid-row: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  height: auto !important;
  margin-top: auto !important;
  padding: 12px 0 0 0 !important;
  border: 0 !important;
  border-top: 1px solid #f3f4f6 !important;
  width: 100% !important;
  background: transparent !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-footer::before {
  content: "Español" !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 2px 8px !important;
  background-color: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  line-height: 16px !important;
  color: #0a0a0a !important;
  background-image: url('/themes/custom/icac_theme/images/flags/flag-spain.webp') !important;
  background-repeat: no-repeat !important;
  background-position: left 8px center !important;
  background-size: 12px 12px !important;
  padding-left: 24px !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-new[data-lang="EN"] .ley-reglamento-card-footer::before {
  content: "Inglés" !important;
  background-image: url('/themes/custom/icac_theme/images/flags/flag-uk.webp') !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-footer a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 4px !important;
  color: #525252 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  font-size: 0 !important;
  color: transparent !important;
  overflow: hidden !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-footer a:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-footer a svg {
  color: #525252 !important;
  width: 16px !important;
  height: 16px !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-footer a:hover svg {
  color: #0a0a0a !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-footer > a:first-of-type,
.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-footer > .ley-reglamento-card-actions {
  margin-left: auto !important;
}

.ley-reglamento-page--normas.view-mode--cards .ley-reglamento-card-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 0 !important;
}

/* ===== Dropdown de Ordenar ===== */
.ley-reglamento-sort-wrapper {
  position: relative;
  display: inline-block;
}

.ley-reglamento-sort-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 100;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 4px;
  display: none;
}

.ley-reglamento-sort-dropdown.is-open {
  display: block;
}

.ley-reglamento-sort-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 14px;
  color: #525252;
  cursor: pointer;
  text-align: left;
}

.ley-reglamento-sort-dropdown button:hover {
  background: #f9fafb;
}

.ley-reglamento-sort-dropdown button.is-active {
  color: #b91c1c;
  font-weight: 600;
}

.ley-reglamento-sort-dropdown button.is-active::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 12px;
}

/* ===== Custom Dropdown for Tipo de Documento ===== */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.custom-dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  background: #f9fafb;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  color: #0a0a0a;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-dropdown__trigger:hover {
  border-color: #d4d4d4;
}

.custom-dropdown__trigger:focus {
  outline: none;
  border-color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.custom-dropdown__trigger-text {
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.custom-dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 8px;
  display: none;
  max-height: 320px;
  overflow-y: auto;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.custom-dropdown__menu.is-open {
  display: block;
}

.custom-dropdown__item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 14px;
  color: #0a0a0a;
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
  transition: background-color 0.15s;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.custom-dropdown__item:hover {
  background: #f3f4f6;
}

.custom-dropdown__item.is-active {
  background: #fef2f2;
  color: #b91c1c;
  font-weight: 600;
}


.custom-dropdown__divider {
  height: 1px;
  margin: 4px 8px;
  background: #e5e5e5;
  border: none;
}


/* -----------------------------------------------
   Normativa Europea: badge de idioma con bandera
----------------------------------------------- */
.ley-reglamento-page--normas .ley-reglamento-badge-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 2px 8px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #0a0a0a;
  white-space: nowrap;
}

.ley-reglamento-page--normas .ley-reglamento-badge-lang .ley-reglamento-flag {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

/* Override: en normativa europea, la columna de tipo muestra el badge-lang */
.ley-reglamento-page--normas .ley-reglamento-card-type {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 8px;
  border-bottom: 1px solid #e5e5e5;
}


/* -----------------------------------------------
   Custom Language Selector (Dropdown)
----------------------------------------------- */
.lang-selector {
  position: relative;
  width: 100%;
}

.lang-selector__trigger {
  cursor: pointer;
}

.lang-selector__trigger-flag,
.lang-selector__item-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.lang-selector__trigger-chevron {
  transition: transform 0.2s ease;
}

.lang-selector.is-open .lang-selector__trigger-chevron {
  transform: rotate(180deg);
}

.lang-selector__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 10;
  display: none;
}

.lang-selector.is-open .lang-selector__dropdown {
  display: block;
}

.lang-selector__list {
  list-style: none;
  margin: 0;
  padding: 4px;
}

.lang-selector__item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: #0a0a0a;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s ease;
}

.lang-selector__item:hover {
  background-color: #f5f5f5;
}

.lang-selector__item--active {
  background-color: #f8fafc;
  font-weight: 500;
}

/* -----------------------------------------------
   AUD_043: Botones de Editar y Añadir en Hero
----------------------------------------------- */
.ley-reglamento-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #1e3a8a;
  color: #fafafa;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}
.ley-reglamento-btn-secondary:hover {
  background-color: #172554;
  color: #ffffff;
}
.ley-reglamento-btn-edit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #b91c1c;
  color: #fafafa;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}
.ley-reglamento-btn-edit:hover {
  background-color: #991b1b;
  color: #ffffff;
}

/* Fix card layout for Ley y Reglamento page under grid view */
#ley-reglamento-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  width: 100%;
}

@media (min-width: 768px) {
  #ley-reglamento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#ley-reglamento-grid .ley-reglamento-card-new {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  background-color: #ffffff;
  border: 1px solid var(--base-border, #e5e5e5);
  border-radius: 12px;
  padding: 20px;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  min-height: 160px;
}

#ley-reglamento-grid .ley-reglamento-card-new.is-hidden,
#ley-reglamento-grid .ley-reglamento-card-new[style*="display: none"] {
  display: none !important;
}

#ley-reglamento-grid .ley-reglamento-card-new:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

#ley-reglamento-grid .ley-reglamento-card-image {
  display: none !important;
}

#ley-reglamento-grid .ley-reglamento-card-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  flex: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  gap: 12px !important;
}

#ley-reglamento-grid .ley-reglamento-card-type {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}

#ley-reglamento-grid .ley-reglamento-card-type .ley-reglamento-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 10px !important;
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
  border-radius: 999px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 16px !important;
  text-transform: none !important;
  border: none !important;
}

#ley-reglamento-grid .ley-reglamento-card-type .ley-reglamento-flag {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 2px !important;
  object-fit: cover !important;
}

#ley-reglamento-grid .ley-reglamento-card-title {
  display: block !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0a0a0a !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

#ley-reglamento-grid .ley-reglamento-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  margin-top: auto !important;
  border-top: 1px solid #f3f4f6 !important;
  padding-top: 12px !important;
}

#ley-reglamento-grid .ley-reglamento-card-footer::before {
  content: none !important;
  display: none !important;
}

#ley-reglamento-grid .ley-reglamento-card-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

#ley-reglamento-grid .ley-reglamento-btn-ghost-small {
  height: 32px !important;
  padding: 6px 14px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #0a0a0a !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s, border-color 0.2s !important;
  width: auto !important;
  overflow: visible !important;
}

#ley-reglamento-grid .ley-reglamento-btn-ghost-small svg {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  color: #525252 !important;
}

#ley-reglamento-grid .ley-reglamento-btn-ghost-small:hover {
  background-color: #f3f4f6 !important;
  border-color: #d4d4d4 !important;
}

@media (max-width: 640px) {
  #ley-reglamento-grid {
    grid-template-columns: 1fr !important;
  }
  #ley-reglamento-grid .ley-reglamento-card-new {
    padding: 16px !important;
  }
}


