/* DictamenPro — Legal and Informational Pages Styles */
.legal-page {
  padding-top: 60px;
  padding-bottom: 90px;
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.legal-header h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 16px 0 12px;
}

.legal-meta {
  font-size: 13px;
  color: var(--muted);
}

.legal-content {
  font-size: 15px;
  line-height: 1.8;
  color: #27434e;
}

.legal-content h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 40px 0 16px;
  font-weight: 600;
}

.legal-content h3 {
  font-size: 18px;
  color: var(--ink);
  margin: 28px 0 12px;
  font-weight: 600;
}

.legal-content p {
  margin: 0 0 18px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--ink);
}

/* Legal callout box */
.legal-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 28px;
  margin: 30px 0;
}

.legal-box-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.legal-box-title .icon {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
  fill: none;
}

/* Cookie Table */
.cookie-table-wrapper {
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.cookie-table th {
  background: #edf2ee;
  color: var(--ink);
  padding: 12px 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.cookie-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eef2ed;
  vertical-align: top;
}

.cookie-table tr:last-child td {
  border-bottom: 0;
}

.cookie-table code {
  background: #e7eeea;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: Consolas, monospace;
  font-size: 12px;
  color: var(--ink);
}

/* Interactive Cookie Preference Box */
.preference-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  margin: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.preference-card-text strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.preference-card-text p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 760px) {
  .legal-page {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .preference-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .preference-card .button {
    width: 100%;
    justify-content: center;
  }
}
