/* Font imports - must be at top */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&family=Gaegu:wght@400;700&display=swap');

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-bg: #fff;
  --color-border: #e5e5e5;
  --color-link: #0066cc;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --content-width: 650px;
  --sidebar-width: 220px;
  --gap: 3rem;
}

html {
  font-size: 18px;
  line-height: 1.6;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  max-width: calc(var(--content-width) + var(--sidebar-width) + var(--gap) * 2);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.content-wrapper {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
}

.main {
  flex: 1;
  max-width: var(--content-width);
  min-width: 0;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.logo:hover {
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--color-text);
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  position: sticky;
  top: 2rem;
}

.sidebar h2 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.nu-list {
  list-style: none;
  font-size: 0.9rem;
}

.nu-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.6rem;
  position: relative;
}

.nu-emoji {
  position: absolute;
  left: 0;
}

/* Footer */
.footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.theme-credit {
  font-size: 0.75rem;
}

/* Typography */
.page-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Text content */
.text h2, .text h3, .text h4 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.text h2 {
  font-size: 1.5rem;
}

.text h3 {
  font-size: 1.25rem;
}

.text p {
  margin-bottom: 1rem;
}

.text ul, .text ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.text li {
  margin-bottom: 0.25rem;
}

.text blockquote {
  border-left: 3px solid var(--color-border);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--color-text-muted);
  font-style: italic;
}

.text pre {
  background: #f5f5f5;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  border-radius: 4px;
}

.text code {
  background: #f5f5f5;
  padding: 0.1em 0.3em;
  border-radius: 3px;
  font-size: 0.9em;
}

.text pre code {
  background: none;
  padding: 0;
}

.text figure {
  margin: 2rem 0;
}

.text figcaption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

.text a {
  text-decoration: underline;
}

/* Feed */
.feed {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.feed-item {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-date {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.feed-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feed-title a {
  color: var(--color-text);
}

.feed-title a:hover {
  color: var(--color-link);
}

.feed-cover {
  display: block;
  margin-top: 1rem;
}

.feed-cover img {
  border-radius: 4px;
}

.feed-text {
  font-size: 1rem;
}

.feed-text p {
  margin-bottom: 0.5rem;
}

.feed-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Articles */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-preview {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.article-preview:last-child {
  border-bottom: none;
}

.article-date {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.article-title a {
  color: var(--color-text);
}

.article-title a:hover {
  color: var(--color-link);
  text-decoration: none;
}

.article-cover-link img {
  border-radius: 4px;
  margin-top: 0.75rem;
}

/* Article single */
.article-header {
  margin-bottom: 2rem;
}

.article-header .article-title {
  font-size: 2rem;
  margin-bottom: 0;
}

.article-cover {
  margin-bottom: 2rem;
}

.article-cover img {
  border-radius: 4px;
}

.article-cover figcaption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.back-link {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Notes */
.notes-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.note-preview {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.note-preview:last-child {
  border-bottom: none;
}

.note-date {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.note-text p {
  margin-bottom: 0.5rem;
}

.note-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Note single */
.note-single {
  max-width: var(--content-width);
}

.note-header {
  margin-bottom: 1.5rem;
}

.note-content {
  margin-bottom: 1.5rem;
}

.note-image {
  margin: 1rem 0;
}

.note-image img {
  border-radius: 4px;
}

.note-source {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.note-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* About */
.about-photo {
  float: right;
  margin: 0 0 1.5rem 2rem;
  width: 150px;
}

.about-photo img {
  border-radius: 50%;
}

.about-content {
  overflow: hidden;
}

/* Empty state */
.empty-state {
  color: var(--color-text-muted);
  font-style: italic;
}

/* Figure */
.figure {
  margin: 2rem 0;
}

.figure img {
  border-radius: 4px;
}

.figure figcaption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

/* Link Preview Card */
.link-preview {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.75rem;
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.2s;
}

.link-preview:hover {
  border-color: var(--color-link);
  text-decoration: none;
}

.link-preview-image {
  width: 160px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.link-preview-content {
  padding: 0.75rem 1rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.link-preview-title {
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-preview-description {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.link-preview-domain {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.pagination-next {
  margin-left: auto;
}

/* Responsive */
@media (max-width: 800px) {
  html {
    font-size: 16px;
  }

  .content-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
  }

  .about-photo {
    float: none;
    margin: 0 auto 2rem;
  }
}

@media (max-width: 500px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .feed-title,
  .article-header .article-title {
    font-size: 1.25rem;
  }

  .link-preview {
    flex-direction: column;
  }

  .link-preview-image {
    width: 100%;
    height: 160px;
  }
}

/* Theme: Basic Dark */
.theme-basic-dark {
  --color-text: #e5e5e5;
  --color-text-muted: #999;
  --color-bg: #1a1a1a;
  --color-border: #333;
  --color-link: #6db3f2;
}

.theme-basic-dark .text pre,
.theme-basic-dark .text code {
  background: #2a2a2a;
}

/* Theme: Through the Looking-Glass */
.theme-looking-glass {
  --color-text: #3d3225;
  --color-text-muted: #6b5d4d;
  --color-bg: #f8f4eb;
  --color-border: #d4c8b5;
  --color-link: #8b4513;
  --font-serif: 'EB Garamond', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-display: 'Cormorant Garamond', 'Palatino Linotype', Palatino, Georgia, serif;
}

.theme-looking-glass body,
.theme-looking-glass {
  font-family: var(--font-serif);
  background: var(--color-bg);
  background-image:
    radial-gradient(ellipse at top left, rgba(139, 90, 43, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(139, 90, 43, 0.05) 0%, transparent 50%);
}

.theme-looking-glass .logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.theme-looking-glass .nav a {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.03em;
}

.theme-looking-glass .page-title,
.theme-looking-glass .feed-title,
.theme-looking-glass .article-title,
.theme-looking-glass h1,
.theme-looking-glass h2,
.theme-looking-glass h3,
.theme-looking-glass h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.theme-looking-glass .page-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.theme-looking-glass .page-title::after {
  content: '✦';
  display: block;
  font-size: 0.8rem;
  margin-top: 1rem;
  color: var(--color-border);
  letter-spacing: 0.5em;
}

.theme-looking-glass a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-style: wavy;
  transition: text-decoration-color 0.3s ease, color 0.2s ease;
}

.theme-looking-glass a:hover {
  color: #6b3410;
  text-decoration-color: var(--color-link);
}

/* Links zonder golvende lijn */
.theme-looking-glass .logo,
.theme-looking-glass .nav a,
.theme-looking-glass .feed-title a,
.theme-looking-glass .article-title a,
.theme-looking-glass a.feed-cover,
.theme-looking-glass a.article-cover-link,
.theme-looking-glass a.link-preview {
  text-decoration: none;
}

/* Tekstlinks met animatie */
.theme-looking-glass .text a {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--color-border);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.4s ease, color 0.2s ease;
}

.theme-looking-glass .text a:hover {
  text-decoration-color: var(--color-link);
}


/* Blockquotes - Victorian book style */
.theme-looking-glass .text blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  border-left: none;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  position: relative;
  text-align: center;
  color: var(--color-text);
  background: linear-gradient(to right, transparent, rgba(139, 90, 43, 0.05), transparent);
}

.theme-looking-glass .text blockquote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  position: absolute;
  top: -0.5rem;
  left: 0.5rem;
  color: var(--color-border);
  line-height: 1;
}

.theme-looking-glass .text blockquote::after {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  position: absolute;
  bottom: -1.5rem;
  right: 0.5rem;
  color: var(--color-border);
  line-height: 1;
}

/* Code blocks - aged paper look */
.theme-looking-glass .text pre {
  background: #f0e9db;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-size: 0.85rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.theme-looking-glass .text code {
  background: #f0e9db;
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  border-radius: 2px;
}

/* Header border - ornate line */
.theme-looking-glass .header {
  border-bottom: 1px solid var(--color-border);
  position: relative;
  padding-bottom: 1.5rem;
}

.theme-looking-glass .header::after {
  content: '§';
  position: absolute;
  bottom: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg);
  padding: 0 1rem;
  color: var(--color-border);
  font-size: 1rem;
}

/* Feed items - chapter style */
.theme-looking-glass .feed-item {
  border-bottom: 1px dashed var(--color-border);
}

.theme-looking-glass .feed-date,
.theme-looking-glass .article-date,
.theme-looking-glass .note-date {
  font-style: italic;
  letter-spacing: 0.05em;
}

/* Sidebar */
.theme-looking-glass .sidebar h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.theme-looking-glass .nu-list {
  font-family: var(--font-serif);
}

/* Footer - subtle vintage */
.theme-looking-glass .footer {
  font-style: italic;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.theme-looking-glass .footer::before {
  content: '❧';
  width: 100%;
  text-align: center;
  color: var(--color-border);
  margin-bottom: 0.5rem;
}

.theme-looking-glass .footer .theme-credit::before {
  content: '· ';
}

/* Article content enhancements */
.theme-looking-glass .article-content p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.5rem;
  float: left;
  line-height: 0.8;
  padding-right: 0.15em;
  padding-top: 0.1em;
  color: var(--color-link);
}

/* Lists with vintage bullets */
.theme-looking-glass .text ul {
  list-style: none;
}

.theme-looking-glass .text ul li::before {
  content: '✧';
  color: var(--color-border);
  margin-right: 0.5rem;
}

/* Images - subtle frame */
.theme-looking-glass .article-cover img,
.theme-looking-glass .feed-cover img,
.theme-looking-glass .article-cover-link img,
.theme-looking-glass .figure img {
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(61, 50, 37, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-looking-glass .feed-cover:hover img,
.theme-looking-glass .article-cover-link:hover img {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(61, 50, 37, 0.15);
}

/* Remove underline effect from image links */
.theme-looking-glass a.feed-cover,
.theme-looking-glass a.article-cover-link {
  background: none;
  padding-bottom: 0;
}

/* Back links */
.theme-looking-glass .back-link {
  font-style: italic;
}

/* Link preview - vintage card */
.theme-looking-glass .link-preview {
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(61, 50, 37, 0.1);
}

.theme-looking-glass .link-preview:hover {
  box-shadow: 0 4px 12px rgba(61, 50, 37, 0.15);
  border-color: var(--color-link);
}

.theme-looking-glass .link-preview-image {
  border-right: 1px solid var(--color-border);
}

/* Selection color */
.theme-looking-glass ::selection {
  background: rgba(139, 69, 19, 0.2);
}

/* Theme: Doodle - gemaakt door een kleuter van 4! */
.theme-doodle {
  --color-text: #222;
  --color-text-muted: #555;
  --color-bg: #fffef0;
  --color-border: #333;
  --color-link: #ff00ff;
  --color-red: #ff3333;
  --color-blue: #3366ff;
  --color-green: #33cc33;
  --color-yellow: #ffcc00;
  --color-orange: #ff9933;
  --color-purple: #9933ff;
  --color-pink: #ff66cc;
  --font-doodle: 'Patrick Hand', 'Comic Sans MS', cursive;
  --font-doodle-alt: 'Gaegu', 'Comic Sans MS', cursive;
}

.theme-doodle body,
.theme-doodle {
  font-family: var(--font-doodle);
  font-size: 1.1rem;
  background: var(--color-bg);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      #add8e680 28px,
      #add8e680 29px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 28px,
      #ffb6c180 28px,
      #ffb6c180 29px
    );
  position: relative;
}

/* Krabbel decoraties in de achtergrond */
.theme-doodle body::before {
  content: '⭐ 🌈 ☀️ 🌸 ❤️ ⭐ 🎈 🌻 ✨ 🦋';
  position: fixed;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  opacity: 0.6;
  transform: rotate(5deg);
  pointer-events: none;
  z-index: 0;
}

.theme-doodle body::after {
  content: '🖍️ ✏️ 🎨 ☁️ 🌺 💫 🐱 🐶 🦄 🍀';
  position: fixed;
  bottom: 20px;
  left: 10px;
  font-size: 1.5rem;
  opacity: 0.6;
  transform: rotate(-3deg);
  pointer-events: none;
  z-index: 0;
}

.theme-doodle .container {
  position: relative;
  z-index: 1;
}

/* Header - scheef en kleurrijk */
.theme-doodle .header {
  border-bottom: 4px dashed var(--color-orange);
  transform: rotate(-1deg);
  margin-bottom: 3.5rem;
  background: linear-gradient(90deg, #ffeb3b40, #e91e6340, #2196f340, #4caf5040);
  padding: 1rem;
  border-radius: 0;
}

.theme-doodle .logo {
  font-family: var(--font-doodle-alt);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-red);
  text-shadow:
    3px 3px 0 var(--color-yellow),
    -1px -1px 0 var(--color-blue);
  transform: rotate(2deg);
  display: inline-block;
}

.theme-doodle .logo:hover {
  animation: wiggle 0.3s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(2deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-1deg); }
}

.theme-doodle .nav {
  gap: 0.5rem;
}

.theme-doodle .nav a {
  font-family: var(--font-doodle);
  font-size: 1.1rem;
  color: var(--color-text);
  background: var(--color-yellow);
  padding: 0.3rem 0.8rem;
  border: 3px solid var(--color-text);
  border-radius: 0;
  transform: rotate(-2deg);
  display: inline-block;
  transition: all 0.2s;
  box-shadow: 3px 3px 0 var(--color-text);
}

.theme-doodle .nav a:nth-child(2) {
  background: var(--color-pink);
  transform: rotate(1deg);
}

.theme-doodle .nav a:nth-child(3) {
  background: #7fffd4;
  transform: rotate(-1deg);
}

.theme-doodle .nav a:nth-child(4) {
  background: #dda0dd;
  transform: rotate(2deg);
}

.theme-doodle .nav a:hover {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 5px 5px 0 var(--color-text);
}

.theme-doodle .nav a[aria-current="page"] {
  background: var(--color-green);
  transform: scale(1.1);
}

/* Page titles - GROOT en KLEURRIJK */
.theme-doodle .page-title {
  font-family: var(--font-doodle-alt);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-purple);
  text-shadow:
    4px 4px 0 var(--color-yellow),
    -2px -2px 0 var(--color-pink);
  transform: rotate(-2deg);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.theme-doodle .page-title::before {
  content: '✨';
  position: absolute;
  left: -1.5rem;
  top: -0.5rem;
  font-size: 1.5rem;
  animation: sparkle 1s ease-in-out infinite;
}

.theme-doodle .page-title::after {
  content: '⭐';
  position: absolute;
  right: -1.5rem;
  bottom: 0;
  font-size: 1.5rem;
  animation: sparkle 1s ease-in-out infinite 0.5s;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.2) rotate(20deg); opacity: 0.7; }
}

/* Links - als met stift onderstreept */
.theme-doodle a {
  color: var(--color-blue);
  text-decoration: none;
  background-image: linear-gradient(90deg, var(--color-red), var(--color-orange), var(--color-yellow), var(--color-green), var(--color-blue), var(--color-purple));
  background-size: 100% 4px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: all 0.3s;
}

.theme-doodle a:hover {
  background-size: 100% 100%;
  color: white;
  text-decoration: none;
}

/* Buttons/nav links behouden hun styling */
.theme-doodle .nav a,
.theme-doodle .logo,
.theme-doodle .feed-title a,
.theme-doodle .article-title a,
.theme-doodle a.feed-cover,
.theme-doodle a.article-cover-link,
.theme-doodle a.link-preview {
  background-image: none;
}

/* Feed items - als op papier geplakt */
.theme-doodle .feed-item {
  background: white;
  border: 3px solid var(--color-text);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transform: rotate(0.5deg);
  box-shadow: 6px 6px 0 var(--color-text);
  border-bottom: 3px solid var(--color-text);
  position: relative;
}

.theme-doodle .feed-item:nth-child(even) {
  transform: rotate(-0.5deg);
  background: #fff0f5;
}

.theme-doodle .feed-item:nth-child(3n) {
  background: #f0fff0;
}

.theme-doodle .feed-item::before {
  content: '📌';
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 1.5rem;
  transform: rotate(-10deg);
}

.theme-doodle .feed-title {
  font-family: var(--font-doodle-alt);
  font-size: 1.8rem;
  font-weight: 700;
}

.theme-doodle .feed-title a {
  color: var(--color-red);
  text-decoration: none;
}

.theme-doodle .feed-title a:hover {
  color: var(--color-purple);
}

.theme-doodle .feed-date,
.theme-doodle .article-date,
.theme-doodle .note-date {
  background: var(--color-yellow);
  padding: 0.2rem 0.5rem;
  border: 2px solid var(--color-text);
  display: inline-block;
  transform: rotate(-1deg);
  font-family: var(--font-doodle);
}

/* Article en note styling */
.theme-doodle .article-preview,
.theme-doodle .note-preview {
  background: white;
  border: 3px solid var(--color-text);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 5px 5px 0 var(--color-pink);
  border-bottom: 3px solid var(--color-text);
}

.theme-doodle .article-preview:nth-child(even),
.theme-doodle .note-preview:nth-child(even) {
  box-shadow: 5px 5px 0 var(--color-blue);
}

.theme-doodle .article-title,
.theme-doodle h1, .theme-doodle h2, .theme-doodle h3 {
  font-family: var(--font-doodle-alt);
  font-weight: 700;
}

.theme-doodle .article-title a,
.theme-doodle .feed-title a {
  background: none;
}

/* Tekst content */
.theme-doodle .text {
  line-height: 1.8;
}

.theme-doodle .text p:first-of-type::first-letter {
  font-family: var(--font-doodle-alt);
  font-size: 4rem;
  float: left;
  line-height: 0.7;
  padding-right: 0.2em;
  color: var(--color-red);
  text-shadow: 3px 3px 0 var(--color-yellow);
}

.theme-doodle .text blockquote {
  background: linear-gradient(135deg, #fff59d, #fff176);
  border: 3px solid var(--color-text);
  border-left: 8px solid var(--color-orange);
  padding: 1.5rem;
  transform: rotate(-1deg);
  box-shadow: 4px 4px 0 var(--color-text);
  font-style: normal;
  color: var(--color-text);
  position: relative;
}

.theme-doodle .text blockquote::after {
  content: '💬';
  position: absolute;
  top: -15px;
  right: 10px;
  font-size: 1.5rem;
}

.theme-doodle .text pre {
  background: #282c34;
  border: 4px solid var(--color-green);
  transform: rotate(0.5deg);
  box-shadow: 5px 5px 0 var(--color-text);
}

.theme-doodle .text code {
  background: var(--color-yellow);
  border: 2px solid var(--color-text);
  padding: 0.1em 0.4em;
  font-family: 'Courier New', monospace;
}

.theme-doodle .text pre code {
  background: none;
  border: none;
}

/* Lijst styling - met hand-getekende bullets */
.theme-doodle .text ul {
  list-style: none;
}

.theme-doodle .text ul li {
  position: relative;
  padding-left: 0;
}

.theme-doodle .text ul li::before {
  content: '🖍️';
  margin-right: 0.5rem;
}

.theme-doodle .text ul li:nth-child(2)::before { content: '✏️'; }
.theme-doodle .text ul li:nth-child(3)::before { content: '🌟'; }
.theme-doodle .text ul li:nth-child(4)::before { content: '💖'; }
.theme-doodle .text ul li:nth-child(5)::before { content: '🎨'; }
.theme-doodle .text ul li:nth-child(6)::before { content: '🦋'; }

.theme-doodle .text ol {
  list-style: none;
  counter-reset: doodle-counter;
}

.theme-doodle .text ol li {
  counter-increment: doodle-counter;
  position: relative;
  padding-left: 0;
}

.theme-doodle .text ol li::before {
  content: counter(doodle-counter);
  background: var(--color-pink);
  border: 2px solid var(--color-text);
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  font-weight: bold;
  font-size: 0.8em;
}

/* Afbeeldingen - als Polaroids */
.theme-doodle .article-cover img,
.theme-doodle .feed-cover img,
.theme-doodle .article-cover-link img,
.theme-doodle .figure img {
  border: 5px solid var(--color-text);
  padding: 0.5rem;
  padding-bottom: 2rem;
  background: white;
  box-shadow: 5px 5px 0 var(--color-text);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}

.theme-doodle .feed-cover:hover img,
.theme-doodle .article-cover-link:hover img {
  transform: rotate(2deg) scale(1.02);
}

/* Sidebar - op een post-it */
.theme-doodle .sidebar {
  background: linear-gradient(135deg, #ffeb3b, #fdd835);
  border: 3px solid var(--color-text);
  padding: 1.5rem;
  transform: rotate(2deg);
  box-shadow: 5px 5px 0 var(--color-text);
}

.theme-doodle .sidebar h2 {
  font-family: var(--font-doodle-alt);
  text-transform: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  transform: rotate(-1deg);
}

.theme-doodle .nu-list li {
  margin-bottom: 0.75rem;
}

/* Footer - op een gescheurd stuk papier */
.theme-doodle .footer {
  background: white;
  border: 3px dashed var(--color-purple);
  padding: 1.5rem;
  margin-top: 3rem;
  transform: rotate(0.5deg);
  position: relative;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.theme-doodle .footer::before {
  content: '✂️ - - - - - - - - - - - - - - - - - - - - - - - -';
  position: absolute;
  top: -1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.theme-doodle .footer::after {
  content: '🎨 met liefde gemaakt door een kleuter 👶';
  display: block;
  font-size: 0.9rem;
  color: var(--color-purple);
  margin-top: 0.5rem;
}

/* Back link als pijl */
.theme-doodle .back-link {
  display: inline-block;
  background: var(--color-yellow);
  border: 3px solid var(--color-text);
  padding: 0.5rem 1rem;
  transform: rotate(-1deg);
  box-shadow: 3px 3px 0 var(--color-text);
  transition: all 0.2s;
}

.theme-doodle .back-link:hover {
  transform: rotate(1deg) scale(1.05);
  background-image: none;
  color: var(--color-text);
}

.theme-doodle .back-link::before {
  content: '👈 ';
}

/* Selection - regenboog! */
.theme-doodle ::selection {
  background: var(--color-pink);
  color: white;
}

/* About foto - in een frame */
.theme-doodle .about-photo img {
  border: 5px solid var(--color-text);
  padding: 0.5rem;
  background: white;
  box-shadow: 5px 5px 0 var(--color-orange);
  transform: rotate(3deg);
}

/* Animatie voor de hele pagina */
.theme-doodle .container {
  animation: paper-shake 0.1s ease-in-out;
}

@keyframes paper-shake {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* Link preview - doodle card */
.theme-doodle .link-preview {
  border: 3px solid var(--color-text);
  border-radius: 0;
  background: white;
  box-shadow: 5px 5px 0 var(--color-blue);
  transform: rotate(-0.5deg);
  background-image: none;
}

.theme-doodle .link-preview:hover {
  transform: rotate(0.5deg) scale(1.02);
  box-shadow: 6px 6px 0 var(--color-purple);
  background-size: 0;
  color: var(--color-text);
}

/* Scrollbar styling */
.theme-doodle::-webkit-scrollbar {
  width: 15px;
}

.theme-doodle::-webkit-scrollbar-track {
  background: var(--color-yellow);
  border: 2px solid var(--color-text);
}

.theme-doodle::-webkit-scrollbar-thumb {
  background: var(--color-pink);
  border: 2px solid var(--color-text);
}

.theme-doodle::-webkit-scrollbar-thumb:hover {
  background: var(--color-purple);
}
