/* Component typography does not depend on the theme's html font-size.
   Pixel sizes remain scalable with browser zoom. */
.obsj.obsj {
  --obsj-ink: #20252b; --obsj-muted: #59616a; --obsj-accent: #8a3c38;
  --obsj-line: #d9dde0; --obsj-soft: #fff; --obsj-tint: #fff;
  --obsj-text-size: 17px; --obsj-control-size: 16px; --obsj-meta-size: 15px;
  --obsj-label-size: 14px; --obsj-heading-size: 25px; --obsj-display-size: 40px;
  width: 100%; max-width: 960px; margin: 24px auto 48px; color: var(--obsj-ink);
  background: #fff; font-family: inherit; font-size: var(--obsj-text-size) !important; line-height: 1.65; text-align: left;
  overflow-wrap: anywhere;
}
.obsj.obsj *, .obsj.obsj *::before, .obsj.obsj *::after { box-sizing: border-box; }
.obsj.obsj [hidden] { display: none !important; }
.obsj.obsj p { margin: 0 0 14px; padding: 0; }
.obsj.obsj a { color: var(--obsj-accent); text-decoration: none; box-shadow: none; }
.obsj.obsj a:hover { text-decoration: underline; }
.obsj.obsj a:focus-visible, .obsj.obsj button:focus-visible, .obsj.obsj input:focus-visible, .obsj.obsj select:focus-visible, .obsj.obsj summary:focus-visible {
  outline: 3px solid #235b8b; outline-offset: 3px;
}
.obsj.obsj h2, .obsj.obsj h3 { color: var(--obsj-ink); text-transform: none; letter-spacing: normal; padding: 0; }
.obsj.obsj .obsj-eyebrow { font-size: var(--obsj-label-size) !important; letter-spacing: .11em; line-height: 1.5; font-weight: 700; color: var(--obsj-accent); margin-bottom: 12px; }
.obsj.obsj .obsj-header { border-top: 4px solid var(--obsj-accent); padding-top: 23px; margin-bottom: 27px; }
.obsj.obsj .obsj-header h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: var(--obsj-display-size) !important; line-height: 1.2; margin: 0 0 15px; }
.obsj.obsj .obsj-header > p:last-child { color: var(--obsj-muted); max-width: 730px; font-size: 20px !important; margin-bottom: 0; }
.obsj.obsj .obsj-search { background: var(--obsj-soft); border: 0; border-radius: 0; padding: 0; margin: 0 0 30px; }
.obsj.obsj label { display: block; font-family: inherit; font-size: var(--obsj-meta-size) !important; line-height: 1.45; font-weight: 600; margin: 0 0 7px; color: var(--obsj-ink); }
.obsj.obsj input[type=search], .obsj.obsj input[type=url], .obsj.obsj select {
  display: block; width: 100%; min-width: 0; max-width: 100%; height: auto; min-height: 46px;
  border: 1px solid #a9afb6; border-radius: 3px; background-color: #fff; color: var(--obsj-ink);
  padding: 10px 12px; margin: 0; font: inherit; font-size: var(--obsj-control-size) !important; line-height: 1.4; box-shadow: none; text-transform: none;
}
.obsj.obsj input::placeholder { color: #626a73; opacity: 1; }
.obsj.obsj select { padding-right: 28px; cursor: pointer; }
.obsj.obsj .obsj-searchline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-bottom: 20px; }
.obsj.obsj .obsj-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; background: var(--obsj-accent); color: #fff; border: 1px solid var(--obsj-accent); border-radius: 3px; padding: 10px 24px; font: inherit; font-size: var(--obsj-meta-size) !important; line-height: 1.4; font-weight: 600; cursor: pointer; text-decoration: none; text-transform: none; letter-spacing: normal; white-space: normal; box-shadow: none; }
.obsj.obsj .obsj-button:hover { background: #70302d; color: white; text-decoration: none; border-color: #70302d; }
.obsj.obsj .obsj-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.obsj.obsj .obsj-filterfoot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 18px; }
.obsj.obsj .obsj-order { display: flex; align-items: center; gap: 12px; max-width: 100%; }
.obsj.obsj .obsj-order label { margin: 0; flex: 0 0 auto; }
.obsj.obsj .obsj-order select { font-size: var(--obsj-control-size) !important; }
.obsj.obsj .obsj-reset { display: inline-flex; min-height: 44px; align-items: center; font-size: var(--obsj-meta-size) !important; text-decoration: underline; flex-shrink: 0; }
.obsj.obsj .obsj-hint { color: var(--obsj-muted); font-size: var(--obsj-label-size) !important; margin: 12px 0 0; }
.obsj.obsj .obsj-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--obsj-ink); padding-bottom: 12px; }
.obsj.obsj .obsj-results-head h2, .obsj.obsj .obsj-section-heading h2 { font-size: var(--obsj-heading-size) !important; line-height: 1.4; font-weight: 600; margin: 0; font-family: inherit; }
.obsj.obsj .obsj-results-head p { color: var(--obsj-muted); font-size: var(--obsj-meta-size) !important; margin: 0; flex-shrink: 0; }
.obsj.obsj .obsj-card { padding: 25px 0 23px; border-bottom: 1px solid var(--obsj-line); }
.obsj.obsj .obsj-meta { font-size: var(--obsj-meta-size) !important; line-height: 1.5; color: var(--obsj-muted); margin: 0 0 8px; }
.obsj.obsj .obsj-card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: var(--obsj-heading-size) !important; font-weight: 400; line-height: 1.35; margin: 0 0 8px; }
.obsj.obsj .obsj-card h3 a { color: var(--obsj-ink); }
.obsj.obsj .obsj-card h3 a:hover { color: var(--obsj-accent); }
.obsj.obsj .obsj-court { font-size: var(--obsj-meta-size) !important; color: var(--obsj-muted); margin: 0 0 12px; }
.obsj.obsj .obsj-summary { font-size: var(--obsj-text-size) !important; margin: 0 0 15px; max-width: 820px; }
.obsj.obsj .obsj-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 17px; padding: 0; }
.obsj.obsj .obsj-tags li { list-style: none; display: inline-block; padding: 3px 9px; margin: 0; border: 1px solid var(--obsj-line); border-radius: 3px; background: var(--obsj-tint); color: #713531; font-size: var(--obsj-meta-size) !important; line-height: 1.5; }
.obsj.obsj .obsj-tags li::before { content: none; }
.obsj.obsj .obsj-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; }
.obsj.obsj .obsj-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-size: var(--obsj-meta-size) !important; font-weight: 700; }
.obsj.obsj .obsj-pdf { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #babfc4; background: white; color: var(--obsj-ink); border-radius: 3px; padding: 8px 14px; font: inherit; font-size: var(--obsj-meta-size) !important; line-height: 1.4; cursor: pointer; text-decoration: none; }
.obsj.obsj .obsj-pdf:hover { border-color: var(--obsj-accent); color: var(--obsj-accent); text-decoration: none; }
.obsj.obsj .obsj-empty { text-align: center; background: var(--obsj-soft); padding: 40px 22px; margin-top: 18px; }
.obsj.obsj .obsj-empty h3 { font: inherit; font-size: 20px !important; font-weight: 600; margin: 0 0 9px; }
.obsj.obsj .obsj-empty p { margin: 0; color: var(--obsj-muted); }
.obsj.obsj .obsj-pagination { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0; font-size: var(--obsj-meta-size) !important; }
.obsj.obsj .obsj-latest { margin-top: 42px; border-top: 2px solid var(--obsj-ink); padding-top: 20px; }
.obsj.obsj .obsj-section-heading p { color: var(--obsj-muted); font-size: var(--obsj-meta-size) !important; margin: 5px 0 18px; }
.obsj.obsj .obsj-latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.obsj.obsj .obsj-card--compact { padding: 16px; border: 1px solid var(--obsj-line); background: var(--obsj-soft); border-radius: 3px; }
.obsj.obsj .obsj-card--compact h3 { font-size: 20px !important; margin-bottom: 0; }
/* One full-width field per row avoids gaps when responses have different lengths. */
.obsj.obsj .obsj-facts { display: block; margin: 24px 0; padding: 0; border-top: 1px solid var(--obsj-line); }
.obsj.obsj .obsj-facts > div { display: block; width: 100%; min-width: 0; padding: 13px 0; border-bottom: 1px solid var(--obsj-line); }
.obsj.obsj .obsj-facts dt { color: var(--obsj-muted); font-size: var(--obsj-label-size) !important; font-weight: 400; margin: 0 0 3px; }
.obsj.obsj .obsj-facts dd { font-size: var(--obsj-meta-size) !important; line-height: 1.55; margin: 0; }
.obsj.obsj .obsj-lead { font-size: 20px !important; }
.obsj.obsj .obsj-body { margin: 28px 0; }
.obsj.obsj .obsj-documentbar { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.obsj.obsj .obsj-share { padding: 20px 0 0; background: #fff; border: 0; border-top: 1px solid var(--obsj-line); }
.obsj.obsj .obsj-back { margin: 0 0 24px; }
.obsj.obsj .obsj-back a { gap: 8px; max-width: 100%; font-size: var(--obsj-meta-size) !important; text-align: left; }
.obsj.obsj .obsj-back--bottom { margin: 24px 0 0; }
@media (max-width: 740px) {
  .obsj.obsj .obsj-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obsj.obsj .obsj-latest-grid { grid-template-columns: 1fr; }
  .obsj.obsj .obsj-order { display: block; }
  .obsj.obsj .obsj-order label { margin-bottom: 7px; }
}
@media (max-width: 600px) {
  .obsj.obsj { --obsj-heading-size: 23px; --obsj-display-size: 30px; }
}
@media (max-width: 480px) {
  .obsj.obsj { margin-top: 16px; }
  .obsj.obsj .obsj-search { padding: 0; }
  .obsj.obsj .obsj-searchline { grid-template-columns: 1fr; }
  .obsj.obsj .obsj-filters { grid-template-columns: 1fr; gap: 13px; }
  .obsj.obsj .obsj-filterfoot { align-items: stretch; flex-direction: column; gap: 3px; }
  .obsj.obsj .obsj-order { width: 100%; }
  .obsj.obsj .obsj-results-head { align-items: flex-start; }
  .obsj.obsj .obsj-documentbar > a { width: 100%; }
}
@media print {
  .obsj.obsj .obsj-search, .obsj.obsj .obsj-pagination, .obsj.obsj .obsj-share, .obsj.obsj .obsj-latest, .obsj.obsj .obsj-back { display: none; }
  .obsj.obsj .obsj-card, .obsj.obsj .obsj-facts > div { break-inside: avoid; }
  .obsj.obsj a { color: black; }
}

/* Body text remains one step above metadata and controls. */
.obsj.obsj .obsj-body,
.obsj.obsj .obsj-body :is(p, li, blockquote, td, th) {
  font-size: var(--obsj-text-size) !important; line-height: 1.65 !important;
}
.obsj.obsj .obsj-body h2 { font-size: 23px !important; line-height: 1.35 !important; }
.obsj.obsj .obsj-body h3 { font-size: 21px !important; line-height: 1.35 !important; }
.obsj.obsj .obsj-body h4 { font-size: 19px !important; line-height: 1.4 !important; }
.obsj.obsj .obsj-lead p { font-size: 20px !important; line-height: 1.65 !important; }
.obsj.obsj .obsj-facts :is(dt, dd),
.obsj.obsj .obsj-share label { line-height: 1.55 !important; }
.obsj.obsj :is(.obsj-button, .obsj-pdf, .obsj-link) { line-height: 1.45 !important; }

/* Remove PenNews's gray content panels only on repository and case pages. */
body.obsj-screen #content .penci-content-post,
body.obsj-screen #content .penci-entry-content > .wpb_text_column,
body.obsj-screen #content .wpb_text_column:has(.obsj),
body.obsj-screen #content .penci-block-vc:has(.obsj) {
  background-color: #fff !important;
}
body.obsj-screen.single-obsj_case .penci-entry-meta,
body.obsj-screen.single-obsj_case .penci-entry-meta :is(a, span, time) {
  font-size: 14px !important; line-height: 1.5 !important;
}

/* Technical ficha: larger identification, compact field rows, three clear sections. */
.obsj.obsj.obsj-detail { --obsj-text-size: 16px; --obsj-label-size: 15px; }
.obsj.obsj .obsj-identification > h2,
.obsj.obsj .obsj-major > h2 { font-family: inherit; font-size: 22px !important; line-height: 1.35 !important; font-weight: 700; margin: 0 0 16px; padding: 0 0 10px; border-bottom: 2px solid var(--obsj-accent); }
.obsj.obsj .obsj-identification > h2 { font-size: 24px !important; }
.obsj.obsj .obsj-facts { margin: 0 0 20px; border-top: 0; }
.obsj.obsj .obsj-facts dt,
.obsj.obsj .obsj-facts dt strong { color: var(--obsj-ink); font-size: 16px !important; font-weight: 700 !important; }
.obsj.obsj .obsj-facts dd,
.obsj.obsj .obsj-facts dd p { font-size: 17px !important; line-height: 1.55 !important; }
.obsj.obsj .obsj-facts dd p:last-child { margin-bottom: 0; }
.obsj.obsj .obsj-major { margin: 0 0 30px; padding: 0; }
.obsj.obsj .obsj-subsection { margin: 0 0 22px; padding: 0; }
.obsj.obsj .obsj-subsection:last-child { margin-bottom: 0; }
.obsj.obsj .obsj-subsection > h3 { font-family: inherit; font-size: 17px !important; line-height: 1.45 !important; font-style: italic; font-weight: 500; color: var(--obsj-muted); margin: 20px 0 4px; }
.obsj.obsj .obsj-entries { display: block; margin: 0; padding: 0; }
.obsj.obsj .obsj-entry { display: block; padding: 12px 0; border-bottom: 1px solid var(--obsj-line); }
.obsj.obsj .obsj-entry dt,
.obsj.obsj .obsj-entry dt strong { color: var(--obsj-ink); font-size: 16px !important; line-height: 1.5 !important; font-weight: 700 !important; margin: 0 0 5px; }
.obsj.obsj .obsj-entry dd,
.obsj.obsj .obsj-entry dd p { font-size: 16px !important; line-height: 1.55 !important; margin: 0; }
.obsj.obsj .obsj-entry dd p + p { margin-top: 9px; }
.obsj.obsj .obsj-entry dd, .obsj.obsj .obsj-facts dd { min-width: 0; overflow-wrap: anywhere; }
.obsj.obsj .obsj-subsection .obsj-documentbar { margin: 16px 0 0; }
@media (max-width: 600px) {
  .obsj.obsj .obsj-identification > h2, .obsj.obsj .obsj-major > h2 { font-size: 21px !important; }
  .obsj.obsj .obsj-identification > h2 { font-size: 22px !important; }
}
@media print {
  .obsj.obsj .obsj-entry dt { break-after: avoid; }
  .obsj.obsj .obsj-major > h2, .obsj.obsj .obsj-subsection > h3 { break-after: avoid; }
}
