/*
Theme Name: Digital Media Market
Theme URI: https://digitalmediamarket.online
Author: Sandra Jimenez
Author URI: https://digitalmediamarket.online
Description: A dark magazine theme for Digital Media Market Insights. Delivers coverage of marketing tech, media production tools, and content monetization strategies for creators and marketers. Magazine layout, near-black canvas, high contrast, editorial serif headlines.
Style ID: 7d6129
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digital-media-market
Tags: blog, news, magazine, dark, two-columns, custom-menu
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --bg: #1b1813;
  --bg-alt: #28251f;
  --bg-deep: #11100d;
  --text: #efeeeb;
  --text-muted: #a5a097;
  --accent: #f5b247;
  --border: #3f3a31;

  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.28);
  --maxw: 1200px;
}

/* ============================================================
   Reset & base (scoped to body class 7d6129)
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

[class~="7d6129"] {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

[class~="7d6129"] img {
  max-width: 100%;
  height: auto;
  display: block;
}

[class~="7d6129"] a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

[class~="7d6129"] a:hover {
  color: var(--accent);
}

[class~="7d6129"] h1,
[class~="7d6129"] h2,
[class~="7d6129"] h3,
[class~="7d6129"] h4,
[class~="7d6129"] h5,
[class~="7d6129"] h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.22;
  color: var(--text);
  margin: 0 0 0.6em;
}

[class~="7d6129"] p {
  margin: 0 0 1.2em;
}

[class~="7d6129"] ul,
[class~="7d6129"] ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

[class~="7d6129"] blockquote {
  margin: 1.5em 0;
  padding: 0.4em 1.2em;
  border-left: 3px solid var(--accent);
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 1.15em;
}

[class~="7d6129"] .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* ============================================================
   Layout helpers
   ============================================================ */
[class~="7d6129-container"] {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

[class~="7d6129-section"] {
  padding-top: 56px;
  padding-bottom: 56px;
}

[class~="7d6129-section-title"] {
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.3em;
}

[class~="7d6129-section-kicker"] {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6em;
}

[class~="7d6129-rule"] {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

[class~="7d6129-section-head"] {
  margin-bottom: 28px;
}

/* ============================================================
   Buttons
   ============================================================ */
[class~="7d6129-btn"] {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

[class~="7d6129-btn--accent"] {
  background: var(--accent);
  color: #1b1813;
}

[class~="7d6129-btn--accent"]:hover {
  background: #ffc36b;
  color: #1b1813;
}

[class~="7d6129-btn--ghost"] {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

[class~="7d6129-btn--ghost"]:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   Header (module 01)
   ============================================================ */
[class~="7d6129-header"] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 24, 19, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

[class~="7d6129-header__inner"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

[class~="7d6129-logo"] {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}

[class~="7d6129-logo"] span {
  color: var(--accent);
}

[class~="7d6129-logo"]:hover {
  color: var(--text);
}

[class~="7d6129-nav"] {
  display: flex;
  align-items: center;
  gap: 6px;
}

[class~="7d6129-nav"] ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

[class~="7d6129-nav"] li {
  margin: 0;
}

[class~="7d6129-nav"] a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

[class~="7d6129-nav"] a:hover,
[class~="7d6129-nav"] .current-menu-item > a,
[class~="7d6129-nav"] .current_page_item > a {
  color: var(--text);
  background: var(--bg-alt);
}

[class~="7d6129-header__actions"] {
  display: flex;
  align-items: center;
  gap: 12px;
}

[class~="7d6129-nav-toggle"] {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  width: 42px;
  height: 40px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ============================================================
   Cards (style A: image top, text below)
   ============================================================ */
[class~="7d6129-card"] {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[class~="7d6129-card"]:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #54493c;
}

[class~="7d6129-card__media"] {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-deep);
}

[class~="7d6129-card__media"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

[class~="7d6129-card"]:hover [class~="7d6129-card__media"] img {
  transform: scale(1.05);
}

[class~="7d6129-card__cat"] {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

[class~="7d6129-chip"] {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(17, 16, 13, 0.82);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 178, 71, 0.35);
}

[class~="7d6129-chip"]:hover {
  color: var(--accent);
}

[class~="7d6129-card__body"] {
  padding: 18px 20px 20px;
}

[class~="7d6129-card__title"] {
  font-size: 1.18rem;
  margin-bottom: 0.45em;
  line-height: 1.28;
}

[class~="7d6129-card__title"] a:hover {
  color: var(--accent);
}

[class~="7d6129-card__excerpt"] {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1em;
}

[class~="7d6129-meta"] {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.8rem;
}

[class~="7d6129-meta__avatar"] {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: var(--bg-deep);
  border: 1px solid var(--border);
}

[class~="7d6129-meta__avatar"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[class~="7d6129-meta__author"] {
  color: var(--text);
  font-weight: 600;
}

[class~="7d6129-meta__author"]:hover {
  color: var(--accent);
}

[class~="7d6129-meta__dot"] {
  color: var(--border);
}

/* ============================================================
   Sidebar widgets
   ============================================================ */
[class~="7d6129-widget"] {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 24px;
}

[class~="7d6129-widget__title"] {
  font-size: 1.05rem;
  margin-bottom: 1em;
  padding-bottom: 0.6em;
  border-bottom: 1px solid var(--border);
}

[class~="7d6129-widget"] ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

[class~="7d6129-widget"] li {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

[class~="7d6129-widget"] li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

[class~="7d6129-widget"] a {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
}

[class~="7d6129-widget"] a:hover {
  color: var(--accent);
}

/* ============================================================
   Single post
   ============================================================ */
[class~="7d6129-article"] {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

[class~="7d6129-article__hero"] img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

[class~="7d6129-article__body"] {
  padding: 40px 48px 48px;
}

[class~="7d6129-article__title"] {
  font-size: 2.2rem;
  line-height: 1.18;
  margin-bottom: 0.5em;
}

[class~="7d6129-article__meta"] {
  margin-bottom: 2em;
  padding-bottom: 1.4em;
  border-bottom: 1px solid var(--border);
}

[class~="7d6129-entry-content"] {
  font-size: 1.05rem;
  color: #e4e2dd;
}

[class~="7d6129-entry-content"] p {
  margin-bottom: 1.4em;
}

[class~="7d6129-entry-content"] h2 {
  font-size: 1.5rem;
  margin-top: 1.6em;
}

[class~="7d6129-entry-content"] h3 {
  font-size: 1.25rem;
  margin-top: 1.4em;
}

[class~="7d6129-article__footer-meta"] {
  margin-top: 2.4em;
  padding-top: 1.4em;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   Footer (module 07)
   ============================================================ */
[class~="7d6129-footer"] {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

[class~="7d6129-footer__grid"] {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

[class~="7d6129-footer__mission"] {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 40ch;
}

[class~="7d6129-footer__title"] {
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 1.1em;
}

[class~="7d6129-footer__list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

[class~="7d6129-footer__list"] li {
  margin: 0 0 10px;
}

[class~="7d6129-footer__list"] a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

[class~="7d6129-footer__list"] a:hover {
  color: var(--accent);
}

[class~="7d6129-footer__social"] {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

[class~="7d6129-footer__social"] a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

[class~="7d6129-footer__social"] a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

[class~="7d6129-footer__email"] {
  margin-top: 16px;
  font-size: 0.88rem;
}

[class~="7d6129-footer__email"] a {
  color: var(--text-muted);
}

[class~="7d6129-footer__email"] a:hover {
  color: var(--accent);
}

[class~="7d6129-footer__bottom"] {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

[class~="7d6129-footer__bottom"] p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ============================================================
   Pagination
   ============================================================ */
[class~="7d6129-pagination"] {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}

[class~="7d6129-pagination"] .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

[class~="7d6129-pagination"] .page-numbers.current,
[class~="7d6129-pagination"] .page-numbers:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1b1813;
}

/* ============================================================
   404
   ============================================================ */
[class~="7d6129-404"] {
  text-align: center;
  padding: 100px 24px;
}

[class~="7d6129-404__code"] {
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.2em;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  [class~="7d6129-nav"] {
    display: none;
  }

  [class~="7d6129-nav"].is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
  }

  [class~="7d6129-nav"].is-open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  [class~="7d6129-nav-toggle"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  [class~="7d6129-article__body"] {
    padding: 26px 22px 32px;
  }

  [class~="7d6129-article__title"] {
    font-size: 1.6rem;
  }
}

@media (max-width: 860px) {
  [class~="7d6129-footer__grid"] {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  [class~="7d6129-container"] {
    padding-left: 16px;
    padding-right: 16px;
  }

  [class~="7d6129-footer__grid"] {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  [class~="7d6129-section"] {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  [class~="7d6129-header__actions"] [class~="7d6129-btn"] {
    padding: 8px 16px;
    font-size: 0.78rem;
  }
}
