/* =============================================================
   ActuTech Modern v1.1 — éditorial clair
   ============================================================= */

.theme-actutech-modern {
  --ed-bg: #f9f7f2;
  --ed-surface: #ffffff;
  --ed-text: #1c1917;
  --ed-text-muted: #6b7280;
  --ed-text-soft: #9ca3af;
  --ed-accent: #c45c26;
  --ed-accent-dark: #1c1917;
  --ed-border: rgba(28, 25, 23, 0.1);
  --ed-shadow: 0 10px 30px rgba(28, 25, 23, 0.06);
  --ed-radius: 16px;
  --ed-radius-sm: 12px;
  --ed-font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ed-font-sans: 'Source Sans 3', system-ui, sans-serif;

  --tone-jeux: #2563eb;
  --tone-geo: #c45c26;
  --tone-science: #15803d;
  --tone-espace: #4338ca;
  --tone-sante: #be123c;
  --tone-tech: #b45309;
  --tone-default: #57534e;
}

.theme-actutech-modern,
.theme-actutech-modern body {
  background: var(--ed-bg) !important;
  color: var(--ed-text) !important;
}

.theme-actutech-modern .ed-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.theme-actutech-modern .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Header --- */
.theme-actutech-modern .ed-header {
  background: var(--ed-surface);
  border-bottom: 1px solid var(--ed-border);
}

.theme-actutech-modern .ed-header__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0 14px;
}

.theme-actutech-modern .ed-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: inherit;
  text-decoration: none;
}

.theme-actutech-modern .ed-brand__name {
  font-family: var(--ed-font-serif);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.theme-actutech-modern .ed-brand__accent {
  color: var(--ed-accent);
}

.theme-actutech-modern .ed-brand__tag {
  font-family: var(--ed-font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ed-text-soft);
}

.theme-actutech-modern .ed-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.theme-actutech-modern .ed-menu__link {
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--ed-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-text-muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.theme-actutech-modern .ed-menu__link:hover,
.theme-actutech-modern .ed-menu__link.is-active {
  background: var(--ed-accent-dark);
  color: #fff;
}

.theme-actutech-modern .ed-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 14px;
  border: 1px solid var(--ed-border);
  border-radius: 999px;
  background: var(--ed-bg);
}

.theme-actutech-modern .ed-search__input {
  width: 130px;
  border: 0;
  background: transparent;
  font-family: var(--ed-font-sans);
  font-size: 0.85rem;
  color: var(--ed-text);
  outline: none;
}

.theme-actutech-modern .ed-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ed-text-muted);
  cursor: pointer;
}

.theme-actutech-modern .ed-search__btn:hover {
  color: var(--ed-accent);
}

/* --- Ticker --- */
.theme-actutech-modern .ed-ticker-wrap {
  border-top: 1px solid var(--ed-border);
}

.theme-actutech-modern .ed-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0 12px;
  overflow: hidden;
}

.theme-actutech-modern .ed-ticker__live {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-family: var(--ed-font-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-actutech-modern .ed-ticker__track {
  overflow: hidden;
  flex: 1;
}

.theme-actutech-modern .ed-ticker__scroll {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ed-ticker 40s linear infinite;
}

.theme-actutech-modern .ed-ticker__item {
  white-space: nowrap;
  font-family: var(--ed-font-sans);
  font-size: 0.82rem;
  color: var(--ed-text-muted);
  text-decoration: none;
}

.theme-actutech-modern .ed-ticker__item strong {
  color: var(--ed-text);
  font-weight: 700;
}

@keyframes ed-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Sections --- */
.theme-actutech-modern .ed-main {
  padding-bottom: 0;
}

.theme-actutech-modern .ed-section-label {
  font-family: var(--ed-font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ed-text-muted);
}

.theme-actutech-modern .ed-featured {
  padding: 28px 0 12px;
}

.theme-actutech-modern .ed-featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

/* --- Hero --- */
.theme-actutech-modern .ed-hero {
  display: block;
  overflow: hidden;
  border-radius: var(--ed-radius);
  background: var(--ed-surface);
  box-shadow: var(--ed-shadow);
  border: 1px solid var(--ed-border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.theme-actutech-modern .ed-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(28, 25, 23, 0.1);
}

.theme-actutech-modern .ed-hero__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e7e5e4;
}

.theme-actutech-modern .ed-hero__media img,
.theme-actutech-modern .ed-hero__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-actutech-modern .ed-hero__body {
  padding: 22px 24px 24px;
}

.theme-actutech-modern .ed-hero__title {
  font-family: var(--ed-font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
  color: var(--ed-text);
}

.theme-actutech-modern .ed-hero__excerpt {
  font-family: var(--ed-font-sans);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ed-text-muted);
  margin-bottom: 16px;
}

.theme-actutech-modern .ed-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-family: var(--ed-font-sans);
  font-size: 0.78rem;
  color: var(--ed-text-soft);
}

.theme-actutech-modern .ed-hero__read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ed-accent);
  font-weight: 600;
}

/* --- Compact side cards --- */
.theme-actutech-modern .ed-featured__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.theme-actutech-modern .ed-compact {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: var(--ed-radius-sm);
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  box-shadow: var(--ed-shadow);
  transition: transform 0.2s, border-color 0.2s;
}

.theme-actutech-modern .ed-compact:hover {
  transform: translateY(-1px);
  border-color: rgba(28, 25, 23, 0.16);
}

.theme-actutech-modern .ed-compact__thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #e7e5e4;
}

.theme-actutech-modern .ed-compact__thumb img,
.theme-actutech-modern .ed-compact__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-actutech-modern .ed-compact__title {
  font-family: var(--ed-font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ed-text);
  margin: 6px 0 8px;
}

.theme-actutech-modern .ed-compact__meta {
  font-family: var(--ed-font-sans);
  font-size: 0.74rem;
  color: var(--ed-text-soft);
}

/* --- Pills / tones --- */
.theme-actutech-modern .ed-pill--cat {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.theme-actutech-modern .ed-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--ed-font-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.theme-actutech-modern .ed-pill--sm {
  font-size: 0.58rem;
  padding: 3px 8px;
}

.theme-actutech-modern .ed-tone-jeux .ed-pill--cat { background: rgba(37, 99, 235, 0.12); color: var(--tone-jeux); }
.theme-actutech-modern .ed-tone-geo .ed-pill--cat { background: rgba(196, 92, 38, 0.12); color: var(--tone-geo); }
.theme-actutech-modern .ed-tone-science .ed-pill--cat { background: rgba(21, 128, 61, 0.12); color: var(--tone-science); }
.theme-actutech-modern .ed-tone-espace .ed-pill--cat { background: rgba(67, 56, 202, 0.12); color: var(--tone-espace); }
.theme-actutech-modern .ed-tone-sante .ed-pill--cat { background: rgba(190, 18, 60, 0.12); color: var(--tone-sante); }
.theme-actutech-modern .ed-tone-tech .ed-pill--cat { background: rgba(180, 83, 9, 0.12); color: var(--tone-tech); }
.theme-actutech-modern .ed-tone-default .ed-pill--cat { background: rgba(87, 83, 78, 0.12); color: var(--tone-default); }

.theme-actutech-modern .ed-tone-jeux .ed-card__fallback,
.theme-actutech-modern .ed-tone-jeux .ed-compact__fallback { background: linear-gradient(135deg, #dbeafe, #93c5fd); }
.theme-actutech-modern .ed-tone-geo .ed-card__fallback,
.theme-actutech-modern .ed-tone-geo .ed-compact__fallback { background: linear-gradient(135deg, #ffedd5, #fdba74); }
.theme-actutech-modern .ed-tone-science .ed-card__fallback,
.theme-actutech-modern .ed-tone-science .ed-compact__fallback { background: linear-gradient(135deg, #dcfce7, #86efac); }
.theme-actutech-modern .ed-tone-espace .ed-card__fallback,
.theme-actutech-modern .ed-tone-espace .ed-compact__fallback { background: linear-gradient(135deg, #e0e7ff, #a5b4fc); }
.theme-actutech-modern .ed-tone-sante .ed-card__fallback,
.theme-actutech-modern .ed-tone-sante .ed-compact__fallback { background: linear-gradient(135deg, #ffe4e6, #fda4af); }
.theme-actutech-modern .ed-tone-tech .ed-card__fallback,
.theme-actutech-modern .ed-tone-tech .ed-compact__fallback { background: linear-gradient(135deg, #fef3c7, #fcd34d); }

/* --- Latest grid --- */
.theme-actutech-modern .ed-latest {
  padding: 28px 0 56px;
}

.theme-actutech-modern .ed-latest__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.theme-actutech-modern .ed-latest__title {
  font-family: var(--ed-font-serif);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ed-text);
}

.theme-actutech-modern .ed-latest__more {
  font-family: var(--ed-font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ed-accent);
  text-decoration: none;
}

.theme-actutech-modern .ed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.theme-actutech-modern .ed-filter {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ed-border);
  background: var(--ed-surface);
  font-family: var(--ed-font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ed-text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.theme-actutech-modern .ed-filter:hover {
  border-color: rgba(28, 25, 23, 0.18);
}

.theme-actutech-modern .ed-filter.is-active {
  background: var(--ed-accent-dark);
  border-color: var(--ed-accent-dark);
  color: #fff;
}

.theme-actutech-modern .ed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.theme-actutech-modern .ed-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--ed-radius);
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  box-shadow: var(--ed-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.theme-actutech-modern .ed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(28, 25, 23, 0.1);
}

.theme-actutech-modern .ed-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e7e5e4;
}

.theme-actutech-modern .ed-card__media img,
.theme-actutech-modern .ed-card__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.theme-actutech-modern .ed-card:hover .ed-card__media img {
  transform: scale(1.03);
}

.theme-actutech-modern .ed-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.theme-actutech-modern .ed-card__title {
  font-family: var(--ed-font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 8px 0 10px;
  color: var(--ed-text);
}

.theme-actutech-modern .ed-card__excerpt {
  font-family: var(--ed-font-sans);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ed-text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.theme-actutech-modern .ed-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--ed-font-sans);
  font-size: 0.76rem;
  color: var(--ed-text-soft);
}

.theme-actutech-modern .ed-card__read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ed-accent);
  font-weight: 600;
}

.theme-actutech-modern .ed-empty {
  grid-column: 1 / -1;
  color: var(--ed-text-muted);
  padding: 24px 0;
}

/* --- Archive --- */
.theme-actutech-modern .ed-archive-head {
  padding: 32px 0 8px;
}

.theme-actutech-modern .ed-archive-head__title {
  font-family: var(--ed-font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 10px 0;
  letter-spacing: -0.02em;
}

.theme-actutech-modern .ed-archive-head__desc {
  font-family: var(--ed-font-sans);
  color: var(--ed-text-muted);
  max-width: 640px;
  line-height: 1.55;
}

.theme-actutech-modern .ed-latest--archive {
  padding-top: 12px;
}

.theme-actutech-modern .ed-pagination {
  margin-top: 36px;
}

.theme-actutech-modern .ed-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.theme-actutech-modern .ed-pagination a,
.theme-actutech-modern .ed-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--ed-border);
  background: var(--ed-surface);
  font-family: var(--ed-font-sans);
  font-size: 0.85rem;
  color: var(--ed-text-muted);
  text-decoration: none;
}

.theme-actutech-modern .ed-pagination .current {
  background: var(--ed-accent-dark);
  border-color: var(--ed-accent-dark);
  color: #fff;
}

/* --- Footer --- */
.theme-actutech-modern .ed-footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 0 24px;
}

.theme-actutech-modern .ed-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.theme-actutech-modern .ed-footer__logo {
  font-family: var(--ed-font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.theme-actutech-modern .ed-footer__logo span {
  color: #fbbf24;
}

.theme-actutech-modern .ed-footer__tagline {
  font-family: var(--ed-font-sans);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 16px;
}

.theme-actutech-modern .ed-footer__title {
  font-family: var(--ed-font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}

.theme-actutech-modern .ed-footer__link {
  display: block;
  padding: 4px 0;
  font-family: var(--ed-font-sans);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.theme-actutech-modern .ed-footer__link:hover {
  color: #fff;
}

.theme-actutech-modern .ed-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--ed-font-sans);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.theme-actutech-modern .ed-footer .footer-social,
.theme-actutech-modern .ed-footer .actutech-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-actutech-modern .ed-footer .footer-social a,
.theme-actutech-modern .ed-footer .actutech-social a {
  color: rgba(255, 255, 255, 0.75);
}

/* --- Single article (light overrides) --- */
.theme-actutech-modern .container {
  width: min(1180px, calc(100% - 40px));
}

.theme-actutech-modern .article-breadcrumb {
  color: var(--ed-text-soft);
}

.theme-actutech-modern .article-breadcrumb a,
.theme-actutech-modern .article-breadcrumb span {
  color: var(--ed-accent);
}

.theme-actutech-modern .article-title {
  font-family: var(--ed-font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ed-text) !important;
}

.theme-actutech-modern .article-meta-row {
  border-bottom-color: var(--ed-border);
}

.theme-actutech-modern .article-meta-item {
  color: var(--ed-text-muted);
  font-family: var(--ed-font-sans);
  font-size: 0.82rem;
}

.theme-actutech-modern .article-meta-item a {
  color: var(--ed-accent);
}

.theme-actutech-modern .article-hero-img {
  border-radius: var(--ed-radius);
  overflow: hidden;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(420px, 56vw);
}

.theme-actutech-modern .article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.theme-actutech-modern .article-hero-credit {
  margin: -0.35rem 0 1.25rem;
  font-size: 0.82rem;
  color: var(--ed-muted);
}

.theme-actutech-modern .article-hero-credit a {
  color: var(--ed-accent);
}

.theme-actutech-modern .actutech-inline-image {
  margin: 1.75rem 0;
  border-radius: var(--ed-radius-sm);
  overflow: hidden;
  border: 1px solid var(--ed-border);
  background: var(--ed-surface);
  line-height: 0;
}

.theme-actutech-modern .actutech-inline-image__img {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
}

.theme-actutech-modern .actutech-inline-image figcaption {
  line-height: 1.5;
  padding: 10px 14px;
  font-family: var(--ed-font-sans);
  font-size: 0.78rem;
  color: var(--ed-text-muted);
}

.theme-actutech-modern .article-body,
.theme-actutech-modern .article-body p,
.theme-actutech-modern .article-body li {
  color: #374151;
  font-family: var(--ed-font-sans);
  line-height: 1.75;
}

.theme-actutech-modern .article-body h2,
.theme-actutech-modern .article-body h3 {
  font-family: var(--ed-font-serif);
  color: var(--ed-text);
}

.theme-actutech-modern .article-body a {
  color: var(--ed-accent);
}

.theme-actutech-modern .article-body strong {
  color: var(--ed-text);
  font-weight: 600;
}

.theme-actutech-modern .article-body em {
  color: var(--ed-text-soft);
  font-style: italic;
}

.theme-actutech-modern .article-body figcaption,
.theme-actutech-modern .article-body figcaption em {
  color: var(--ed-text-muted);
  font-style: normal;
}

.theme-actutech-modern .article-body th {
  color: var(--ed-text);
  background: rgba(0, 0, 0, 0.04);
}

.theme-actutech-modern .article-body td {
  color: #374151;
}

.theme-actutech-modern .article-body blockquote {
  color: var(--ed-text-soft);
  border-left-color: var(--ed-accent);
}

.theme-actutech-modern .article-body hr {
  border-top-color: var(--ed-border);
}

.theme-actutech-modern .pourquoi-block {
  background: rgba(196, 92, 38, 0.06);
  border-left-color: var(--ed-accent);
}

.theme-actutech-modern .pourquoi-block__label,
.theme-actutech-modern .pourquoi-block__text {
  color: var(--ed-text);
}

.theme-actutech-modern .actutech-toc {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-sm);
}

.theme-actutech-modern .article-toc {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-sm);
  padding: 18px 20px;
  margin: 24px 0;
}

.theme-actutech-modern .actutech-toc__title,
.theme-actutech-modern .article-toc__title {
  color: var(--ed-text);
  font-family: var(--ed-font-serif);
  font-weight: 700;
}

.theme-actutech-modern .actutech-toc a,
.theme-actutech-modern .article-toc__item a {
  color: var(--ed-text-muted);
}

.theme-actutech-modern .actutech-toc a:hover,
.theme-actutech-modern .article-toc__item a:hover {
  color: var(--ed-accent);
}

.theme-actutech-modern .actutech-share,
.theme-actutech-modern .article-share {
  border: 1px solid var(--ed-border);
  background: var(--ed-surface);
  border-radius: var(--ed-radius-sm);
  padding: 12px 14px;
}

.theme-actutech-modern .actutech-share__label,
.theme-actutech-modern .article-share__label {
  color: var(--ed-text-muted);
  font-family: var(--ed-font-sans);
}

.theme-actutech-modern .actutech-share__btn,
.theme-actutech-modern .article-share__btn {
  color: var(--ed-text);
  border: 1px solid var(--ed-border);
  background: var(--ed-bg);
}

.theme-actutech-modern .actutech-share__btn:hover,
.theme-actutech-modern .article-share__btn:hover {
  border-color: var(--ed-accent);
  color: var(--ed-accent);
}

.theme-actutech-modern .sidebar-widget {
  background: var(--ed-surface) !important;
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-sm);
  box-shadow: var(--ed-shadow);
}

.theme-actutech-modern .sidebar-widget__title {
  color: var(--ed-text) !important;
  font-family: var(--ed-font-serif);
}

.theme-actutech-modern .sidebar-widget p {
  color: var(--ed-text-muted);
}

.theme-actutech-modern .related-item__title {
  color: var(--ed-text) !important;
}

.theme-actutech-modern .source-item__name,
.theme-actutech-modern .source-item__link {
  color: var(--ed-text-muted);
}

.theme-actutech-modern .source-item__link {
  color: var(--ed-accent);
}

.theme-actutech-modern .article-prevnext__link {
  color: var(--ed-accent);
  border-color: var(--ed-border);
  background: var(--ed-surface);
}

.theme-actutech-modern .badge {
  font-family: var(--ed-font-sans);
  color: var(--ed-text);
}

.theme-actutech-modern .badge-env {
  color: var(--tone-science);
  border-color: rgba(21, 128, 61, 0.25);
  background: rgba(21, 128, 61, 0.08);
}

.theme-actutech-modern .ed-footer .footer-social {
  margin-top: 4px;
}

.theme-actutech-modern .ed-footer .footer-col-title {
  font-family: var(--ed-font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}

.theme-actutech-modern .ed-footer .footer-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.theme-actutech-modern .ed-footer .footer-social__link {
  font-family: var(--ed-font-sans);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.theme-actutech-modern .ed-footer .footer-social__link:hover {
  color: #fff;
}

.theme-actutech-modern .article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.92rem;
}

.theme-actutech-modern .article-body th,
.theme-actutech-modern .article-body td {
  border: 1px solid var(--ed-border);
  padding: 10px 12px;
  text-align: left;
}

.theme-actutech-modern .article-body th {
  background: rgba(28, 25, 23, 0.04);
  font-weight: 700;
}

.theme-actutech-modern .article-body blockquote {
  border-left: 3px solid var(--ed-accent);
  padding-left: 16px;
  color: var(--ed-text-muted);
}

.theme-actutech-modern .cc-banner,
.theme-actutech-modern .cc-panel__card {
  background: var(--ed-surface);
  color: var(--ed-text);
}

/* --- Pages --- */
.theme-actutech-modern .page-content,
.theme-actutech-modern .page-content p {
  color: #374151;
}

.theme-actutech-modern .page-content h1,
.theme-actutech-modern .page-content h2 {
  font-family: var(--ed-font-serif);
  color: var(--ed-text);
}

/* --- Consent banner light tweak --- */
.theme-actutech-modern .actutech-consent {
  border-top-color: var(--ed-border);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .theme-actutech-modern .ed-header__row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .theme-actutech-modern .ed-brand {
    grid-column: 1;
  }

  .theme-actutech-modern .ed-search {
    grid-column: 2;
    grid-row: 1;
  }

  .theme-actutech-modern .ed-menu {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .theme-actutech-modern .ed-featured__grid {
    grid-template-columns: 1fr;
  }

  .theme-actutech-modern .ed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-actutech-modern .ed-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .theme-actutech-modern .ed-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .theme-actutech-modern .ed-container {
    width: min(1180px, calc(100% - 28px));
  }

  .theme-actutech-modern .ed-grid {
    grid-template-columns: 1fr;
  }

  .theme-actutech-modern .ed-compact {
    grid-template-columns: 76px 1fr;
  }

  .theme-actutech-modern .ed-footer {
    padding: 36px 0 20px;
  }

  .theme-actutech-modern .ed-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    margin-bottom: 24px;
  }

  .theme-actutech-modern .ed-footer__brand {
    grid-column: 1 / -1;
  }

  .theme-actutech-modern .ed-footer__tagline {
    margin-bottom: 12px;
  }

  .theme-actutech-modern .ed-footer__title {
    margin-bottom: 8px;
  }

  .theme-actutech-modern .ed-footer__link {
    padding: 3px 0;
    font-size: 0.84rem;
  }

  .theme-actutech-modern .ed-footer__col--cats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 16px;
    align-content: start;
  }

  .theme-actutech-modern .ed-footer__col--cats .ed-footer__title {
    grid-column: 1 / -1;
    margin-bottom: 6px;
  }

  .theme-actutech-modern .ed-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 16px;
    line-height: 1.45;
  }

  .theme-actutech-modern .ed-footer .footer-social__links {
    gap: 8px;
  }

  .theme-actutech-modern .ed-footer .footer-social__link {
    font-size: 0.78rem;
    padding: 6px 10px;
  }

  .theme-actutech-modern .ed-footer .footer-social__name {
    display: inline;
  }

  .theme-actutech-modern .ed-search__input {
    width: 90px;
  }
}
