/*
 Theme Name:   MoreNews FAO Child
 Theme URI:    https://freeaccountsonline.com
 Description:  Dark magazine styling for FreeAccountsOnline
 Author:       Migration
 Template:     morenews
 Version:      1.0.2
 Text Domain:  morenews-fao-child
*/

:root {
  --fao-bg: #0a0a0a;
  --fao-surface: #141414;
  --fao-text: #fffdfc;
  --fao-muted: rgba(255, 252, 252, 0.55);
  --fao-accent: #1e73be;
  --fao-cat: #e8a317;
}

body,
body.morenews-frontend,
.af-main-wrap {
  background-color: var(--fao-bg) !important;
  color: var(--fao-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.site-header,
.header-layout-1,
.af-middle-header,
.af-top-header,
.site-footer,
.footer-widgets,
.af-bottom-footer {
  background-color: var(--fao-surface) !important;
  border-color: rgba(255, 252, 252, 0.12) !important;
}

a {
  color: var(--fao-text);
}

a:hover {
  color: var(--fao-accent);
}

.entry-title a,
.post-title a,
.af-title a,
h1, h2, h3, h4 {
  color: var(--fao-text) !important;
}

.entry-meta,
.post-date,
.af-post-format,
.post-excerpt,
.entry-summary {
  color: var(--fao-muted) !important;
}

.cat-links a,
.af-cat-links a,
.morenews-category a {
  background: var(--fao-cat) !important;
  color: #230e00 !important;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
}

article.post,
.af-blog-post,
.af-list-post,
.widget,
.sidebar-area {
  background: transparent;
}

.widget-title,
.af-widget-title {
  color: var(--fao-text);
  border-bottom: 1px solid rgba(255, 252, 252, 0.12);
}

#secondary,
.sidebar-area,
.widget-area {
  background: var(--fao-surface);
}

.main-navigation a,
.menu-primary-container a {
  color: var(--fao-text);
}

.td-menu-item svg,
.menu-item svg {
  margin-bottom: -10px;
  vertical-align: middle;
}

.site-content,
#content,
.af-container-row {
  background: var(--fao-bg);
}

.morenews-pagination a,
.pagination a {
  background: var(--fao-surface);
  color: var(--fao-text);
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  background: #1a1a1a;
  color: var(--fao-text);
  border-color: rgba(255, 252, 252, 0.2);
}

.fao-hero {
  margin-bottom: 2rem;
}

.fao-section-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 252, 252, 0.12);
}

.fao-category-block {
  margin-bottom: 3rem;
}

.fao-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.fao-post-card {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 252, 252, 0.08);
}

.fao-post-card .fao-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.fao-hero-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
}

.fao-hero .fao-thumb img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Readable text: MoreNews dark mode still sets dark text in many selectors */
body.aft-dark-mode,
body.aft-default-mode,
body.home,
body.single,
body.category,
body.aft-dark-mode .site,
body.aft-dark-mode .site-content,
body.aft-dark-mode .site-main,
body.aft-dark-mode #content,
body.aft-dark-mode .af-container-row,
body.aft-dark-mode .entry-content,
body.aft-dark-mode .entry-content p,
body.aft-dark-mode p,
body.aft-dark-mode li,
body.aft-dark-mode span,
body.aft-dark-mode div,
body.aft-dark-mode h1,
body.aft-dark-mode h2,
body.aft-dark-mode h3,
body.aft-dark-mode h4,
body.aft-dark-mode .read-title,
body.aft-dark-mode .read-title h3,
body.aft-dark-mode .read-title h3 a,
body.aft-dark-mode .read-details,
body.aft-dark-mode .post-excerpt,
body.aft-dark-mode .af-post-format,
body.aft-dark-mode .widget,
body.aft-dark-mode .widget li,
body.aft-dark-mode .main-navigation a,
body.aft-dark-mode .menu a,
body.aft-dark-mode .site-title a,
body.aft-dark-mode .site-description,
body.aft-dark-mode .entry-title,
body.aft-dark-mode .entry-title a {
  color: var(--fao-text) !important;
}

body.aft-dark-mode a,
body.aft-dark-mode a:visited {
  color: var(--fao-text) !important;
}

body.aft-dark-mode a:hover,
body.aft-dark-mode a:focus {
  color: var(--fao-accent) !important;
}

.fao-section-title,
.fao-post-title,
.fao-post-title a,
.fao-excerpt,
.fao-date,
.fao-more a,
.fao-hero-title,
.fao-hero-title a {
  color: var(--fao-text) !important;
}

.fao-cat {
  display: inline-block;
  background: var(--fao-cat) !important;
  color: #230e00 !important;
  padding: 3px 8px;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none;
}

.fao-cat:hover {
  color: #230e00 !important;
  opacity: 0.9;
}

body.aft-dark-mode .entry-meta,
body.aft-dark-mode .post-date,
body.aft-dark-mode .min-read,
body.aft-dark-mode .fao-date {
  color: var(--fao-muted) !important;
}

/* Parent theme auto homepage blocks (OnlyFans-heavy) — hidden; we use page 389 shortcodes */
body.home .aft-main-banner-section,
body.home .aft-main-banner-wrapper,
body.home .exclusive-posts-wrapper,
body.home .af-banner-carousel,
body.home .aft-trending-posts,
body.home .aft-featured-posts,
body.home .aft-you-may-have-missed,
body.home .section-block-upper:not(.fao-front-page-wrap) {
  display: none !important;
}
