/* PdiTEK articles: the list (/arthra/) and one article (/arthra/<slug>/). On top of legal.css. */
.lg-wrap { width: min(1120px, 100% - 40px); }
.lg-main { padding-top: 40px; }

/* list page */
.nw-hero { max-width: 760px; margin-bottom: 36px; }
.nw-hero h1 { margin: 0; font-family: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif; font-weight: 900; font-size: clamp(44px, 7vw, 76px); line-height: .92; text-transform: uppercase; }
.nw-lead { margin: 16px 0 0; font-size: 18px; color: var(--muted); }
.nw-empty { font-weight: 700; }
.nw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nw-grid--two { grid-template-columns: repeat(2, 1fr); }

/* article card (the whole card is the link) */
.ac { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 18px 40px -28px rgba(0,0,0,.45); transition: transform .25s, box-shadow .25s; }
.ac:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 26px 50px -26px rgba(0,0,0,.5); }
.ac__img { aspect-ratio: 16 / 10; overflow: hidden; background: #1b1b1b; }
.ac__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.ac:hover .ac__img img { transform: scale(1.04); }
.ac__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.ac__top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ac__badge { padding: 4px 10px; border-radius: 999px; background: var(--orange); color: #111; font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.ac__tag { padding: 4px 10px; border-radius: 999px; background: #f1ece3; color: var(--orange-deep); font-weight: 800; font-size: 12px; }
.ac__title { margin: 0 0 8px; font-family: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 28px; line-height: 1.02; }
.ac__link { color: var(--ink); text-decoration: none; }
.ac__link::after { content: ""; position: absolute; inset: 0; }
.ac__desc { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.ac__meta { margin: auto 0 0; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.ac__more { font-weight: 800; color: var(--orange-deep); }

/* the featured card spans the row, image on the left */
.ac--featured { grid-column: 1 / -1; flex-direction: row; background: #141414; color: #eee; }
.ac--featured .ac__img { flex: 1.15; aspect-ratio: auto; min-height: 320px; }
.ac--featured .ac__body { flex: 1; padding: 34px 34px 30px; justify-content: center; }
.ac--featured .ac__title { font-size: clamp(32px, 3.6vw, 46px); }
.ac--featured .ac__link { color: #fff; }
.ac--featured .ac__desc { font-size: 16.5px; color: #bdbdbd; }
.ac--featured .ac__tag { background: rgba(255,255,255,.1); color: #f6b46c; }
.ac--featured .ac__meta { margin-top: 10px; color: #9d9d9d; }
.ac--featured .ac__more { color: var(--orange); }

/* call to action */
.nw-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 44px; padding: 28px 30px; border-radius: 18px; background: var(--orange); color: #111; }
.nw-cta h2 { margin: 0 0 6px; padding: 0; border: 0; font-family: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 34px; line-height: 1; text-transform: uppercase; }
.nw-cta p { margin: 0; max-width: 560px; font-size: 16px; }
.nw-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.nw-btn { display: inline-block; padding: 13px 20px; border-radius: 12px; background: #111; color: #fff !important; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .2s, background .2s; }
.nw-btn:hover { transform: translateY(-2px); background: #000; }
.nw-btn--ghost { background: transparent; border: 2px solid #111; color: #111 !important; }
.nw-btn--ghost:hover { background: rgba(0,0,0,.08); }

/* one article */
.ar-crumbs { max-width: 760px; margin: 0 auto 18px; font-size: 14px; color: var(--muted); }
.ar-crumbs a { color: var(--muted); text-decoration: none; font-weight: 700; }
.ar-crumbs a:hover { color: var(--orange-deep); }
.ar-crumbs span { margin: 0 6px; opacity: .5; }
.lg.ar { max-width: 760px; margin: 0 auto; }
.ar-head h1 { text-transform: none; font-size: clamp(38px, 6vw, 60px); line-height: 1; }
.ar-hero { margin: 8px 0 30px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #1b1b1b; }
.ar-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-body > p:first-child { font-size: 19px; line-height: 1.6; color: #2a2620; }
.ar-body strong { color: #000; }
.ar-table { overflow-x: auto; margin: 6px 0 18px; border-radius: 14px; border: 1px solid rgba(0,0,0,.1); background: #fff; }
.ar-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ar-table th { padding: 11px 14px; background: #141414; color: #fff; text-align: left; font-weight: 800; }
.ar-table td { padding: 10px 14px; border-top: 1px solid rgba(0,0,0,.08); vertical-align: top; }
.ar-table tr:nth-child(even) td { background: #faf7f1; }
.ar .nw-cta { margin-top: 40px; }
.ar-more { max-width: 760px; margin: 56px auto 0; }
.ar-more > h2 { margin: 0 0 16px; font-family: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 36px; text-transform: uppercase; }
.ar-more .ac__title { font-size: 24px; }
.ar-all { display: inline-block; margin-top: 18px; font-weight: 800; }

@media (max-width: 900px) {
  .nw-grid { grid-template-columns: repeat(2, 1fr); }
  .ac--featured { flex-direction: column; }
  .ac--featured .ac__img { min-height: 0; aspect-ratio: 16 / 10; }
  .ac--featured .ac__body { padding: 22px 22px 22px; }
}
@media (max-width: 600px) {
  .nw-grid, .nw-grid--two { grid-template-columns: 1fr; }
  .nw-cta { padding: 22px; }
  .nw-cta h2 { font-size: 28px; }
}
