/* ====================================================================
   bemed-legal.css
   BEMED Clinic — Legal pages (Cookie Szabályzat + Adatvédelem)
   v1.0
   Every selector scoped under .bemed-legal.
   ==================================================================== */

.bemed-legal {
  --bl-gold-100:   #F0E6D2;
  --bl-gold-400:   #C7A86C;
  --bl-gold-500:   #BE9B5D;
  --bl-gold-600:   #A8854A;
  --bl-gold-700:   #876A3A;
  --bl-sand-100:   #F5F1E9;
  --bl-sand-200:   #ECE6DA;
  --bl-sand-300:   #DED6C6;
  --bl-sand-400:   #C5BAA6;
  --bl-sand-500:   #9E9382;
  --bl-sand-600:   #756C5D;
  --bl-sand-700:   #514A3F;
  --bl-ivory:      #FBF9F5;
  --bl-ink:        #1B1813;
  --bl-serif:      "Cormorant Garamond", Georgia, serif;
  --bl-sans:       "Jost", "Century Gothic", system-ui, sans-serif;

  font-family: var(--bl-sans);
  color: var(--bl-ink);
  background: var(--bl-ivory);
  -webkit-font-smoothing: antialiased;
}

/* Hero — clinic photo background, centered title */
.bemed-legal .bl-hero {
  position: relative;
  height: 440px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bemed-legal .bl-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bemed-legal .bl-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 64% 52% at 50% 44%, rgba(27,24,19,.46) 0%, rgba(27,24,19,0) 72%),
    linear-gradient(180deg, rgba(27,24,19,.40) 0%, rgba(27,24,19,.16) 30%, rgba(251,249,245,.10) 64%, var(--bl-ivory) 100%);
}
.bemed-legal .bl-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 0;
}
.bemed-legal .bl-hero__eyebrow {
  font-family: var(--bl-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bl-gold-400);
  margin: 0 0 14px;
  text-shadow: 0 1px 6px rgba(27,24,19,.5);
}
.bemed-legal .bl-hero__title {
  font-family: var(--bl-serif);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 24px rgba(27,24,19,.6), 0 1px 4px rgba(27,24,19,.4);
}

/* Wrapper */
.bemed-legal .bl-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 40px 96px;
}

/* Meta info block (Hatályos / Adatkezelő / Cím / E-mail) */
.bemed-legal .bl-meta {
  padding: 28px 32px;
  background: var(--bl-sand-100);
  border: 1px solid var(--bl-sand-200);
  border-left: 3px solid var(--bl-gold-500);
  border-radius: 0 8px 8px 0;
  margin-bottom: 64px;
}
.bemed-legal .bl-meta p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--bl-sand-700);
  margin: 0 0 6px;
}
.bemed-legal .bl-meta p:last-child { margin-bottom: 0; }
.bemed-legal .bl-meta p:first-child {
  font-weight: 500;
  color: var(--bl-ink);
  margin-bottom: 12px;
}
.bemed-legal .bl-meta strong { font-weight: 500; color: var(--bl-ink); }
.bemed-legal .bl-meta a { color: var(--bl-gold-600); text-decoration: none; }
.bemed-legal .bl-meta a:hover { color: var(--bl-gold-700); }
.bemed-legal .bl-meta__label { color: var(--bl-gold-700); }

/* Section (numbered) */
.bemed-legal .bl-section { margin-bottom: 56px; }
.bemed-legal .bl-section__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bl-sand-200);
  margin-bottom: 24px;
}
.bemed-legal .bl-section__num {
  font-family: var(--bl-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--bl-gold-500);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.bemed-legal .bl-section__title {
  font-family: var(--bl-serif);
  font-weight: 300;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--bl-ink);
  margin: 0;
}
.bemed-legal .bl-section p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--bl-sand-700);
  margin: 0 0 16px;
}
.bemed-legal .bl-section p:last-child { margin-bottom: 0; }
.bemed-legal .bl-section a {
  color: var(--bl-gold-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(190,155,93,0.3);
  transition: color 200ms, border-color 200ms;
}
.bemed-legal .bl-section a:hover {
  color: var(--bl-gold-700);
  border-color: var(--bl-gold-700);
}
.bemed-legal .bl-section strong { font-weight: 500; color: var(--bl-ink); }

/* Subsection (h3 with gold dash) */
.bemed-legal .bl-subsection { margin-bottom: 40px; }
.bemed-legal .bl-subsection:last-child { margin-bottom: 0; }
.bemed-legal .bl-subsection__title {
  font-family: var(--bl-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bl-gold-700);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bemed-legal .bl-subsection__title::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--bl-gold-500);
}
.bemed-legal .bl-subsection p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--bl-sand-700);
  margin: 0 0 20px;
}

/* Table (cookie rows) */
.bemed-legal .bl-table-wrap {
  border: 1px solid var(--bl-sand-200);
  border-radius: 8px;
  overflow: hidden;
}
.bemed-legal .bl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
.bemed-legal .bl-table thead tr { background: var(--bl-gold-100); }
.bemed-legal .bl-table th {
  padding: 13px 18px;
  text-align: left;
  font-family: var(--bl-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bl-gold-700);
  border-bottom: 1px solid var(--bl-gold-400);
}
.bemed-legal .bl-table tbody tr { border-bottom: 1px solid var(--bl-sand-200); }
.bemed-legal .bl-table tbody tr:nth-child(even) { background: var(--bl-ivory); }
.bemed-legal .bl-table tbody tr:last-child { border-bottom: none; }
.bemed-legal .bl-table td {
  padding: 13px 18px;
  color: var(--bl-sand-700);
  font-weight: 300;
  vertical-align: top;
}
.bemed-legal .bl-table td code,
.bemed-legal .bl-table td:first-child {
  color: var(--bl-ink);
  font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  background: none;
  padding: 0;
}

/* List with gold dots */
.bemed-legal .bl-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bemed-legal .bl-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--bl-sand-700);
}
.bemed-legal .bl-list li::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  background: var(--bl-gold-500);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 9px;
}
.bemed-legal .bl-list a { color: var(--bl-gold-600); text-decoration: none; }
.bemed-legal .bl-list a:hover { color: var(--bl-gold-700); }

/* Back to home link */
.bemed-legal .bl-back-wrap {
  border-top: 1px solid var(--bl-sand-200);
  padding-top: 40px;
}
.bemed-legal .bl-back {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bl-sand-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 200ms;
}
.bemed-legal .bl-back:hover { color: var(--bl-ink); }

/* Responsive */
@media (max-width: 720px) {
  .bemed-legal .bl-hero { height: 320px; }
  .bemed-legal .bl-hero__content { padding-top: 100px; }
  .bemed-legal .bl-wrap { padding: 48px 24px 64px; }
  .bemed-legal .bl-meta { padding: 22px 24px; margin-bottom: 48px; }
  .bemed-legal .bl-section { margin-bottom: 44px; }
  .bemed-legal .bl-section__head { gap: 12px; margin-bottom: 18px; }
  .bemed-legal .bl-table-wrap { overflow-x: auto; }
  .bemed-legal .bl-table { min-width: 520px; }
}
