/*
 * The Mersey Juror - recreation of the 2012 "Atmosphere 2010" WordPress look
 * (a Twenty Ten child theme: dark page, colour-fade header image, black menu
 * bar, single content column with a two-tier right sidebar, date bar above
 * each post, "Written By | Comments" utility line, dark colophon).
 */

:root {
  --page-bg: #17191c;
  --wrap-bg: #0e0f11;
  --panel: #f4f4f2;
  --panel-edge: #d8d8d4;
  --ink: #2b2b2b;
  --ink-soft: #666;
  --red: #c8102e;
  --red-deep: #7d0a1c;
  --blue: #1b4fa0;
  --blue-deep: #0b2a5c;
  --bar: #000;
  --bar-hover: #333;
  --side-bg: #1f2226;
  --side-ink: #ddd;
  --side-link: #f0f0f0;
  --side-title: #fff;
  --rule: #3a3d42;
  --serif: Georgia, "Bitstream Charter", "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font: 16px/1.6 var(--serif);
}

a { color: var(--blue); }
a:hover, a:focus { color: var(--red); }

img { max-width: 100%; height: auto; }

.screen-reader-text {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.screen-reader-text:focus {
  left: 8px; top: 8px; width: auto; height: auto; padding: 6px 10px;
  background: #fff; color: #000; z-index: 10;
}

/* ---------- Wrapper ---------- */
#wrapper {
  max-width: 940px;
  margin: 20px auto 0;
  background: var(--wrap-bg);
  box-shadow: 0 0 18px rgba(0, 0, 0, .6);
}

/* ---------- Header: "Team Colours Fade" banner ---------- */
#header { position: relative; }

#branding {
  position: relative;
  min-height: 190px;
  padding: 34px 30px 26px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 20% 120%, rgba(0,0,0,.45), transparent 60%),
    linear-gradient(100deg, var(--red-deep) 0%, var(--red) 28%, #5a1f55 50%, var(--blue) 72%, var(--blue-deep) 100%);
}

/* the river: two soft wave bands across the bottom of the banner */
#branding::before,
#branding::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  height: 70px;
  border-radius: 50%;
  pointer-events: none;
}
#branding::before { bottom: -38px; background: rgba(255,255,255,.08); }
#branding::after  { bottom: -52px; background: rgba(0,0,0,.25); }

.brand-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  text-decoration: none;
}
.brand-link:hover, .brand-link:focus { color: #fff; }

.brand-mark { flex: 0 0 auto; width: 78px; height: 78px; }

#site-title {
  margin: 0;
  font: bold 46px/1 var(--serif);
  letter-spacing: -1px;
  text-shadow: 0 2px 6px rgba(0,0,0,.55);
}
#site-title .the {
  display: block;
  font: italic normal 18px/1.2 var(--serif);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: .85;
}

#site-description {
  position: relative;
  z-index: 1;
  margin: 14px 0 0 96px;
  font: italic 15px/1.4 var(--serif);
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}

/* ---------- Menu bar (#access) ---------- */
#access {
  background: var(--bar);
  border-top: 1px solid #2a2a2a;
  border-bottom: 3px solid var(--red);
  border-image: linear-gradient(90deg, var(--red), var(--blue)) 1;
}
#access ul {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  display: flex;
  flex-wrap: wrap;
}
#access a {
  display: block;
  padding: 0 14px;
  line-height: 38px;
  color: #aaa;
  font: 13px/38px var(--sans);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
}
#access a:hover, #access a:focus { background: var(--bar-hover); color: #fff; }
#access .current a { color: #fff; background: #222; }

/* ---------- Main columns ---------- */
#main {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 20px;
}

#container { flex: 1 1 auto; min-width: 0; }

#content {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  padding: 22px 26px 10px;
}

#sidebar {
  flex: 0 0 240px;
  margin-left: 20px;
  color: var(--side-ink);
  font: 13px/1.55 var(--sans);
}

/* ---------- Post list (home / blog) ---------- */
.entry-meta {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 10px;
  background: #222;
  color: #eee;
  font: 11px/1.8 var(--sans);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.entry-meta a { color: #eee; text-decoration: none; }

.post {
  margin: 0 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dcdcd6;
}
.post:last-of-type { border-bottom: 0; }

.entry-title {
  margin: 0 0 10px;
  font: bold 21px/1.3 var(--serif);
  color: #000;
}
.entry-title a { color: #000; text-decoration: none; }
.entry-title a:hover, .entry-title a:focus { color: var(--red); }

.entry-summary { overflow: hidden; }
.entry-summary p { margin: 0 0 8px; }

.thumb {
  float: left;
  width: 120px;
  height: 90px;
  margin: 4px 16px 8px 0;
  display: flex;
  align-items: flex-end;
  padding: 6px;
  color: #fff;
  font: bold 11px/1.2 var(--sans);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid #bbb;
}
.thumb.red   { background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); }
.thumb.blue  { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); }
.thumb.city  { background: linear-gradient(135deg, #3d4a55 0%, #121a20 100%); }
.thumb.mixed { background: linear-gradient(135deg, var(--red) 0%, #4b2a63 50%, var(--blue) 100%); }
.thumb.league{ background: linear-gradient(135deg, #2f6a3b 0%, #133219 100%); }

.more-link { white-space: nowrap; }

.entry-utility {
  clear: both;
  padding-top: 6px;
  color: var(--ink-soft);
  font: 12px/1.6 var(--sans);
}
.entry-utility a { color: var(--ink-soft); }
.entry-utility .meta-sep { margin: 0 6px; color: #aaa; }

.soon {
  display: inline-block;
  padding: 0 6px;
  background: #ddd;
  color: #555;
  font: 11px/1.8 var(--sans);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navigation {
  margin: 0 0 18px;
  font: 13px/1.6 var(--sans);
}

.section-title {
  margin: 0 0 18px;
  padding-bottom: 6px;
  border-bottom: 2px solid #222;
  font: bold 13px/1.4 var(--sans);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #222;
}

/* ---------- Single post / pages ---------- */
.single .entry-title,
.page-title {
  margin: 0 0 10px;
  font: bold 30px/1.25 var(--serif);
  color: #000;
}

.entry-content { font-size: 16px; }
.entry-content h2 {
  margin: 28px 0 10px;
  font: bold 20px/1.3 var(--serif);
  color: #000;
}
.entry-content h3 {
  margin: 22px 0 8px;
  font: bold 17px/1.3 var(--serif);
}
.entry-content p { margin: 0 0 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 16px; padding-left: 22px; }
.entry-content li { margin-bottom: 6px; }
.entry-content blockquote {
  margin: 0 0 16px;
  padding: 4px 18px;
  border-left: 4px solid var(--red);
  font-style: italic;
  color: #444;
}

.hero {
  height: 200px;
  margin: 0 0 18px;
  border: 1px solid #bbb;
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  color: #fff;
  font: bold 12px/1.2 var(--sans);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero.red   { background: linear-gradient(120deg, var(--red-deep), var(--red) 55%, #e2485f); }
.hero.blue  { background: linear-gradient(120deg, var(--blue-deep), var(--blue) 55%, #4f7fc8); }
.hero.city  { background: linear-gradient(120deg, #121a20, #3d4a55 60%, #6b7b88); }
.hero.league{ background: linear-gradient(120deg, #133219, #2f6a3b 60%, #4f8f5c); }
.hero.mixed { background: linear-gradient(110deg, var(--red-deep), var(--red) 30%, #4b2a63 50%, var(--blue) 70%, var(--blue-deep)); }

.byline {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font: 12px/1.6 var(--sans);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.verdict {
  margin: 24px 0 16px;
  padding: 14px 18px;
  background: #222;
  color: #eee;
  font: 14px/1.6 var(--sans);
}
.verdict strong { color: #fff; text-transform: uppercase; letter-spacing: 1px; }

.notice {
  margin: 0 0 18px;
  padding: 10px 14px;
  background: #fff8d6;
  border: 1px solid #e6d27a;
  font: 13px/1.6 var(--sans);
  color: #5a4a00;
}

.placeholder {
  background: #fff3a8;
  outline: 1px dashed #c9a800;
  padding: 0 3px;
}

.add-comments-link {
  margin: 20px 0 10px;
  text-align: center;
  font: bold 13px/1.6 var(--sans);
}

table.simple { border-collapse: collapse; width: 100%; margin: 0 0 16px; font: 14px/1.5 var(--sans); }
table.simple th, table.simple td { border: 1px solid #ccc; padding: 6px 8px; text-align: left; vertical-align: top; }
table.simple th { background: #222; color: #fff; font-weight: normal; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }

/* ---------- Sidebar widgets ---------- */
.widget-area { list-style: none; margin: 0; padding: 0; }

.widget-container {
  margin: 0 0 18px;
  padding: 12px 14px 14px;
  background: var(--side-bg);
  border: 1px solid var(--rule);
}

.widget-title {
  margin: -12px -14px 10px;
  padding: 7px 14px;
  background: #000;
  border-bottom: 2px solid var(--red);
  color: var(--side-title);
  font: bold 12px/1.4 var(--sans);
  text-transform: uppercase;
  letter-spacing: 2px;
}
#secondary .widget-title { border-bottom-color: var(--blue); }

.widget-container ul { list-style: none; margin: 0; padding: 0; }
.widget-container li {
  padding: 5px 0;
  border-bottom: 1px dotted #3c4046;
}
.widget-container li:last-child { border-bottom: 0; }
.widget-container a { color: var(--side-link); text-decoration: none; }
.widget-container a:hover, .widget-container a:focus { color: #ff8a9a; }
.widget-container small { color: #999; }
.widget-container p { margin: 0 0 8px; }

#secondary { margin-top: 0; }

.search-form { display: flex; gap: 6px; }
.search-form input[type="search"] {
  flex: 1 1 auto; min-width: 0;
  padding: 5px 7px; border: 1px solid #444; background: #111; color: #eee;
  font: 13px var(--sans);
}
.search-form button {
  padding: 5px 9px; border: 0; background: var(--red); color: #fff;
  font: bold 12px var(--sans); cursor: pointer;
}

/* ---------- Footer / colophon ---------- */
#footer {
  background: #000;
  border-top: 3px solid var(--blue);
  border-image: linear-gradient(90deg, var(--red), var(--blue)) 1;
  color: #888;
  font: 12px/1.6 var(--sans);
}
#colophon { padding: 20px 20px 24px; text-align: center; }

.social { display: flex; justify-content: center; gap: 10px; margin: 0 0 14px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 4px;
  background: #222; color: #ddd; text-decoration: none;
  font: bold 12px/1 var(--sans);
}
.social a:hover, .social a:focus { background: var(--red); color: #fff; }

#footer-credit {
  margin: 0 0 10px;
  color: #ccc;
  font: bold 13px/1.4 var(--sans);
  letter-spacing: 4px;
}
#footer a { color: #aaa; }
#footer nav a { margin: 0 6px; }
#site-info { margin-top: 8px; }
.disclaimer { margin-top: 6px; color: #777; font-size: 11px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  #wrapper { margin-top: 0; }
  #main { display: block; padding: 16px; }
  #sidebar { margin: 20px 0 0; }
  #branding { min-height: 0; padding: 24px 16px 22px; }
  .brand-mark { width: 56px; height: 56px; }
  #site-title { font-size: 32px; }
  #site-title .the { font-size: 14px; letter-spacing: 2px; }
  #site-description { margin-left: 0; font-size: 14px; }
  #access ul { padding: 0 4px; }
  #access a { padding: 0 10px; font-size: 12px; }
  #content { padding: 16px 16px 6px; }
  .single .entry-title, .page-title { font-size: 24px; }
}

@media (max-width: 420px) {
  .thumb { width: 90px; height: 68px; margin-right: 12px; }
  .entry-title { font-size: 19px; }
  .hero { height: 140px; }
}
