/* Mobile-first Blog Styling - Notion-inspired */
:root {
  --text-primary: #37352f;
  --text-secondary: #787774;
  --text-link: #0073e6;
  --bg-primary: #ffffff;
  --bg-secondary: #f7f6f3;
  --bg-hover: #f1f1ef;
  --border-color: #e9e9e7;
  --border-subtle: rgba(55, 53, 47, 0.08);
  --accent-green: #0f7b6c;
  --accent-yellow: #dfab01;
  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Base Typography */
.blog-lockpicking {
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
  max-width: 100%;
}

.blog-lockpicking * {
  box-sizing: border-box;
}

/* Headings */
.blog-lockpicking h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  padding: 0;
  border: none;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.blog-lockpicking h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.blog-lockpicking p {
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

/* Table of Contents */
.toc-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 1rem;
  margin: 1.5rem 0;
}

.toc-container h2 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
  border: none;
}

.toc-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-container li {
  padding: 0.25rem 0;
  border: none;
}

.toc-container a {
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  transition: background 0.1s ease;
}

.toc-container a:hover {
  background: var(--bg-hover);
  padding-left: 0.5rem;
}

.toc-container a::before {
  content: none;
}

/* Images */
.blog-image-container {
  margin: 1.5rem 0;
  background: transparent;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: none;
}

.blog-image-container img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border-color);
  border-radius: 3px;
}

.blog-image-container figcaption {
  padding: 0.5rem 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border: none;
}

/* Info Boxes - Simplified */
.highlight-box,
.warning-box,
.pro-tip,
.cta-tip,
.info-box {
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 3px;
  border-left: 3px solid var(--text-secondary);
  background: var(--bg-secondary);
}

.warning-box {
  border-left-color: var(--accent-yellow);
  background: rgba(223, 171, 1, 0.05);
}

.pro-tip {
  border-left-color: var(--accent-green);
  background: rgba(15, 123, 108, 0.05);
}

/* Lists */
.blog-lockpicking ul,
.blog-lockpicking ol {
  margin: 0 0 0.75rem;
  padding-left: 1.5rem;
  color: var(--text-primary);
}

.blog-lockpicking li {
  margin: 0.25rem 0;
  line-height: 1.5;
}

/* How-to & FAQ Sections */
.schema-how-to,
.schema-faq-section {
  background: transparent;
  padding: 0;
  margin: 1.5rem 0;
  box-shadow: none;
  border: none;
}

.schema-how-to-step {
  background: var(--bg-secondary);
  border-left: 2px solid var(--border-color);
  border-radius: 3px;
  padding: 1rem;
  margin: 0.75rem 0;
  position: relative;
}

.schema-how-to-step::before {
  content: counter(step-counter);
  position: absolute;
  left: -1rem;
  top: 1rem;
  background: var(--bg-primary);
  color: var(--text-secondary);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.schema-faq-question {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.schema-faq-question::before {
  content: none;
}

/* Tables */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

.specs-table th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.5rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.specs-table td {
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.specs-table tr:nth-child(even) {
  background: transparent;
}

/* CTA Elements */
.product-cta {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background: var(--text-link);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.1s ease;
  font-size: 0.875rem;
}

.cta-button:hover {
  opacity: 0.85;
  transform: none;
}

/* Video Container */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: 3px;
  box-shadow: none;
  border: 1px solid var(--border-color);
}

/* Tablet styles */
@media (min-width: 768px) {
  .blog-lockpicking {
    padding: 2rem;
    max-width: 720px;
    margin: 0 auto;
  }

  .blog-lockpicking h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
  }

  .blog-lockpicking h3 {
    font-size: 1.375rem;
    margin: 2rem 0 0.75rem;
  }

  .toc-container {
    padding: 1.5rem;
  }

  .specs-table {
    font-size: 0.9375rem;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.75rem;
  }
}

/* Desktop styles */
@media (min-width: 1024px) {
  .blog-lockpicking {
    max-width: 900px;
    padding: 3rem;
  }
}

.tekst-container {
  display: flex; /* Activeert Flexbox */
  flex-wrap: wrap; /* Zorgt dat items onder elkaar springen als er geen ruimte is */
  align-items: flex-start; /* Lijnt de bovenkant van de tekst en afbeelding uit */
  margin-bottom: 20px; /* Ruimte tussen de containers */
}

.tekst-content {
  flex: 1; /* Zorgt dat de tekst alle beschikbare ruimte inneemt */
  padding-right: 15px; /* Ruimte tussen tekst en afbeelding */
}

.afbeelding-flex {
  width: 150px; /* Vaste breedte voor de afbeelding */
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.afbeelding-flex:active {
  transform: scale(1.1);
}

/* Media Query voor mobiele apparaten (schermen smaller dan 600px) */
@media (max-width: 600px) {
  .tekst-container {
    flex-direction: column; /* Plaatst de afbeelding boven de tekst */
  }

  .afbeelding-flex {
    width: 100%; /* Maakt de afbeelding schermvullend breed */
    max-width: 500px; /* Maar niet té groot */
    margin-top: 10px; /* Ruimte tussen de titel en de afbeelding */
    align-self: center; /* Centreert de afbeelding */
  }

  .tekst-content {
    padding-right: 0; /* Haalt de extra ruimte weg op mobiel */
  }
}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
