/* ===========================
   Domain & Trade Mark Index
   =========================== */

.domain-trademark-index {
  max-width: 860px;
  margin: 3rem auto;
  padding: 0 1.25rem;
  /*font-family: "Roboto", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;"*/
  color: #1d1d1b;
}

/* Section heading */
.domain-trademark-index h2 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #2a2a2a;
}

/* Subtitle TM only */
/**/
.subtitleTM {
  font-size: 1.4rem;
  font-weight: 600;
  /*font-style: italic;*/
  color: var(--text);
  max-width: 36rem;
  margin: 0 auto 2rem auto; /* center subtitle */
  text-align: center;
}
/*
p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  max-width: 10ch;
  text-align: justify;
  margin-left: auto;
  margin-right: auto;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
*/

/* ===========================
   Table Base
   =========================== */

.domain-index {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
}

/* Header */
.domain-index thead th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  background: #f4f4f4;
  color: #444;
  border-bottom: 1px solid #ddd;
}

/* Rows */
.domain-index tbody tr {
  border-bottom: 1px solid #e2e2e2;
}

.domain-index tbody tr:last-child {
  border-bottom: none;
}

/* Cells */
.domain-index td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  vertical-align: top;
}

/* Domain column slightly stronger */
.domain-index td:first-child a {
  font-weight: 500;
}

/* Links */
.domain-index a {
  color: #1d1d1b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.domain-index a:hover,
.domain-index a:focus {
  border-bottom-color: #1d1d1b;
}

/* Trade mark emphasis */
.domain-index td:nth-child(2) a {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* NONE placeholder */
.domain-index a[href*="no-trade-mark"] {
  font-weight: 400;
  color: #777;
  letter-spacing: 0.02em;
}

/* ===========================
   Material-style Row Hover
   =========================== */

.domain-index tbody tr:hover {
  background: #fafafa;
}

/* ===========================
   Responsive Refinement
   =========================== */

@media (max-width: 640px) {
  .domain-index thead {
    display: none;
  }

  .domain-index tr {
    display: block;
    padding: 0.75rem 0;
  }

  .domain-index td {
    display: block;
    padding: 0.25rem 1rem;
  }

  .domain-index td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
    margin-bottom: 0.15rem;
  }
}
