/*
Theme Name: MoreNews Pro - HYPD Dark
Theme URI: https://thehypdgamer.com
Description: HYPD dark child theme for The HYPD Gamer, matching hypd.live. Tokens and type pulled from hypd.live on 2026-11-21. Build: staging review 1.
Template: morenews-pro
Version: 1.3.5
*/

:root {
  --void: #050508;
  --deep: #0B0B12;
  --panel: #111120;
  --raise: #1A1A2E;
  --ink: #ECECF4;
  --dim: #A3A3BE;
  --faint: #6E6E8A;
  --rule: rgba(236, 236, 244, .10);
  --teal: #00FFC8;
  --pink: #FF2D6B;
  --violet: #7B61FF;
  --volt: #FFD600;
  --sunset: #FF7A3D;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body-font: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --max: 1320px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

body,
body.wp-theme-morenews-pro {
  background: var(--void);
  color: var(--ink);
  font-family: var(--body-font);
}
#page, .site-content, .af-container-row, .color-pad, .read-single {
  background: transparent;
}
h1, h2, h3, h4, h5, h6,
.read-title h3, .read-title h4, .entry-title {
  font-family: var(--display);
  letter-spacing: .01em;
  color: var(--ink);
}
a { color: var(--teal); transition: color .15s var(--ease); }
a:hover, a:focus { color: var(--ink); }
::selection { background: var(--teal); color: var(--void); }

header.morenews-header, .morenews-header, .header-layout-side,
.aft-sticky-header, .navigation-container {
  background: var(--deep) !important;
  border-bottom: 1px solid var(--rule);
}
.site-branding { padding: 10px 0; }
.site-branding img.custom-logo {
  max-height: 52px !important;
  width: auto !important;
  filter: invert(1) hue-rotate(180deg) saturate(1.15);
}
.site-branding, .site-branding * { background: transparent !important; }

.main-navigation { background: var(--deep) !important; }
.main-navigation a {
  color: var(--ink) !important;
  font-family: var(--display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: var(--teal) !important; }
.main-navigation ul ul { background: var(--panel) !important; border: 1px solid var(--rule); }

article.latest-posts-list, .archive-list-post, .af-double-column,
.af-single-article, .read-single, .color-pad {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.archive-list-post .af-double-column, .archive-list-post .read-single,
.af-double-column .read-single, article .color-pad {
  background: transparent; border: 0; border-radius: 0;
}
article.latest-posts-list { margin-bottom: 20px; }
.read-title h3 a, .read-title h4 a, .read-title a {
  color: var(--ink) !important;
  font-family: var(--display);
  font-weight: 600;
}
.read-title a:hover { color: var(--teal) !important; }
.aft-post-image-link img { border-radius: 6px; }

a.morenews-categories, .cat-links a, .meta-category a {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0, 255, 200, .10) !important;
  color: var(--teal) !important;
  border: 1px solid rgba(0, 255, 200, .35);
  border-radius: 3px;
  padding: 2px 8px !important;
}
a.morenews-categories.category-color-1 { background: rgba(255, 45, 107, .12) !important; color: var(--pink) !important; border-color: rgba(255, 45, 107, .4); }
.entry-meta, .post-item-metadata, .posts-date, .min-read, .item-metadata {
  color: var(--dim) !important;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
}
.entry-meta a, .post-item-metadata a { color: var(--dim) !important; }

.read-more a, a.read-more, .more-link {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--teal) !important;
  color: #04342C !important;
  border: 0;
  padding: 7px 18px;
  border-radius: 3px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.read-more a:hover, .more-link:hover { background: var(--ink) !important; color: var(--void) !important; }

.single .entry-content.read-details {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
}
.single h1.entry-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
}
.entry-content a { text-decoration: underline; text-decoration-color: rgba(0,255,200,.5); }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content img { border-radius: 8px; height: auto; }
.entry-content blockquote { border-left: 3px solid var(--teal); background: var(--panel); padding: 12px 16px; }

.sidebar-area .widget, .widget.morenews-widget {
  background: var(--panel) !important;
  border: 1px solid var(--rule);
  border-radius: 10px;
  color: var(--dim);
}
.widget-title, .widget-title-1, .widget .widget-title span {
  color: var(--ink) !important;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-color: var(--teal) !important;
}
.widget a { color: var(--dim); }
.widget a:hover { color: var(--teal); }
.widget_search input[type="search"], input[type="search"], input[type="text"], input[type="email"] {
  background: var(--deep);
  border: 1px solid var(--rule);
  color: var(--ink);
  border-radius: 4px;
}
input[type="submit"], button[type="submit"], .search-submit {
  background: var(--teal);
  color: #04342C;
  border: 0;
  font-family: var(--display);
  text-transform: uppercase;
}

.hypd-ad-slot {
  min-height: 280px;
  margin: 28px auto;
  max-width: 680px;
  background: var(--deep);
  border: 1px dashed var(--rule);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hypd-ad-slot .hypd-ad-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
.hypd-ad-slot--multiplex { min-height: 340px; }
.hypd-ad-slot--sidebar { min-height: 600px; max-width: 300px; position: sticky; top: 90px; margin: 20px auto; }

.hypd-related { max-width: 680px; margin: 36px auto 8px; }
.hypd-related h2 {
  font-size: 1.5rem; text-transform: uppercase; letter-spacing: .05em;
  border-left: 4px solid var(--pink); padding-left: 10px;
}
.hypd-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hypd-related-grid a.hypd-rel-card {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 8px;
  overflow: hidden; color: var(--ink); text-decoration: none; display: block;
}
.hypd-rel-card img { width: 100%; height: 110px; object-fit: cover; display: block; }
.hypd-rel-card .hypd-rel-title {
  font-family: var(--display); font-size: 1rem; line-height: 1.2; padding: 10px 12px 4px; display: block;
}
.hypd-rel-card .hypd-rel-date {
  font-family: var(--mono); font-size: 10px; color: var(--dim); padding: 0 12px 12px; display: block;
}
.hypd-rel-card:hover { border-color: var(--teal); }

.hypd-hub-cta {
  max-width: 680px; margin: 24px auto 40px; padding: 22px 24px;
  background: linear-gradient(135deg, var(--panel), var(--raise));
  border: 1px solid rgba(0, 255, 200, .35); border-radius: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.hypd-hub-cta .hypd-hub-text strong { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; display: block; }
.hypd-hub-cta .hypd-hub-text span { color: var(--dim); font-size: .95rem; }
.hypd-hub-cta a.hypd-hub-btn {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em;
  background: var(--teal); color: #04342C !important; padding: 10px 22px; border-radius: 3px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  text-decoration: none; white-space: nowrap;
}
.hypd-hub-cta a.hypd-hub-btn:hover { background: var(--ink); }

.hypd-footer-band {
  background: var(--deep); border-top: 1px solid var(--rule);
  padding: 28px 16px; margin-top: 40px;
}
.hypd-footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.hypd-footer-brand { font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; color: var(--ink); }
.hypd-footer-brand em { color: var(--teal); font-style: normal; }
.hypd-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.hypd-footer-links a {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dim); text-decoration: none;
}
.hypd-footer-links a:hover { color: var(--teal); }
footer.site-footer, .site-footer { background: var(--void) !important; border-top: 0; }
.site-info, .site-info a { color: var(--faint) !important; font-family: var(--mono); font-size: 11px; }

.breadcrumbs, .aft-breadcrumbs, .sticky-header, .top-header, .header-top {
  background: var(--deep) !important; color: var(--dim);
}
.widget_block, .wp-block-group, .comments-area, #comments, .comment-respond {
  background: var(--panel); border-radius: 10px; color: var(--ink);
}
.comments-area a { color: var(--teal); }
table, th, td { border-color: var(--rule); color: var(--ink); }
hr { border-color: var(--rule); }

@media (max-width: 768px) {
  .site-branding img.custom-logo { max-height: 40px !important; }
  .hypd-related-grid { grid-template-columns: 1fr; }
  .hypd-rel-card img { height: 150px; }
  .hypd-ad-slot { min-height: 250px; }
  .hypd-footer-inner { flex-direction: column; align-items: flex-start; }
}

/* v1.0.1 contrast fixes */
.widget a, .widget li a, .widget ul li a, .sidebar-area a, .widget_categories a, .widget .cat-item a {
  color: var(--dim) !important;
}
.widget a:hover, .sidebar-area a:hover { color: var(--teal) !important; }
.breadcrumbs, .breadcrumbs a, [class*="breadcrumb"] {
  background: transparent !important;
  color: var(--dim) !important;
}
.widget, .widget p, .widget li, .tagcloud a { color: var(--dim); }
.widget select { background: var(--deep); color: var(--ink); border: 1px solid var(--rule); }

/* v1.0.2 widget link specificity */
body .sidebar-area .widget li a, body .widget.morenews-widget li a,
body .widget_categories li a, body .widget ul li a,
html body .widget a:not(.hypd-hub-btn) {
  color: var(--dim) !important;
}
html body .widget a:hover { color: var(--teal) !important; }

/* v1.0.3 remaining light surfaces */
html body main.site-main, html body .af-middle-header,
html body .af-container-row, html body .af-archive-wrapper,
html body .site-content, html body #content {
  background: transparent !important;
}
html body .af-middle-header { background: var(--deep) !important; }
.archive .page-header, .archive-title, .page-title { color: var(--ink); }

/* v1.1.0 live ad slots */
.hypd-ad-slot--live { border: 0; background: transparent; display: block; }
.hypd-ad-slot--live .hypd-ad-label { display: block; text-align: center; margin: 0 0 6px; }
.hypd-ad-slot--live ins.adsbygoogle { margin: 0 auto; }
.hypd-ad-slot--live.hypd-ad-slot--sidebar { padding: 0; }

/* v1.2.0 staging review fixes */
html body .af-main-banner-featured-posts, html body .featured-posts.morenews-customizer { background: var(--panel) !important; border: 1px solid var(--rule); border-radius: 10px; padding: 18px 16px; }
html body .af-main-banner-featured-posts .widget-title, html body .af-title-subtitle-wrap .widget-title { color: var(--ink) !important; background: transparent !important; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--teal); display: inline-block; padding: 0 0 4px; }
html body [class*="flash-news"], html body .aft-flash-slide, html body .marquee, html body .flash-slide-wrap { background: var(--deep) !important; color: var(--ink) !important; }
html body [class*="flash-news"] { border: 1px solid var(--rule); border-radius: 6px; }
html body .circle-marq, html body .flash-title, html body [class*="flash"] .title-flash { background: var(--pink) !important; color: #2B0714 !important; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; }
html body [class*="flash"] a, html body .marquee a { color: var(--ink) !important; }
html body [class*="flash"] a:hover, html body .marquee a:hover { color: var(--teal) !important; }
html body .min-read { background: rgba(5,5,8,.85) !important; color: var(--ink) !important; font-family: var(--mono); border-radius: 3px; padding: 2px 8px; }
html body .search-submit, html body input[type="submit"], html body button[type="submit"] { background: var(--teal) !important; color: #03100C !important; border: 0 !important; border-radius: 0 !important; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; }
html body .main-navigation { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.main-navigation > ul > li > a:hover, .main-navigation li.current-menu-item > a, .main-navigation li.current-menu-ancestor > a, .main-navigation li.current_page_item > a { box-shadow: inset 0 -2px 0 var(--teal); color: var(--teal) !important; }
html body .af-container, html body .container-wrapper, html body .af-container-row, html body .af-mainmenu { max-width: 1320px !important; margin-left: auto; margin-right: auto; }

/* v1.2.1 featured panel fill */
html body .af-main-banner-featured-posts, html body .af-main-banner-featured-posts > .container-wrapper, html body .af-title-subtitle-wrap { background: #111120 !important; }
html body .af-title-subtitle-wrap { background: transparent !important; }

/* v1.2.2 featured panel fill (beat customizer specificity) */
html body .af-main-banner-featured-posts.morenews-customizer, html body .af-main-banner-featured-posts.morenews-customizer > .container-wrapper { background-color: #111120 !important; background-image: none !important; }

/* v1.2.3 menu bar grey fix */
html body .af-bottom-header, html body .af-top-header, html body .af-middle-header { background-color: #0B0B12 !important; }
html body .af-bottom-header { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* v1.3.2 neon removed per review */

/* v1.3.3 remove full-bleed horizontal lines (keep contained card/widget borders) */
html body header.morenews-header, html body .morenews-header, html body .header-layout-side, html body .aft-sticky-header, html body .navigation-container, html body .main-navigation, html body .af-bottom-header, html body .af-top-header, html body .af-middle-header, html body .af-mainmenu { border-top: 0 !important; border-bottom: 0 !important; }

/* v1.3.4 fix white-on-white article sections (customizer-painted) */
html body .entry-content-wrap.read-single, html body .af-reated-posts, html body .af-reated-posts.morenews-customizer, html body .af-trending-posts, html body .af-trending-posts.morenews-customizer, html body .af-single-article .color-pad { background-color: #111120 !important; }
html body .entry-content-wrap.read-single > .color-pad, html body .af-reated-posts .color-pad, html body .af-trending-posts .color-pad { background: transparent !important; }
html body .af-reated-posts, html body .af-trending-posts, html body .entry-content-wrap.read-single { color: var(--ink); }
html body .af-reated-posts a, html body .af-trending-posts a { color: var(--ink) !important; }
html body .af-reated-posts a:hover, html body .af-trending-posts a:hover { color: var(--teal) !important; }
html body .af-reated-posts .widget-title, html body .af-trending-posts .widget-title, html body .af-reated-posts h2, html body .af-reated-posts h3, html body .af-trending-posts h2, html body .af-trending-posts h3 { color: var(--ink) !important; background: transparent !important; }

/* v1.3.5 mobile overflow guard (ad iframes constrained to viewport, policy-safe) */
html, body { overflow-x: hidden; max-width: 100%; }
html body ins.adsbygoogle, html body .google-auto-placed, html body .hypd-ad-slot ins { max-width: 100% !important; }
