/* Extra styles for abroad.html and ar/abroad.html only. Builds on assets/style.css and assets/shop.css (uses their CSS variables and classes). */
.abroad-sec { margin: 38px 0 0; scroll-margin-top: 76px; }
.abroad-sec > h2 { margin-bottom: .25em; }
.abroad-sec h3.sub { margin: 1.4em 0 .4em; font-size: 1.12rem; }
.abroad-sec .tbl-note { font-size: .88rem; color: var(--muted); margin: -.4em 0 1em; }

.aud-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
.aud-grid > .card + .card { margin-top: 0; }
.aud-card h3 { margin-bottom: .35em; }
.aud-card p { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
.aud-card .aud-links { font-size: .92rem; margin: 0; color: var(--text); }
.aud-card .aud-links strong { color: var(--text); }

.abroad-sec .table-wrap td, .abroad-sec .table-wrap th { vertical-align: top; }
.abroad-sec td.txt, .abroad-sec th.txt { min-width: 0; }
.abroad-sec td .tag-first { display: inline-block; font-size: .72rem; font-weight: 700; padding: .05rem .5rem; border-radius: 999px; background: var(--ok-soft); color: var(--ok); border: 1px solid var(--ok); margin-inline-start: .4em; white-space: nowrap; }
.abroad-sec td .price-num { font-weight: 800; color: var(--primary); white-space: nowrap; }
.abroad-sec .cell-list { margin: 0; padding-left: 1.1em; }
[dir="rtl"] .abroad-sec .cell-list { padding-left: 0; padding-right: 1.1em; }

.pay-steps { margin-top: 12px; }
.src-line { font-size: .88rem; color: var(--muted); }

/* Narrow screens: turn table rows into stacked cards so nothing needs horizontal scrolling */
@media (max-width: 699px) {
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
  .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack-table tr { border-bottom: 1px solid var(--border); padding: .5rem 0; }
  .stack-table tr:last-child { border-bottom: 0; }
  .stack-table td { border: 0; padding: .3rem .8rem; text-align: left; }
  [dir="rtl"] .stack-table td { text-align: right; }
  .stack-table td::before { content: attr(data-label); display: block; font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
  [dir="rtl"] .stack-table td::before { text-transform: none; letter-spacing: 0; }
  .stack-table td.row-head { font-weight: 700; font-size: 1.02rem; padding-top: .5rem; }
  .stack-table td.row-head::before { display: none; }
  .stack-table td.row-head .tag-first { margin-top: .2rem; }
}
@media (min-width: 700px) {
  .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- QA pass ---- */
.abroad-sec td .tag-first { font-size: .75rem; }
@media (prefers-color-scheme: light) { .abroad-sec td .tag-first { color: #116530; } }

/* ---- Copy and design pass: quieter labels, one accent ---- */
.abroad-sec td .tag-first { background: transparent; color: var(--muted); border-color: var(--border); font-weight: 600; }
@media (prefers-color-scheme: light) { .abroad-sec td .tag-first { color: var(--muted); } }
.price-rule { margin: 14px 0 0; padding: 0 0 0 .75rem; border-left: 3px solid var(--primary); max-width: 72ch; font-size: .95rem; }
[dir="rtl"] .price-rule { padding: 0 .75rem 0 0; border-left: 0; border-right: 3px solid var(--primary); }
