/* Oriental Racing — Statistics HUB V2 */

.orstats2-page,
.orstats2-page *{
  box-sizing:border-box;
}

.orstats2-page{
  --orstats2-ink:#071a2f;
  --orstats2-body:#183246;
  --orstats2-muted:#667782;
  --orstats2-line:#e6d9c2;
  --orstats2-gold:#d9a624;
  --orstats2-gold-dark:#a76d05;
  --orstats2-green:#0b7a4b;
  --orstats2-red:#b13c2e;
  --orstats2-soft:#fffaf0;
  color:var(--orstats2-body);
  font-size:16px;
  line-height:1.72;
}

.orstats2-page .dfmj-breadcrumb{
  margin-bottom:16px;
}

.orstats2-page .dfmj-home2-hero{
  margin-bottom:18px;
}

.orstats2-page .dfmj-home2-hero h1,
.orstats2-page .dfmj-home2-hero p{
  color:#fff !important;
}

.orstats2-page .dfmj-home2-trust small{
  color:rgba(255,255,255,.84) !important;
}

.orstats2-hero-panel{
  align-self:center;
  min-width:0;
  padding:20px;
  border:1px solid rgba(217,166,36,.78);
  border-radius:18px;
  background:rgba(5,30,49,.91);
  color:#fff;
  box-shadow:0 12px 32px rgba(0,0,0,.18);
}

.orstats2-hero-panel>span{
  display:block;
  color:#f1c75c;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
}

.orstats2-hero-panel>strong{
  display:block;
  margin:5px 0 12px;
  color:#fff;
  font-size:25px;
  line-height:1.2;
}

.orstats2-hero-panel__rows{
  display:grid;
  border-top:1px solid rgba(255,255,255,.14);
}

.orstats2-hero-panel__rows>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:9px 0;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.orstats2-hero-panel__rows span{
  color:rgba(255,255,255,.76);
  font-size:13px;
}

.orstats2-hero-panel__rows b{
  color:#fff;
  text-align:right;
}

.orstats2-hero-panel p{
  margin:11px 0 0;
  color:rgba(255,255,255,.82) !important;
  font-size:12px;
  line-height:1.55;
}

.orstats2-status{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin:0 0 18px;
}

.orstats2-status article{
  min-width:0;
  padding:17px 16px;
  border:1px solid var(--orstats2-line);
  border-radius:14px;
  background:#fff;
}

.orstats2-status span,
.orstats2-status small{
  display:block;
  color:var(--orstats2-muted);
}

.orstats2-status strong{
  display:block;
  margin:5px 0 1px;
  color:var(--orstats2-ink);
  font-size:23px;
  line-height:1.15;
}

.orstats2-section{
  margin:18px 0;
  padding:24px;
  border:1px solid var(--orstats2-line);
  border-radius:18px;
  background:#fffdf8;
}

.orstats2-section>.dfmj-section__head{
  margin-bottom:16px;
  padding-left:16px;
  border-left:4px solid var(--orstats2-gold);
}

.orstats2-section>.dfmj-section__head p{
  margin:8px 0 0;
  color:var(--orstats2-body);
}

.orstats2-section>.dfmj-section__head a,
.orstats2-related a{
  color:var(--orstats2-green);
  font-weight:800;
  text-decoration:none;
}

.orstats2-section>.dfmj-section__head a:hover,
.orstats2-related a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.orstats2-kpis{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}

.orstats2-kpis article{
  min-width:0;
  padding:17px 16px;
  border:1px solid var(--orstats2-line);
  border-radius:14px;
  background:#fff;
}

.orstats2-kpis span,
.orstats2-kpis small{
  display:block;
  color:var(--orstats2-muted);
}

.orstats2-kpis strong{
  display:block;
  margin:5px 0 1px;
  color:var(--orstats2-ink);
  font-size:22px;
  line-height:1.15;
}

.orstats2-answer,
.orstats2-note{
  margin-top:14px;
  padding:15px 17px;
  border-left:4px solid var(--orstats2-gold);
  border-radius:10px;
  background:#fff6df;
  color:#604c20;
}

.orstats2-answer strong{
  display:block;
  color:var(--orstats2-ink);
  font-size:17px;
}

.orstats2-answer p,
.orstats2-note p{
  margin:5px 0 0;
}

.orstats2-table-wrap{
  max-width:100%;
  overflow-x:auto;
  border:1px solid var(--orstats2-line);
  border-radius:14px;
  background:#fff;
}

.orstats2-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}

.orstats2-table th,
.orstats2-table td{
  padding:12px 14px;
  border-right:1px solid var(--orstats2-line);
  border-bottom:1px solid var(--orstats2-line);
  text-align:left;
  vertical-align:middle;
}

.orstats2-table th:last-child,
.orstats2-table td:last-child{
  border-right:0;
}

.orstats2-table tbody tr:last-child td{
  border-bottom:0;
}

.orstats2-table th{
  background:#173f31;
  color:#fff;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}

.orstats2-table td{
  color:var(--orstats2-body);
  font-size:14px;
}

.orstats2-table tbody tr:nth-child(even) td{
  background:#fffaf2;
}

.orstats2-table td small{
  display:block;
  margin-top:2px;
  color:var(--orstats2-muted);
  font-size:11px;
}

.orstats2-caption{
  margin:10px 0 0;
  color:var(--orstats2-muted);
  font-size:13px;
}

.orstats2-stage-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}

.orstats2-stage-grid article{
  padding:18px 16px;
  border:1px solid var(--orstats2-line);
  border-radius:14px;
  background:#fff;
}

.orstats2-stage-grid article.is-highlight{
  border-color:#d6b75e;
  background:#fff7df;
}

.orstats2-stage-grid span,
.orstats2-stage-grid small{
  display:block;
  color:var(--orstats2-muted);
}

.orstats2-stage-grid strong{
  display:block;
  margin:6px 0 2px;
  color:var(--orstats2-ink);
  font-size:22px;
}

.orstats2-quality-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.orstats2-quality-grid article{
  padding:18px;
  border:1px solid var(--orstats2-line);
  border-radius:14px;
  background:#fff;
}

.orstats2-quality-grid span{
  display:block;
  color:var(--orstats2-muted);
}

.orstats2-quality-grid strong{
  display:block;
  margin:5px 0 1px;
  color:var(--orstats2-ink);
  font-size:24px;
}

.orstats2-quality-grid b{
  display:block;
  color:var(--orstats2-green);
  font-size:14px;
}

.orstats2-quality-grid p{
  margin:7px 0 0;
  color:var(--orstats2-muted);
  font-size:13px;
}

.orstats2-details{
  border:1px solid var(--orstats2-line);
  border-radius:14px;
  background:#fff;
}

.orstats2-details summary{
  padding:16px 18px;
  cursor:pointer;
  color:var(--orstats2-green);
  font-weight:800;
}

.orstats2-details[open] summary{
  border-bottom:1px solid var(--orstats2-line);
}

.orstats2-details__body{
  padding:14px;
}

.orstats2-details code{
  padding:2px 5px;
  border-radius:5px;
  background:#f2eee5;
}

.orstats2-related{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}

.orstats2-related article{
  padding:18px;
  border:1px solid var(--orstats2-line);
  border-radius:14px;
  background:#fff;
}

.orstats2-related strong{
  display:block;
  margin-bottom:6px;
  color:var(--orstats2-ink);
  font-size:17px;
}

.orstats2-related p{
  margin:0;
  color:var(--orstats2-muted);
  font-size:13px;
}

.orstats2-related a{
  display:inline-block;
  margin-top:10px;
}

@media (max-width:1100px){
  .orstats2-status,
  .orstats2-kpis,
  .orstats2-stage-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .orstats2-related{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:850px){
  .orstats2-quality-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:680px){
  .orstats2-page{
    font-size:15px;
  }

  .orstats2-section{
    padding:18px 15px;
    border-radius:14px;
  }

  .orstats2-status,
  .orstats2-kpis,
  .orstats2-stage-grid,
  .orstats2-quality-grid,
  .orstats2-related{
    grid-template-columns:1fr;
  }
}

/* ============================================================
   Statistics V2.2.1 — final semantic polish
   ============================================================ */

/* Current state, not a quality score. */
.orstats2-quality-grid article:first-child b{
  color:#a76d05;
}

.orstats2-quality-grid article:first-child{
  background:#fffaf0;
}

/* Completed-race completeness. */
.orstats2-quality-grid article:nth-child(2) b,
.orstats2-quality-grid article:nth-child(3) b,
.orstats2-quality-grid article:nth-child(4) b{
  color:#0b7a4b;
}

.orstats2-quality-grid article:nth-child(2),
.orstats2-quality-grid article:nth-child(3),
.orstats2-quality-grid article:nth-child(4){
  background:#fbfffc;
}

/* ============================================================
   Statistics V2.2.2 — Mobile KPI Compact
   Hero-below status: 2 columns x 3 rows on phones.
   ============================================================ */

@media (max-width:680px){

  .orstats2-status{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-bottom:16px;
  }

  .orstats2-status article{
    min-height:102px;
    padding:13px 14px;
    border-radius:13px;
  }

  .orstats2-status span{
    font-size:13px;
    line-height:1.35;
  }

  .orstats2-status strong{
    margin:4px 0 1px;
    font-size:21px;
    line-height:1.1;
  }

  .orstats2-status small{
    font-size:11px;
    line-height:1.3;
  }

}

@media (max-width:360px){

  .orstats2-status{
    gap:8px;
  }

  .orstats2-status article{
    min-height:98px;
    padding:12px;
  }

  .orstats2-status strong{
    font-size:20px;
  }

}

/* ============================================================
   Statistics V2.2.3 — Mobile Outer Gutter
   Match the inner horizontal spacing used by normal sections.
   ============================================================ */

@media (max-width:680px){

  .orstats2-status{
    width:100%;
    padding-left:15px;
    padding-right:15px;
  }

}

/* ============================================================
   Statistics HUB Mobile Hero Match Homepage
   ONLY /statistics/
   ============================================================ */

@media (max-width:820px){

  .page-id-49262 .dfmj-home-v2 > .dfmj-home2-hero{
    width:calc(100% - 30px) !important;
    max-width:calc(100% - 30px) !important;
    margin-left:15px !important;
    margin-right:15px !important;
    box-sizing:border-box !important;
  }

  .page-id-49262
  .dfmj-home2-hero__content
  > .dfmj-home2-hero__copy
  + *{
    margin-top:18px !important;
  }

}

@media (max-width:360px){

  .page-id-49262 .dfmj-home-v2 > .dfmj-home2-hero{
    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
    margin-left:12px !important;
    margin-right:12px !important;
  }

  .page-id-49262
  .dfmj-home2-hero__content
  > .dfmj-home2-hero__copy
  + *{
    margin-top:16px !important;
  }

}
