/* Editorial layout used only by /catalogos-carta-porte. */
.doc .lede { color: #45433e; }
.catalog-map { margin: 24px 0; }
.doc .catalog-map h2 { margin-top: 0; }
.catalog-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.catalog-card { display: flex; flex-direction: column; gap: 10px; border: 1px solid #c9c0af; border-top: 3px solid #8d1715; padding: 18px; border-radius: 6px; color: #242424; background: #fffcf5; text-decoration: none; }
.catalog-card:hover { border-color: #8d1715; }
.catalog-card:focus-visible, .doc .table-wrap:focus-visible { outline: 3px solid #8d1715; outline-offset: 4px; }
.catalog-card strong { font-size: 1.1rem; line-height: 1.35; }
.catalog-label { color: #625343; font-size: .75rem; font-weight: 600; line-height: 1.5; letter-spacing: .04em; }
.catalog-action { margin-top: auto; color: #8d1715; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.catalog-geography { scroll-margin-top: 100px; }
#transporte { scroll-margin-top: 100px; }
.catalog-countries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.catalog-countries > div { padding: 16px; background: #eee9dd; border-radius: 6px; }
.doc .catalog-countries h3 { margin: 0 0 10px; font-family: "IBM Plex Sans", sans-serif; }
.doc .catalog-countries p { margin: 8px 0; }
.doc .catalog-rule { font-size: .8rem; color: #574d42; font-weight: 600; }
.doc .catalog-steps li { margin-bottom: 12px; padding-left: 6px; }
.catalog-example { border-left: 3px solid #8d1715; padding: 12px 16px; background: #fffcf5; }
.doc code { overflow-wrap: anywhere; }
.doc table { table-layout: fixed; }
.doc th, .doc td { overflow-wrap: anywhere; }
.doc caption { text-align: left; color: #45433e; margin-bottom: 8px; }
@media (max-width: 640px) {
  .catalog-cards, .catalog-countries { grid-template-columns: 1fr; }
  .doc table { min-width: 620px; }
  .doc .table-wrap { border: 1px solid #c9c0af; }
  .doc h1 { line-height: 1.15; }
}
