/*
Theme Name: Eco Activity Living
Theme URI: https://ecoactivityliving.living
Author: Jacob Apley
Author URI: https://ecoactivityliving.living
Description: A minimalist dark theme for Eco Activity Living, an eco-friendly lifestyle blog covering sustainable living, zero-waste products, and green energy. Cinematic deep tone, generous whitespace, large typographic article list.
Style ID: 3d13c2
Version: 2.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: eco-activity-living
Tags: blog, minimal, dark, typographic, custom-menu
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --bg: #13191b;
  --bg-alt: #1f2728;
  --bg-deep: #0d1111;
  --text: #ebeeef;
  --text-muted: #97a2a5;
  --accent: #68c0d4;
  --border: #313c3f;

  --font-head: "Poppins", -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1200px;
}

/* Light theme (dark-mode toggle) */
[class~="3d13c2"].is-light {
  --bg: #eef3f4;
  --bg-alt: #ffffff;
  --bg-deep: #e2e9ea;
  --text: #13191b;
  --text-muted: #4a5759;
  --accent: #1f7a8c;
  --border: #cfd9db;
}

/* ============================================================
   Reset & base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

[class~="3d13c2"] {
  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~="3d13c2"] img {
  max-width: 100%;
  height: auto;
  display: block;
}

[class~="3d13c2"] a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

[class~="3d13c2"] h1,
[class~="3d13c2"] h2,
[class~="3d13c2"] h3,
[class~="3d13c2"] h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.6em;
}

[class~="3d13c2"] p {
  margin: 0 0 1.2em;
}

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

[class~="3d13c2"] 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~="3d13c2"] .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~="3d13c2-container"] {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

[class~="3d13c2-section-title"] {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.3em;
}

[class~="3d13c2-section-kicker"] {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6em;
}

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

[class~="3d13c2-section-head"] {
  margin-bottom: 32px;
}

/* ============================================================
   Buttons
   ============================================================ */
[class~="3d13c2-btn"] {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  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~="3d13c2-btn--accent"] {
  background: var(--accent);
  color: #0d1111;
}

[class~="3d13c2-btn--accent"]:hover {
  background: #8ad3e5;
  color: #0d1111;
}

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

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

[class~="3d13c2-chip"] {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

[class~="3d13c2-chip"]:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   Breaking bar (module 01)
   ============================================================ */
[class~="3d13c2-breaking"] {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

[class~="3d13c2-breaking__inner"] {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 40px;
  overflow: hidden;
}

[class~="3d13c2-breaking__label"] {
  flex: none;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0d1111;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 4px;
}

[class~="3d13c2-breaking__ticker"] {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

[class~="3d13c2-breaking__track"] {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: 3d13c2-marquee 32s linear infinite;
}

[class~="3d13c2-breaking__track"] a {
  color: var(--text-muted);
  margin-right: 32px;
}

[class~="3d13c2-breaking__track"] a:hover {
  color: var(--accent);
}

@keyframes 3d13c2-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

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

[class~="3d13c2-header__inner"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 66px;
}

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

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

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

[class~="3d13c2-nav"] {
  display: flex;
  align-items: center;
  gap: 4px;
}

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

[class~="3d13c2-nav"] li {
  margin: 0;
}

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

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

[class~="3d13c2-header__actions"] {
  display: flex;
  align-items: center;
  gap: 10px;
}

[class~="3d13c2-iconbtn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease;
}

[class~="3d13c2-iconbtn"]:hover {
  color: var(--accent);
  border-color: var(--accent);
}

[class~="3d13c2-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;
}

[class~="3d13c2-searchbar"] {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px 18px;
}

[class~="3d13c2-searchbar"].is-open {
  display: block;
}

[class~="3d13c2-searchbar"] form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
}

[class~="3d13c2-searchbar"] input[type="search"] {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

[class~="3d13c2-searchbar"] input[type="search"]:focus {
  outline: none;
  border-color: var(--accent);
}

/* ============================================================
   Typographic card (style D: no image, title + divider)
   ============================================================ */
[class~="3d13c2-card"] {
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}

[class~="3d13c2-card"]:first-child {
  padding-top: 0;
}

[class~="3d13c2-card__title"] {
  font-size: 1.55rem;
  line-height: 1.25;
  margin: 0;
}

[class~="3d13c2-card__title"] a {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size 0.3s ease, color 0.2s ease;
}

[class~="3d13c2-card__title"] a:hover {
  background-size: 100% 2px;
  color: var(--text);
}

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

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

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

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

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

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

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

/* ============================================================
   Single post
   ============================================================ */
[class~="3d13c2-article"] {
  max-width: 760px;
  margin: 0 auto;
}

[class~="3d13c2-article__title"] {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 0.6em;
}

[class~="3d13c2-article__hero"] {
  margin: 0 0 2em;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

[class~="3d13c2-article__hero"] img {
  width: 100%;
  object-fit: cover;
  max-height: 460px;
}

[class~="3d13c2-entry-content"] {
  font-size: 1.08rem;
  color: #e2e6e7;
}

[class~="3d13c2-entry-content"] p {
  margin-bottom: 1.5em;
}

[class~="3d13c2-entry-content"] h2 {
  font-size: 1.55rem;
  margin-top: 1.6em;
}

[class~="3d13c2-entry-content"] h3 {
  font-size: 1.3rem;
  margin-top: 1.4em;
}

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

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

[class~="3d13c2-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~="3d13c2-pagination"] .page-numbers.current,
[class~="3d13c2-pagination"] .page-numbers:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d1111;
}

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

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

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

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

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

[class~="3d13c2-footer__title"] {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 1.1em;
}

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

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

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

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

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

[class~="3d13c2-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~="3d13c2-footer__social"] a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

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

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

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

[class~="3d13c2-footer__bottom-inner"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

[class~="3d13c2-footer__legal"] {
  display: flex;
  gap: 18px;
}

[class~="3d13c2-footer__legal"] a {
  color: var(--text-muted);
  font-size: 0.82rem;
}

[class~="3d13c2-footer__legal"] a:hover {
  color: var(--accent);
}

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

  [class~="3d13c2-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~="3d13c2-nav"].is-open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

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

  [class~="3d13c2-card__title"] {
    font-size: 1.3rem;
  }

  [class~="3d13c2-article__title"] {
    font-size: 1.8rem;
  }
}

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

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

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

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

  [class~="3d13c2-footer__bottom-inner"] {
    flex-direction: column;
    align-items: flex-start;
  }
}
