/* =========================================================
   Fata Morgana – Warm/Klassiek BlogX custom.css
   - Roomwit achtergrond + goud accent + bordeaux details
   - Posts & sidebar als zachte "kaarten"
   - Sidebar MENU als nette lijst (geen pill-bubbels)
   ========================================================= */

:root{
  --bg: #fbf7ef;          /* room */
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e9dfcf;

  --brand: #2b2b2b;       /* bijna zwart */
  --nav: #1f2a33;         /* donker blauwgrijs */
  --gold: #c59a2b;        /* warm goud */
  --burgundy: #7a1f2b;    /* klassiek rood */
  --link: #7a1f2b;

  --radius: 16px;
  --shadow: 0 10px 28px rgba(17, 24, 39, .08);
  --shadow2: 0 6px 18px rgba(17, 24, 39, .07);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  background:
    radial-gradient(1100px 600px at 15% 0%, rgba(197,154,43,.14), transparent 55%),
    radial-gradient(900px 520px at 85% 18%, rgba(122,31,43,.10), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
}

/* BlogX has large padding by default */
section{ padding: 26px 0 !important; }

a{ color: var(--link); text-decoration: none; }
a:hover{ color: #4b121a; text-decoration: underline; text-underline-offset: .16em; }

small, .text-muted, .card-subtitle{ color: var(--muted) !important; }

h1.title, h2.title{ color: var(--brand); }

/* =========================================================
   Navbar
   ========================================================= */
.navbar{
  background: linear-gradient(90deg, #1b2730, #22313b) !important;
  border-bottom: 2px solid rgba(197,154,43,.35) !important;
}

.navbar a,
.navbar-brand,
.navbar-brand span,
.navbar .nav-link{
  color: #fff !important;
  text-decoration: none !important;
}

.navbar .nav-link{
  font-size: .85rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .92;
}
.navbar .nav-link:hover{ opacity: 1; color: #fff !important; }

/* Mobile hamburger visible */
.navbar .navbar-toggler{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 12px !important;
  padding: .4rem .55rem !important;
  box-shadow: none !important;
}
.navbar .navbar-toggler:focus{
  outline: none !important;
  box-shadow: 0 0 0 .2rem rgba(197,154,43,.25) !important;
}
.navbar .navbar-toggler-icon{ filter: none !important; }

/* =========================================================
   Cards – Posts
   ========================================================= */
.col-md-9 .card{
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  overflow: hidden !important;
}

.col-md-9 .card .card-body{
  padding: 26px 28px !important; /* override p-0 */
}

.col-md-9 .card.my-5{
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

.col-md-9 .card .title{ margin-bottom: 10px !important; }

.col-md-9 .card-subtitle{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--muted) !important;
}

/* subtle classic accent under titles */
.col-md-9 .title{
  position: relative;
  padding-bottom: 10px;
}
.col-md-9 .title:after{
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), rgba(197,154,43,.25));
}

/* Flyer/cover */
.col-md-9 .card .card-img-top{ border-radius: 0 !important; }
.col-md-9 .card .page-content img{
  border-radius: 14px;
  box-shadow: var(--shadow2);
}

/* Remove any separators */
hr{ display: none !important; }

/* Content headings */
.page-content h2, .page-content h3{
  color: var(--brand);
  margin-top: 1.2rem;
}
.page-content h3{
  position: relative;
  padding-left: 12px;
}
.page-content h3:before{
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 6px;
  height: 1em;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--gold), rgba(197,154,43,.30));
}

/* =========================================================
   Sidebar widgets
   ========================================================= */
.plugin{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.plugin-label{
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: .9rem;
  margin-bottom: 10px;
}

/* Default: sidebar links are normal (NOT pills) */
.plugin a{
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--brand);
  border: 1px solid transparent;
  text-decoration: none;
}

.plugin a:hover{
  background: rgba(197,154,43,.10);
  border-color: rgba(197,154,43,.25);
  color: var(--burgundy);
  text-decoration: none;
}

/* Sidebar lists */
.plugin ul{ list-style: none; padding-left: 0 !important; margin: 0; }
.plugin li{ margin: 6px 0; }

/* If the plugin outputs a bare list of links without UL */
.plugin > a{ margin-bottom: 6px; }

/* Optional: make category/tag counts muted if theme prints them */
.plugin a span,
.plugin a small{ color: var(--muted); }

/* =========================================================
   Footer
   ========================================================= */
footer{
  background: linear-gradient(90deg, rgba(197,154,43,.10), rgba(122,31,43,.06)) !important;
  border-top: 1px solid var(--line) !important;
  color: var(--muted) !important;
}
footer.bg-dark{ background: transparent !important; }

footer .text-white{ color: var(--brand) !important; }
footer a{ color: var(--burgundy) !important; font-weight: 700; }
footer a:hover{ color: var(--gold) !important; }

/* =========================================================
   Mobile tweaks
   ========================================================= */
@media (max-width: 720px){
  section{ padding: 18px 0 !important; }

  .col-md-9 .card .card-body{
    padding: 20px 18px !important;
  }
  .col-md-9 .card.my-5{ margin-bottom: 12px !important; }

  .col-md-3{ margin-top: 10px !important; }
}

/* ===== Header polish (BlogX / Bootstrap navbar) ===== */

/* Make navbar content a fixed width and centered */
.navbar .container{
  max-width: 1120px;          /* mag je 1040/1200 maken */
}

/* Improve spacing/alignment of menu items */
.navbar .navbar-nav{
  gap: 10px;                  /* modern spacing */
}
.navbar .nav-item{
  margin: 0 !important;       /* reset eventuele margins */
}
.navbar .nav-link{
  padding: 14px 12px !important;
  border-radius: 10px;
  line-height: 1.2;
  position: relative;
}

/* Hover: subtle background */
.navbar .nav-link:hover{
  background: rgba(255,255,255,.06);
  text-decoration: none !important;
}

/* Active menu item: classic gold underline */
.navbar .nav-link.active,
.navbar .nav-item.active > .nav-link{
  color: #fff !important;
}
.navbar .nav-link.active::after,
.navbar .nav-item.active > .nav-link::after{
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), rgba(197,154,43,.25));
}

/* Slight shadow so header separates from page */
.navbar{
  box-shadow: 0 10px 22px rgba(17, 24, 39, .14);
}

/* Brand a bit more “classic” */
.navbar-brand{
  letter-spacing: .06em;
}

.navbar-brand{
  position: relative;
  padding-left: 14px;
}
.navbar-brand::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  transform: translateY(-50%);
  background: var(--gold);
}

/* Navbar dropdown (warm/klassiek) */
.navbar .dropdown-menu{
  background: #fff;
  border: 1px solid rgba(197,154,43,.30);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(17,24,39,.16);
  padding: 8px;
  margin-top: 10px;
  min-width: 220px;
}

.navbar .dropdown-item{
  border-radius: 10px;
  padding: 10px 12px;
  color: #2b2b2b;
  text-transform: none;      /* dropdown items niet uppercase */
  letter-spacing: 0;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus{
  background: rgba(197,154,43,.12);
  color: #7a1f2b;
}

/* === FIX dropdown text contrast in dark navbar === */

.navbar-dark .dropdown-menu {
  background: #ffffff;
}

.navbar-dark .dropdown-item {
  color: #2b2b2b !important;           /* donker leesbaar */
  font-weight: 500;
}

.navbar-dark .dropdown-item:hover,
.navbar-dark .dropdown-item:focus {
  color: #7a1f2b !important;           /* bordeaux hover */
  background: rgba(197,154,43,.15);    /* warm goud */
}

/* Optional: divider look */
.navbar-dark .dropdown-menu::before {
  content: "";
  display: block;
  height: 1px;
  margin: 6px 10px;
  background: rgba(197,154,43,.25);
}

/* ===== Mobile nav: dropdown becomes inline list (no big white panel) ===== */
@media (max-width: 767.98px){

  /* Navbar collapse looks like a panel */
  .navbar .navbar-collapse{
    margin-top: 10px;
    padding: 10px 10px 14px;
    border-radius: 14px;
    background: rgba(0,0,0,.08);
  }

  /* Make dropdown menu NOT absolute/floating on mobile */
  .navbar .dropdown-menu{
    position: static !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 0 !important;
    padding: 6px 0 !important;

    /* remove the big white card look on mobile */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Make dropdown items visible + match mobile nav style */
  .navbar-dark .dropdown-item{
    color: #fff !important;
    padding: 10px 12px !important;
    border-radius: 12px;
    margin: 6px 0;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    font-weight: 600;
    text-transform: none;
  }

  .navbar-dark .dropdown-item:hover,
  .navbar-dark .dropdown-item:focus{
    background: rgba(197,154,43,.18) !important;
    border-color: rgba(197,154,43,.35) !important;
    color: #fff !important;
  }

  /* Indent dropdown items slightly under "Over" */
  .navbar .dropdown-menu .dropdown-item{
    margin-left: 10px;
    width: calc(100% - 10px);
  }
}

/* Event infobox – refined */
.eventbox{
  margin: 18px 0 10px;
  border: 1px solid rgba(197,154,43,.28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(197,154,43,.10), rgba(255,255,255,.92));
  box-shadow: 0 10px 22px rgba(17,24,39,.08);
  overflow: hidden;
}

/* Flyer */
.eventbox__flyer{
  padding: 16px 16px 0;
}
.eventbox__flyer img{
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(233,223,207,.9);
  box-shadow: 0 8px 18px rgba(17,24,39,.10);
}

/* Header */
.eventbox__head{
  margin-top: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(197,154,43,.22);
  background: rgba(197,154,43,.10);
}
.eventbox__title{
  font-weight: 800;
  color: #2b2b2b;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .9rem;
}

/* Grid */
.eventbox__grid{
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
}

/* Rows */
.eventrow{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(233,223,207,.9);
}

.eventrow span{
  color:#6b7280;
}

.eventrow strong{
  color:#2b2b2b;
  font-weight:700;
  text-align:right;
  white-space: nowrap;
}

.eventrow a{
  color:#7a1f2b;
  font-weight:800;
  text-decoration:none;
}
.eventrow a:hover{
  text-decoration: underline;
  text-underline-offset: .16em;
}

/* Mobile: allow wrapping */
@media (max-width: 600px){
  .eventrow{
    grid-template-columns: 1fr;
  }
  .eventrow strong{
    text-align: left;
    white-space: normal;
  }
}
