/*
Theme Name: Digimuziek
Theme URI: https://www.digimuziek.nl
Author: Hans Handgraaf
Author URI: https://www.digimuziek.nl
Description: Lichtgewicht custom thema voor Digimuziek — streaming muziek en AI.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digimuziek
Tags: blog, music, one-column, two-columns, right-sidebar, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-orange:       #D10014;
  --color-orange-dark:  #a80010;
  --color-orange-light: #fce8ea;
  --color-text:         #0d0d0d;
  --color-text-muted:   #444444;
  --color-text-light:   #888888;
  --color-bg:           #2d2d2d;
  --color-white:        #FFFFFF;
  --color-border:       #E2E2E2;
  --color-card-shadow:  rgba(0,0,0,0.06);

  --font-main:    'Roboto', sans-serif;
  --font-size:    16px;
  --line-height:  1.7;

  --radius:       6px;
  --max-width:    1100px;
  --content-pct:  68%;
  --sidebar-pct:  28%;
  --gap:          4%;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

a {
  color: var(--color-orange);
  text-decoration: none;
}
a:hover {
  color: var(--color-orange-dark);
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.5em;
}

/* ============================================================
   LAYOUT WRAPPER
   ============================================================ */
.site-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
#masthead {
  background: var(--color-white);
  border-bottom: 3px solid var(--color-orange);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

/* Site branding */
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo img {
  height: 42px;
  width: auto;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.site-title a {
  color: var(--color-text);
  text-decoration: none;
}
.site-title a span {
  color: var(--color-orange);
}

.site-tagline {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.2;
}

/* Navigation – gecentreerd in de menubalk */
#site-navigation {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Taalkeuze rechts in de menubalk */
.header-translate {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-menu li {
  position: relative;
}

.main-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-ancestor > a {
  background: var(--color-orange-light);
  color: var(--color-orange);
  text-decoration: none;
}

/* Dropdown */
.main-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  min-width: 180px;
  list-style: none;
  padding: 6px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  z-index: 200;
}
.main-menu li:hover > .sub-menu {
  display: block;
}
.main-menu .sub-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.84rem;
  color: var(--color-text);
  white-space: nowrap;
}
.main-menu .sub-menu li a:hover {
  background: var(--color-orange-light);
  color: var(--color-orange);
  text-decoration: none;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
#content {
  padding: 32px 0 48px;
}

.content-area-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
}

#primary {
  width: var(--content-pct);
  min-width: 0;
}

/* ============================================================
   POST CARDS (blog loop)
   ============================================================ */
.post-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  transition: box-shadow 0.2s;
}
.post-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.11);
}

.post-card-thumb-link {
  display: block;
  width: 100%;
  overflow: hidden;
}
.post-card-thumb {
  display: block;
  width: 100%;
  overflow: hidden;
}
.post-card-thumb img {
  display: block !important;
  width: 100% !important;
  max-height: 220px !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.post-card-body {
  padding: 20px 22px 22px;
}

.post-card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}
.post-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0d0d0d;
  background: none;
  padding: 0 0 4px 0;
  border-bottom: 4px solid var(--color-orange);
  text-decoration: none;
}
.post-card-cat:hover {
  color: #0d0d0d;
  border-bottom-color: var(--color-orange-dark);
  text-decoration: none;
}

.post-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.post-card-title a {
  color: var(--color-text);
  text-decoration: none;
}
.post-card-title a:hover {
  color: var(--color-orange);
  text-decoration: none;
}

.post-card-meta {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.post-card-meta a {
  color: var(--color-text-muted);
}
.post-card-meta a:hover {
  color: var(--color-orange);
  text-decoration: none;
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.post-card-excerpt p {
  margin: 0;
}

.read-more-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-orange);
  text-decoration: none;
}
.read-more-link:hover {
  color: var(--color-orange-dark);
  text-decoration: underline;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap {
  margin-top: 10px;
}
.pagination-wrap .nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: all 0.15s;
}
.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
  text-decoration: none;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-header {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
}

.single-featured-image {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}
.single-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.single-post-header-body {
  padding: 24px 28px 20px;
}

.single-post-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.entry-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--color-text);
}

.entry-meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.entry-meta a {
  color: var(--color-text-muted);
}
.entry-meta a:hover {
  color: var(--color-orange);
}

/* Post content */
.entry-content-wrap {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  margin-bottom: 24px;
}

.entry-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}
.entry-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 1.8em 0 0.6em;
  color: var(--color-text);
}
.entry-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.4em 0 0.5em;
}
.entry-content p {
  margin-bottom: 1.2em;
}
.entry-content a {
  color: var(--color-orange);
  text-decoration: underline;
}
.entry-content a:hover {
  color: var(--color-orange-dark);
}
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.2em;
}
.entry-content li {
  margin-bottom: 0.4em;
}
.entry-content blockquote {
  border-left: 4px solid var(--color-orange);
  background: var(--color-orange-light);
  padding: 14px 20px;
  margin: 1.5em 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-text-muted);
}
.entry-content img {
  border-radius: var(--radius);
  max-width: 100%;
  height: auto;
}
.entry-content figure {
  margin: 1.5em 0;
}
.entry-content figcaption {
  font-size: 0.82rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 8px;
}

/* Responsieve video-embeds (YouTube, Vimeo e.d.) */
.entry-content .wp-block-embed {
  margin: 1.5em 0;
  max-width: 100%;
}
.entry-content .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
}
/* 16:9 aspect-ratio container */
.entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper {
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper > iframe,
.entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper > video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}
/* Fallback voor oudere (niet-Gutenberg) embeds */
.entry-content iframe {
  max-width: 100%;
  width: 100%;
}

/* Post navigation */
.post-nav-wrap {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.post-nav-item {
  flex: 1;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  text-decoration: none;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.post-nav-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-decoration: none;
}
.post-nav-label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-orange);
}
.post-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

/* ============================================================
   STATIC PAGE
   ============================================================ */
.page-header-wrap {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px 28px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  border-left: 4px solid var(--color-orange);
}
.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
}

/* Wide page (iframe template) */
.layout-wide .content-area-inner {
  display: block;
}
.layout-wide #primary {
  width: 100%;
}
.layout-wide #secondary {
  display: none;
}

/* Responsive iframe wrapper */
.iframe-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 2px 8px var(--color-card-shadow);
}
.iframe-wrap iframe {
  display: block;
  width: 100%;
  border: none;
  min-height: 600px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
#secondary {
  width: var(--sidebar-pct);
  flex-shrink: 0;
}

.widget {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
}

.widget-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-text-muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-orange);
  display: inline-block;
}

/* Recent posts widget */
.widget_recent_entries ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.widget_recent_entries li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.widget_recent_entries li a {
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
  flex: 1;
}
.widget_recent_entries li a:hover {
  color: var(--color-orange);
  text-decoration: none;
}
.widget_recent_entries .post-date {
  font-size: 0.72rem;
  color: var(--color-text-light);
  display: block;
  margin-top: 3px;
}

/* Recent posts with thumbnails (custom widget) */
.sidebar-recent-post {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 12px;
}
.sidebar-recent-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.sidebar-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-bg);
}
.sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.sidebar-post-info {
  flex: 1;
  min-width: 0;
}
.sidebar-post-title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  display: block;
  margin-bottom: 4px;
}
.sidebar-post-title:hover {
  color: var(--color-orange);
  text-decoration: none;
}
.sidebar-post-date {
  font-size: 0.72rem;
  color: var(--color-text-light);
}

/* Uitgelicht artikel in sidebar */
.sidebar-featured-link {
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  transition: opacity 0.2s;
}
.sidebar-featured-link:hover {
  opacity: 0.88;
  text-decoration: none;
}
.sidebar-featured-thumb {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.sidebar-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.sidebar-featured-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-featured-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  border-bottom: 2px solid var(--color-orange);
  display: inline-block;
  padding-bottom: 2px;
  align-self: flex-start;
}
.sidebar-featured-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

/* Categories widget */
.widget_categories ul,
.widget_categories ul.children,
.widget_categories .cat-list,
.widget_archive ul {
  list-style: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.widget_categories li,
.widget_archive li {
  list-style: none !important;
  padding: 0;
  margin: 0;
}
.widget_categories li a,
.widget_archive li a {
  display: block;
  padding: 7px 10px;
  font-size: 0.84rem;
  color: var(--color-text);
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.widget_categories li a:hover,
.widget_archive li a:hover {
  background: var(--color-orange-light);
  color: var(--color-orange);
}
/* Subcategorieën iets inspringen */
.widget_categories ul.children {
  padding-left: 12px;
  margin-top: 2px;
}

/* Search widget */
.widget_search .search-form {
  display: flex;
  gap: 6px;
}
.widget_search .search-field {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: var(--color-text);
  background: var(--color-white);
  outline: none;
  transition: border-color 0.15s;
}
.widget_search .search-field:focus {
  border-color: var(--color-orange);
}
.widget_search .search-submit {
  background: var(--color-orange);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background 0.15s;
  white-space: nowrap;
}
.widget_search .search-submit:hover {
  background: var(--color-orange-dark);
}

/* Tag cloud widget */
.widget_tag_cloud .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.widget_tag_cloud .tagcloud a {
  font-size: 0.78rem !important;
  background: var(--color-bg);
  color: var(--color-text-muted);
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid var(--color-border);
  transition: all 0.15s;
  text-decoration: none;
}
.widget_tag_cloud .tagcloud a:hover {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

/* ============================================================
   ARCHIVE / CATEGORY HEADER
   ============================================================ */
.archive-header {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  border-left: 4px solid var(--color-orange);
}
.archive-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
}
.archive-description {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-header {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
}
.search-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
}
.search-title span {
  color: var(--color-orange);
}

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  background: #1a1a1a;
  color: #aaaaaa;
  padding: 40px 0 20px;
  margin-top: 16px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-widget .widget-title {
  color: #ffffff;
  border-color: var(--color-orange);
}
.footer-widget a {
  color: #aaaaaa;
}
.footer-widget a:hover {
  color: var(--color-orange);
  text-decoration: none;
}
.footer-widget ul {
  list-style: none;
  padding: 0;
}
.footer-widget li {
  padding: 4px 0;
  border-bottom: 1px solid #2e2e2e;
}

.footer-bottom {
  border-top: 1px solid #2e2e2e;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a {
  color: #aaaaaa;
}
.footer-bottom a:hover {
  color: var(--color-orange);
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  color: #aaaaaa;
  font-size: 0.82rem;
  padding: 4px 10px;
  border: 1px solid #333;
  border-radius: var(--radius);
  transition: all 0.15s;
}
.footer-social a:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  text-decoration: none;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-wrap {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
}
.comments-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.comment {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.comment:last-child { border-bottom: none; }
.comment-author b {
  font-weight: 600;
  font-size: 0.9rem;
}
.comment-meta {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
}
.comment-content p {
  font-size: 0.9rem;
  margin-bottom: 0.6em;
}
.comment-reply-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-orange);
}

/* Comment form */
.comment-respond {
  margin-top: 24px;
}
.comment-reply-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.comment-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text-muted);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--color-orange);
}
.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}
.comment-form .submit {
  background: var(--color-orange);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  padding: 11px 24px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.comment-form .submit:hover {
  background: var(--color-orange-dark);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found-wrap {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 60px 28px;
  text-align: center;
  box-shadow: 0 2px 8px var(--color-card-shadow);
}
.not-found-wrap h1 {
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 12px;
}
.not-found-wrap h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.not-found-wrap p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* ============================================================
   COOKIE NOTICE (voor WP Cookie plugins)
   ============================================================ */
.cookie-notice-container {
  font-family: var(--font-main) !important;
  font-size: 0.88rem !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Voorkom horizontale scroll en de zwarte rand rechts */
html, body {
  overflow-x: hidden;
}

/* Tablet én mobiel (≤ 900px): hamburger menu + layout stapelen */
@media (max-width: 900px) {
  .content-area-inner {
    flex-direction: column;
  }
  #primary,
  #secondary {
    width: 100%;
  }
  .footer-widgets {
    grid-template-columns: 1fr 1fr;
  }

  /* Header: hamburger activeren */
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .site-branding {
    order: 1;
  }

  .menu-toggle {
    display: flex;
    order: 2;
  }

  .header-translate {
    order: 3;
    margin-left: auto;
  }

  #site-navigation {
    order: 4;
    width: 100%;
    flex: none;
    justify-content: flex-start;
    display: none;
  }
  #site-navigation.is-open {
    display: block;
  }

  .main-menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 4px 0 8px;
    gap: 0;
  }
  .main-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  .main-menu > li:last-child {
    border-bottom: none;
  }
  .main-menu > li > a {
    padding: 11px 8px;
    border-radius: 0;
    width: 100%;
  }
  .main-menu .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--color-border);
    background: var(--color-orange-light);
    display: block;
    padding-left: 16px;
  }
  .main-menu .sub-menu li a {
    padding: 9px 8px;
  }
}

/* Alleen mobiel (≤ 680px): kleinere font en overige aanpassingen */
@media (max-width: 680px) {
  :root {
    --font-size: 15px;
  }

  .entry-title { font-size: 1.4rem; }
  .entry-content-wrap { padding: 20px; }
  .single-post-header-body { padding: 18px 20px 16px; }

  .footer-widgets { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .post-nav-wrap { flex-direction: column; }
}

@media (max-width: 480px) {
  .post-card-body { padding: 16px; }
  .post-card-title { font-size: 1.05rem; }
}

/* ============================================================
   BANNER / HEADERAFBEELDING
   ============================================================ */
.site-banner {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;        /* voor de tekst-overlay */
}
.site-banner-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;   /* behoudt originele verhoudingen: 1500×95 blijft 95px hoog */
  max-height: none !important;
}
.site-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.banner-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  line-height: 1.3;
}
.banner-title {
  font-size: clamp(1.1rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.banner-tagline {
  font-size: clamp(0.78rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 0 2px 2px rgba(0,0,0,0.3);
  color: var(--color-text);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
