/* Max News Hub — gadgets / CPA */

:root {
  --max-ink: #111827;
  --max-ink-2: #1f2937;
  --max-accent: #f59e0b;
  --max-accent-hover: #d97706;
  --max-bg: #f4f5f7;
  --max-card: #ffffff;
  --max-text: #111827;
  --max-muted: #6b7280;
  --max-border: #e5e7eb;
  --max-radius: 14px;
  --max-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

body { background: var(--max-bg); }
body .site.grid-container { max-width: 1120px; }
body .content-area { width: 100% !important; float: none !important; }
body .sidebar, body #right-sidebar, body #left-sidebar { display: none !important; }

.site-header { background: #fff !important; border-bottom: 1px solid var(--max-border); }
.site-header .inside-header { padding-top: 14px; padding-bottom: 14px; }
.site-header .custom-logo, .site-header .header-image { max-height: 52px; width: auto; height: auto; }
.site-header .main-title a { color: var(--max-ink) !important; }

.main-navigation,
.main-navigation .inside-navigation { background: var(--max-ink) !important; }
.main-navigation .main-nav ul li a { color: #f3f4f6 !important; font-weight: 600; }
.main-navigation .main-nav ul li a:hover { background: var(--max-ink-2) !important; color: #fff !important; }
.main-navigation .main-nav ul li[class*="current"] > a { color: var(--max-accent) !important; }
.menu-toggle { color: #f3f4f6 !important; }

.max-hero {
  background: linear-gradient(145deg, #111827 0%, #1f2937 55%, #78350f 100%);
  color: #fff;
  border-radius: var(--max-radius);
  padding: 2.5rem 1.75rem;
  margin: 0 0 2rem;
  box-shadow: var(--max-shadow);
}
.max-hero__eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; opacity: .8; margin: 0 0 .75rem; }
.max-hero__title { font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.2; margin: 0 0 1rem; font-weight: 700; color: #fff !important; }
.max-hero__lead { font-size: 1.05rem; max-width: 48rem; margin: 0 0 1.5rem; color: #e5e7eb; }
.max-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.max-hero__note { font-size: .82rem; opacity: .7; margin: 0; }

.max-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.2rem; border-radius: 10px; font-weight: 600;
  text-decoration: none !important; border: 2px solid transparent; line-height: 1.2;
}
.max-btn--sm { padding: .5rem .9rem; font-size: .9rem; }
.max-btn--primary { background: var(--max-accent); color: #111 !important; }
.max-btn--primary:hover { background: var(--max-accent-hover); color: #111 !important; }
.max-btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff !important; }
.max-hero .max-btn--ghost:hover { background: rgba(255,255,255,.1); }
body:not(.max-hub-home) .max-btn--ghost,
.max-card .max-btn--ghost,
.max-how .max-btn--ghost { border-color: var(--max-border); color: var(--max-ink) !important; }

.max-section { margin: 0 0 2.25rem; }
.max-section__title { font-size: 1.35rem; margin: 0 0 1rem; color: var(--max-ink); }

.max-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .85rem; }
.max-cat-card {
  background: var(--max-card); border: 1px solid var(--max-border); border-radius: var(--max-radius);
  padding: 1.1rem .9rem; text-decoration: none !important; color: var(--max-text) !important;
  box-shadow: var(--max-shadow); display: flex; flex-direction: column; gap: .35rem; min-height: 120px;
}
.max-cat-card:hover { transform: translateY(-3px); border-color: #fcd34d; }
.max-cat-card__icon { font-size: 1.5rem; }
.max-cat-card__name { font-weight: 700; color: var(--max-ink); }
.max-cat-card__meta { font-size: .8rem; color: var(--max-muted); margin-top: auto; }

.max-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.max-card {
  position: relative; background: var(--max-card); border: 1px solid var(--max-border);
  border-radius: var(--max-radius); padding: 1.15rem 1.1rem 1rem; box-shadow: var(--max-shadow);
  display: flex; flex-direction: column; gap: .55rem;
}
.max-card--partner { border-color: #fde68a; }
.max-card__badge {
  position: absolute; top: .75rem; right: .75rem; background: #fffbeb; color: #b45309;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .2rem .45rem; border-radius: 6px;
}
.max-card__title { margin: 0; font-size: 1.05rem; padding-right: 4.5rem; line-height: 1.3; }
.max-card__title a { color: var(--max-ink) !important; text-decoration: none !important; }
.max-card__title a:hover { color: var(--max-accent-hover) !important; }
.max-card__text { margin: 0; color: var(--max-muted); font-size: .92rem; flex: 1; }
.max-card__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.max-card__label { margin: 0; font-size: .72rem; color: var(--max-muted); }

.max-how__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.max-how__item { background: var(--max-card); border-radius: var(--max-radius); padding: 1.1rem; border: 1px solid var(--max-border); }
.max-how__item p { margin: .4rem 0 0; color: var(--max-muted); font-size: .92rem; }

.max-disclaimer { font-size: .85rem; color: var(--max-muted); border-left: 3px solid var(--max-accent); padding: .5rem 0 .5rem .9rem; }
.max-empty { color: var(--max-muted); }

.max-faq__item { background: #fff; border: 1px solid var(--max-border); border-radius: 12px; padding: .85rem 1rem; margin: 0 0 .6rem; }
.max-faq__item summary { cursor: pointer; font-weight: 700; color: var(--max-ink); }
.max-faq__item p { margin: .55rem 0 0; color: var(--max-muted); }

.single-max_offer .max-go-box {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--max-radius); padding: 1.25rem; margin: 1.5rem 0;
}

.max-bc { font-size: .85rem; color: var(--max-muted); margin: 0 0 1rem; }
.max-bc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.max-bc li:not(:last-child):after { content: "/"; margin-left: .35rem; opacity: .5; }
.max-toc { background: #fff; border: 1px solid var(--max-border); border-radius: 12px; padding: 1rem 1.15rem; margin: 0 0 1.5rem; }
.max-related { margin: 2rem 0 0; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--max-border); border-radius: 12px; }

@media (max-width: 600px) {
  .max-hero { padding: 1.75rem 1.15rem; }
  .max-cats { grid-template-columns: repeat(2, 1fr); }
}
