/* ==========================================================================
   Base — Ultra Modern Dark
   Body, typography, links, global section spacing.
   Source: ultra modern dark design guide.md, sections 4, 6, 19
   ========================================================================== */

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover,
a:focus {
  color: var(--accent-red);
}

::selection {
  background: var(--accent-red);
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

/* Section spacing rhythm — design guide section 6 */
.site-section,
.vc_section,
.wpb_row:not(.vc_inner) {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

/* Content containers */
.container,
.wpb_wrapper > .vc_row > .container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

/* Uppercase micro-labels — generous letter-spacing, used sparingly */
.ak-label,
.text-uppercase {
  letter-spacing: 0.12em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-small);
  color: var(--text-muted);
}

/* Override parent theme body/text defaults that conflict */
#section-body {
  background-color: var(--bg-primary);
}

.block-wrap {
  background-color: var(--bg-primary);
}

p {
  color: var(--text-secondary);
}

#section-body {
  padding-bottom: 40px;
  padding-top: 40px;
}

.article-detail, .comments-block {
  padding: 0;
  background-color: transparent;
}