/* page-macro-country.css -- the styles of inflation-by-country.html and gdp-growth-by-country.html that no other page
   uses (sprint mcseo1). Tokens only (tokens.css); the CTA follows page-sector-rotation.css. Mobile first. */

p.lede { margin-bottom: 8px; }
.cta-row { margin: 28px 0 8px; }
.cta-row a { display: block; text-align: center; background: var(--green-dark); color: var(--white); padding: 13px 26px; border-radius: var(--radius-control); text-decoration: none; font-size: 14px; font-weight: var(--fw-medium); }
.cta-row a:hover { background: var(--green-hover); }

.mc-asof { color: var(--slate); font-size: var(--fs-small); margin-bottom: 8px; }
.mc-note { color: var(--muted); font-size: var(--fs-small); margin-top: 10px; }
.mc-sources { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 18px; overflow-wrap: anywhere; }

/* Phone: one card per country. Name and value on the first line, then period, release date and source. */
.mc-table { width: 100%; border-collapse: collapse; margin: 8px 0 4px; font-size: var(--fs-small); }
.mc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mc-table tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; background: var(--panel); border: var(--hairline); border-radius: var(--radius-card); padding: 10px 14px; margin-bottom: 8px; }
.mc-table th[scope="row"] { text-align: left; font-weight: var(--fw-semibold); color: var(--charcoal); }
.mc-table td { color: var(--slate); }
.mc-table .mc-val { font-family: var(--mono); font-weight: var(--fw-semibold); color: var(--charcoal); text-align: right; white-space: nowrap; }
.mc-table .mc-per, .mc-table .mc-rel, .mc-table .mc-src { grid-column: 1 / -1; font-size: 13px; }
.mc-table .mc-per::before, .mc-table .mc-rel::before, .mc-table .mc-src::before { content: attr(data-label) ": "; color: var(--muted); }
.mc-table .mc-held td, .mc-table .mc-missing td { grid-column: 1 / -1; color: var(--muted); }
.mc-table tfoot tr { background: transparent; border-style: dashed; }

/* Wider screens: a plain table. */
@media (min-width: 720px) {
  .mc-table { border-collapse: separate; border-spacing: 0; }
  .mc-table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .mc-table tr { display: table-row; background: none; border: 0; padding: 0; margin: 0; }
  .mc-table th, .mc-table td { padding: 10px 12px; text-align: left; vertical-align: top; background: var(--panel); border-bottom: var(--hairline); }
  .mc-table tr > :first-child { border-left: var(--hairline); }
  .mc-table tr > :last-child { border-right: var(--hairline); }
  .mc-table thead th { border-top: var(--hairline); font-family: var(--mono); font-size: var(--fs-label); font-weight: var(--fw-medium); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
  .mc-table thead th:first-child { border-top-left-radius: var(--radius-card); }
  .mc-table thead th:last-child { border-top-right-radius: var(--radius-card); }
  .mc-table .mc-per::before, .mc-table .mc-rel::before, .mc-table .mc-src::before { content: none; }
  .mc-table .mc-per, .mc-table .mc-rel { white-space: nowrap; }
  .mc-table .mc-val { text-align: right; }
  .mc-table tfoot th, .mc-table tfoot td { background: transparent; font-style: italic; }
  .cta-row a { display: inline-block; }
}

.faq-list h3 { margin-top: 24px; }
