/* ─── OCHRANA OSOBNÝCH ÚDAJOV PAGE ───────────────────────── */

/* ─── HERO ─── */
.ochrana-hero {
  background: var(--clr-brand);
  padding: calc(var(--nav-h) + 56px) 32px 56px;
  position: relative;
  overflow: hidden;
}

.ochrana-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.ochrana-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ochrana-breadcrumb {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ochrana-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
}

.ochrana-breadcrumb a:hover { color: #fff; }

.ochrana-hero h1 {
  font-family: "Jost", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.ochrana-hero-meta {
  font-family: "DM Sans", sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}

/* ─── LAYOUT ─── */
.ochrana-main {
  background: #f8fafa;
  padding: 64px 32px 96px;
}

.ochrana-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

/* ─── TOC (sidebar) ─── */
.ochrana-toc {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  background: #fff;
  border: 1px solid rgba(175,200,200,0.25);
  border-radius: 16px;
  padding: 28px 24px;
}

.toc-heading {
  font-family: "Jost", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-brand);
  margin-bottom: 16px;
}

.toc-list {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-list li {
  counter-increment: toc;
}

.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: #5a6a6a;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1.4;
}

.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: "Jost", sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(175,200,200,0.7);
  flex-shrink: 0;
}

.toc-list a:hover {
  background: rgba(175,200,200,0.1);
  color: var(--clr-dark);
}

/* ─── CONTENT ─── */
.ochrana-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Intro box */
.ochrana-intro-box {
  display: flex;
  gap: 18px;
  background: rgba(175,200,200,0.1);
  border: 1px solid rgba(175,200,200,0.3);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.ochrana-intro-box svg {
  width: 22px;
  height: 22px;
  stroke: var(--clr-brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.ochrana-intro-box p {
  font-family: "DM Sans", sans-serif;
  font-size: 14.5px;
  line-height: 1.75;
  color: #4a5a5a;
}

.ochrana-intro-box strong {
  color: var(--clr-dark);
  font-weight: 500;
}

/* Section */
.ochrana-section {
  padding: 48px 0;
  border-bottom: 1px solid rgba(175,200,200,0.18);
}

.ochrana-section:last-child {
  border-bottom: none;
}

.ochrana-section h2 {
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--clr-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-num {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--clr-brand);
  background: rgba(175,200,200,0.12);
  border: 1px solid rgba(175,200,200,0.3);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ochrana-section p {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #4a5a5a;
  margin-bottom: 16px;
}

.ochrana-section p:last-child { margin-bottom: 0; }

.ochrana-section a {
  color: var(--clr-brand);
  text-decoration: underline;
  text-decoration-color: rgba(175,200,200,0.4);
  transition: text-decoration-color 0.2s ease;
}

.ochrana-section a:hover {
  text-decoration-color: var(--clr-brand);
}

.sub-heading {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--clr-dark);
  margin: 24px 0 10px;
}

/* Info card (prevádzkovateľ) */
.info-card {
  background: #fff;
  border: 1px solid rgba(175,200,200,0.28);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 20px 0 20px;
}

.info-dl {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-row {
  display: flex;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(175,200,200,0.12);
}

.info-row:last-child { border-bottom: none; }

.info-row dt {
  font-family: "Jost", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(175,200,200,0.85);
  flex-shrink: 0;
  width: 110px;
  padding-top: 2px;
}

.info-row dd {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #3a4a4a;
  line-height: 1.55;
}

.info-row dd a {
  color: var(--clr-brand);
  text-decoration: none;
}

.info-row dd a:hover { text-decoration: underline; }

/* Purpose grid */
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 20px;
}

.purpose-card {
  background: #fff;
  border: 1px solid rgba(175,200,200,0.22);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.purpose-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(175,200,200,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.purpose-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--clr-brand);
}

.purpose-card h3 {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--clr-dark);
  line-height: 1.3;
}

.purpose-card p {
  font-family: "DM Sans", sans-serif;
  font-size: 13.5px;
  line-height: 1.7;
  color: #6a7a7a;
  margin-bottom: 0;
}

/* Tables */
.ochrana-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: "DM Sans", sans-serif;
  font-size: 13.5px;
  background: #fff;
  border: 1px solid rgba(175,200,200,0.22);
  border-radius: 12px;
  overflow: hidden;
}

.ochrana-table thead tr {
  background: rgba(175,200,200,0.1);
}

.ochrana-table th {
  padding: 13px 18px;
  text-align: left;
  font-family: "Jost", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(175,200,200,0.85);
  border-bottom: 1px solid rgba(175,200,200,0.2);
}

.ochrana-table td {
  padding: 12px 18px;
  color: #4a5a5a;
  border-bottom: 1px solid rgba(175,200,200,0.1);
  line-height: 1.5;
  vertical-align: top;
}

.ochrana-table tr:last-child td {
  border-bottom: none;
}

.ochrana-table tr:nth-child(even) td {
  background: rgba(175,200,200,0.03);
}

/* List */
.ochrana-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 16px;
  padding: 0;
}

.ochrana-list li {
  font-family: "DM Sans", sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: #4a5a5a;
  padding-left: 20px;
  position: relative;
}

.ochrana-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-brand);
  opacity: 0.7;
}

.ochrana-list strong {
  color: var(--clr-dark);
  font-weight: 500;
}

/* Rights grid */
.rights-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0;
  background: #fff;
  border: 1px solid rgba(175,200,200,0.22);
  border-radius: 16px;
  overflow: hidden;
}

.right-item {
  display: flex;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(175,200,200,0.12);
  align-items: flex-start;
  transition: background 0.2s ease;
}

.right-item:last-child { border-bottom: none; }
.right-item:hover { background: rgba(175,200,200,0.04); }

.right-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(175,200,200,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.right-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--clr-brand);
}

.right-item h3 {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--clr-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.right-item p {
  font-size: 13.5px;
  color: #6a7a7a;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Highlight box (dozorný orgán) */
.highlight-box {
  background: rgba(175,200,200,0.07);
  border: 1px solid rgba(175,200,200,0.25);
  border-left: 4px solid var(--clr-brand);
  border-radius: 0 12px 12px 0;
  padding: 22px 28px;
  margin: 24px 0;
}

.highlight-box h3 {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--clr-dark);
  margin-bottom: 10px;
}

.highlight-box p {
  font-size: 14px;
  color: #4a5a5a;
  line-height: 1.7;
  margin-bottom: 8px;
}

.highlight-box p:last-child { margin-bottom: 0; }

/* Version note */
.ochrana-version {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  color: rgba(175,200,200,0.7);
  letter-spacing: 0.06em;
  margin-top: 8px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .ochrana-layout {
    grid-template-columns: 190px 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .ochrana-main {
    padding: 48px 20px 72px;
  }

  .ochrana-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ochrana-toc {
    position: static;
  }

  .toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .ochrana-table {
    font-size: 12.5px;
  }

  .ochrana-table th,
  .ochrana-table td {
    padding: 10px 14px;
  }
}

@media (max-width: 560px) {
  .ochrana-hero {
    padding: calc(var(--nav-h) + 36px) 20px 40px;
  }

  .ochrana-section h2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .info-row {
    flex-direction: column;
    gap: 3px;
  }

  .info-row dt {
    width: auto;
  }

  .right-item {
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
  }

  .ochrana-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
