/* Help center: same "papel de regalo" style as the site (cream paper, leaf green, Onest; Young Serif only for the big titles). */
:root {
  --ink: #111111;
  --muted: #555555;
  --paper: #fbf6ee;
  --paper-line: #e6dfd3;
  --white: #ffffff;
  --green: #1f6b45;
  --green-dark: #0f6b4c;
  --mint-soft: #ecfbf5;
  --blush-soft: #fff1f6;
  --red: #ff4a2e;
  --lift: 0 12px 32px rgba(20, 45, 32, 0.1);
  --display: 'Young Serif', Georgia, serif;
  --body: 'Onest', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
a { color: var(--ink); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; height: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Header and footer */
.top { background: var(--white); border-bottom: 1px solid var(--paper-line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.brand-help { font-weight: 700; font-size: 15px; padding: 3px 12px; border-radius: 99px; background: var(--mint-soft); color: var(--green-dark); }
.back { font-size: 15px; font-weight: 500; }
.foot { margin-top: 72px; background: var(--white); border-top: 1px solid var(--paper-line); padding: 40px 0; }
.foot-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot p { margin: 4px 0 14px; color: var(--muted); }
.foot nav { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.btn { display: inline-block; background: var(--green); color: var(--white); text-decoration: none; font-weight: 700; padding: 10px 22px; border-radius: 99px; }
.btn:hover { background: #17583a; color: var(--white); }

/* Home */
.hero { padding: 56px 0 32px; text-align: center; }
.hero h1 { font: 400 clamp(34px, 6vw, 52px)/1.1 var(--display); margin: 0 0 24px; letter-spacing: -0.01em; }
.hero .lead { margin-inline: auto; }
.search { display: flex; gap: 8px; max-width: 620px; margin: 0 auto; background: var(--white); border: 1.5px solid #8a8378; border-radius: 99px; padding: 6px; }
.search:focus-within { border-color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 8px 14px; outline: none; }
.search button { border: 0; background: var(--green); color: var(--white); font: 700 15px var(--body); padding: 0 20px; border-radius: 99px; cursor: pointer; }
.results { max-width: 620px; margin: 12px auto 0; text-align: left; background: var(--white); border: 1px solid var(--paper-line); border-radius: 16px; box-shadow: var(--lift); overflow: hidden; }
.results a { display: grid; gap: 2px; padding: 14px 18px; text-decoration: none; border-top: 1px solid var(--paper-line); }
.results a:first-child { border-top: 0; }
.results a:hover { background: var(--paper); color: var(--ink); }
.results .in { font-size: 12px; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.06em; }
.results span:last-child { font-size: 15px; color: var(--muted); }
.results .empty { margin: 0; padding: 16px 18px; color: var(--muted); }
.sections { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.section-card { background: var(--white); border: 1px solid var(--paper-line); border-radius: 18px; padding: 22px 24px; box-shadow: var(--lift); }
.section-card > a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.section-title { font-weight: 700; font-size: 20px; }
.section-card > p { margin: 8px 0 12px; color: var(--muted); font-size: 15px; }
.section-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
.section-card .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--green-dark); }
.ico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--mint-soft); color: var(--green-dark); flex: none; }

/* Section page */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 24px; }
.crumbs a { color: var(--muted); }
.head { display: flex; gap: 16px; align-items: flex-start; margin: 20px 0 24px; }
.head .ico { width: 52px; height: 52px; padding: 11px; }
h1 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
.lead { color: var(--muted); font-size: 18px; margin: 8px 0 0; max-width: 640px; }
.article-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.article-list a { display: grid; gap: 2px; padding: 16px 20px; background: var(--white); border: 1px solid var(--paper-line); border-radius: 14px; text-decoration: none; }
.article-list a:hover { border-color: var(--green); color: var(--ink); }
.article-list span { color: var(--muted); font-size: 15px; }

/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; margin-top: 20px; align-items: start; }
.article { background: var(--white); border: 1px solid var(--paper-line); border-radius: 20px; padding: clamp(22px, 4vw, 44px); }
.article .lead { margin-bottom: 8px; }
.article h2 { font-size: 22px; margin: 32px 0 8px; }
.article h3 { font-size: 18px; margin: 24px 0 6px; }
.article p, .article li { max-width: 68ch; }
.article ol, .article ul { padding-left: 1.3em; }
.article li { margin: 6px 0; }
.article ol > li::marker { font-weight: 700; color: var(--green-dark); }
.article code { background: var(--paper); border: 1px solid var(--paper-line); border-radius: 6px; padding: 1px 6px; font-size: 0.88em; }
.article pre { background: #111; color: #e9f6ee; border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: 14px; }
.article pre code { background: none; border: 0; padding: 0; color: inherit; }
.tip { background: var(--mint-soft); border-radius: 14px; padding: 4px 20px; margin: 20px 0; }
.tip strong:first-child { color: var(--green-dark); }
.shot { margin: 20px 0; }
.shot img { display: block; border-radius: 14px; border: 1px solid var(--paper-line); box-shadow: var(--lift); }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--paper-line); }
.pager a { display: grid; gap: 2px; text-decoration: none; font-weight: 700; max-width: 48%; }
.pager span { font-size: 13px; font-weight: 500; color: var(--muted); }
.pager .next { text-align: right; margin-left: auto; }
.side { position: sticky; top: 24px; }
.side-title { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-dark); margin-bottom: 10px; }
.side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: 15px; }
.side a { display: block; padding: 6px 12px; border-radius: 10px; text-decoration: none; }
.side a[aria-current] { background: var(--ink); color: var(--white); }
.side a:hover:not([aria-current]) { background: var(--white); }

@media (max-width: 860px) {
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .side { position: static; }
  .back { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand img { height: 34px; }
  .search button { padding: 0 14px; }
  .sections { grid-template-columns: 1fr; }
}
