/*
Theme Name: Mokum Magazine
Theme URI: https://example.com/mokummagazine
Author: You
Author URI: https://example.com
Description: A clean magazine/news theme inspired by the provided mockup. Includes a ticker, featured grid, sidebar tabs, and banner areas.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mokummagazine
Tags: news, magazine, blog, grid, responsive
*/

/* CSS Reset-ish */
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: #111827; background:#ffffff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display:block; }
.container { width: min(1200px, 92vw); margin: 0 auto; }

/* Top bar */
.topbar {color:#000; font-size: 12px; }
.topbar .inner { display:flex; align-items:center; justify-content:space-between; padding:0px 0; }
.topbar .time { opacity:.9;margin-left:28px; }
.social a { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:9999px; background:rgba(255,255,255,.15); margin-left:6px; font-size:12px; }

/* Header */
.header { padding:0px 0; border-bottom:1px solid #f3f4f6; }
.branding { display:flex; align-items:center; gap:16px; }
.site-title { font-weight:800; font-size:32px; color:#ef4444; }
.banner { flex:1; display:flex; justify-content:flex-end; }
.banner .ad { color:#000; padding:12px 24px; border-radius:10px; font-weight:700; letter-spacing:.08em; }

/* Navigation */
.navbar { background:#ffffff; border-bottom:1px solid #f3f4f6; position:sticky; top:0; z-index:50; }
.navbar .inner { display:flex; align-items:center; gap:14px; padding:0px 0; }
.navbar .menu { display:flex; gap:18px; flex-wrap:wrap; font-weight:600; list-style-type: none;padding-inline-start:30px}
.navbar .menu a { padding:5px 5px; border-radius:10px; }
.navbar .menu a:hover, .navbar .menu .current-menu-item > a { background:#ef4444; color:#fff; }
.nav-search { margin-left:auto; }
.nav-search input { border:1px solid #e5e7eb; border-radius:9999px; padding:8px 14px; min-width:180px; }

/* Ticker */
.ticker { background:#ef4444; color:#fff; overflow:hidden; }
.ticker .inner { display:flex; align-items:center; gap:12px; }
.ticker .label { font-weight:800; padding:8px 12px; background:#b91c1c; }
.ticker .marquee { white-space:nowrap; overflow:hidden; flex:1; }
.ticker .marquee a { display:inline-block; padding:10px 24px; opacity:.95; }
.ticker .dot { width:4px; height:4px; background:#fff; display:inline-block; border-radius:50%; margin:0 8px; opacity:.6; }

/* Layout */
.main { display:grid; grid-template-columns: 1fr 340px; gap:24px; }
.grid { display:grid; grid-template-columns: 1fr 1fr; gap:24px; }
.grid-hero { display:grid; grid-template-columns: 1fr 1fr; gap:24px; }
.grid-hero .hero { grid-column: span 1 / span 1; }
.grid-hero .hero-wide { grid-column: span 2 / span 2; }

.card { position:relative; border-radius:12px; overflow:hidden; background:#fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); border:1px solid #f3f4f6; }
.card .thumb { position:relative; }
.card .thumb img { width:100%; height:220px; object-fit:cover; }
.card .badge { top:10px; left:10px; background:#ef4444; color:#fff; font-weight:700; font-size:8px; padding:6px 10px; border-radius:8px; }

.card .content { padding:14px; }
.card .meta { font-size:12px; color:#6b7280; display:flex; gap:12px; margin-top:8px; }
.card .title { font-size:20px; font-weight:800; line-height:1.25; }
.card.card-lg .thumb img { height:360px; }
.card.card-sm .thumb img { height:120px; }
.card .excerpt { color:#374151; margin-top:8px; font-size:14px; }

.card {
position: relative;
border-radius: 12px;
overflow: hidden;
background: #fff;
box-shadow: 0 2px 2px rgba(0,0,0,.46);
border-bottom: 1px solid #f3f4f6;
margin-bottom: 10px;
}

.home-color {
    color: #ef4444;
    margin-top: 5px;
    margin-right: 5px;
}
/* Sidebar */
.sidebar .widget { background:#fff; border:1px solid #f3f4f6; border-radius:12px; padding:16px; margin-bottom:24px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.widget-title { font-weight:800; margin:0 0 10px; }
.tabs { display:flex; gap:8px; margin-bottom:12px; }
.tabs button { flex:1; border:1px solid #e5e7eb; background:#f9fafb; border-radius:9999px; padding:8px 10px; font-weight:700; cursor:pointer; }
.tabs button.active { background:#ef4444; color:#fff; border-color:#ef4444; }
.side-list { display:flex; flex-direction:column; gap:12px; }
.side-item { display:flex; gap:10px; }
.side-item img { width:72px; height:72px; object-fit:cover; border-radius:10px; }
.side-item .title { font-weight:700; line-height:1.2; }

.search-widget form { display:flex; gap:8px; }
.search-widget input[type="search"] { flex:1; border:1px solid #e5e7eb; border-radius:10px; padding:10px; }
.search-widget button { border:none; background:#111827; color:#fff; border-radius:10px; padding:10px 14px; font-weight:700; cursor:pointer; }

/* Footer */
.footer { margin-top:40px; padding:40px 0; background:#0f172a; color:#e2e8f0; }
.footer a { color:#fff; text-decoration:underline; }
.footer .credits { font-size:12px; opacity:.8; margin-top:10px; }

/* Responsive */
@media (max-width: 1024px){
  .main { grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .grid, .grid-hero { grid-template-columns: 1fr; }
  .navbar .menu { overflow:auto; white-space:nowrap; }
}
.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* drie gelijke kolommen */
  gap: 10px;
  padding: 10px;
}

.single-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* twee kolom */
  gap: 10px;
  padding: 10px;
}

.item {
  background-color: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

/* Responsive gedrag */
@media (max-width: 900px) {
  .container {
    grid-template-columns: repeat(2, 1fr); /* twee kolommen bij tablets */
  }
}

@media (max-width: 600px) {
  .container {
    grid-template-columns: 1fr; /* één kolom op kleine schermen */
  }
}
.footer {
  background-color: #111;
  color: #eee;
  padding: 40px 20px 20px;
  font-family: 'Helvetica Neue', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #ffcc00;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ffcc00;
}

.social-icons a {
  font-size: 1.4rem;
  margin-right: 15px;
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffcc00;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 15px;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

#block-5 {
	display:none;
}

#block-6 {
	display:none;
}

.single-layout {
    display: flex;
    gap: 24px;         /* ruimte tussen content en sidebar */
    align-items: flex-start;
}

/* main column */
.container-article {
    flex: 1;           /* neemt alle overige ruimte */
    min-width: 0;      /* voorkomt rare overflow */
}

.single-sidebar {
    margin-top: 89px;
    margin-left: -3px;
}
/* optioneel: center ad in sidebar */
.single-sidebar .ad-vertical {
    width: 100%;
}

.single-sidebar .ad-placeholder {
    width: 100%;
    text-align: center;
}


/* Responsive: stack columns on small screens */
@media (max-width: 900px) {
  .single-two-col {
    flex-direction: column;
  }

  .single-two-col .single-sidebar {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .single-two-col .ad-placeholder {
    margin: 0 auto 24px;
  }
}

