/*
Theme Name: Moto2 Premium
Theme URI: https://www.moto2.fr/
Author: Moto2
Description: Theme editorial premium custom pour Moto2.fr.
Version: 1.0.15
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: moto2-premium
*/

:root {
  --mtx-bg: #f3f4f2;
  --mtx-surface: #ffffff;
  --mtx-ink: #101213;
  --mtx-muted: #68706d;
  --mtx-line: #d9dfdb;
  --mtx-red: #d72027;
  --mtx-red-dark: #9d151b;
  --mtx-black: #07090b;
  --mtx-soft: #f7e9e9;
  --mtx-shadow: 0 16px 36px rgba(7, 9, 11, .11);
  --mtx-max: 1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--mtx-bg);
  color: var(--mtx-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mtx-red); }
img { max-width: 100%; height: auto; }

.mtx-wrap { width: min(var(--mtx-max), calc(100% - 32px)); margin: 0 auto; }
.mtx-top { background: var(--mtx-black); color: #fff; }
.mtx-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mtx-logo {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .9;
}
.mtx-logo-mark {
  display: inline-block;
  margin-left: 6px;
  color: var(--mtx-red);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: .42em;
  letter-spacing: 0;
  transform: translateY(-.12em);
}
.mtx-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.mtx-menu a {
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #fff;
}
.mtx-menu a:hover { background: var(--mtx-red); border-color: var(--mtx-red); }

.mtx-live { overflow: hidden; border-bottom: 1px solid var(--mtx-line); background: #fff; }
.mtx-live-inner { display: flex; align-items: center; gap: 16px; min-height: 46px; overflow: hidden; }
.mtx-live-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 13px;
  background: var(--mtx-red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mtx-live-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.65);
  animation: mtxPulse 1.15s ease-in-out infinite;
}
.mtx-live-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
}
.mtx-live-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: mtxTicker 92s linear infinite;
  will-change: transform;
}
.mtx-live-viewport:hover .mtx-live-track { animation-play-state: paused; }
.mtx-live a {
  position: relative;
  flex: 0 0 auto;
  color: var(--mtx-black);
  font-size: 14px;
  font-weight: 900;
}
.mtx-live a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--mtx-red);
  transform: translateY(-50%);
}

@keyframes mtxTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes mtxPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,.62); transform: scale(1); }
  50% { opacity: .6; box-shadow: 0 0 0 7px rgba(255,255,255,0); transform: scale(.82); }
}

.mtx-section { padding: 38px 0; }
.mtx-section-soft { background: #fff; border-block: 1px solid var(--mtx-line); }
.mtx-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.mtx-section-title h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}
.mtx-section-title a,
.mtx-section-title span {
  color: var(--mtx-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mtx-hero { padding: 26px 0 34px; background: #fff; }
.mtx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr);
  gap: 28px;
}
.mtx-stack { display: grid; gap: 22px; }
.mtx-card {
  overflow: hidden;
  border: 1px solid var(--mtx-line);
  border-radius: 8px;
  background: #fff;
}
.mtx-card-main { box-shadow: var(--mtx-shadow); }
.mtx-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mtx-black), var(--mtx-red-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}
.mtx-card-main .mtx-thumb { aspect-ratio: 16 / 9; min-height: 400px; }
.mtx-card-side .mtx-thumb { min-height: 224px; }
.mtx-thumb img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center center;
}
.mtx-card-body { padding: 14px 16px 16px; }
.mtx-kicker {
  color: var(--mtx-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mtx-card h1,
.mtx-card h2,
.mtx-card h3 {
  margin: 7px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}
.mtx-card h1 { font-size: clamp(26px, 3.4vw, 40px); }
.mtx-card h2 { font-size: 18px; }
.mtx-card h3 { font-size: 17px; }
.mtx-card p { margin: 10px 0 0; color: var(--mtx-muted); font-size: 15px; }

.mtx-hero-mini-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--mtx-line);
}
.mtx-hero-mini {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--mtx-line);
  border-radius: 8px;
  background: #fff;
}
.mtx-hero-mini-thumb {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 134px;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(135deg, var(--mtx-black), var(--mtx-red-dark));
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}
.mtx-hero-mini-thumb img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center center;
}
.mtx-hero-mini > div {
  min-width: 0;
  padding: 12px 14px 15px;
}
.mtx-hero-mini h2 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.mtx-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 30px;
}
.mtx-tile { border: 0; background: transparent; }
.mtx-tile .mtx-thumb { min-height: 210px; border-radius: 8px; }
.mtx-tile .mtx-card-body { padding: 10px 0 0; }

.mtx-guides {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.mtx-guides a {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--mtx-line);
  border-top: 4px solid var(--mtx-red);
  border-radius: 8px;
  background: #fff;
}
.mtx-guides strong { display: block; margin-bottom: 7px; font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.mtx-guides span { color: var(--mtx-muted); font-size: 14px; }

.mtx-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mtx-topic-panel {
  padding: 16px;
  border: 1px solid var(--mtx-line);
  border-radius: 8px;
  background: #fff;
}

.mtx-topic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--mtx-red);
}

.mtx-topic-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.08;
}

.mtx-topic-head a {
  color: var(--mtx-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mtx-topic-item {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mtx-line);
}

.mtx-topic-item:last-child {
  border-bottom: 0;
}

.mtx-topic-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--mtx-black), var(--mtx-red-dark));
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.mtx-topic-thumb img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center center;
}

.mtx-topic-item h4 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.16;
}

.mtx-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}
.mtx-feed { border-top: 1px solid var(--mtx-line); }
.mtx-feed article { padding: 16px 0; border-bottom: 1px solid var(--mtx-line); }
.mtx-feed h3 {
  margin: 5px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.14;
}
.mtx-feed p { margin: 0; color: var(--mtx-muted); }
.mtx-sidebar { display: grid; gap: 16px; position: sticky; top: 18px; }
.mtx-widget {
  padding: 18px;
  border: 1px solid var(--mtx-line);
  border-radius: 8px;
  background: #fff;
}
.mtx-widget-dark { background: var(--mtx-black); color: #fff; }
.mtx-widget h2 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.mtx-widget a { display: block; padding: 11px 0; border-top: 1px solid var(--mtx-line); font-weight: 900; }
.mtx-widget-dark p { color: #d9dddc; }
.mtx-popular-widget { padding-top: 15px; border-top: 0; }
.mtx-popular-widget h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
  padding-bottom: 11px;
  border-bottom: 2px solid var(--mtx-red);
}
.mtx-popular-widget h2::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--mtx-red);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0 42%, var(--mtx-red) 42% 58%, transparent 58% 100%);
  box-shadow: inset 0 0 0 4px #fff;
}
.mtx-popular-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid var(--mtx-line);
}
.mtx-popular-item > span {
  color: var(--mtx-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}
.mtx-popular-item h3 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.15;
}
.mtx-popular-item a {
  display: inline;
  padding: 0;
  border: 0;
}

.mtx-cat-block { padding: 22px 0 26px; border-top: 1px solid var(--mtx-line); }
.mtx-cat-block:first-of-type { border-top: 3px solid var(--mtx-red); }
.mtx-cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.mtx-cat-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.6vw, 30px);
}
.mtx-cat-head > a { color: var(--mtx-muted); font-size: 12px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.mtx-mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.mtx-mini {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--mtx-line);
  border-radius: 8px;
  background: #fff;
}
.mtx-mini .mtx-thumb { aspect-ratio: 16 / 9; min-height: 132px; border-radius: 0; font-size: 10px; }
.mtx-mini > div { padding: 11px 13px 14px; }
.mtx-mini h4 { margin: 5px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.14; }

.mtx-long-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--mtx-line);
}

.mtx-long-list article {
  padding: 15px 0;
  border-bottom: 1px solid var(--mtx-line);
}

.mtx-long-list h3 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.15;
}

.mtx-article-hero {
  padding: 36px 0 28px;
  background: #fff;
  border-bottom: 1px solid var(--mtx-line);
}
.mtx-article-hero h1 {
  max-width: 920px;
  margin: 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
}
.mtx-article-hero p { max-width: 760px; margin: 0; color: var(--mtx-muted); font-size: 18px; }
.mtx-byline { display: flex; flex-wrap: wrap; gap: 12px; color: var(--mtx-muted); font-size: 13px; font-weight: 800; }
.mtx-featured {
  margin: 22px auto 0;
  overflow: hidden;
  border: 1px solid var(--mtx-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--mtx-shadow);
}
.mtx-featured img { display: block; width: 100%; max-height: 540px; object-fit: cover; }
.mtx-featured figcaption { padding: 10px 14px; color: var(--mtx-muted); font-size: 13px; }
.mtx-content {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--mtx-line);
  border-radius: 8px;
  background: #fff;
}
.mtx-content p,
.mtx-content li { font-size: 17px; }
.mtx-content h2 { margin: 28px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.16; }
.mtx-content h3 { margin: 24px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.18; }
.mtx-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--mtx-line); }
.mtx-share-label { margin-right: 4px; color: var(--mtx-muted); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mtx-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--mtx-soft);
  color: var(--mtx-red-dark);
}
.mtx-share a:hover { background: var(--mtx-red); color: #fff; }
.mtx-share svg { width: 18px; height: 18px; fill: currentColor; }
.mtx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mtx-note { margin-top: 28px; padding: 18px; border-left: 4px solid var(--mtx-red); background: var(--mtx-soft); }
.mtx-summary h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.1;
}
.mtx-summary ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}
.mtx-summary li { padding-left: 4px; }
.mtx-author-box {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--mtx-line);
}
.mtx-author-box img { border-radius: 999px; }
.mtx-author-box span { display: block; color: var(--mtx-muted); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mtx-author-box strong { display: block; margin: 3px 0 6px; font-size: 20px; }
.mtx-related-card { padding: 18px; }
.mtx-related-card h3 { margin: 6px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.16; }

.mtx-footer {
  padding: 0;
  border-top: 4px solid var(--mtx-red);
  background: var(--mtx-black);
  color: #d9dddc;
}

.mtx-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(150px, .7fr));
  gap: 30px;
  padding: 42px 0 28px;
}

.mtx-footer-logo {
  display: inline-block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .9;
}

.mtx-footer-logo span {
  display: inline-block;
  color: var(--mtx-red);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: .42em;
  letter-spacing: 0;
  transform: translateY(-.12em);
}

.mtx-footer-brand p {
  max-width: 440px;
  margin: 14px 0 0;
  color: #c9d0ce;
}

.mtx-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mtx-footer-badges span {
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mtx-footer-col h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.mtx-footer-col a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.11);
  color: #d9dddc;
  font-size: 14px;
  font-weight: 800;
}

.mtx-footer-col a:hover {
  color: #fff;
}

.mtx-footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.mtx-footer-middle strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mtx-footer-middle p {
  max-width: 760px;
  margin: 0;
  color: #c9d0ce;
  font-size: 14px;
}

.mtx-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.mtx-footer-links a {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.mtx-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 24px;
  color: #9fa9a6;
  font-size: 13px;
}

.mtx-team-page {
  max-width: none;
}

.mtx-team-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.mtx-team-lede {
  margin: 0;
  color: var(--mtx-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.18;
}

.mtx-team-note {
  padding: 18px 20px;
  border-left: 4px solid var(--mtx-accent);
  background: #f4f1eb;
}

.mtx-team-note strong,
.mtx-team-method strong {
  display: block;
  margin-bottom: 8px;
  color: var(--mtx-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mtx-team-note p,
.mtx-team-method p {
  margin: 0;
  color: var(--mtx-muted);
  font-size: 15px;
  line-height: 1.55;
}

.mtx-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 34px;
}

.mtx-team-member {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  min-height: 180px;
  padding: 16px;
  border: 1px solid var(--mtx-line);
  border-radius: 8px;
  background: #fff;
}

.mtx-team-member img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
}

.mtx-team-member h2 {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.18;
}

.mtx-team-role {
  display: block;
  margin-bottom: 10px;
  color: var(--mtx-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mtx-team-member p {
  margin: 0 0 12px;
  color: var(--mtx-muted);
  font-size: 14px;
  line-height: 1.48;
}

.mtx-team-member a {
  color: var(--mtx-ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(184, 45, 30, .35);
  text-underline-offset: 4px;
}

.mtx-team-method {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
  border-top: 3px solid var(--mtx-ink);
  background: #fff;
}

.home .mtx-hero {
  padding: 22px 0 24px;
  background: #fff;
}

.home .mtx-hero-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.home .mtx-card {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home .mtx-card-main {
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

.home .mtx-card-main .mtx-card-body {
  order: -1;
  padding: 0 0 16px;
}

.home .mtx-card-main .mtx-thumb {
  min-height: 338px;
  border-radius: 8px;
}

.home .mtx-card-main h1 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(23px, 2.4vw, 27px);
  font-weight: 800;
  line-height: 1.12;
}

.home .mtx-card-main p,
.home .mtx-card-main .mtx-kicker {
  display: none;
}

.home .mtx-fm-rail {
  min-width: 0;
  padding-left: 23px;
  border-left: 1px solid #edf0f2;
  background: #fff;
}

.home .mtx-fm-tabs {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  min-height: 30px;
  border-bottom: 1px solid #eef0f2;
  font-size: 12px;
  white-space: nowrap;
}

.home .mtx-fm-tabs button {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #303842;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.home .mtx-fm-tabs button:focus-visible {
  outline: 2px solid #163bd9;
  outline-offset: 3px;
}

.home .mtx-fm-tabs button.is-active {
  position: relative;
  color: #101820;
  font-weight: 800;
}

.home .mtx-fm-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: #163bd9;
}

.home .mtx-fm-live {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 11px 0 8px;
  border-bottom: 1px solid #eef0f2;
  font-size: 12px;
}

.home .mtx-fm-live span {
  color: #66707a;
  font-size: 10px;
  text-transform: uppercase;
}

.home .mtx-fm-live a {
  color: #0338d6;
  font-weight: 700;
}

.home .mtx-fm-panel[hidden] {
  display: none;
}

.home .mtx-fm-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid #eef0f2;
}

.home .mtx-fm-item time {
  padding-top: 2px;
  color: #6d7680;
  font-size: 10px;
  line-height: 1.25;
}

.home .mtx-fm-item h2 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.34;
}

.home .mtx-fm-empty {
  margin: 12px 0 0;
  color: #66707a;
  font-size: 12px;
}

.home .mtx-home-undergrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  margin-top: 21px;
}

.home .mtx-home-undergrid .mtx-hero-mini-row {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid #eef0f2;
}

.home .mtx-home-popular-slot {
  min-width: 0;
  padding-left: 23px;
  border-left: 1px solid #eef0f2;
}

.home .mtx-home-popular-slot .mtx-widget {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home .mtx-home-popular-slot .mtx-popular-widget h2 {
  font-size: 18px;
}

.home .mtx-home-popular-slot .mtx-popular-item {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
}

.home .mtx-home-popular-slot .mtx-popular-item > span {
  font-size: 24px;
}

.home .mtx-home-popular-slot .mtx-popular-item h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.28;
}

.home .mtx-hero-mini {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid #eef0f2;
  border-radius: 0;
}

.home .mtx-hero-mini-thumb {
  min-height: 94px;
  border-radius: 6px;
}

.home .mtx-hero-mini > div {
  padding: 0;
}

.home .mtx-hero-mini h2,
.home .mtx-card h2,
.home .mtx-feed h3,
.home .mtx-topic-item h4,
.home .mtx-long-list h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.home .mtx-hero-mini h2 {
  margin: 5px 0 0;
  font-size: 18px;
  line-height: 1.28;
}

.home .mtx-section {
  padding: 30px 0;
}

.home .mtx-section-title {
  margin-bottom: 15px;
}

.home .mtx-section-title h2,
.home .mtx-widget h2,
.home .mtx-topic-head h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.12;
}

.home .mtx-card h2 {
  font-size: 17px;
  line-height: 1.2;
}

.home .mtx-card-body {
  padding: 10px 0 0;
}

.home .mtx-kicker {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.home .mtx-feed article {
  padding: 13px 0;
}

.home .mtx-feed h3 {
  font-size: 17px;
  line-height: 1.22;
}

@media (max-width: 980px) {
  .mtx-team-intro,
  .mtx-team-method { grid-template-columns: 1fr; }
  .mtx-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mtx-hero-grid,
  .mtx-layout,
  .mtx-guides,
  .mtx-topic-grid,
  .mtx-footer-top { grid-template-columns: 1fr; }
  .mtx-grid-3,
  .mtx-mini-grid,
  .mtx-hero-mini-row,
  .mtx-long-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mtx-sidebar { position: static; }
  .mtx-footer-middle,
  .mtx-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .mtx-footer-links { justify-content: flex-start; }
  .home .mtx-hero-grid { grid-template-columns: 1fr; }
  .home .mtx-home-undergrid { grid-template-columns: 1fr; }
  .home .mtx-fm-rail {
    padding: 16px 0 0;
    border-top: 1px solid #eef0f2;
    border-left: 0;
  }
  .home .mtx-home-popular-slot {
    padding: 18px 0 0;
    border-top: 1px solid #eef0f2;
    border-left: 0;
  }
  .home .mtx-card-main .mtx-thumb { min-height: 300px; }
}

@media (max-width: 720px) {
  .mtx-nav,
  .mtx-section-title,
  .mtx-cat-head { align-items: flex-start; flex-direction: column; }
  .mtx-menu { justify-content: flex-start; }
  .mtx-card-main .mtx-thumb { min-height: 250px; }
  .mtx-card-side { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
  .mtx-card-side .mtx-thumb { min-height: 112px; }
  .mtx-card-side .mtx-card-body { padding: 9px 10px; }
  .mtx-grid-3,
  .mtx-mini-grid,
  .mtx-hero-mini-row,
  .mtx-long-list { grid-template-columns: 1fr; }
  .mtx-live-inner { gap: 10px; }
  .mtx-live-label { padding-inline: 10px; }
  .mtx-live-track { gap: 28px; animation-duration: 118s; }
  .mtx-live a::after { right: -17px; }
  .mtx-mini { grid-template-columns: 1fr; }
  .mtx-mini .mtx-thumb { min-height: 170px; }
  .mtx-hero-mini { display: flex; flex-direction: column; }
  .mtx-hero-mini-thumb { min-height: 180px; }
  .mtx-topic-item {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
  }
  .mtx-author-box { grid-template-columns: 1fr; }
  .mtx-team-grid { grid-template-columns: 1fr; }
  .mtx-team-member { grid-template-columns: 78px minmax(0, 1fr); min-height: 0; }
  .mtx-team-member img { width: 78px; height: 78px; }
  .home .mtx-hero { padding-top: 18px; }
  .home .mtx-card-main h1 { font-size: 23px; }
  .home .mtx-card-main .mtx-thumb { min-height: 220px; }
  .home .mtx-fm-tabs { gap: 14px; overflow-x: auto; }
  .home .mtx-hero-mini {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 14px;
  }
  .home .mtx-hero-mini-thumb { min-height: 74px; }
  .home .mtx-hero-mini h2 { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .mtx-live-track,
  .mtx-live-label::before {
    animation: none;
  }
}
