/*
Theme Name: Vroegekerk
Theme URI: https://vroegekerk.net
Author: Han
Description: Een traditioneel thema voor vroegekerk.net — katholiek geloof en de reis vanuit het protestantisme.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: vroegekerk
*/

:root {
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --deep: #1a1410;
  --parchment: #f7f2e8;
  --ink: #2c2416;
  --muted: #7a6e5f;
  --accent: #8b1a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.85;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

a:hover {
  border-bottom-color: var(--accent);
}

/* === TOP BORDER === */
.top-border {
  height: 6px;
  background: linear-gradient(90deg, var(--deep), var(--gold), var(--accent), var(--gold), var(--deep));
}

/* === SITE HEADER === */
.site-header {
  text-align: center;
  padding: 2.5rem 2rem 1.5rem;
  background: linear-gradient(180deg, #f0e8d5 0%, var(--parchment) 100%);
  border-bottom: 1px solid var(--gold-light);
}

.site-title {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  color: var(--deep);
  margin-bottom: 0.3rem;
}

.site-title a {
  color: var(--deep);
  border-bottom: none;
}

.site-description {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}

/* === NAVIGATION === */
.main-navigation {
  text-align: center;
  padding: 0.8rem 2rem;
  border-bottom: 1px solid var(--gold-light);
  background: var(--parchment);
}

.main-navigation ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.main-navigation li a {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: none;
  padding: 0.3rem 0;
  transition: color 0.3s;
}

.main-navigation li a:hover,
.main-navigation li.current-menu-item a {
  color: var(--accent);
}

/* === ARTICLE HEADER (single post) === */
.article-header {
  text-align: center;
  padding: 5rem 2rem 3rem;
  background: linear-gradient(180deg, #f0e8d5 0%, var(--parchment) 100%);
  border-bottom: 1px solid var(--gold-light);
}

.article-header .pre-title {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.article-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.15;
  color: var(--deep);
  margin-bottom: 1rem;
}

.article-header h1 em {
  font-style: italic;
  color: var(--accent);
}

.article-header .subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.article-header .ornament {
  color: var(--gold);
  font-size: 1.8rem;
  letter-spacing: 0.5em;
}

.article-header .meta {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 1.5rem;
}

/* === MAIN CONTENT === */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

/* === ARCHIVE / HOME === */
.archive-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(180deg, #f0e8d5 0%, var(--parchment) 100%);
  border-bottom: 1px solid var(--gold-light);
}

.archive-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--deep);
  margin-bottom: 0.5rem;
}

.archive-header .ornament {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.5em;
}

.article-list {
  list-style: none;
}

.article-preview {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gold-light);
}

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

.article-preview .preview-category {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.article-preview h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.3;
  color: var(--deep);
  margin-bottom: 0.8rem;
}

.article-preview h2 a {
  color: var(--deep);
  border-bottom: none;
}

.article-preview h2 a:hover {
  color: var(--accent);
}

.article-preview .preview-excerpt {
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.article-preview .preview-meta {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.section-divider {
  text-align: center;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.8em;
  margin: 3rem 0;
  opacity: 0.6;
}

/* === POST CONTENT === */
.entry-content p {
  margin-bottom: 1.4rem;
}

.entry-content .intro {
  font-size: 1.15rem;
  color: var(--muted);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin-bottom: 3rem;
}

.entry-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 3.5rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gold-light);
}

.entry-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--deep);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.entry-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--deep);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.entry-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.8rem 0;
  padding: 1.2rem 1.5rem;
  font-style: italic;
  background: #fdf8f4;
}

.entry-content blockquote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 0.5rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.1em;
}

/* Scripture blocks */
.entry-content .scripture {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  background: linear-gradient(135deg, #f5ede0, #ede3d5);
  border-left: 3px solid var(--accent);
  padding: 1.2rem 1.5rem;
  margin: 1.8rem 0;
  border-radius: 0 4px 4px 0;
}

.entry-content .scripture cite {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
  font-style: normal;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.1em;
}

/* Argument boxes */
.entry-content .argument-box {
  background: linear-gradient(135deg, #f0e8d8, #e8ddc8);
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
  position: relative;
}

.entry-content .argument-box::before {
  content: '\2726';
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  background: var(--parchment);
  color: var(--gold);
  padding: 0 0.5rem;
  font-size: 1rem;
}

.entry-content .argument-box strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--deep);
}

/* Luther box */
.entry-content .luther-box {
  background: #f0f4f8;
  border-left: 4px solid #2c5282;
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 0 3px 3px 0;
}

.entry-content .luther-box cite {
  display: block;
  font-size: 13px;
  color: #555;
  margin-top: 6px;
  font-style: normal;
}

/* Greek words */
.entry-content .greek-word {
  font-style: italic;
  color: var(--accent);
  font-size: 1.05em;
}

/* Drop cap */
.entry-content .drop-cap::first-letter {
  font-family: 'Cinzel', serif;
  float: left;
  font-size: 4.2rem;
  line-height: 0.75;
  padding-right: 0.12em;
  padding-top: 0.1em;
  color: var(--accent);
}

/* Tables */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.entry-content table th {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.8rem 1rem;
  border-bottom: 2px solid var(--gold-light);
  text-align: left;
}

.entry-content table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--gold-light);
  vertical-align: top;
  font-style: italic;
  color: var(--muted);
}

.entry-content table tr:nth-child(even) td {
  background: rgba(201, 168, 76, 0.06);
}

/* Conclusion box */
.entry-content .conclusion {
  background: linear-gradient(135deg, #1a1410, #2c1f14);
  color: var(--gold-light);
  padding: 2.5rem;
  border-radius: 4px;
  margin-top: 3rem;
  text-align: center;
}

.entry-content .conclusion h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.entry-content .conclusion p {
  font-size: 1rem;
  line-height: 1.8;
  color: #d4c4a0;
  margin-bottom: 1rem;
}

/* Images */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5rem 0;
}

/* Lists */
.entry-content ul, .entry-content ol {
  margin: 1rem 0 1.4rem 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

/* === PAGINATION === */
.pagination {
  text-align: center;
  padding: 2rem 0;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.pagination a {
  color: var(--muted);
  padding: 0.5rem 1rem;
}

.pagination .current {
  color: var(--accent);
}

/* === COMMENTS === */
.comments-area {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  border-top: 1px solid var(--gold-light);
}

.comments-title {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  text-align: center;
}

.comment-list {
  list-style: none;
}

.comment {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gold-light);
}

.comment .comment-author {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--deep);
}

.comment .comment-meta {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.comment .comment-content p {
  margin-bottom: 0.8rem;
}

.comment-reply-link {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Comment form */
.comment-respond {
  margin-top: 2rem;
}

.comment-respond .comment-reply-title {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.comment-form label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  border: 1px solid var(--gold-light);
  background: #fff;
  border-radius: 3px;
  margin-bottom: 1rem;
  color: var(--ink);
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.comment-form .submit {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--deep);
  color: var(--gold-light);
  border: none;
  padding: 0.8rem 2.5rem;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.3s;
}

.comment-form .submit:hover {
  background: var(--accent);
}

/* Anti-spam honeypot */
.anti-spam-hp { display: none !important; }

/* Anti-spam math question */
.antispam-question {
  margin-bottom: 1rem;
}

.antispam-question label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.antispam-question input {
  width: 80px;
  padding: 0.5rem;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  border: 1px solid var(--gold-light);
  border-radius: 3px;
  margin-left: 0.5rem;
}

/* === SIDEBAR / WIDGETS === */
.widget {
  margin-bottom: 2.5rem;
}

.widget-title {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 0.5rem;
}

/* === FOOTER === */
.site-footer {
  text-align: center;
  padding: 2rem;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  border-top: 1px solid var(--gold-light);
}

/* === PAGE TEMPLATE === */
.page-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(180deg, #f0e8d5 0%, var(--parchment) 100%);
  border-bottom: 1px solid var(--gold-light);
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--deep);
  margin-bottom: 0.5rem;
}

.page-header .ornament {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.5em;
}

/* === TAXONOMY PAGES === */
.taxonomy-description {
  font-style: italic;
  color: var(--muted);
  max-width: 560px;
  margin: 0.5rem auto 0;
  font-size: 1rem;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  body { font-size: 17px; }
  main { padding: 2rem 1.2rem 3rem; }
  .site-header { padding: 1.5rem 1rem 1rem; }
  .article-header { padding: 3rem 1.5rem 2rem; }
  .main-navigation ul { gap: 1.5rem; }
  .entry-content .conclusion { padding: 1.5rem; }
  .comments-area { padding: 2rem 1.2rem; }
}
