/*
Theme Name: northerngamingevents
Template: mavix-resume
Version: 1.0.1783962434
Updated: 2026-07-13 17:07:14

*/

/* Northern Gaming Events — child theme styles */
/* Palette: Retro Console — https://coolors.co/1d3557-fff9f0-d62828-457b9d-fca311 */

body, button, input, select, textarea {
  font-size: 15px !important;
}
tr { border: unset; }
.wp-block-list {
	margin: 0 0 1em;
}
.main-navigation ul ul a {
    width: 228px;
}
@media only screen and (max-width: 1023px) {
  .main-navigation ul ul a {
    width: 100%;
  }
}
.main-navigation ul ul {
	background-color: #457B9D;
}

:root {
	--nge-ink: #1d3557;        /* main text, headings */
	--nge-bg: #fff9f0;         /* page background */
	--nge-primary: #d62828;    /* console red — links, accents */
	--nge-secondary: #457b9d;  /* steel blue — table heads, secondary accents */
	--nge-accent: #fca311;     /* amber — pixel underline, highlights */

	--nge-ink-soft: #5a6b85;   /* muted text, captions */
	--nge-line: #e8ddc9;       /* borders, dividers */
	--nge-surface: #f7efe0;    /* stripes, soft panels */
	--nge-white: #ffffff;

	--nge-fs-base: 17px;       /* body text: paragraphs, lists, tables */
	--nge-fs-small: 14px;      /* disclaimers, captions, sources */

	--nge-radius: 10px;
	--nge-shadow: 0 2px 12px rgba(29, 53, 87, 0.10);
}

/*#masthead .header-top {
  padding: 5px 0 !important;
}
.section-gap {
  padding: 15px 0 !important;
}
#header-image .page-header {
  margin-top: 18px !important;
}
#masthead .header-bottom {
	background-color: #1D3557;
}
.main-navigation ul.nav-menu {
	background-color: #1D3557;
}

.wp-block-table table,
figure.wp-block-table table {
    display: table !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.wp-block-group.nge-related h2, .wp-block-group.nge-related h3 {
	margin-top: 0;
}*/


/* ---------- Base ---------- */

.nge-page {
	background: var(--nge-bg);
	color: var(--nge-ink);
}

.nge-page p,
.nge-page ul,
.nge-page ol,
.nge-page table {
	font-size: var(--nge-fs-base);
	color: var(--nge-ink);
	line-height: 1.65;
}

.nge-page a {
	color: var(--nge-primary);
	text-decoration-color: var(--nge-accent);
	text-underline-offset: 3px;
}

.nge-page a:hover {
	color: var(--nge-secondary);
}

.nge-page h1,
.nge-page h2,
.nge-page h3 {
	color: var(--nge-ink);
	line-height: 1.25;
}

/* Signature: 8-bit pixel underline on H2 */
.nge-page h2 {
	position: relative;
	padding-bottom: 14px;
	border: none;
}

.nge-page h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 120px;
	height: 8px;
	background: repeating-linear-gradient(
		90deg,
		var(--nge-primary) 0 8px,
		var(--nge-accent) 8px 16px,
		var(--nge-secondary) 16px 24px
	);
	image-rendering: pixelated;
}

/* ---------- Signature: ticket-stub lead ---------- */

.nge-lead {
	position: relative;
	background: var(--nge-white);
	border: 1px solid var(--nge-line);
	border-radius: var(--nge-radius);
	box-shadow: var(--nge-shadow);
	padding: 24px 28px 24px 46px;
	overflow: hidden;
  margin-bottom: 1em
}

/* perforated tear-off edge */
.nge-lead::before {
	content: "";
	position: absolute;
	left: 26px;
	top: 0;
	bottom: 0;
	border-left: 2px dashed var(--nge-line);
}

/* ticket stripe */
.nge-lead::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 12px;
	background: repeating-linear-gradient(
		180deg,
		var(--nge-primary) 0 14px,
		var(--nge-accent) 14px 28px
	);
}

/* ---------- Tables ---------- */

.nge-table table {
	border-collapse: collapse;
	width: 100%;
	background: var(--nge-white);
	border-radius: var(--nge-radius);
	overflow: hidden;
	box-shadow: var(--nge-shadow);
	font-size: .9rem;
}

.nge-table th {
	background: var(--nge-ink);
	color: var(--nge-bg);
	text-align: left;
	padding: 12px 14px;
	border: none;
	box-shadow: inset 0 -3px 0 var(--nge-accent);
}

.nge-table td {
	padding: 11px 14px;
	border: none;
  	border-bottom: 1px solid var(--nge-line);
	/*border-bottom: 1px solid var(--nge-ink) !important;*/
	vertical-align: top;
}

.nge-table tbody tr:nth-child(even) td {
	background: var(--nge-surface);
}

.nge-table tbody tr:last-child td {
	border-bottom: none;
}

/* ---------- Quote ---------- */

.nge-quote {
	background: var(--nge-surface);
	border: none;
	border-left: 6px solid var(--nge-secondary);
	border-radius: var(--nge-radius);
	padding: 18px 24px;
	margin: 0 0 1.5em;
	font-style: italic;
}

.nge-quote p {
	margin-bottom: 0;
}

.nge-quote cite {
	display: block;
	margin-top: 10px;
	font-style: normal;
	font-size: var(--nge-fs-small);
	color: var(--nge-ink-soft);
}

/* ---------- Feature cards (columns) ---------- */

.nge-card {
	background: var(--nge-white);
	border: 1px solid var(--nge-line);
	border-top: 5px solid var(--nge-primary);
	border-radius: var(--nge-radius);
	box-shadow: var(--nge-shadow);
	padding: 22px 24px;
	height: 100%;
}

.nge-card h3 {
	margin-top: 0;
	/*font-size: 1.1em;*/
}

.nge-card--blue {
	border-top-color: var(--nge-secondary);
}

.nge-card--amber {
	border-top-color: var(--nge-accent);
}

/* ---------- Lists ---------- */

.nge-list-marked li::marker {
	color: var(--nge-primary);
}

/* ---------- Images ---------- */

/* Signature: polaroid-style frame with offset shadow */
.nge-img img {
	background: var(--nge-white);
	border: 6px solid var(--nge-white);
	border-radius: 6px;
	box-shadow: 6px 6px 0 rgba(252, 163, 17, 0.55), 0 4px 14px rgba(29, 53, 87, 0.18);
}

.nge-img figcaption {
	font-size: var(--nge-fs-small);
	color: var(--nge-ink-soft);
	margin-top: 12px;
}

/* ---------- Related reading ---------- */

.nge-related {
	background: var(--nge-surface);
	border: 1px solid var(--nge-line);
	border-radius: var(--nge-radius);
	padding: 24px 28px;
}

.nge-related ul {
	margin-bottom: 0;
}

/* ---------- Sources ---------- */

.nge-sources li,
.nge-sources a {
	font-size: var(--nge-fs-small);
}

/* ---------- Disclaimer ---------- */

.nge-disclaimer p {
	font-size: var(--nge-fs-small);
	color: var(--nge-ink-soft);
	border-top: 1px solid var(--nge-line);
	padding-top: 16px;
	font-style: italic;
}

