/* #region zone:home.cookies-style — นโยบายคุกกี้ขาวดำ ตารางเป็นการ์ดบนมือถือ */
.doc {
  padding-bottom: 64px;
}
.doc h1 {
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.35;
}
.doc h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 21px;
  line-height: 1.5;
}
.doc p + p,
.doc p + .doc-list,
.doc p + .table-wrap,
.doc .table-wrap + p {
  margin-top: 12px;
}
.doc-updated {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
.doc-list {
  display: grid;
  gap: 8px;
  padding-left: 24px;
  list-style: disc;
}
.doc-list li::marker {
  color: var(--text);
}
.table-wrap {
  overflow-x: auto;
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}
.cookie-table th,
.cookie-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.cookie-table thead th {
  color: var(--muted);
  font-size: var(--fs-label);
  font-weight: 600;
  background: var(--bg);
}
.cookie-table code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bg);
  font:
    600 13px/1.6 ui-monospace,
    'SFMono-Regular',
    Consolas,
    monospace;
  overflow-wrap: anywhere;
}
.cookie-table .lbl,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.cookie-table th code {
  white-space: nowrap;
  overflow-wrap: normal;
}
/* Below 900px each cookie becomes its own card and the column heads move into the cells. */
@media (max-width: 899px) {
  .cookie-table thead {
    display: none;
  }
  .cookie-table,
  .cookie-table tbody,
  .cookie-table tr,
  .cookie-table th,
  .cookie-table td {
    display: block;
  }
  .cookie-table tr {
    margin-bottom: 12px;
    padding: 12px 16px;
    border: 0;
    border-radius: var(--r-card);
    background: var(--bg);
  }
  .cookie-table th,
  .cookie-table td {
    padding: 4px 0;
    border: 0;
    background: none;
  }
  .cookie-table .lbl {
    position: static;
    display: block;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    color: var(--muted);
    font-size: 13px;
  }
}
/* Privacy page top links: a 44px tap target each, with a gap so neighbours never touch. */

.cookies-page .policy-card section:first-child h2 {
  margin-top: 0;
}
.cookies-page .policy-card section {
  max-width: none;
}
.cookies-page .text-link {
  margin-top: 16px;
}
@media (max-width: 600px) {
  .cookies-page .page-nav {
    order: 3;
  }
}
/* #endregion */
