/* Shared reading and touch layouts. Loaded after each page's own styles. */
:root { --sc-ink-soft: #a8a89b; --text-muted: #a8a89b; --text-soft: #96968b; }
html { scroll-padding-top: 112px; }
body { min-width: 0; }
img { max-width: 100%; }
a, button, input { -webkit-tap-highlight-color: rgba(25,221,242,.16); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #19DDF2; outline-offset: 5px;
}
.header-inner { gap: 16px; }
.header-inner .logo { flex-shrink: 0; }
.header-inner nav { display: flex; gap: 8px; align-items: center; }
.header-inner nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; color: #b9b9aa; }
.post-card { min-width: 0; display: flex; flex-direction: column; border-radius: 16px; }
.post-card .thumb { display: block; flex-shrink: 0; aspect-ratio: 16/9; overflow: hidden; background: #172223; }
.post-card .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card .body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.post-card :is(h2,h3) { font-size: 20px; line-height: 1.35; text-wrap: pretty; }
.post-card .excerpt { font-size: 15px; line-height: 1.6; color: #b4b4a7; -webkit-line-clamp: 3; margin-bottom: 16px; }
.post-card .tag { font-size: 11px; line-height: 1.5; margin-bottom: 10px; }
.post-card .meta { margin-top: auto; padding-top: 6px; flex-wrap: wrap; color: #a5a598; font-size: 12px; gap: 8px; }
.posts-header { gap: 16px; }
.posts-header > a { min-height: 44px; display: inline-flex; align-items: center; }
footer { color: #a8a89b; padding-inline: 16px; }
footer nav { gap: 8px 16px; }
footer nav a { color: #b4b4a7; min-height: 44px; display: inline-flex; align-items: center; }
.article-body { overflow-wrap: anywhere; }
.article-body table { display: block; overflow-x: auto; max-width: 100%; }
.article-body pre { max-width: 100%; }
.article-meta { flex-wrap: wrap; }
.article-tags { gap: 10px; }
.res-card .desc, .res-card .get-list, .more-card p { font-size: 15px; line-height: 1.65; }
.res-card .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.email-form input[type="email"] { font-size: 16px; min-width: 0; width: 100%; min-height: 48px; }
.email-form button { min-height: 48px; }

@media (max-width: 1100px) {
  [data-sc-in], [data-sc-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .cats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner, .hero-inner, .cats-inner, .posts-inner { padding-inline: 28px; }
  [data-page="home"] .hero { padding: 128px 0 48px; }
  .article-container { padding-top: 120px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 132px; }
  .mdf-header, header.header, header:not([class]) { padding: 8px 0; background: rgba(10,10,10,.96); }
  .site-header { height: auto; }
  .header-inner { padding-inline: 16px; gap: 4px; flex-direction: column; align-items: flex-start; height: auto; }
  .header-inner .logo img { height: 44px !important; width: auto; }
  .header-inner nav { width: 100%; gap: 8px; flex-wrap: wrap; }
  .header-inner nav a { min-height: 44px; font-size: 14px; padding: 0 8px; }
  .header-inner nav a:first-child { padding-left: 0; }
  main { padding: 136px 18px 40px; }
  [data-page="home"] main { padding: 0; }
  [data-page="home"] .hero { padding: 176px 0 40px; }
  .hero-inner, .cats-inner, .posts-inner { padding-inline: 20px; }
  [data-page="home"] .hero h1 { font-size: clamp(32px, 8.8vw, 46px); line-height: 1.1; text-wrap: balance; }
  .hero-inner > .sc-lede { font-size: 19px; line-height: 1.55; margin-top: 24px; }
  .hero-inner > .sc-body { font-size: 16px; line-height: 1.65; margin-top: 20px; }
  .hero-inner > div > a { min-height: 48px; display: inline-flex !important; align-items: center; justify-content: center; }
  .cats { padding-block: 32px; }
  .cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cats-grid > .cat-card:first-child { grid-column: 1 / -1; }
  .cats-grid > .cat-card:first-child h3 { white-space: nowrap; }
  .cat-card { padding: 18px 14px; }
  .cat-card h3 { font-size: 15px; line-height: 1.5; }
  .cat-card p { font-size: 13px; line-height: 1.6; color: #b4b4a7; }
  .card-grid, .more-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .posts-header { align-items: center; margin-bottom: 20px; }
  .posts-header h2 { font-size: 22px; }
  .post-card .body { padding: 22px 20px 24px; }
  .post-card :is(h2,h3) { font-size: 21px; line-height: 1.4; margin-bottom: 12px; }
  .post-card .excerpt { font-size: 15px; }
  .post-card .meta { font-size: 12px; }
  .article-container { padding: 140px 20px 44px; }
  .article-title { font-size: clamp(29px, 7.8vw, 38px); line-height: 1.17; }
  .article-summary { font-size: 17px; line-height: 1.65; padding-left: 16px; }
  .article-body h2 { font-size: 25px; line-height: 1.3; margin-top: 36px; }
  .article-body h3 { font-size: 21px; line-height: 1.4; }
  .article-body p, .article-body li { font-size: 17px; line-height: 1.8; }
  [data-page="recursos"] .hero { padding: 0; }
  .email-section { padding: 28px 18px; }
  .email-form { flex-direction: column; }
  .email-form button { width: 100%; }
  .res-card .btn { width: 100%; }
}
@media (max-width: 359px) {
  .cats-grid { grid-template-columns: minmax(0, 1fr); }
  .posts-header { flex-wrap: wrap; gap: 4px; }
}
@media (hover: none) {
  .post-card:hover, .cat-card:hover, .res-card:hover { transform: none; }
  .post-card:hover .thumb img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-sc-in], [data-sc-stagger] > * { opacity: 1 !important; transform: none !important; }
}
