/* The ERG Room — ergdb.org. Crimson header, Poppins, workout feed cards. */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/static/type/poppins-400.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/static/type/poppins-500.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/static/type/poppins-600.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/static/type/poppins-700.woff2) format("woff2"); }

:root { --red: #b8313c; --red-dk: #880d17; --hot: #d52105; --ink: #3a3a3a; --grey: #7a7a7a; --line: #eaeaea; --soft: #f7f3f3; --white: #fff; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.er { margin: 0; font: 400 16px/1.7 Poppins, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--white); }
.er a { color: var(--red); }
.er a:hover { color: var(--hot); }
.er-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.er-skip { position: absolute; left: -999px; } .er-skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px 10px; z-index: 9; }
h1, h2, h3 { font-weight: 600; line-height: 1.25; color: #222; }

/* header */
.er-top { background: linear-gradient(100deg, var(--red) 0%, var(--red-dk) 100%); color: #fff; position: sticky; top: 0; z-index: 5; box-shadow: 0 2px 12px rgba(80, 0, 10, .25); }
.er-bar { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.er-brand { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; font-size: 20px; letter-spacing: .02em; white-space: nowrap; }
.er-brand b { font-weight: 700; }
.er-mark { width: 30px; height: 24px; fill: #fff; }
.er-nav { margin-left: auto; display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
.er-nav a { color: #fff !important; text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 8px 12px; border-radius: 3px; }
.er-nav a:hover, .er-nav a.is-on { background: rgba(255, 255, 255, .16); }
.er-nav .er-find { display: grid; place-items: center; padding: 8px 10px; margin-left: 6px; border: 1px solid rgba(255, 255, 255, .55); }
.er-nav a { white-space: nowrap; }
.er-burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.er-burger i { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* hero */
.er-hero { background: linear-gradient(120deg, #2b0d11 0%, var(--red-dk) 45%, var(--red) 100%); color: #fff; padding: 72px 0 80px; }
.er-kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 600; color: #ffc9cd; margin: 0 0 10px; }
.er-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); font-weight: 700; text-transform: uppercase; margin: 0 0 18px; letter-spacing: .01em; }
.er-hero h1 span { font-weight: 400; text-transform: none; font-size: .55em; display: block; letter-spacing: 0; opacity: .92; }
.er-lead { max-width: 720px; font-size: 18px; color: #ffe8ea; margin: 0 0 28px; }
.er-btn { display: inline-block; background: #fff; color: var(--red) !important; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; padding: 12px 26px; border-radius: 3px; border: 2px solid #fff; margin: 0 10px 10px 0; cursor: pointer; font-family: inherit; }
.er-btn:hover { background: transparent; color: #fff !important; }
.er-ghost { background: transparent; color: #fff !important; }
.er-ghost:hover { background: #fff; color: var(--red) !important; }
.er-article .er-btn, .er-get .er-btn { background: var(--red); color: #fff !important; border-color: var(--red); }
.er-article .er-btn:hover, .er-get .er-btn:hover { background: var(--red-dk); border-color: var(--red-dk); }
.er-article .er-ghost, .er-get .er-ghost { background: #fff; color: var(--red) !important; }

/* sections */
.er-block { padding: 56px 24px; }
.er-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--red); margin-bottom: 26px; }
.er-head h2 { margin: 0 0 8px; font-size: 28px; }
.er-head a { font-weight: 600; text-decoration: none; }
.er-empty { color: var(--grey); }
.er-band { background: var(--soft); padding: 56px 0; }
.er-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.er-split h2 { margin-top: 0; font-size: 28px; }

/* workout feed */
.er-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.er-wk { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 4px; padding: 16px 18px 14px; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s; }
.er-wk:hover { box-shadow: 0 10px 28px rgba(60, 10, 15, .12); }
.er-wk-top { display: flex; gap: 6px; align-items: center; }
.er-fmt { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--red); border: 1px solid var(--red); border-radius: 2px; padding: 1px 6px; }
.er-min { margin-left: auto; font-weight: 600; font-size: 14px; color: #222; }
.er-wk h3 { font-size: 19px; margin: 12px 0 2px; }
.er-wk h3 a { color: #222; text-decoration: none; } .er-wk h3 a:hover { color: var(--red); }
.er-wk-type { margin: 0; font-size: 14px; color: var(--grey); }
.er-wk-chart { display: block; margin: 12px 0 8px; background: #fbf8f8; border-radius: 3px; }
.er-wk-chart svg { display: block; width: 100%; height: 70px; }
.er-wk-stats { margin: auto 0 0; font-size: 13px; color: var(--grey); }
.er-wk-stats b { color: #222; }
.er-profile .er-grid { stroke: #e7e1e1; stroke-width: 1; }
.er-profile .er-ftp { stroke: #2b2b2b; stroke-width: 1.4; stroke-dasharray: 6 4; opacity: .7; }
.er-profile .er-base { stroke: #bdb3b4; stroke-width: 1; }
.er-profile .er-ax { font: 500 12px Poppins, sans-serif; fill: #8a7f80; }
.er-profile polygon { transition: opacity .15s; } .er-profile polygon:hover { opacity: .78; }

/* blog cards */
.er-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.er-post { background: #fff; border-radius: 4px; box-shadow: 0 2px 14px rgba(0, 0, 0, .07); overflow: hidden; display: flex; flex-direction: column; }
.er-post-img img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 420; object-fit: cover; }
.er-post-body { padding: 18px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.er-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; text-decoration: none; }
.er-post h3 { font-size: 20px; margin: 6px 0 8px; } .er-post h3 a { color: #222; text-decoration: none; }
.er-post p { margin: 0 0 12px; font-size: 15px; color: #555; }
.er-more { font-weight: 600; font-size: 14px; text-decoration: none; margin-top: auto; }
.er-post time { font-size: 13px; color: var(--grey); margin-top: 6px; }

/* zones */
.er-zones { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; box-shadow: 0 2px 14px rgba(0, 0, 0, .06); }
.er-zones th, .er-zones td, .er-intervals th, .er-intervals td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.er-zones th, .er-intervals th { background: #222; color: #fff; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.er-dot { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }

/* page head and articles */
.er-pagehead { background: var(--soft); padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.er-pagehead h1 { margin: 4px 0 6px; font-size: 38px; }
.er-pagehead p { margin: 0; color: #555; }
.er-crumbs { font-size: 13px; color: var(--grey); margin: 0; }
.er-crumbs a { text-decoration: none; }
.er-article { max-width: 920px; padding-top: 36px; padding-bottom: 60px; }
.er-article h1 { font-size: clamp(30px, 4vw, 42px); margin: 10px 0 14px; }
.er-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.er-facts span { background: var(--soft); border-left: 3px solid var(--red); padding: 4px 12px; font-size: 14px; font-weight: 600; }
.er-intro { font-size: 19px; color: #444; }
.er-date { color: var(--grey); font-size: 14px; }
.er-chart { margin: 24px 0; padding: 16px 16px 8px; border: 1px solid var(--line); border-radius: 4px; background: #fffdfd; }
.er-chart svg { display: block; width: 100%; height: auto; }
.er-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: #6f6465; margin: 8px 0 0; padding: 0; list-style: none; }
.er-legend li { display: flex; align-items: center; gap: 6px; }
.er-chart figcaption, .er-photo figcaption { font-size: 13px; color: var(--grey); margin-top: 6px; }
.er-photo { margin: 22px 0; } .er-photo img { width: 100%; height: auto; border-radius: 4px; display: block; }
.er-get { background: linear-gradient(100deg, #fff4f4, #fff); border: 1px solid #f1d4d7; border-radius: 4px; padding: 18px 20px 8px; margin: 0 0 30px; }
.er-get h2 { margin: 0 0 12px; font-size: 20px; }
.er-erg { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.er-erg label { font-weight: 600; font-size: 14px; }
.er-erg input { width: 90px; font: inherit; padding: 9px 10px; border: 1px solid #cfc3c4; border-radius: 3px; margin: 0 4px; }
.er-erg .er-btn { margin: 0; }
.er-intervals { width: 100%; border-collapse: collapse; font-size: 15px; margin: 6px 0 30px; }
.er-intervals .er-sets { font-weight: 700; color: var(--red); white-space: nowrap; vertical-align: middle; border-right: 1px solid var(--line); }
.er-text h2 { font-size: 26px; margin: 36px 0 10px; }
.er-text h3 { font-size: 20px; margin: 26px 0 8px; }
.er-text table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 15px; }
.er-text th, .er-text td { border-bottom: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.er-text th { background: var(--soft); }
.er-text li { margin: 4px 0; }
.er-toc { background: var(--soft); border-left: 4px solid var(--red); padding: 14px 18px; margin: 20px 0; display: flex; flex-direction: column; gap: 3px; font-size: 15px; }
.er-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.er-faq summary { font-weight: 600; cursor: pointer; color: #222; }
.er-src ol { font-size: 14px; color: #555; }
.er-next { margin-top: 48px; border-top: 3px solid var(--red); padding-top: 8px; }
.er-next .er-feed, .er-next .er-grid { grid-template-columns: repeat(3, 1fr); }
.er-page .er-text { font-size: 17px; }
.er-q { width: 100%; font: inherit; font-size: 18px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 4px; }
.er-q:focus { border-color: var(--red); outline: none; }
.er-results a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.er-results b { display: block; color: #222; } .er-results span { color: var(--grey); font-size: 14px; }
.er-pager { display: flex; gap: 6px; margin-top: 30px; } .er-pager a, .er-pager span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 3px; text-decoration: none; }
.er-pager span { background: var(--red); color: #fff; border-color: var(--red); }

/* footer */
.er-foot { background: #1f1416; color: #cdbfc1; padding: 44px 0 26px; margin-top: 40px; }
.er-foot-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.er-foot-grid a { text-decoration: none; color: #fff !important; display: flex; flex-direction: column; padding: 10px 0; border-top: 2px solid var(--red); }
.er-foot-grid b { font-weight: 600; } .er-foot-grid span { color: #a99a9c; font-size: 14px; }
.er-copy { font-size: 13px; color: #8d7f81; margin-top: 26px; }

@media (max-width: 980px) {
  .er-feed, .er-grid, .er-next .er-feed, .er-next .er-grid { grid-template-columns: 1fr 1fr; }
  .er-split { grid-template-columns: 1fr; }
  .er-foot-grid { grid-template-columns: 1fr 1fr; }
  .er-burger { display: block; }
  .er-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; background: var(--red-dk); flex-direction: column; padding: 10px 24px 18px; }
  .er-open .er-nav { display: flex; }
}
@media (max-width: 620px) {
  .er-in { padding: 0 16px; }
  .er-block { padding: 40px 16px; }
  .er-feed, .er-grid, .er-next .er-feed, .er-next .er-grid { grid-template-columns: 1fr; }
  .er-hero { padding: 48px 0 56px; }
  .er-chart { padding: 10px 6px 6px; }
  .er-intervals { font-size: 14px; } .er-intervals th, .er-intervals td { padding: 8px; }
}
