/* style.css */
:root{font-family:Inter,system-ui,Arial,sans-serif;color:#172438;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}header{background:#122b4b;color:white;padding:22px max(24px,calc((100vw - 1160px)/2));display:flex;justify-content:space-between;align-items:center;gap:16px}header a{color:white;text-decoration:none}header strong{font-size:24px}nav{display:flex;gap:22px}main{max-width:1160px;margin:35px auto;padding:0 20px}h1{font-size:32px;margin:0 0 12px}p{line-height:1.6}.muted{color:#64748b}.toolbar{display:flex;gap:10px;margin:25px 0}input,select,button{font:inherit;padding:12px;border:1px solid #ccd5e2;border-radius:10px}input{max-width:100%;width:100%}button,.button{background:#2467d2;color:white;border:0;cursor:pointer;text-decoration:none;padding:12px 18px;border-radius:10px;display:inline-block}button:hover,.button:hover{background:#1554b5}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.card,.panel{background:white;border:1px solid #e2e8f0;border-radius:15px;padding:22px;box-shadow:0 4px 15px #162c4710}.card h2{font-size:19px;line-height:1.4}.card a{color:#173d72;text-decoration:none}.card img{width:100%;height:155px;object-fit:cover;border-radius:9px}.panel{max-width:850px;margin-bottom:20px}.row{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:12px 0}.row label{min-width:150px}.row input{flex:1}.row input[type=checkbox]{width:auto;flex:0}.row select{flex:1}.error{color:#b42318}.success{color:#067647}.post{max-width:850px}.post h1{line-height:1.2}.post img{max-width:100%;border-radius:12px}footer{text-align:center;padding:45px;color:#64748b}@media(max-width:600px){header{padding:18px;align-items:flex-start;flex-direction:column}.grid{grid-template-columns:1fr}}

/* ReloadedDemo navigation and post styling */
header{background:linear-gradient(120deg,#101115,#242529 65%,#090a0d);border-bottom:3px solid #151515;flex-wrap:wrap;justify-content:center;padding:24px 18px;gap:20px}header strong{font-size:22px;letter-spacing:.07em;color:#eee}.site-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px}.site-nav a{font-size:14px;font-weight:850;color:#c7c7c7;text-decoration:none;white-space:nowrap}.site-nav a:hover,.site-nav a:focus{color:#fff}.heart{color:#f03b57;font-size:18px}.post h1,.card h2{text-transform:uppercase}.post .muted{font-size:13px}.post img{max-height:520px;object-fit:contain}@media(max-width:700px){header{align-items:center}.site-nav{gap:12px}.site-nav a{font-size:12px}}

/* v2.3 RSS article layout */
.post{max-width:1080px}.post>h1{font-size:clamp(26px,3vw,38px)}.rss-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:30px 0 0;border-bottom:2px solid #263448}.rss-tab{border-radius:6px 6px 0 0;background:#e4e9f1;color:#1a2b41;padding:12px 16px;font-size:12px;font-weight:800}.rss-tab.active,.rss-tab:hover{background:#1e344e;color:#fff}.rss-panel-wrap{background:#fff;border:1px solid #dfe5ed;border-top:0;border-radius:0 0 12px 12px;padding:clamp(18px,3vw,32px);box-shadow:0 6px 22px #1724380a}.rss-panel[hidden]{display:none}.rss-panel{overflow-wrap:anywhere;line-height:1.7}.rss-panel h4,.rss-panel h5{margin:20px 0 8px;color:#223f60}.rss-panel p{margin:10px 0}.rss-panel img{display:block;max-width:100%;height:auto;max-height:none;object-fit:contain;margin:16px auto;border-radius:5px}.rss-panel a{color:#1767b2}.rss-panel blockquote{border-left:3px solid #8fa3b8;padding-left:15px;margin-left:0}.rss-panel pre{white-space:pre-wrap}.rss-panel div{max-width:100%}@media(max-width:600px){.rss-tab{flex:1 1 45%;padding:10px 6px}.rss-panel-wrap{padding:16px}}

/* Homepage: drie kaarten per rij, met responsive indeling */
body:has(#posts) .site-layout #posts.grid{grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:1050px){body:has(#posts) .site-layout #posts.grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){body:has(#posts) .site-layout #posts.grid{grid-template-columns:1fr;}}

/* Datum links en categorie rechts, boven de afbeelding */
#posts .card{display:flex;flex-direction:column;min-width:0}
#posts .card-meta{order:-2;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;font-size:11px;line-height:1.3;white-space:nowrap}
#posts .card-meta-date{color:#64748b;min-width:0}
#posts .card-meta-category{color:#173d72;font-weight:700;flex-shrink:0;font-size:10px}
#posts .card-cover,#posts .card-image-fallback{order:-1}
@media(max-width:400px){#posts .card-meta{font-size:10px}#posts .card-meta-category{font-size:9px}}

/* Read More en reacties rechtsonder op iedere homepagekaart */
#posts .card-actions{margin-top:auto;padding-top:18px;text-align:right;font-size:12px;line-height:1.5;color:#64748b}
#posts .card-actions a{color:#173d72;text-decoration:none;font-weight:600}
#posts .card-actions a:hover{text-decoration:underline}

/* Homepage herstel 2026-10-30: ook met sidebar exact drie kaarten */
@media (min-width: 901px) {
  body:has(#posts) #posts.grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px;}
}
@media (min-width: 601px) and (max-width: 900px) {body:has(#posts) #posts.grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media (max-width:600px) {body:has(#posts) #posts.grid {grid-template-columns:minmax(0,1fr)!important;}}
#posts .card {min-width:0;display:flex;flex-direction:column;}
#posts .card-meta {order:-2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;margin-bottom:12px;white-space:nowrap;line-height:1.25;}
#posts .card-meta-date {font-size:clamp(9px,.72vw,11px);white-space:nowrap;min-width:0;}
#posts .card-meta-category {font-size:clamp(8px,.65vw,10px);white-space:nowrap;min-width:0;}
#posts .card-actions {margin-top:auto;text-align:right;}

/* Homepage paginanavigatie */
.pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;margin:24px auto}.pagination[hidden]{display:none}.pagination-label,.page-button,.page-ellipsis{font-size:13px;line-height:1.4}.pagination-label{padding:8px 10px;color:#43536b}.page-button{padding:7px 11px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#16365e;cursor:pointer}.page-button:hover{background:#e8eef7}.page-button.active{background:#1f3652;color:#fff;border-color:#1f3652;cursor:default}.page-ellipsis{padding:7px;color:#64748b}



/* ReloadedDemo mobile: exactly one game card per row, without changing desktop. */
@media screen and (max-width: 767px) {
  body:has(#posts) #posts.grid,
  body:has(#posts) .site-layout #posts.grid,
  body:has(#posts) .site-layout main #posts.grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  #posts > .card {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  #posts .card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    white-space: normal !important;
    gap: 6px 10px !important;
  }
  #posts .card-meta-date,
  #posts .card-meta-category {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 11px !important;
  }
  #posts .card img { max-width: 100%; }
}


/* ReloadedDemo – nette reacties onder gameberichten.
   Alleen de reactieformulieren en hun directe omgeving worden geraakt. */
:is(#comments, #reacties, .comments, .comments-section, .post-comments,
    .reactions, .reactions-section, .comment-section, .comments-wrap,
    section:has(> #comment-form), section:has(> .comment-form)) {
  background: #fff;
  color: #172438;
  border-radius: 12px;
  padding: clamp(18px, 3vw, 32px);
  margin: 0 0 20px;
  box-sizing: border-box;
}
:is(#comments, #reacties, .comments, .comments-section, .post-comments,
    .reactions, .reactions-section, .comment-section, .comments-wrap)
  :is(h2,h3,p,li) { color: #172438; }
:is(#comment-form, .comment-form, form:has(textarea[name="body"]),
    form:has(textarea[name="comment"]), form:has(textarea[placeholder*="reactie"]))
{
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
:is(#comment-form, .comment-form, form:has(textarea[name="body"]),
    form:has(textarea[name="comment"]), form:has(textarea[placeholder*="reactie"]))
  :is(input:not([type="hidden"]):not([type="checkbox"]),textarea,select) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #172438;
  font: inherit;
  box-sizing: border-box;
}
:is(#comment-form, .comment-form, form:has(textarea[name="body"]),
    form:has(textarea[name="comment"]), form:has(textarea[placeholder*="reactie"]))
 textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}
:is(#comment-form, .comment-form, form:has(textarea[name="body"]),
    form:has(textarea[name="comment"]), form:has(textarea[placeholder*="reactie"]))
 :is(button[type="submit"],input[type="submit"]) {
  align-self: flex-end;
  width: auto;
  min-width: 160px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: #2463ce;
  color: white;
  font: inherit;
  cursor: pointer;
}
:is(#comment-form, .comment-form, form:has(textarea[name="body"]),
    form:has(textarea[name="comment"]), form:has(textarea[placeholder*="reactie"]))
 :is(input,textarea):focus-visible { outline: 2px solid #2463ce; outline-offset: 1px; }
@media(max-width: 650px) {
  :is(#comments,#reacties,.comments,.comments-section,.post-comments,.reactions,.reactions-section,.comment-section,.comments-wrap) {
    padding: 16px;
    border-radius: 8px;
  }
  :is(#comment-form,.comment-form,form:has(textarea[name="body"]),form:has(textarea[name="comment"]),form:has(textarea[placeholder*="reactie"]))
   :is(button[type="submit"],input[type="submit"]) { width: 100%; }
}


/* 2026-11-03: gamekaarten – titel en release-regel binnen het vak houden. */
#posts .card { min-width:0!important; overflow:hidden; }
#posts .card > h2 {
  width:100%; max-width:100%; min-width:0;
  margin:16px 0 12px;
  font-size:clamp(13px,1.05vw,18px)!important;
  line-height:1.3!important;
  letter-spacing:-.025em;
  overflow:hidden!important;
}
#posts .card > h2 > a {
  display:block!important;
  max-width:100%; min-width:0;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:inherit!important;
}
#posts .card-summary {min-width:0;max-width:100%;overflow:hidden;}
#posts .card-release-line {
  display:block!important;
  width:100%;max-width:100%;min-width:0;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:clamp(9px,.85vw,13px)!important;
  line-height:1.5!important;
  letter-spacing:-.035em;
  text-align:center;
}
#posts .card-release-line :is(.card-release-label,.card-release-links) {
  font-size:inherit!important;
  white-space:nowrap!important;
}
@media (max-width:767px) {
  #posts .card > h2 {font-size:clamp(14px,4vw,19px)!important;}
  #posts .card-release-line {font-size:clamp(10px,2.6vw,14px)!important;}
}

/* 2026-11-03 – kleinere gametitels, origineel lettertype behouden. */
@media (min-width:768px) {
  #posts .card > h2 { font-size:12px!important; line-height:1.35!important; letter-spacing:-.025em; }
  #posts .card > h2 > a { font-size:inherit!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important; }
  #posts .card-release-line { font-size:10px!important; letter-spacing:-.04em; }
}
@media (max-width:767px) {
  #posts .card > h2 { font-size:16px!important; }
  #posts .card-release-line { font-size:12px!important; }
}

/* 2026-11-03 – volledige gametitels zichtbaar, zonder afkorten. */
#posts .card > h2 {
  font-size: 11px !important;
  line-height: 1.35 !important;
  height: auto !important;
  max-height: none !important;
  min-width: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}
#posts .card > h2 > a {
  display: block !important;
  width: 100% !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}
@media (max-width:767px) {
  #posts .card > h2 { font-size: 14px !important; }
}

/* 2026-11-03: reserveer dezelfde titelruimte op alle gamekaarten.
   De volledige titel blijft zichtbaar; korte titels vullen de ruimte niet. */
#posts .card > h2 {
  min-height: 4.05em !important; /* ruimte voor 3 regels, ook bij titels van 1 regel */
  height: auto !important;
  max-height: none !important;
  flex-shrink: 0 !important;
  margin-bottom: 12px !important;
}
#posts .card > h2 > a {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}


/* 2026-11-03 – twee gamekaarten per rij, volledige afbeeldingen zichtbaar. */
@media (min-width: 901px) {
  body:has(#posts) #posts.grid,
  body:has(#posts) .site-layout #posts.grid,
  body:has(#posts) .site-layout main #posts.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* Kleine schermen: altijd één kaart per rij. */
@media (max-width: 900px) {
  body:has(#posts) #posts.grid,
  body:has(#posts) .site-layout #posts.grid,
  body:has(#posts) .site-layout main #posts.grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
/* Afbeelding volledig binnen het afbeeldingsvak; geen bijsnijden. */
#posts .card img,
#posts .card-cover img {
  display: block;
  width: 100% !important;
  height: 260px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #f2f4f7;
}
@media (max-width: 600px) {
  #posts .card img,
  #posts .card-cover img { height: 220px !important; }
}

/* 2026-11-03: gewenste tekstgroottes, originele font-family behouden. */
#posts .card > h2,
#posts .card > h2 > a {
  font-size: 18px !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}
#posts .card > h2 { min-height: 3.9em !important; }
#posts .card-release-line,
#posts .card-release-line :is(.card-release-label, .card-release-links) {
  font-size: 12px !important;
  line-height: 1.4 !important;
}


/* home-summary.css */

/* v2.4.9: compact release banner and game description */
.card-summary{margin-top:12px;text-align:center;min-width:0}
.card-release-line{font-size:12px;font-weight:800;line-height:1.4;white-space:normal;overflow-wrap:anywhere;color:#ffb100;margin-bottom:9px}
.card-release-label{color:#00a7b8}
.card-release-links{color:#e4a300}
.card-summary .card-excerpt{font-size:13px;line-height:1.5;color:#64748b;text-align:center;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:39px}


/* branding.css */
header > a:first-child{display:flex;align-items:center;min-width:0}.site-brand-logo{display:block;max-width:min(100%,480px);width:auto;height:auto;max-height:64px;object-fit:contain}@media(max-width:750px){.site-brand-logo{max-width:260px;max-height:48px}}

/* sidebar.css */
.site-layout{max-width:1500px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;padding:0 20px}.site-layout>main{min-width:0;width:100%;padding:0;margin:35px 0}.site-sidebar{margin-top:35px}.sidebar-box{background:#17191d;color:#c6c9ce;padding:20px;margin-bottom:20px;border:1px solid #34363a;border-radius:5px}.sidebar-box h2{color:#e5e5e5;text-transform:uppercase;font-size:18px;letter-spacing:.06em;margin:0 0 15px}.sidebar-search{display:flex;gap:7px}.sidebar-search input{min-width:0;background:#0b0c0e;color:white;border-color:#333}.sidebar-search button{padding:10px;background:#34363a}.upcoming-item{margin:0 0 13px;font-size:13px}.upcoming-item strong{font-weight:400;color:#c9d1df}.upcoming-item span{display:block;color:#92979f;margin-top:3px}.exclusive-link{display:block;margin:0 0 9px}.exclusive-link img{display:block;width:100%;height:115px;object-fit:cover;border:1px solid #3b3b3b}.exclusive-link:hover img{filter:brightness(1.15)}@media(max-width:1050px){.site-layout{grid-template-columns:minmax(0,1fr) 260px}}@media(max-width:760px){.site-layout{display:block;padding:0 16px}.site-layout>main{padding:0;margin:25px 0}.site-sidebar{margin:0 0 30px}.exclusive-link img{height:155px}}

/* Keep the search exclusively inside the sidebar. */
.sidebar-search input{flex:1;width:100%;font-size:13px}.sidebar-search button{flex:none;cursor:pointer}.site-sidebar[hidden]{display:none}


/* home-center.css */
/* Alleen homepage: samenvatting centreren onder gameafbeelding */
#posts .card-summary {width:100%;text-align:center;}
#posts .card-release-line {text-align:center;line-height:1.5;}
#posts .card-excerpt {text-align:center;}


/* mobile-fix.css */
/* ReloadedDemo mobile-only layout; branding/logo remains untouched. */
@media (max-width: 700px) {
 html,body {max-width:100%;overflow-x:clip;}
 header {width:100%;min-width:0;box-sizing:border-box;padding:18px 14px!important;gap:14px!important;}
 header .brand-text,header .site-logo,header .logo,header img {max-width:100%;height:auto;object-fit:contain;}
 header > a,header .brand,header .branding {max-width:100%;min-width:0;}
 header .site-nav,header nav.site-nav {width:100%;max-width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 14px;}
 header .site-nav a {font-size:12px;line-height:1.5;white-space:normal;}
 .site-layout {display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 auto!important;padding:0 12px!important;gap:20px!important;}
 .site-layout > main {width:100%!important;max-width:100%!important;min-width:0!important;margin:18px 0!important;padding:0!important;}
 .site-layout > aside,.site-layout .site-sidebar {width:100%!important;max-width:100%!important;min-width:0!important;}
 body:has(#posts) #posts.grid,body:has(#posts) .site-layout #posts.grid {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;width:100%!important;}
 #posts .card {width:100%!important;min-width:0!important;padding:16px!important;overflow:hidden;}
 #posts .card-meta {display:flex!important;align-items:flex-start!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:6px 12px!important;white-space:normal!important;}
 #posts .card-meta-date {font-size:12px!important;white-space:normal!important;flex:1 1 auto;}
 #posts .card-meta-category {font-size:11px!important;white-space:normal!important;overflow-wrap:anywhere;text-align:right;flex:0 1 auto;max-width:55%;}
 #posts .card img,#posts .card-cover {max-width:100%;height:auto;}
 #posts .card h2 {font-family:inherit!important;font-stretch:normal!important;letter-spacing:normal;line-height:1.2!important;font-size:clamp(21px,6vw,29px)!important;white-space:normal!important;overflow-wrap:break-word;}
 #posts .card-actions {margin-top:auto;}
}
@media(max-width:380px){#posts .card-meta-category{max-width:100%;text-align:left;}header .site-nav{gap:8px 11px;}}


/* rd-php-layout.css */
.rd-php-header{max-width:1200px;margin:0 auto;box-sizing:border-box}.rd-php-top{min-height:120px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 20px}.rd-php-logo img{max-width:100%;max-height:105px;object-fit:contain}.rd-php-logo strong{font-size:34px;color:white}.rd-php-social{display:flex;gap:10px}.rd-php-social a{width:42px;height:42px;display:grid;place-items:center;color:white;text-decoration:none;font:bold 24px Arial;border-radius:4px}.rd-social-rss{background:#d86a0b}.rd-social-twitter{background:#1887ad}.rd-social-facebook{background:#26549a}.rd-php-header .site-nav{display:flex;flex-wrap:wrap;align-items:center;gap:20px;padding:15px 20px}.site-layout{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}.site-layout main{min-width:0}.site-layout .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.site-layout .site-sidebar{width:auto;min-width:0}.site-layout .card{min-width:0}.site-layout .card-cover img{display:block;max-width:100%;height:auto;object-fit:contain}.site-layout .card h2{font-size:18px}.site-layout .card-excerpt{font-size:12px;text-align:left}@media(max-width:800px){.site-layout{grid-template-columns:minmax(0,1fr)}.rd-php-top{flex-wrap:wrap}.rd-php-header .site-nav{overflow-x:auto;flex-wrap:nowrap}.site-layout .grid{grid-template-columns:1fr}}
/* Oorspronkelijke doorlopende contentzone, zonder zichtbare achtergrond tussen kaarten. */
body > .site-layout {
  max-width:1200px !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) 280px !important;
  gap:0 !important;
  align-items:stretch !important;
  background:#fff !important;
  box-sizing:border-box;
}
body > .site-layout > main {
  background:#fff !important;
  padding:20px !important;
  margin:0 !important;
  min-width:0;
  box-sizing:border-box;
}
body > .site-layout > .site-sidebar {
  background:#17191d !important;
  padding:0 12px 20px !important;
  margin:0 !important;
  min-width:0;
  box-sizing:border-box;
}
body > .site-layout > .site-sidebar .sidebar-box {
  background:#17191d !important;
  border:1px solid #34383e !important;
  border-radius:5px !important;
  margin:0 0 18px !important;
  padding:20px 16px !important;
  box-sizing:border-box;
}
body > .site-layout > .site-sidebar .sidebar-box h2 {
  color:#f2f2f2 !important;
  font-size:22px !important;
  margin:0 0 18px !important;
}
body > .site-layout > .site-sidebar .exclusive-link {
  display:block;
  color:#f1f1f1 !important;
  text-decoration:none !important;
}
body > .site-layout > .site-sidebar .exclusive-link img {
  width:100%;
  max-height:260px;
  object-fit:contain;
  background:#101114;
  display:block;
}
body > .site-layout > main > .grid {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
}
body > .site-layout > main .card {
  box-sizing:border-box;
  height:auto !important;
  min-height:0 !important;
}
body > .site-layout > main .card-summary {
  margin-top:10px !important;
}
body > footer {
  display:block !important;
  box-sizing:border-box;
  max-width:1200px !important;
  width:100% !important;
  margin:0 auto !important;
  padding:18px 20px !important;
  background:#111215 !important;
  color:#ddd !important;
  clear:both !important;
}
@media(max-width:800px) {
  body > .site-layout {grid-template-columns:minmax(0,1fr) !important;}
  body > .site-layout > main {padding:14px !important;}
  body > .site-layout > main > .grid {grid-template-columns:minmax(0,1fr) !important;}
  body > .site-layout > .site-sidebar {padding:14px !important;}
}


/* Sidebar afbeeldingen als nette verticale reeks, doorlopend naast witte content */
body > .site-layout > .site-sidebar {align-self:stretch !important;min-height:100% !important;}
body > .site-layout > .site-sidebar .exclusive-link {display:block !important;margin:0 0 14px !important;overflow:hidden;}
body > .site-layout > .site-sidebar .exclusive-link img {display:block !important;width:100% !important;height:auto !important;max-height:none !important;aspect-ratio:16/9 !important;object-fit:cover !important;border:1px solid #34383e;}
body > .site-layout > .site-sidebar .exclusive-title {display:block !important;margin-top:6px !important;color:#e9e9e9 !important;font-size:13px !important;line-height:1.35 !important;overflow-wrap:anywhere !important;}
body > .site-layout > .site-sidebar .sidebar-empty {font-size:13px;color:#b9b9b9;}
body > .site-layout > .site-sidebar .sidebar-search {display:flex !important;gap:8px !important;align-items:center !important;}
body > .site-layout > .site-sidebar .sidebar-search input {min-width:0 !important;flex:1 !important;width:100% !important;}
body > .site-layout > .site-sidebar .sidebar-search button {flex:0 0 auto !important;}

/* Exact layout proportions based on the saved pre-migration screenshot (2026-11-03 22:22). */
body>.rd-php-header,body>.site-layout,body>footer{width:calc(100% - 32px)!important;max-width:1588px!important;margin-left:auto!important;margin-right:auto!important}
body>.rd-php-header{min-height:350px!important;background:#18191d!important;box-sizing:border-box!important;padding:0!important}
body>.rd-php-header .rd-php-top{min-height:240px!important;padding:65px 54px 22px!important;align-items:flex-start!important}
body>.rd-php-header .rd-php-logo img{max-height:95px!important;max-width:min(900px,100%)!important;object-fit:contain!important;object-position:left center!important}
body>.rd-php-header .rd-php-social a{width:62px!important;height:62px!important;font-size:29px!important;border-radius:9px!important}
body>.rd-php-header .rd-php-social{gap:15px!important}
body>.rd-php-header .site-nav{padding:27px 54px 38px!important;gap:27px!important;min-height:110px!important}
body>.rd-php-header .site-nav a{font-size:17px!important;font-weight:800!important}
body>.site-layout{grid-template-columns:minmax(0,1fr) 396px!important;gap:0!important;align-items:stretch!important;background:#fff!important}
body>.site-layout>main{padding:32px 20px!important;margin:0!important;background:#fff!important}
body>.site-layout>main>.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
body>.site-layout>main .card{border:1px solid #c4cad2!important;border-radius:18px!important;padding:18px!important;box-shadow:none!important;background:#fff!important;min-width:0!important}
body>.site-layout>main .card-meta{display:flex!important;justify-content:space-between!important;gap:8px!important;font-size:12px!important;margin-bottom:18px!important}
body>.site-layout>main .card-meta-category{color:#173d72!important;font-weight:800!important;text-align:right!important}
body>.site-layout>main .rd-card-cover-link{display:flex!important;justify-content:center!important;align-items:center!important;background:#f0f1f4!important;border-radius:12px!important;overflow:hidden!important;min-height:300px!important}
body>.site-layout>main .rd-card-cover-link img{display:block!important;width:100%!important;height:375px!important;object-fit:contain!important;max-height:none!important}
body>.site-layout>main .card h2{font-size:23px!important;color:#163e70!important;line-height:1.25!important}
body>.site-layout>.site-sidebar{background:#17191d!important;padding:0 14px 24px!important;margin:0!important}
body>.site-layout>.site-sidebar .sidebar-box{margin:0 0 28px!important;padding:30px!important;border:1px solid #34383e!important;border-radius:7px!important}
body>.site-layout>.site-sidebar .sidebar-box h2{font-size:25px!important;letter-spacing:.02em!important;margin:0 0 20px!important}
body>.site-layout>.site-sidebar .exclusive-link img{width:100%!important;height:auto!important;aspect-ratio:1.65!important;object-fit:cover!important}
body>footer{background:#111215!important}
@media(max-width:1150px){body>.site-layout{grid-template-columns:minmax(0,1fr) 300px!important}body>.rd-php-header .rd-php-top{padding:35px 25px 10px!important}body>.rd-php-header .site-nav{padding:20px 25px!important}body>.site-layout>main .rd-card-cover-link img{height:300px!important}}
@media(max-width:800px){body>.rd-php-header{min-height:0!important}body>.rd-php-header .rd-php-top{min-height:0!important;flex-wrap:wrap!important}body>.rd-php-header .rd-php-logo img{max-height:65px!important}body>.rd-php-header .site-nav{min-height:0!important}body>.site-layout{grid-template-columns:minmax(0,1fr)!important}body>.site-layout>main>.grid{grid-template-columns:minmax(0,1fr)!important}body>.site-layout>main .rd-card-cover-link img{height:320px!important}}


/* Sidebar: no white gutter; exclusive games never extend the homepage. */
html,body{overflow-x:clip!important}
body>.site-layout{column-gap:0!important;overflow:hidden!important;background:#17191d!important;min-width:0!important}
body>.site-layout>main{min-width:0!important;background:#fff!important}
body>.site-layout>.site-sidebar{box-sizing:border-box!important;min-width:0!important;width:100%!important;height:0;min-height:0!important;align-self:start!important;overflow:hidden!important;background:#17191d!important;border:0!important;box-shadow:none!important;padding:0 14px 0!important}
body>.site-layout>.site-sidebar .exclusive-link{display:block!important;margin-bottom:16px!important;overflow:hidden!important;text-decoration:none!important}
body>.site-layout>.site-sidebar .exclusive-link img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1.65!important;object-fit:cover!important}
body>.site-layout>.site-sidebar .exclusive-title{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:15px!important;line-height:1.5!important;margin-top:7px!important;color:#fff!important}
@media(max-width:800px){body>.site-layout>.site-sidebar{height:auto!important;max-height:none!important;overflow:visible!important;padding-bottom:16px!important}body>.site-layout>.site-sidebar .exclusive-link:nth-of-type(n+5){display:none!important}}

/* Sidebar v3: main alone defines layout height; sidebar cannot stretch the page. */
@media(min-width:801px){
 body>.site-layout{position:relative!important;display:block!important;box-sizing:border-box!important;padding-right:396px!important;background:#17191d!important;overflow:clip!important;}
 body>.site-layout>main{display:block!important;width:100%!important;box-sizing:border-box!important;min-width:0!important;background:#fff!important;}
 body>.site-layout>.site-sidebar{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;width:396px!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;box-sizing:border-box!important;background:#17191d!important;padding:0 14px!important;margin:0!important;display:block!important;}
 body>.site-layout>.site-sidebar .exclusive-link{display:block!important;max-width:100%!important;overflow:hidden!important;}
 body>.site-layout>.site-sidebar .exclusive-title{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
}
@media(min-width:801px) and (max-width:1150px){body>.site-layout{padding-right:300px!important}body>.site-layout>.site-sidebar{width:300px!important}}
@media(max-width:800px){body>.site-layout{display:block!important;padding-right:0!important;background:#fff!important;overflow:visible!important}body>.site-layout>.site-sidebar{position:static!important;width:100%!important;height:auto!important;max-height:none!important;background:#17191d!important;overflow:visible!important}}
/* Avoid old theme sidebar margins exposing the white parent. */
body>.site-layout>.site-sidebar,body>.site-layout>.site-sidebar *{box-sizing:border-box}

/* Exclusive Games: covers only; no game titles below thumbnails. */
body>.site-layout>.site-sidebar .exclusive-title, .site-sidebar .exclusive-link>.exclusive-title{display:none!important;}
body>.site-layout>.site-sidebar .exclusive-link{margin-bottom:14px!important;}

/* Shared home layout: both columns determine the document height. */
@media (min-width:801px){
 body>.site-layout:has(>.site-sidebar){display:grid!important;grid-template-columns:minmax(0,1fr) 396px!important;padding-right:0!important;align-items:stretch!important;overflow:visible!important;background:#17191d!important;}
 body>.site-layout:has(>.site-sidebar)>main{grid-column:1!important;grid-row:1!important;width:auto!important;min-height:100%!important;align-self:stretch!important;background:#fff!important;}
 body>.site-layout:has(>.site-sidebar)>.site-sidebar{grid-column:2!important;grid-row:1!important;position:relative!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;width:auto!important;height:auto!important;min-height:100%!important;max-height:none!important;overflow:visible!important;align-self:stretch!important;padding:0 14px 24px!important;background:#17191d!important;}
}
@media (min-width:801px) and (max-width:1150px){body>.site-layout:has(>.site-sidebar){grid-template-columns:minmax(0,1fr) 300px!important}}
@media (max-width:800px){body>.site-layout:has(>.site-sidebar){display:flex!important;flex-direction:column!important;padding-right:0!important;overflow:visible!important}body>.site-layout:has(>.site-sidebar)>main{width:100%!important;flex:1 0 auto!important;background:#fff!important}body>.site-layout:has(>.site-sidebar)>.site-sidebar{position:static!important;overflow:visible!important;height:auto!important;min-height:0!important;max-height:none!important;width:100%!important;padding-bottom:20px!important}}

/* 2026-11-08: Both columns determine the height; no sidebar clipping. */
@media(min-width:801px){
 body>.site-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 396px!important;grid-template-rows:auto!important;padding-right:0!important;overflow:visible!important;align-items:stretch!important;background:#17191d!important}
 body>.site-layout>main{grid-column:1!important;grid-row:1!important;width:auto!important;min-height:100%!important;background:#fff!important}
 body>.site-layout>.site-sidebar{display:block!important;grid-column:2!important;grid-row:1!important;position:static!important;inset:auto!important;width:auto!important;height:auto!important;min-height:100%!important;max-height:none!important;overflow:visible!important;align-self:stretch!important;padding:0 14px 24px!important}
}
@media(min-width:801px) and (max-width:1150px){body>.site-layout{grid-template-columns:minmax(0,1fr) 300px!important}}
@media(max-width:800px){body>.site-layout{display:flex!important;flex-direction:column!important;overflow:visible!important}body>.site-layout>.site-sidebar{position:static!important;height:auto!important;max-height:none!important;overflow:visible!important}}
body>.site-layout>.site-sidebar .exclusive-link{display:block!important;visibility:visible!important}
body>.site-layout>.site-sidebar .exclusive-link[hidden]{display:block!important}

/* Keep the Exclusive Games panel flush with the footer when the content column is taller. */
@media (min-width:801px){
 body>.site-layout>.site-sidebar{display:flex!important;flex-direction:column!important;align-self:stretch!important;padding-bottom:0!important;}
 body>.site-layout>.site-sidebar>.sidebar-box:last-child{flex:1 0 auto!important;margin-bottom:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;}
 body>.site-layout>.site-sidebar>#rs-exclusive-games{flex:1 0 auto!important;margin-bottom:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;}
}

/* Social links: uniform compact icons, override legacy 62px header rules. */
body>.rd-php-header .rd-php-social{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;flex-wrap:nowrap!important;margin-left:auto!important;min-width:0!important}
body>.rd-php-header .rd-php-social a{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;white-space:nowrap!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;flex:0 0 44px!important;padding:0!important;margin:0!important;border-radius:8px!important;font-family:Arial,sans-serif!important;font-size:24px!important;font-weight:700!important;line-height:1!important;text-decoration:none!important;letter-spacing:0!important;box-shadow:none!important}
body>.rd-php-header .rd-php-social a.rd-social-rss{font-size:13px!important;letter-spacing:-.5px!important}
body>.rd-php-header .rd-php-social a.rd-social-facebook{font-size:29px!important}
@media(max-width:760px){body>.rd-php-header .rd-php-social{gap:7px!important}body>.rd-php-header .rd-php-social a{width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;max-height:36px!important;flex-basis:36px!important;font-size:21px!important}body>.rd-php-header .rd-php-social a.rd-social-rss{font-size:11px!important}body>.rd-php-header .rd-php-social a.rd-social-facebook{font-size:25px!important}}

/* Shared outer width for header, content and footer. */
body>.rd-php-header,body>.site-layout,body>footer.rd-site-footer{box-sizing:border-box!important;width:calc(100% - 32px)!important;max-width:1588px!important;margin-left:auto!important;margin-right:auto!important;}
@media(max-width:600px){body>.rd-php-header,body>.site-layout,body>footer.rd-site-footer{width:calc(100% - 24px)!important;}}

/* Sidebar disabled in admin: give the content the entire shared width. */
body>.site-layout:not(:has(>.site-sidebar)){display:block!important;grid-template-columns:minmax(0,1fr)!important;padding-right:0!important;background:#fff!important;overflow:visible!important;}
body>.site-layout:not(:has(>.site-sidebar))>main{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:100%!important;grid-column:auto!important;background:#fff!important;}

/* Exclusive Games: fixed-size banner frame, uncropped source image.
   Positioning the image inside a ratio-controlled link avoids intrinsic-image
   sizing overriding object-fit: contain. */
body > .site-layout > .site-sidebar a.exclusive-link {
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:1.65 / 1 !important;
  overflow:hidden !important;
  background:#17191d !important;
}
body > .site-layout > .site-sidebar a.exclusive-link > img {
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#17191d !important;
}


/* rd-full-width.css */
/* ReloadedDemo: expand the content when the PHP sidebar is disabled. */
@media (min-width:801px) {
  body > .site-layout:not(:has(> .site-sidebar)) {
    padding-right:0 !important;
    grid-template-columns:minmax(0,1fr) !important;
    background:#fff !important;
  }
  body > .site-layout:not(:has(> .site-sidebar)) > main {
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    grid-column:1 / -1 !important;
    box-sizing:border-box !important;
  }
}


/* rd-card-pagination.css */
/* Reloaded CMS: game cards and classic dark pagination. Theme-only styling. */
#posts .card { display:flex; flex-direction:column; }
#posts .card-meta { order:0 !important; }
#posts .card h2 { order:1 !important; margin:0 0 12px !important; font-size:18px !important; line-height:1.35 !important; }
#posts .rd-card-cover-link { order:2 !important; }
#posts .card-summary { order:3 !important; }
#posts .card-actions { order:4 !important; }
#posts .card-meta-category a { color:inherit !important; text-decoration:none; }
#posts .card-meta-category a:hover, #posts .card-meta-category a:focus-visible { text-decoration:underline !important; }
#posts .card-meta-category { white-space:normal !important; text-align:right; }
body>.site-layout>main .pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px; margin:20px auto 28px; }
body>.site-layout>main .pagination-label { color:#a5a5a5; font:12px/1.3 Arial,sans-serif; padding:4px 6px; }
body>.site-layout>main .page-button, body>.site-layout>main .page-ellipsis { display:inline-flex; align-items:center; justify-content:center; min-width:24px; min-height:24px; padding:3px 6px; border:1px solid #303030; border-radius:0; background:#101010; color:#a9a9a9; text-decoration:none; font:12px/1.2 Arial,sans-serif; }
body>.site-layout>main .page-button.active { color:#fff; background:#070707; border-color:#535353; font-weight:bold; }
body>.site-layout>main a.page-button:hover { color:#fff; border-color:#777; background:#252525; }
body>.site-layout>main .page-ellipsis { border:0; background:transparent; }
@media(max-width:600px){body>.site-layout>main .pagination{gap:3px}body>.site-layout>main .page-button{min-width:26px}}


/* Herstel: titel en metadata direct bij elkaar, geen flex-ruimteverdeling. */
@media (min-width:801px) {
  body > .site-layout > main #posts.grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important;}
}
@media (max-width:800px) {
  body > .site-layout > main #posts.grid {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;}
}
html body #posts.grid > article.card {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto auto minmax(0,1fr) auto!important;
  justify-content:initial!important;
  justify-items:stretch!important;
  align-content:start!important;
  align-items:start!important;
  gap:0!important;
  row-gap:0!important;
}
html body #posts.grid > article.card > h2 {
  grid-row:1!important;order:unset!important;
  position:static!important;transform:none!important;
  display:block!important;height:auto!important;min-height:0!important;
  margin:0 0 5px!important;padding:0!important;
  font-size:18px!important;line-height:1.3!important;
}
html body #posts.grid > article.card > .card-meta {
  grid-row:2!important;order:unset!important;
  position:static!important;transform:none!important;
  height:auto!important;min-height:0!important;
  margin:0 0 9px!important;padding:0!important;
  display:flex!important;justify-content:space-between!important;align-items:center!important;
}
html body #posts.grid > article.card > .rd-card-cover-link {grid-row:3!important;order:unset!important;margin:0!important;}
html body #posts.grid > article.card > .card-summary {grid-row:4!important;order:unset!important;min-height:0!important;}
html body #posts.grid > article.card > .card-actions {grid-row:5!important;order:unset!important;align-self:end!important;}

